# makefile
all: clean vcs sim verdi
vcs:
vcs \
-sverilog \
-debug_all \
-l com.log \
+v2k \
-P $(VERDI_HOME)/share/PLI/VCS/LINUX64/novas.tab \
${VERDI_HOME}/share/PLI/VCS/LINUX64/pli.a \
-f flist.f \
+vcs+lic+wait
sim:
./simv \
-ucli -i ./run.tcl \
-l sim.log
verdi:
verdi \
-sv \
-f flist.f \
-nologo \
-ssf TAGE.fsdb
clean:
rm -rf *.vpd csrc *.log *.key *.vdb simv* DVEfiles coverage *.fsdb verdiLog novas.conf novas.rc
特别注意,如果把sim中 -ucli -i ./run.tcl \放在了最后面,会报错- -