第一版
vcs:
vcs add.v fa.v add_tb.v -full64 -cc gcc-4.8 -LDFLAGS -Wl,–no-as-needed -debug_all +v2k
clean:
rm -rf ~ core csrc simv vc_hdrs.h ucli.key urg* .log novas. .fsdb verdiLog 64* DVEfiles *.vpd
第二版
#-------------------------------------------------------------------------------------------------------
comp : clean vcs
#-------------------------------------------------------------------------------------------------------
vcs :
vcs
-f filelist.f
-timescale=1ns/1ps
-fsdb -full64 -cc gcc-4.8 -LDFLAGS -Wl,–no-as-needed -R +vc +v2k -sverilog -debug_all
-P ${LD_LIBRARY_PATH}/novas.tab ${LD_LIBRARY_PATH}/pli.a
| tee vcs.log &
#-------------------------------------------------------------------------------------------------------
verdi :
verdi -f filelist.f -ssf tb.fsdb &
#-------------------------------------------------------------------------------------------------------
clean :
rm -rf ~ core csrc simv vc_hdrs.h ucli.key urg* .log novas. .fsdb verdiLog 64* DVEfiles *.vpd
#-------------------------------------------------------------------------------------------------------