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