Configs: Fix memtest.py by moving the system port

The memtest.py script used to connect the system port directly to the
SimpleMemory, but the latter is now single ported. Since the system
port is not used for anything in this particular example, a quick fix
is to attach it to the functional bus instead.
This commit is contained in:
Andreas Hansson 2012-09-27 03:24:21 -04:00
parent 91e74beee6
commit 9d9b71e485

View file

@ -189,7 +189,7 @@ else:
# The system port is never used in the tester so merely connect it
# to avoid problems
root.system.system_port = root.system.physmem.port
root.system.system_port = root.system.funcbus.slave
# Not much point in this being higher than the L1 latency
m5.ticks.setGlobalFrequency('1ns')