diff options
Diffstat (limited to 'configs')
-rw-r--r-- | configs/example/ruby_fs.py | 2 | ||||
-rw-r--r-- | configs/example/se.py | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py index 8d21cfb32..32ddb90bf 100644 --- a/configs/example/ruby_fs.py +++ b/configs/example/ruby_fs.py @@ -114,5 +114,7 @@ for (i, cpu) in enumerate(system.cpu): cpu.interrupts.int_master = system.piobus.slave cpu.interrupts.int_slave = system.piobus.master + system.ruby._cpu_ruby_ports[i].access_phys_mem = True + root = Root(full_system = True, system = system) Simulation.run(options, root, system, FutureClass) diff --git a/configs/example/se.py b/configs/example/se.py index fe5524ef5..20149cccd 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -187,6 +187,9 @@ if options.ruby: print >> sys.stderr, "Ruby requires TimingSimpleCPU or O3CPU!!" sys.exit(1) + # Set the option for physmem so that it is not allocated any space + system.physmem.null = True + options.use_map = True Ruby.create_system(options, system) assert(options.num_cpus == len(system.ruby._cpu_ruby_ports)) |