]> cvs.zerfleddert.de Git - proxmark3-svn/blob - fpga/go.bat
Fix commit 232, reenable GUI
[proxmark3-svn] / fpga / go.bat
1 @echo off
2
3 rmdir/s/q xst
4
5 del fpga.ngc
6 xst -ifn xst.scr
7 if errorlevel 0 goto ok1
8 goto done
9 :ok1
10
11 del fpga.ngd
12 ngdbuild -aul -p xc2s30-6vq100 -nt timestamp -uc fpga.ucf fpga.ngc fpga.ngd
13 if errorlevel 0 goto ok2
14 goto done
15 :ok2
16
17 del fpga.ncd
18 map -p xc2s30-6vq100 fpga.ngd
19 if errorlevel 0 goto ok3
20 goto done
21 :ok3
22
23 del fpga-placed.ncd
24 par fpga.ncd fpga-placed.ncd
25 if errorlevel 0 goto ok4
26 goto done
27 :ok4
28
29 del fpga.bit fpga.drc fpga.rbt
30 bitgen -b fpga-placed.ncd fpga.bit
31 if errorlevel 0 goto ok5
32 goto done
33 :ok5
34
35 echo okay
36 perl ..\tools\rbt2c.pl fpga.rbt > ..\armsrc\fpgaimg.c
37
38 :done
Impressum, Datenschutz