system.physmem = MemClass(range=AddrRange(options.mem_size),
null = True)
options.use_map = True
-
- system.piobus = NoncoherentBus()
- Ruby.create_system(options, system, system.piobus)
+ Ruby.create_system(options, system)
assert(options.num_cpus == len(system.ruby._cpu_ruby_ports))
for i in xrange(np):
#include "mem/protocol/AccessPermission.hh"
#include "mem/ruby/slicc_interface/AbstractController.hh"
#include "mem/ruby/system/RubyPort.hh"
+#include "sim/full_system.hh"
#include "sim/system.hh"
RubyPort::RubyPort(const Params *p)
{
RubyPort &r = static_cast<RubyPort &>(owner);
r.gotAddrRanges--;
- if (r.gotAddrRanges == 0) {
+ if (r.gotAddrRanges == 0 && FullSystem) {
r.pioSlavePort.sendRangeChange();
}
}
voltage_domain = system.voltage_domain)
system.mem_ranges = AddrRange('256MB')
-system.piobus = NoncoherentBus()
-Ruby.create_system(options, system, system.piobus)
+Ruby.create_system(options, system)
# Create a separate clock for Ruby
system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock,