gem5: campaigns are now running without interruption

This change introduces a fake iobus device into gem5 to prevent
it from crashing on bogus I/O memory accesses.

Change-Id: Ie69e3191bdd917cc681269852937a5a3820a93fb
This commit is contained in:
Richard Hellwig
2014-03-17 11:33:55 +01:00
committed by Michael Lenz
parent ea34860bd8
commit b60e1c0c66
8 changed files with 162 additions and 3 deletions

View File

@ -154,6 +154,8 @@ else:
ranges = [test_sys.physmem.range])
test_sys.iobridge.slave = test_sys.iobus.master
test_sys.iobridge.master = test_sys.membus.slave
test_sys.failfake = FailFakeDevice(pio_addr=0xF00); #DanceOS
test_sys.iobus.default = test_sys.failfake.pio #DanceOS
# Sanity check
if options.fastmem and (options.caches or options.l2cache):