Initial commit
This commit is contained in:
28
Libs/RiscV/NEORV32/setups/osflow/tools.mk
Normal file
28
Libs/RiscV/NEORV32/setups/osflow/tools.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
GHDL_FLAGS += --std=08
|
||||
GHDL ?= ghdl
|
||||
GHDLSYNTH ?= ghdl
|
||||
YOSYS ?= yosys
|
||||
ICEPACK ?= icepack
|
||||
ECPPACK ?= ecppack
|
||||
OPENOCD ?= openocd
|
||||
COPY ?= cp -a
|
||||
|
||||
DEVICE_SERIES ?= ice40
|
||||
DEVICE_LIB ?= $(DEVICE_SERIES)
|
||||
YOSYSSYNTH ?= $(DEVICE_SERIES)
|
||||
NEXTPNR ?= nextpnr-$(DEVICE_SERIES)
|
||||
|
||||
ifeq ($(DEVICE_SERIES),ice40)
|
||||
YOSYSPIPE ?= -dsp
|
||||
CONSTRAINTS_FORMAT ?= pcf
|
||||
NEXTPNR_OUT ?= asc
|
||||
PNR2BIT_EXT ?= asc
|
||||
PACKTOOL ?= $(ICEPACK)
|
||||
PACKARGS ?=
|
||||
else
|
||||
CONSTRAINTS_FORMAT ?= lpf
|
||||
NEXTPNR_OUT ?= textcfg
|
||||
PNR2BIT_EXT ?= cfg
|
||||
PACKTOOL ?= $(ECPPACK)
|
||||
PACKARGS ?= --compress
|
||||
endif
|
||||
Reference in New Issue
Block a user