This patch adds the network tester for simple and garnet networks.
authorTushar Krishna <tushar@csail.mit.edu>
Tue, 22 Mar 2011 02:51:58 +0000 (22:51 -0400)
committerTushar Krishna <tushar@csail.mit.edu>
Tue, 22 Mar 2011 02:51:58 +0000 (22:51 -0400)
commit09c3a97a4c9aace6e2c52823679b31323cab42f6
treed0340677be5f6cd4c10456fb70a46c1374f28e99
parentd7aa794155a46a403825f82c1ea62cd38b9de788
This patch adds the network tester for simple and garnet networks.
The tester code is in testers/networktest.
The tester can be invoked by configs/example/ruby_network_test.py.
A dummy coherence protocol called Network_test is also addded for network-only simulations and testing. The protocol takes in messages from the tester and just pushes them into the network in the appropriate vnet, without storing any state.
21 files changed:
build_opts/ALPHA_SE_Network_test [new file with mode: 0644]
configs/example/ruby_network_test.py [new file with mode: 0644]
configs/ruby/Network_test.py [new file with mode: 0644]
src/cpu/testers/networktest/NetworkTest.py [new file with mode: 0644]
src/cpu/testers/networktest/SConscript [new file with mode: 0644]
src/cpu/testers/networktest/networktest.cc [new file with mode: 0644]
src/cpu/testers/networktest/networktest.hh [new file with mode: 0644]
src/mem/protocol/Network_test-cache.sm [new file with mode: 0644]
src/mem/protocol/Network_test-dir.sm [new file with mode: 0644]
src/mem/protocol/Network_test-msg.sm [new file with mode: 0644]
src/mem/protocol/Network_test.slicc [new file with mode: 0644]
src/mem/protocol/SConsopts
src/mem/ruby/network/garnet/BaseGarnetNetwork.cc
src/mem/ruby/network/garnet/BaseGarnetNetwork.hh
src/mem/ruby/network/garnet/BaseGarnetNetwork.py
src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc
src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc
src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc
src/mem/ruby/system/Sequencer.cc
src/mem/ruby/system/Sequencer.hh
src/mem/ruby/system/Sequencer.py