summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2012-01-25 12:44:43 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2012-01-25 12:44:43 -0500
commit53c130bf2fdd4036b0988431c8cc32cfad06798e (patch)
treed35ebdc90f549e14f25ade199eb5851cf653512b
parent698408bce2a2294ab620cb70d6272f33fa75e017 (diff)
downloadgem5-53c130bf2fdd4036b0988431c8cc32cfad06798e.tar.xz
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.
-rw-r--r--configs/example/fs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 11d7d43f0..08484559a 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -167,7 +167,7 @@ if options.caches or options.l2cache:
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