Hi,

I have built gem5 with x86 architecture. My aim is run is to test an inter-connection network in full system mode. There is already a simulation script NetworkTest.py which does this. I am trying to modify this to run it in full system mode.

For this I called the NetworkTest class (see below) in ruby_fs.py

[ NetworkTest(fixed_pkts=options.fixed_pkts,
                     max_packets=options.maxpackets,
                     sim_cycles=options.sim_cycles,
                     traffic_type=options.synthetic,
                     inj_rate=options.injectionrate,
                     precision=options.precision,
                     num_memories=options.num_dirs) \
         for i in xrange(options.num_cpus) ]


Later I connect cpu ports to ruby system ports,
...
cpu.createInterruptController()
cpu.icache_port = system.ruby._cpu_ruby_ports[i].slave
cpu.dcache_port = system.ruby._cpu_ruby_ports[i].slave
...

When I run gem5 with the modified ruby_fs.py I get an error:
AttributeError: object 'NetworkTest' has no attribute 'createInterruptController'

Can some one guide me as to how to make it run in full system mode.

The command I ran was
./build/X86/gem5.debug configs/example/fs_network.py --num-cpus=16 --num-dirs=16 --topology=Mesh --mesh-rows=4 --sim-cycles=10000 --injectionrate=0.1 --synthetic=0 --fixed-pkts --maxpackets=1 --garnet-network=fixed --kernel /home/saketcs/dist/m5/system/binaries/x86_64-vmlinux-2.6.22.9

Thanks,
Saket



_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to