mirror of
https://github.com/UzixLS/zx-sizif-xxs.git
synced 2025-07-19 07:11:28 +03:00
fpga: add makefile
This commit is contained in:
25
fpga/syn/Makefile
Normal file
25
fpga/syn/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
REVISION = zx_ula
|
||||
|
||||
.PHONY: build sof2jic program_sof program_jic clean report
|
||||
|
||||
build:
|
||||
quartus_sh --no_banner --flow compile zx_ula -c ${REVISION}
|
||||
|
||||
sof2jic:
|
||||
quartus_cpf -c sof2jic.cof
|
||||
|
||||
program_sof:
|
||||
quartus_pgm --no_banner --mode=jtag -o "P;output/${REVISION}.sof"
|
||||
|
||||
program_jic:
|
||||
quartus_pgm --no_banner --mode=jtag -o "PVBI;output/${REVISION}.jic"
|
||||
|
||||
clean:
|
||||
rm -rf db incremental_db output
|
||||
|
||||
report:
|
||||
cat output/${REVISION}.*.smsg output/${REVISION}.cmp.rpt |grep -e Error -e Critical -e Warning |grep -v -e "Family doesn't support jitter analysis" -e "Force Fitter to Avoid Periphery Placement Warnings"
|
||||
|
||||
export PATH:=/opt/quartus13.0sp1/quartus/bin:/cygdrive/c/Hwdev/quartus130sp1/quartus/bin:${PATH}
|
||||
|
||||
-include Makefile.local
|
Reference in New Issue
Block a user