]> cvs.zerfleddert.de Git - proxmark3-svn/blame_incremental - fpga/go.bat
CHG: Added the parameters -fdata-sections -ffunction-sections to common/Makefile...
[proxmark3-svn] / fpga / go.bat
... / ...
CommitLineData
1@echo off\r
2\r
3rmdir/s/q xst\r
4\r
5del fpga_lf.ngc\r
6xst -ifn xst_lf.scr\r
7if errorlevel 0 goto ok1\r
8goto done\r
9:ok1\r
10\r
11del fpga_lf.ngd\r
12ngdbuild -aul -p xc2s30-6vq100 -nt timestamp -uc fpga.ucf fpga_lf.ngc fpga_lf.ngd\r
13if errorlevel 0 goto ok2\r
14goto done\r
15:ok2\r
16\r
17del fpga_lf.ncd\r
18map -p xc2s30-6vq100 fpga_lf.ngd\r
19if errorlevel 0 goto ok3\r
20goto done\r
21:ok3\r
22\r
23del fpga_lf-placed.ncd\r
24par fpga_lf.ncd fpga_lf-placed.ncd\r
25if errorlevel 0 goto ok4\r
26goto done\r
27:ok4\r
28\r
29del fpga_lf.bit fpga_lf.drc fpga_lf.rbt\r
30bitgen -b fpga_lf-placed.ncd fpga_lf.bit\r
31if errorlevel 0 goto ok5\r
32goto done\r
33:ok5\r
34\r
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
65echo okay\r
66perl ..\tools\rbt2c.pl fpga_lf.rbt > ..\armsrc\fpgaimg.c\r
67\r
68:done\r
Impressum, Datenschutz