]> git.zerfleddert.de Git - proxmark3-svn/blob - fpga/Makefile
retrieve uid correctly, patched by 'gregy'
[proxmark3-svn] / fpga / Makefile
1 include ../common/Makefile.common
2
3 all: fpga.ngc fpga.ngd fpga.ncd fpga-placed.ncd fpga.bit
4 clean:
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
6 $(DELETE) fpga.map fpga.ngc fpga_ngdbuild.xrpt fpga.pcf fpga-placed_pad.csv fpga-placed.ptwx fpga.rbt xlnx_auto_0_xdb
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
9 fpga.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
10 $(DELETE) fpga.ngc
11 $(XILINX_TOOLS_PREFIX)xst -ifn xst.scr
12
13 fpga.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
17 fpga.ncd: fpga.ngd
18 $(DELETE) fpga.ncd
19 $(XILINX_TOOLS_PREFIX)map -p xc2s30-6vq100 fpga.ngd
20
21 fpga-placed.ncd: fpga.ncd
22 $(DELETE) fpga-placed.ncd
23 $(XILINX_TOOLS_PREFIX)par fpga.ncd fpga-placed.ncd
24
25 fpga.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
31 help:
32 @echo Multi-OS Makefile, you are running on $(DETECTED_OS)
33 @echo Possible targets:
34 @echo + all - Make fpga.bit, the FPGA bitstream
35 @echo + clean - Clean intermediate files, does not clean fpga.bit
36
Impressum, Datenschutz