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