Add log2ceil and use it in bram code
We might want a non power of 2 amount of RAM in order to fit into an FPGA, so create log2ceil and use it when calculating the number of memory bits. Signed-off-by: Anton Blanchard <anton@linux.ibm.com>pull/139/head
parent
b3dd31a978
commit
488c30fe91
Loading…
Reference in New Issue