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