diff options
Diffstat (limited to 'configs/example/fs.py')
-rw-r--r-- | configs/example/fs.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py index 10bed7499..f1b8acedf 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -128,8 +128,11 @@ else: test_sys.iobridge.master = test_sys.membus.slave # Sanity check -if options.fastmem and (options.caches or options.l2cache): - fatal("You cannot use fastmem in combination with caches!") +if options.fastmem: + if TestCPUClass != AtomicSimpleCPU: + fatal("Fastmem can only be used with atomic CPU!") + if (options.caches or options.l2cache): + fatal("You cannot use fastmem in combination with caches!") for i in xrange(np): if options.fastmem: |