forked from peteasa/parallella-fpga
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile
26 lines (19 loc) · 872 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
M_VIVADO := vivado -mode batch -source
ADI_IPS := axi_clkgen axi_hdmi_tx axi_spdif_tx
.PHONY: all $(ADI_IPS) clean
# HACK: ADI HDL 2016_R1 wants Vivado 2015.4.2, but parallella_base requires
# Vivado 2015.4 (a.k.a. the Vivado 2015.4.2 installer doesn't work for me).
export ADI_IGNORE_VERSION_CHECK=yes
all: $(ADI_IPS)
make -C oh/src/parallella/fpga/parallella_base all
# make -C oh/src/parallella/fpga/headless all
# remove old elink simulation for now $(M_VIVADO) elinkdv.tcl
$(M_VIVADO) 7020_hdmi.tcl
cd 7020_hdmi ; rm -f bit2bin.bin elink2_top_wrapper.bit.bin ; bootgen -image bit2bin.bif -split bin ; cd ..
$(M_VIVADO) 7010_hdmi.tcl
cd 7010_hdmi ; rm -f bit2bin.bin elink2_top_wrapper.bit.bin ; bootgen -image bit2bin.bif -split bin ; cd ..
$(ADI_IPS):
make -C AdiHDLLib/library/$@
clean:
make -C AdiHDLLib clean
make -C oh/src/parallella/fpga/ clean