Hello GEM5 folks, I want to simulate a mesh NoC with custom injected traffic, and visualize the progress of injected packets on a clock-by-clock basis. Subsequently, in phase 2, I would like this traffic to be processed by the CPU cores in the NoC. The cores are MIPS ISA based.
I have looked at GEM5 code and I understand that I can use a “simple” or a “garnet2.0” network. And that I can use one of two testers — “ruby_random_test.py” or “garnet_synth_traffic.py”. 1. What would be the best combination of network and tester to use from the above choices? 2. If I use the garnet tester, I assume that my custom traffic generation code would be written in src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.cc. a) is this correct? b) If I modify this traffic generator, will it make it impossible for my traffic to be processed by the MIPS cores in Phase 2? The webpage says garnet_synthetic_traffic.py only works on a NULL architecture, but it did run for a MIPS based gem5.debug build for me.. Hence the confusion. 3. If I use ruby_random_test.py tester, where would I insert teh custom traffic generation code? I was unable to find the traffic generation code in this tester. 4. A previous verison of GEM5 (stable 2015_04_15) had a ruby_network_test.py tester, with more configuration flags. However, the latest code no longer has this tester. I tried to splice it into my current build and it didn’t compile. I wonder why this tester was removed in the latest version of the code? 5. Are there any built-in hooks to view traffic progress on a cycle-by-cycle basis? I didn’t find any, but I wonder if I missed something. It would save me much work if something like this exists. Many thanks in advance for any suggestions. Sunil _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
