Raeiu
Newbie level 5
Hi everyone. I have a component wich is simulated for 200 ms where 200 ms is equal to 255*2880*271 (approximately).
- 271 is the clock period in ns.
- 255 is a clock divider (8 bit counter).
- 2880 is the number of counts that the simulation must do (12 bit counter).
I need a way to reduce the counters length to reduce time simulation for better readability of the output, becouse in this way i have something like 1.470.000 line of output (the output is written at every clock hit).
I cannot modify the code
I need to do this on ModelSim or other way. I tought to use tcl to stop the counters first and make them start to counting from 0 again but i don't know if there is a command to do this.
Some idea?
- 271 is the clock period in ns.
- 255 is a clock divider (8 bit counter).
- 2880 is the number of counts that the simulation must do (12 bit counter).
I need a way to reduce the counters length to reduce time simulation for better readability of the output, becouse in this way i have something like 1.470.000 line of output (the output is written at every clock hit).
I cannot modify the code
I need to do this on ModelSim or other way. I tought to use tcl to stop the counters first and make them start to counting from 0 again but i don't know if there is a command to do this.
Some idea?