Skip to content

Commit

Permalink
Added -t and -onfinish options to Visualizer.
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsAsplund committed Dec 20, 2024
1 parent b2f661f commit aa73e22
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions vunit/sim_if/modelsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,11 @@ def _common_vsim_flags(self, config, optimize_design):
"-work",
f"{config.library_name}",
"-quiet",
"-t",
"ps",
# for correct handling of Verilog fatal/finish
"-onfinish",
"stop",
coverage_args,
self._vsim_extra_args(config),
]
Expand Down Expand Up @@ -649,9 +654,6 @@ def _get_vsim_flags(self, config, output_path, optimize_design):
f"{{{fix_path(str(Path(output_path) / 'vsim.wlf'))}}}",
pli_str,
set_generic_str,
"-t ps",
# for correct handling of Verilog fatal/finish
"-onfinish stop",
]

return vsim_flags
Expand Down

0 comments on commit aa73e22

Please sign in to comment.