Support multi-binary-run in RTL sim
This commit is contained in:
@@ -5,9 +5,9 @@ HELP_SIMULATION_VARIABLES += \
|
||||
" USE_VPD = set to '1' to run VCS simulator emitting VPD instead of FSDB."
|
||||
|
||||
ifndef USE_VPD
|
||||
WAVEFORM_FLAG=+fsdbfile=$(sim_out_name).fsdb
|
||||
get_waveform_flag=+fsdbfile=$(1).fsdb
|
||||
else
|
||||
WAVEFORM_FLAG=+vcdplusfile=$(sim_out_name).vpd
|
||||
get_waveform_flag=+vcdplusfile=$(1).vpd
|
||||
endif
|
||||
|
||||
# If ntb_random_seed unspecified, vcs uses 1 as constant seed.
|
||||
|
||||
@@ -96,7 +96,7 @@ USE_FST ?= 0
|
||||
TRACING_OPTS := $(if $(filter $(USE_FST),0),\
|
||||
--trace,--trace-fst --trace-threads 1)
|
||||
# TODO: consider renaming +vcdfile in TestDriver.v to +waveformfile (or similar)
|
||||
WAVEFORM_FLAG := +vcdfile=$(sim_out_name).$(if $(filter $(USE_FST),0),vcd,fst)
|
||||
get_waveform_flag = +vcdfile=$(1).$(if $(filter $(USE_FST),0),vcd,fst)
|
||||
|
||||
#----------------------------------------------------------------------------------------
|
||||
# verilation configuration/optimization
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
WAVEFORM_FLAG=+vcdfile=$(sim_out_name).vcd
|
||||
get_waveform_flag=+vcdfile=$(1).vcd
|
||||
|
||||
# If ntb_random_seed unspecified, xcelium uses 1 as constant seed.
|
||||
# Set ntb_random_seed_automatic to actually get a random seed
|
||||
|
||||
Reference in New Issue
Block a user