Skip to content

Commit d83ba0c

Browse files
committed
Switch to default generating FSDB
1 parent 537bce8 commit d83ba0c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/VLSI/ASAP7-Tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Simulation with VCS is supported, and can be run at the RTL- or gate-level (post
152152
153153
Post-synthesis and post-P&R simulations use the ``sim-syn`` and ``sim-par`` make targets, respectively.
154154

155-
Appending ``-debug`` and ``-debug-timing`` to these make targets will instruct VCS to write a SAIF + VPD (or FSDB if the ``USE_FSDB`` flag is set) and do timing-annotated simulations, respectively. See the ``sim.mk`` file for all available targets.
155+
Appending ``-debug`` and ``-debug-timing`` to these make targets will instruct VCS to write a SAIF + FSDB (or VPD if the ``USE_VPD`` flag is set) and do timing-annotated simulations, respectively. See the ``sim.mk`` file for all available targets.
156156

157157
Power/Rail Analysis
158158
^^^^^^^^^^^^^^^^^^^

docs/VLSI/Sky130-Commercial-Tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Simulation with VCS is supported, and can be run at the RTL- or gate-level (post
156156
157157
Post-synthesis and post-P&R simulations use the ``sim-syn`` and ``sim-par`` make targets, respectively.
158158

159-
Appending ``-debug`` and ``-debug-timing`` to these make targets will instruct VCS to write a SAIF + VPD (or FSDB if the ``USE_FSDB`` flag is set) and do timing-annotated simulations, respectively. See the ``sim.mk`` file for all available targets.
159+
Appending ``-debug`` and ``-debug-timing`` to these make targets will instruct VCS to write a SAIF + FSDB (or VPD if the ``USE_VPD`` flag is set) and do timing-annotated simulations, respectively. See the ``sim.mk`` file for all available targets.
160160

161161
Power/Rail Analysis
162162
^^^^^^^^^^^^^^^^^^^

vcs.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
HELP_COMPILATION_VARIABLES += \
2-
" USE_FSDB = set to '1' to build VCS simulator to emit FSDB instead of VPD."
2+
" USE_VPD = set to '1' to build VCS simulator to emit VPD instead of FSDB."
33

44
HELP_SIMULATION_VARIABLES += \
5-
" USE_FSDB = set to '1' to run VCS simulator emitting FSDB instead of VPD."
5+
" USE_VPD = set to '1' to run VCS simulator emitting VPD instead of FSDB."
66

7-
ifdef USE_FSDB
7+
ifndef USE_VPD
88
WAVEFORM_FLAG=+fsdbfile=$(sim_out_name).fsdb
99
else
1010
WAVEFORM_FLAG=+vcdplusfile=$(sim_out_name).vpd
@@ -66,6 +66,6 @@ PREPROC_DEFINES = \
6666
+define+RANDOMIZE_GARBAGE_ASSIGN \
6767
+define+RANDOMIZE_INVALID_ASSIGN
6868

69-
ifdef USE_FSDB
69+
ifndef USE_VPD
7070
PREPROC_DEFINES += +define+FSDB
7171
endif

vlsi/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ $(SIM_DEBUG_CONF): $(VLSI_RTL) $(HARNESS_FILE) $(HARNESS_SMEMS_FILE) $(sim_commo
177177
echo " saif.mode: 'time'" >> $@
178178
echo " saif.start_time: '0ns'" >> $@
179179
echo " saif.end_time: '`bc <<< $(timeout_cycles)*$(CLOCK_PERIOD)`ns'" >> $@
180-
ifdef USE_FSDB
180+
ifndef USE_VPD
181181
echo " options:" >> $@
182182
echo ' - "-kdb"' >> $@
183183
echo " options_meta: 'append'" >> $@
@@ -202,7 +202,7 @@ $(POWER_CONF): $(VLSI_RTL) $(HARNESS_FILE) $(HARNESS_SMEMS_FILE) $(sim_common_fi
202202
echo " database: '$(OBJ_DIR)/par-rundir/$(VLSI_TOP)_FINAL'" >> $@
203203
ifneq ($(BINARY), )
204204
echo " waveforms: [" >> $@
205-
ifdef USE_FSDB
205+
ifndef USE_VPD
206206
echo " '$(sim_out_name).fsdb'" >> $@
207207
else
208208
echo " '$(sim_out_name).vpd'" >> $@

0 commit comments

Comments
 (0)