mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 05:07:21 -04:00
Makefile: Use init_testharness.do
when VCS (#822)
Signed-off-by: Jean-Roch Coulon <jean-roch.coulon@thalesgroup.com>
This commit is contained in:
parent
fc817af76c
commit
59d9836ee5
2 changed files with 2 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -336,7 +336,7 @@ vcs_build: $(dpi-library)/ariane_dpi.so
|
|||
vcs $(if $(VERDI), -kdb -debug_access+all -lca,) -full64 -timescale=1ns/1ns -ntb_opts uvm-1.2 work.ariane_tb
|
||||
|
||||
vcs: vcs_build
|
||||
cd $(vcs-library) && ./simv $(if $(VERDI), -verdi,) +permissive -sv_lib ../work-dpi/ariane_dpi +PRELOAD=$(elf-bin) +permissive-off ++$(elf-bin)| tee vcs.log
|
||||
cd $(vcs-library) && ./simv $(if $(VERDI), -verdi -do $(root-dir)/init_testharness.do,) +permissive -sv_lib ../work-dpi/ariane_dpi +PRELOAD=$(elf-bin) +permissive-off ++$(elf-bin)| tee vcs.log
|
||||
|
||||
# Build the TB and module using QuestaSim
|
||||
build: $(library) $(library)/.build-srcs $(library)/.build-tb $(dpi-library)/ariane_dpi.so
|
||||
|
|
1
init_testharness.do
Normal file
1
init_testharness.do
Normal file
|
@ -0,0 +1 @@
|
|||
fsdbDumpvars 0 "ariane_tb" +all +trace_process
|
Loading…
Add table
Add a link
Reference in a new issue