Ruby: Fix a bug when issuing unaligned writes to memory
Review Request #2653 - Created Feb. 9, 2015 and discarded
| Information | |
|---|---|
| Jason Lowe-Power | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10682:ec7eb7b7317a --------------------------- Ruby: Fix a bug when issuing unaligned writes to memory Before, the write size for unaligned writes was wrong and after the write completes, Ruby needs the aligned address
Nice catch! Looks like this could have been tricky to track down. Minor requested change below, but otherwise, this looks ready to go.
-
src/mem/ruby/slicc_interface/AbstractController.cc (Diff revision 1) -
Since this is currently only known to apply to writes, it should be moved to within the isWrite() conditional body (~line 311). No need to apply it to reads, since it seems like that could cause future problems.
