-
Notifications
You must be signed in to change notification settings - Fork 13
/
boards.def
51 lines (50 loc) · 1.25 KB
/
boards.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Fix some var according to
# FPGA model and board
ifeq ($(BOARD_NAME), de0nanosoc)
OUT_BIN = rbf
USE_QSYS = y
FAMILY = "Cyclone V"
PART = 5CSEMA4U23C6
BD_PRESET = $(OSCIMP_DIGITAL_IP)/preset/de0nanoSoc_qsys_preset.tcl
PRJ_PRESET = $(OSCIMP_DIGITAL_IP)/preset/de0nanoSoc_prj_preset.tcl
TOOLS = quartus
endif
ifeq ($(BOARD_NAME), redpitaya)
OUT_BIN = bit.bin
USE_BD = y
PART = "xc7z010clg400-1"
PRJ_PRESET = ""
BD_PRESET = "${OSCIMP_DIGITAL_IP}/preset/redpitaya_preset.xml"
TOOLS = vivado
endif
ifeq ($(BOARD_NAME), redpitaya16)
OUT_BIN = bit.bin
USE_BD = y
PART = "xc7z020clg400-1"
PRJ_PRESET = ""
BD_PRESET = "${OSCIMP_DIGITAL_IP}/preset/redpitaya16_preset.xml"
TOOLS = vivado
endif
ifeq ($(BOARD_NAME), redpitaya12)
OUT_BIN = bit.bin
USE_BD = y
PART = "xc7z020clg400-3"
PRJ_PRESET = ""
BD_PRESET = "${OSCIMP_DIGITAL_IP}/preset/redpitaya12_preset.xml"
TOOLS = vivado
endif
ifeq ($(BOARD_NAME), zedboard)
OUT_BIN = bit.bin
USE_BD = y
PART = "xc7z020clg484-1"
PRJ_PRESET = ""
BD_PRESET = "ZedBoard"
TOOLS = vivado
endif
ifeq ($(BOARD_NAME),)
all: fail_rule
fail_rule:
@echo $(BOARD_NAME)
@echo "BOARD_NAME not known or missing"
@/bin/false
endif