[VTA] Issue with TSIM based simulation of resnet18 inference on VTA

For the hints to speed up simulation with TSIM:

  • Set single timing measurement for TSIM based simulation:
num = 1 # number of times we run module for a single measurement 
rep = 1 # number of measurements (we derive std dev from this)   

, or simply run the module with

m.run()

instead of running the module in the time_evaluator.

  • Build Chisel VTA with default config, which means
make DEBUG=0 USE_TRACE=0 lib
  • Don’t use debug_runtime as graph_runtime, as it takes a lot more cycles in TSIM.
1 Like