]> git.zerfleddert.de Git - proxmark3-svn/blob - fpga/go.bat
Merge pull request #313 from pwpiwi/fix_memalign
[proxmark3-svn] / fpga / go.bat
1 @echo off
2
3 rmdir/s/q xst
4
5 del fpga_lf.ngc
6 xst -ifn xst_lf.scr
7 if errorlevel 0 goto ok1
8 goto done
9 :ok1
10
11 del fpga_lf.ngd
12 ngdbuild -aul -p xc2s30-6vq100 -nt timestamp -uc fpga.ucf fpga_lf.ngc fpga_lf.ngd
13 if errorlevel 0 goto ok2
14 goto done
15 :ok2
16
17 del fpga_lf.ncd
18 map -p xc2s30-6vq100 fpga_lf.ngd
19 if errorlevel 0 goto ok3
20 goto done
21 :ok3
22
23 del fpga_lf-placed.ncd
24 par fpga_lf.ncd fpga_lf-placed.ncd
25 if errorlevel 0 goto ok4
26 goto done
27 :ok4
28
29 del fpga_lf.bit fpga_lf.drc fpga_lf.rbt
30 bitgen -b fpga_lf-placed.ncd fpga_lf.bit
31 if errorlevel 0 goto ok5
32 goto done
33 :ok5
34
35 del fpga_hf.ngc
36 xst -ifn xst_hf.scr
37 if errorlevel 0 goto ok6
38 goto done
39 :ok6
40
41 del fpga_hf.ngd
42 ngdbuild -aul -p xc2s30-6vq100 -nt timestamp -uc fpga.ucf fpga_hf.ngc fpga_hf.ngd
43 if errorlevel 0 goto ok7
44 goto done
45 :ok7
46
47 del fpga_hf.ncd
48 map -p xc2s30-6vq100 fpga_hf.ngd
49 if errorlevel 0 goto ok8
50 goto done
51 :ok8
52
53 del fpga_hf-placed.ncd
54 par fpga_hf.ncd fpga_hf-placed.ncd
55 if errorlevel 0 goto ok9
56 goto done
57 :ok9
58
59 del fpga_hf.bit fpga_hf.drc fpga_hf.rbt
60 bitgen -b fpga_hf-placed.ncd fpga_hf.bit
61 if errorlevel 0 goto ok10
62 goto done
63 :ok10
64
65 echo okay
66 perl ..\tools\rbt2c.pl fpga_lf.rbt > ..\armsrc\fpgaimg.c
67
68 :done
Impressum, Datenschutz