update
This commit is contained in:
29
puart2/makefile
Normal file
29
puart2/makefile
Normal file
@@ -0,0 +1,29 @@
|
||||
export TEST_NAME = ddr_ctrl
|
||||
FILE_LIST = filelist.f
|
||||
|
||||
PLATFORM = LINUX64
|
||||
waveform = $(TEST_NAME).fsdb
|
||||
|
||||
all: clean compile sim
|
||||
|
||||
# VCS
|
||||
|
||||
compile:
|
||||
vcs -notice -debug_acc+all -j8 -timescale=1ns/1ps \
|
||||
-sverilog -LDFLAGS -rdynamic -full64 \
|
||||
-f $(FILE_LIST) \
|
||||
+vcs+lic+wait \
|
||||
-l vcs_com.log
|
||||
|
||||
sim:
|
||||
./simv \
|
||||
+fsdb+autoflush \
|
||||
-l vcs_sim.log
|
||||
|
||||
# verdi
|
||||
verdi:
|
||||
verdi -nologo -sv -f $(FILE_LIST) -ssf $(TEST_NAME).fsdb &
|
||||
|
||||
# clean
|
||||
clean:
|
||||
@rm -rf csrc DVEfiles simv simv.daidir ucli.key novas* VCS* *dat verdi* vcs* *.fsdb
|
||||
Reference in New Issue
Block a user