-
Notifications
You must be signed in to change notification settings - Fork 3
User Manual
- Clone the repository
- Open a terminal and navigate to the Bonfire directory
- Make sure that your modelsim works properly from your terminal
- Use the simulate.py script to generate and simulate the system.
- All the simulation files will be stored in Bonfire/tmp/simul_temp folder
-
python3 simulate.py -D 4 4 -Rand 0.01 -PS 8 8 -sim 10000 -end 12000- runs a 4x4 network with packet injection rate of 0.01 and packet size of 8 flits. The injection of packets will stop at 10000 ns and simulation will stop at 12000 ns. -
python simulate.py -D 2 2 -Rand 0.02 -PS 8 8 -sim 10000 -end 12000 -lat- runs a 2x2 network with packet injection rate of 0.02 and packet size of 8 flits. The injection of packets will stop at 10000 ns and simulation will stop at 12000 ns. At the end of simulation the tool reports the latency results!. -
python simulate.py -D 4 4 -vc -Rand 0.05 -PS 8 8 -sim 10000 -end 12000- runs a 4x4 network with virtual channels. Packet injection rate is 0.01 and packet size is 8 flits. the injection of packets will stop at 10000 ns and simulation will stop at 12000 ns.
The simulation will automatically run and show the waveform of important signals. If simulation is successful and all packets and flits are transmitted successfully, you should be able to see that the number of lines in received.txt and sent.txt files match. Also, the program shows the results after exiting ModelSim. You should see packet loss as 0.00% if everything went fine.
Copyright © 2016 as collective work done by the contributors listed in the home page. Parts of this work are re-use or modification of work under different licenses. Please refer to disclaimers in the related folders.