]> git.zerfleddert.de Git - proxmark3-svn/blame - fpga/Makefile
retrieve uid correctly, patched by 'gregy'
[proxmark3-svn] / fpga / Makefile
CommitLineData
e73e7172 1include ../common/Makefile.common
2
3all: fpga.ngc fpga.ngd fpga.ncd fpga-placed.ncd fpga.bit
4clean:
5 $(DELETE) fpga.bgn fpga.drc fpga.ncd fpga.ngd fpga_par.xrpt fpga-placed.pad fpga-placed.par fpga-placed.xpi fpga_usage.xml xlnx_auto_0.ise xst.srp
db335b3d 6 $(DELETE) fpga.map fpga.ngc fpga_ngdbuild.xrpt fpga.pcf fpga-placed_pad.csv fpga-placed.ptwx fpga.rbt xlnx_auto_0_xdb
e73e7172 7 $(DELETE) fpga.bld fpga.mrp fpga.ngc_xst.xrpt fpga.ngm fpga-placed.ncd fpga-placed_pad.txt fpga-placed.unroutes fpga_summary.xml netlist.lst xst
8
d19929cb 9fpga.ngc: fpga.v fpga.ucf xst.scr util.v lo_edge_detect.v lo_read.v lo_passthru.v hi_simulate.v hi_read_tx.v hi_read_rx_xcorr.v hi_iso14443a.v
e73e7172 10 $(DELETE) fpga.ngc
11 $(XILINX_TOOLS_PREFIX)xst -ifn xst.scr
12
13fpga.ngd: fpga.ngc
14 $(DELETE) fpga.ngd
15 $(XILINX_TOOLS_PREFIX)ngdbuild -aul -p xc2s30-6vq100 -nt timestamp -uc fpga.ucf fpga.ngc fpga.ngd
16
17fpga.ncd: fpga.ngd
18 $(DELETE) fpga.ncd
19 $(XILINX_TOOLS_PREFIX)map -p xc2s30-6vq100 fpga.ngd
20
21fpga-placed.ncd: fpga.ncd
22 $(DELETE) fpga-placed.ncd
23 $(XILINX_TOOLS_PREFIX)par fpga.ncd fpga-placed.ncd
24
25fpga.bit: fpga-placed.ncd
26 $(DELETE) fpga.bit fpga.drc fpga.rbt
27 $(XILINX_TOOLS_PREFIX)bitgen fpga-placed.ncd fpga.bit
28
29
30.PHONY: all clean help
31help:
32 @echo Multi-OS Makefile, you are running on $(DETECTED_OS)
33 @echo Possible targets:
db335b3d 34 @echo + all - Make fpga.bit, the FPGA bitstream
35 @echo + clean - Clean intermediate files, does not clean fpga.bit
36
Impressum, Datenschutz