From 3926b793bf187ecd20bf6d542d43dd074ae7c051 Mon Sep 17 00:00:00 2001 From: Alexandre Joannou Date: Tue, 4 Feb 2025 12:22:21 +0000 Subject: [PATCH] Added an env var to control bsc vdir flag --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index c0ae5b4..a98e422 100644 --- a/Makefile +++ b/Makefile @@ -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