2021-11-30 00:32:51 +00:00
|
|
|
dst := IP
|
|
|
|
|
2021-12-03 16:05:13 +00:00
|
|
|
all: FPGA
|
2021-11-30 00:32:51 +00:00
|
|
|
|
2021-12-03 16:05:13 +00:00
|
|
|
FPGA: IP
|
|
|
|
vivado -mode batch -source wally.tcl | tee wally.log
|
|
|
|
|
|
|
|
IP: $(dst)/xlnx_proc_sys_reset.log \
|
2021-11-30 00:32:51 +00:00
|
|
|
$(dst)/xlnx_ddr4.log \
|
|
|
|
$(dst)/xlnx_axi_clock_converter.log \
|
|
|
|
$(dst)/xlnx_ahblite_axi_bridge.log
|
|
|
|
|
|
|
|
$(dst)/%.log: %.tcl
|
|
|
|
mkdir -p IP
|
|
|
|
cd IP;\
|
|
|
|
vivado -mode batch -source ../$*.tcl | tee $*.log
|
2021-11-30 00:42:28 +00:00
|
|
|
|
2021-12-03 16:05:13 +00:00
|
|
|
cleanIP:
|
|
|
|
rm -rf IP
|
|
|
|
|
|
|
|
cleanLogs:
|
|
|
|
rm -rf *.jou *.log
|
|
|
|
|
|
|
|
cleanFPGA:
|
|
|
|
rm -rf WallyFPGA.* reports sim .Xil
|
|
|
|
|
|
|
|
cleanAll: cleanIP cleanLogs cleanFPGA
|