Added an env var to control bsc vdir flag

This commit is contained in:
Alexandre Joannou
2025-02-04 12:22:21 +00:00
parent 9e0636e6fc
commit 3926b793bf

View File

@@ -13,6 +13,9 @@ ifeq ($(ARCH), RISCV)
BSCFLAGS += -D RISCV
endif
BSV_VERILOG_WRAPPERS_DIR ?= $(CURDIR)
BSCFLAGS += -vdir $(BSV_VERILOG_WRAPPERS_DIR)
all: verilog-wrappers blarney-wrappers
verilog-wrappers: CHERICapWrap.bsv CHERICap.bsv CHERICC_Fat.bsv