Skip to content

Commit 01a8722

Browse files
committed
Rearranged vopt args to support post-simulation Visualizer invokation
1 parent 5c524d3 commit 01a8722

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
@@ -278,12 +278,12 @@ def _create_optimize_function(self, config):
278278
optimized_design = self._to_optimized_design(design_to_optimize)
279279

280280
vopt_flags = [
281+
self._vopt_extra_args(config),
281282
f"{design_to_optimize}",
282283
f"-work {{{config.library_name}}}",
283284
"-quiet",
284285
f"-floatgenerics+{config.entity_name}.",
285286
f"-o {{{optimized_design}}}",
286-
self._vopt_extra_args(config),
287287
]
288288

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

0 commit comments

Comments
 (0)