Skip to content

Commit afb1480

Browse files
committed
chore: add vcd wave display func and ignore rule
1 parent 3640549 commit afb1480

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ ysyxSoC
1111
DRAMsim3
1212
dramsim3.json
1313
dramsim3.txt
14-
dramsim3epoch.json
14+
dramsim3epoch.json
15+
*.vcd

rtl/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,17 +239,17 @@ socLintCheck: socNameCheck
239239
$(MAKE) -C $(YSYXSOC_HOME)/lint/ lint-unused
240240
@echo -e "\033[1;32mlint-unused check done\033[0m"
241241

242-
socSimPrevBuild:
242+
socPrevBuild:
243243
# FIXME: if only need to moidfy core, commit it
244244
# @cp $(YSYXSOC_HOME)/soc/ysyxSoCFull.v $(BUILD_DIR)/soc
245245
@sed -i s/ysyx_000000/ysyx_210324/g $(BUILD_DIR)/soc/ysyxSoCFull.v
246246
verilator $(SOC_FLAGS)
247247

248-
socSimBuild: socSimPrevBuild
248+
socBuild: socPrevBuild
249249
$(MAKE) VM_PARALLEL_BUILDS=1 OPT_FAST="-O3" -C $(SOC_COMPILE_HOME) -f V$(SOC_VSRC_TOP).mk
250250

251251
socSimRun:
252-
$(SOC_VSRC_HOME)/emu -i $(YSYXSOC_HOME)/program/bin/flash/hello-flash.bin
252+
$(SOC_VSRC_HOME)/emu -i $(YSYXSOC_HOME)/program/bin/flash/hello-flash.bin --dump-wave
253253

254254
###### clean target ######
255255
cleanBuild:
@@ -266,5 +266,5 @@ cleanAll: cleanBuild cleanMillOut cleanDepRepo
266266

267267
.PHONY: millTest diffBuild help compile bsp reformat checkformat \
268268
nemuBuild difftestBuild riscvTestBuild cpuTestBuild amTestBuild demoTest \
269-
socTopModify socNameCheck socSimBuild\
269+
socTopModify socNameCheck socBuild\
270270
cleanBuild cleanMillOut cleanDepRepo cleanAll

0 commit comments

Comments
 (0)