Skip to content

Commit 07ccaf4

Browse files
ezelioliphsauter
authored andcommitted
Makefile: enable CVE2 tracing with Verilator
1 parent b3ec98e commit 07ccaf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ VERILATOR_ARGS += --x-assign fast --x-initial fast
9898
VERILATOR_CFLAGS += -O3 -march=native -mtune=native
9999

100100
verilator/croc.f: Bender.lock Bender.yml
101-
$(BENDER) script verilator -t rtl -t verilator -DSYNTHESIS -DVERILATOR > $@
101+
$(BENDER) script verilator -t rtl -t verilator -t cve2_include_tracer -DSYNTHESIS -DVERILATOR -DTRACE_EXECUTION > $@
102102

103103
verilator/obj_dir/Vtb_croc_soc: verilator/croc.f $(SW_HEX)
104104
cd verilator; $(VERILATOR) $(VERILATOR_ARGS) -O3 --top tb_croc_soc -f croc.f

0 commit comments

Comments
 (0)