Merge pull request #1473 from ucb-bar/jerryz123-patch-1

Fix vcd/fst/fsdb waveform generation
This commit is contained in:
Jerry Zhao
2023-05-10 16:04:58 -07:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

View File

@@ -57,5 +57,5 @@ VCS_PREPROC_DEFINES = \
+define+VCS +define+VCS
ifndef USE_VPD ifndef USE_VPD
PREPROC_DEFINES += +define+FSDB VCS_PREPROC_DEFINES += +define+FSDB
endif endif

View File

@@ -96,8 +96,7 @@ USE_FST ?= 0
TRACING_OPTS := $(if $(filter $(USE_FST),0),\ TRACING_OPTS := $(if $(filter $(USE_FST),0),\
--trace,--trace-fst --trace-threads 1) --trace,--trace-fst --trace-threads 1)
# TODO: consider renaming +vcdfile in TestDriver.v to +waveformfile (or similar) # TODO: consider renaming +vcdfile in TestDriver.v to +waveformfile (or similar)
WAVEFORM_FLAG := +vcdfile=$(sim_out_name).$(if $(filter $(USE_FST),0),\ WAVEFORM_FLAG := +vcdfile=$(sim_out_name).$(if $(filter $(USE_FST),0),vcd,fst)
vcd,fst)
#---------------------------------------------------------------------------------------- #----------------------------------------------------------------------------------------
# verilation configuration/optimization # verilation configuration/optimization