Hello guys,
I am trying to run a Nehalem configuration (written by Mitch and Nithesh),
but I got this error:
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
fatal: system.tol2bus has two ports with same range:
system.cpu.interrupts.pio
system.l2.cpu_side
How can I modify the range of the ports being used? (I am not establishing
the range anywhere, or at least, I think Im not)
The mem configuration in the script is done this way:
# Configure L2 cache
if config.has_section('l2'):
l2_options = dict(config.items('l2'))
if l2_options.has_key('prefetcher'):
l2_options['prefetcher'] = eval(l2_options['prefetcher'])
# system.l2 = BaseCache(clock = cpu.clock,
system.l2 = BaseCache(**l2_options)
# system.tol2bus = CoherentBus(clock = cpu.clock, width = 32)
system.tol2bus = CoherentBus(width = 32)
system.l2.cpu_side = system.tol2bus.master
if config.has_section('l3') == False:
system.l2.mem_side = system.membus.slave
cpu.connectAllPorts(system.tol2bus)
else:
cpu.connectAllPorts(system.membus)
# Configure L3 cache
if config.has_section('l3'):
l3_options = dict(config.items('l3'))
if l3_options.has_key('prefetcher'):
l3_options['prefetcher'] = eval(l3_options['prefetcher'])
# system.l3 = BaseCache(clock = cpu.clock,
system.l3 = BaseCache(**l3_options)
# system.tol3bus = CoherentBus(clock = cpu.clock, width = 16)
system.tol3bus = CoherentBus(width = 16)
system.l2.mem_side = system.tol3bus.slave
system.l3.cpu_side = system.tol3bus.master
system.l3.mem_side = system.membus.slave
You can find all scripts at Nithesh's site:
https://sites.google.com/site/nitheshkurella/scipts
Thanks a lot,
Alberto
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users