Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
axi_dmac: fix address width detection
The round function from tcl is a rounding to nearest. Using it in address width calculation produces incorrect values. e.g. round(log(0xAF000000)/log(2)) will produce 31 instead of 32 The fix is to replace the rounding function with ceiling that guarantees rounding up.
- Loading branch information