ruby: correct computation of number of bits required for address
Review Request #1675 - Created Jan. 27, 2013 and submitted - Latest diff uploaded
| Information | |
|---|---|
| Nilay Vaish | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9482:d305b09bb487 --------------------------- ruby: correct computation of number of bits required for address The number of bits required for an address was set to floorLog2(memory size). This assumes that the memory size is a power of 2, which is not always true. Hence, the floorLog2 is being replaced with ceilLog2.
