]> git.zerfleddert.de Git - fpga-games/blob - galaxian/build_xst
galaxians
[fpga-games] / galaxian / build_xst
1 #/bin/sh
2
3 set -x
4
5 name=galaxian
6 rom_path=roms/
7 echo use build_xst /xil to skip synthesis stage.
8
9 rm -rf build/
10 mkdir -p build
11 cd build/
12
13 cp -r ../src .
14 cp -r ../t80_ip .
15 cp ../roms/*.vhd .
16 cp ../${name}.ucf ${name}.ucf
17 cp ../${name}.ut .
18 cp ../${name}.scr .
19 cp ../${name}.prj .
20 echo "work" >${name}.lso
21
22 xst -ifn ${name}.scr -ofn ${name}.srp
23
24 ngdbuild -nt on -uc ${name}.ucf ${name}.ngc ${name}.ngd
25 map -pr b ${name}.ngd -o ${name}.ncd ${name}.pcf
26 par -w -ol high ${name}.ncd ${name}.ncd ${name}.pcf
27 trce -v 10 -o ${name}.twr ${name}.ncd ${name}.pcf
28 bitgen ${name}.ncd ${name}.bit -w -f ${name}.ut
29
30 echo Done
Impressum, Datenschutz