Skip to content

Commit b2ae82b

Browse files
committed
Rearranged vopt args to support post-simulation Visualizer invokation
1 parent 8119bee commit b2ae82b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vunit/sim_if/modelsim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,12 @@ def _create_optimize_function(self, config):
283283
optimized_design = self._to_optimized_design(design_to_optimize)
284284

285285
vopt_flags = [
286+
self._vopt_extra_args(config),
286287
f"{design_to_optimize}",
287288
f"-work {{{config.library_name}}}",
288289
"-quiet",
289290
f"-floatgenerics+{config.entity_name}.",
290291
f"-o {{{optimized_design}}}",
291-
self._vopt_extra_args(config),
292292
]
293293

294294
# There is a known bug in modelsim that prevents the -modelsimini flag from accepting

0 commit comments

Comments
 (0)