mirror of
https://github.com/openhwgroup/cva5.git
synced 2025-04-24 05:57:22 -04:00
Added Trace Flag to Makefile
This commit is contained in:
parent
84c2bbe88c
commit
06d82770c8
1 changed files with 8 additions and 3 deletions
|
@ -14,11 +14,16 @@ VERILATOR_DIR=$(TAIGA_DIR)/test_benches/verilator
|
|||
|
||||
TAIGA_SRCS = $(shell cat taiga_compile_order)
|
||||
|
||||
VERILATOR_LINT_IGNORE= -Wno-LITENDIAN -Wno-SYMRSVDWORD
|
||||
VERILATOR_CFLAGS = -CFLAGS "-g0 -O3 -march=native"
|
||||
|
||||
#Set to True or False
|
||||
TRACE_ENABLE=False
|
||||
VERILATOR_TRACE_FILE="/data/sim-logs/sim_results.vcd"
|
||||
|
||||
VERILATOR_LINT_IGNORE= -Wno-LITENDIAN -Wno-SYMRSVDWORD
|
||||
ifeq ($(TRACE_ENABLE), True)
|
||||
VERILATOR_CFLAGS = --trace -CFLAGS "-g0 -O3 -march=native -D TRACE_ON"
|
||||
else
|
||||
VERILATOR_CFLAGS = -CFLAGS "-g0 -O3 -march=native"
|
||||
endif
|
||||
###############################################################
|
||||
|
||||
#Compiance parameters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue