forked from sifive/freedom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.u500nexysA7devkit
29 lines (25 loc) · 992 Bytes
/
Makefile.u500nexysA7devkit
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
# See LICENSE for license details.
base_dir := $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
BUILD_DIR := $(base_dir)/builds/u500nexysA7devkit
FPGA_DIR := $(base_dir)/fpga-shells/xilinx
MODEL := FPGAChip
PROJECT := sifive.freedom.unleashed.nexysA7
BSP := freedom-s64-arty
FIRMWARE := multicore-hello
export CONFIG_PROJECT := sifive.freedom.unleashed.nexysA7
export CONFIG := BoardConfig
export BOARD := nexysA7
export BOOTROM := xip
export BOOTROM_DIR := $(base_dir)/bootrom/$(BOOTROM)
rocketchip_dir := $(base_dir)/rocket-chip
sifiveblocks_dir := $(base_dir)/sifive-blocks
VSRCS := \
$(rocketchip_dir)/src/main/resources/vsrc/AsyncResetReg.v \
$(rocketchip_dir)/src/main/resources/vsrc/plusarg_reader.v \
$(sifiveblocks_dir)/vsrc/SRLatch.v \
$(FPGA_DIR)/common/vsrc/PowerOnResetFPGAOnly.v \
$(FPGA_DIR)/nexysA7/vsrc/nexysA7reset.v \
$(BUILD_DIR)/$(CONFIG_PROJECT).$(CONFIG).rom.v \
$(BUILD_DIR)/$(CONFIG_PROJECT).$(CONFIG).v
include common.mk
include common2.mk