This commit is contained in:
Core_kingdom
2025-08-06 13:42:13 +08:00
commit 163d200aae
345 changed files with 32786 additions and 0 deletions

20
sim/Makefile Executable file
View File

@@ -0,0 +1,20 @@
#-------------------------------------------------------------------------------------------------------
comp : clean vcs
#-------------------------------------------------------------------------------------------------------
find :
find ../{rtl,tb} -name "*.v" > filelist.f
#---------------------------------------------------------------------------------------
vcs :
vcs \
-f filelist.f \
-timescale=1ns/1ps \
-debug -o simv\
-full64 -R +vc +v2k -sverilog -debug_access+all\
| 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
#-------------------------------------------------------------------------------------------------------