forked from Xilinx/Kria-PYNQ
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
36 lines (26 loc) · 835 Bytes
/
Makefile
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
# Copyright (C) 2021 Xilinx, Inc
#
# SPDX-License-Identifier: BSD-3-Clause
overlay_name := base
version := 2.7
all: pynq_hls block_design bitstream check_timing
@echo
@tput setaf 2 ; echo "Built $(overlay_name) successfully!"; tput sgr0;
@echo
pynq_hls:
make -C ../../pynq/boards/ZCU104/base/ hls_ip
block_design:
vivado -mode batch -source $(overlay_name).tcl -notrace
bitstream:
vivado -mode batch -source build_bitstream.tcl -notrace
check_timing:
vivado -mode batch -source check_timing.tcl -notrace
clean:
rm -rf *.jou *.log NA .Xil *.zip
zip: dtbo
zip kv260_$(overlay_name)_$(version).zip $(overlay_name).bit $(overlay_name).hwh $(overlay_name).dtbo LICENSE
dtbo:
make -C dts/
cp dts/$(overlay_name).dtbo .
distclean: clean
rm -rf $(overlay_name) $(overlay_name).bit $(overlay_name).hwh $(overlay_name).xsa