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