changeset bbcc7afd82cb in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=bbcc7afd82cb
description:
MEM: Fix fs.py by specifying the range size rather than end
This patch fixes the currently broken fs.py by specifying the size of
the bridge range rather than the end address. This effectively
subtracts one when determining the address range for the IO bridge
(from IO bus to membus), and thus avoids the overlapping ranges.
diffstat:
configs/example/fs.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 78b08f92c290 -r bbcc7afd82cb configs/example/fs.py
--- a/configs/example/fs.py Thu Jan 12 15:27:20 2012 -0600
+++ b/configs/example/fs.py Wed Jan 25 12:44:43 2012 -0500
@@ -167,7 +167,7 @@
test_sys.iocache.mem_side = test_sys.membus.port
else:
test_sys.iobridge = Bridge(delay='50ns', nack_delay='4ns',
- ranges = [AddrRange(0, mem_size)])
+ ranges = [AddrRange(mem_size)])
test_sys.iobridge.slave = test_sys.iobus.port
test_sys.iobridge.master = test_sys.membus.port
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev