How to run: python3 network_tester.py -nl 32 -p 0.5 nl is the number of Processing Elements, and P is the Rent exponent. For instance, the switch configuration is: p==1: pi-pi-pi-pi ... p==0.5: pi-t-pi-t ... You need iverilog to run the simulation.