Origen-SDK / origen_sim

Plugin to enable Origen patterns to be run in a dynamic Verilog simulation
MIT License
1 stars 4 forks source link

Empty log lines in -verbose mode #37

Closed ginty closed 5 years ago

ginty commented 5 years ago

With v0.20.0 I get the following when running the test pattern with the -verbose switch:

[INFO]       6.476[0.000]    ||     2785900 ns: ####################################################################################################
[INFO]       6.480[0.004]    ||     2785900 ns: ####################################################################################################
[INFO]       6.481[0.000]    ||     2785900 ns: ##
[INFO]       6.481[0.000]    ||     2785900 ns: ##     END OF PATTERN: test
[INFO]       6.481[0.000]    ||     2785900 ns: ##             Errors: 0
[INFO]       6.482[0.000]    ||     2785900 ns: ##
[INFO]       6.482[0.000]    ||     2785900 ns: ####################################################################################################
[INFO]       6.482[0.000]    ||     2785900 ns: ####################################################################################################
[SUCCESS]    6.906[0.423]    || The simulation passed!
[SUCCESS]    6.906[0.001]    ||
[SUCCESS]    6.907[0.000]    ||     PPPPP      AA        SSSS    SSSS
[SUCCESS]    6.907[0.000]    ||     PP  PP    AAAA      SS  SS  SS  SS
[SUCCESS]    6.907[0.000]    ||     PPPPP    AA  AA      SS      SS
[SUCCESS]    6.908[0.000]    ||     PP      AAAAAAAA       SS      SS
[SUCCESS]    6.908[0.000]    ||     PP     AA      AA   SS  SS  SS  SS
[SUCCESS]    6.908[0.000]    ||     PP    AA        AA   SSSS    SSSS
[SUCCESS]    6.909[0.000]    ||

The following log files have been created:

  /home/stephen/Code/github/origen_sim/log/simulator/default/icarus/test.txt

To view the simulation run the following command:

  cd config/waves/default && gtkwave ../../../waves/default/test/dump.vcd  --save stephen.gtkw &

but with v0.20.1 there are many blank lines printed at the end, even if I comment out the test that logs the extra long message:

[INFO]       6.995[0.000]    ||     2470900 ns: Test sim delay with padding
[INFO]       6.996[0.000]    ||     2470900 ns: ======================================================================
[INFO]       6.996[0.000]    ||     2785900 ns: ======================================================================
[INFO]       6.996[0.000]    ||     2785900 ns: Pattern complete
[INFO]       6.997[0.000]    ||     2785900 ns: ======================================================================
[INFO]       7.001[0.004]    ||     2785900 ns: ####################################################################################################
[INFO]       7.001[0.000]    ||     2785900 ns: ####################################################################################################
[INFO]       7.001[0.000]    ||     2785900 ns: ##
[INFO]       7.002[0.001]    ||     2785900 ns: ##     END OF PATTERN: test
[INFO]       7.003[0.001]    ||     2785900 ns: ##             Errors: 0
[INFO]       7.003[0.000]    ||     2785900 ns: ##
[INFO]       7.004[0.000]    ||     2785900 ns: ####################################################################################################
[INFO]       7.004[0.000]    ||     2785900 ns: ####################################################################################################
[DEBUG]      7.198[0.000]    ||
[DEBUG]      7.208[0.000]    ||
[DEBUG]      7.209[0.000]    ||
[DEBUG]      7.210[0.000]    ||
[DEBUG]      7.211[0.000]    ||
[DEBUG]      7.212[0.000]    ||
[DEBUG]      7.213[0.000]    ||
[DEBUG]      7.214[0.000]    ||
[DEBUG]      7.218[0.000]    ||
[DEBUG]      7.220[0.000]    ||
[DEBUG]      7.221[0.000]    ||

...snip

[DEBUG]      7.446[0.000]    ||
[DEBUG]      7.447[0.000]    ||
[DEBUG]      7.452[0.000]    ||
[DEBUG]      7.453[0.000]    ||
[DEBUG]      7.454[0.000]    ||
[DEBUG]      7.455[0.000]    ||
[DEBUG]      7.456[0.000]    ||
[DEBUG]      7.456[0.000]    ||
[DEBUG]      7.459[0.000]    ||
[DEBUG]      7.463[0.000]    ||
[DEBUG]      7.463[0.000]    ||
[DEBUG]      7.463[0.000]    ||
[DEBUG]      7.464[0.000]    ||
[DEBUG]      7.464[0.000]    ||
[DEBUG]      7.465[0.000]    ||
[DEBUG]      7.465[0.000]    ||
[DEBUG]      7.466[0.000]    ||
[DEBUG]      7.466[0.000]    ||
[DEBUG]      7.467[0.000]    ||
[SUCCESS]    7.479[0.012]    || The simulation passed!
[SUCCESS]    7.479[0.001]    ||
[SUCCESS]    7.480[0.000]    ||     PPPPP      AA        SSSS    SSSS
[SUCCESS]    7.480[0.000]    ||     PP  PP    AAAA      SS  SS  SS  SS
[SUCCESS]    7.481[0.001]    ||     PPPPP    AA  AA      SS      SS
[SUCCESS]    7.481[0.001]    ||     PP      AAAAAAAA       SS      SS
[SUCCESS]    7.482[0.001]    ||     PP     AA      AA   SS  SS  SS  SS
[SUCCESS]    7.483[0.001]    ||     PP    AA        AA   SSSS    SSSS
[SUCCESS]    7.487[0.003]    ||

The following log files have been created:

  /home/stephen/Code/github/origen_sim/log/simulator/default/icarus/test.txt

To view the simulation run the following command:

  cd config/waves/default && gtkwave ../../../waves/default/test/dump.vcd  --save stephen.gtkw &
ginty commented 5 years ago

Fixed in 0.20.2