Skip to content

Commit

Permalink
Makefile: Use init_testharness.do when VCS (openhwgroup#822)
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Roch Coulon <[email protected]>
  • Loading branch information
JeanRochCoulon authored Feb 11, 2022
1 parent fc817af commit 59d9836
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions init_testharness.do
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fsdbDumpvars 0 "ariane_tb" +all +trace_process

0 comments on commit 59d9836

Please sign in to comment.