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