Default to CAP64 and RISCV architecture
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,11 +1,15 @@
|
|||||||
|
CAP ?= 64
|
||||||
CAP ?= 128
|
|
||||||
ifeq ($(CAP), 128)
|
ifeq ($(CAP), 128)
|
||||||
BSCFLAGS = -D CAP128
|
BSCFLAGS = -D CAP128
|
||||||
else
|
else
|
||||||
BSCFLAGS = -D CAP64
|
BSCFLAGS = -D CAP64
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ARCH ?= RISCV
|
||||||
|
ifeq ($(ARCH), RISCV)
|
||||||
|
BSCFLAGS += -D RISCV
|
||||||
|
endif
|
||||||
|
|
||||||
verilog-wrappers: CHERICapWrap.bsv CHERICap.bsv CHERICC_Fat.bsv
|
verilog-wrappers: CHERICapWrap.bsv CHERICap.bsv CHERICC_Fat.bsv
|
||||||
bsc $(BSCFLAGS) -verilog -u $<
|
bsc $(BSCFLAGS) -verilog -u $<
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user