From c6d5e48347b3749aefa0eba84b63fab417160ad8 Mon Sep 17 00:00:00 2001 From: Sagar Karandikar Date: Wed, 8 Mar 2023 18:26:43 -0800 Subject: [PATCH] Update arg-reshuffle --- sims/xcelium/arg-reshuffle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sims/xcelium/arg-reshuffle b/sims/xcelium/arg-reshuffle index 7ccca217..08176864 100755 --- a/sims/xcelium/arg-reshuffle +++ b/sims/xcelium/arg-reshuffle @@ -1,4 +1,13 @@ +# this is a wrapper that is copied into xcelium sim run scripts that +# re-maps arguments from the argument pattern used by other +# simulators (vcs, verilator) to the pattern required by xcelium. +# +# mainly: +# * +vcdfile=VAL -> XCELIUM_WAVEFORM_FLAG=VAL, to be passed in as env var +# * arguments not prefixed with a + or - are treated as the arguments to +# the target and are passed in instead with the +target-argument plusarg + regular_args="" target_args="+permissive" for var in "$@"