diff options
author | Bert Lange <b.lange@fzd.de> | 2011-11-07 14:19:00 +0100 |
---|---|---|
committer | Bert Lange <b.lange@fzd.de> | 2011-11-07 14:19:00 +0100 |
commit | 084229d151fc6e420ebde8069e059285cee14f07 (patch) | |
tree | 2dce60f4e358d281585d9e24ab541f43372149ff /hw_godil/bsp/build.sh | |
parent | 9c59f6b33ff524906a62e7cb7d08878b53d35509 (diff) | |
download | zpu-084229d151fc6e420ebde8069e059285cee14f07.zip zpu-084229d151fc6e420ebde8069e059285cee14f07.tar.gz |
initial commit
Diffstat (limited to 'hw_godil/bsp/build.sh')
-rwxr-xr-x | hw_godil/bsp/build.sh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/hw_godil/bsp/build.sh b/hw_godil/bsp/build.sh new file mode 100755 index 0000000..3ec68a0 --- /dev/null +++ b/hw_godil/bsp/build.sh @@ -0,0 +1,28 @@ +# need project files: +# top.xst +# top.prj +# top.ut + +# need Xilinx tools: +# xst +# ngdbuild +# map +# par +# trce +# bitgen + +# generate build directory +mkdir build +cd build +mkdir tmp + +# start processes +xst -ifn "../top.xst" -ofn "top.syr" +ngdbuild -dd _ngo -nt timestamp -uc ../godil_xc3s500e.ucf -p xc3s500e-vq100-4 top.ngc top.ngd +map -p xc3s500e-vq100-4 -cm area -ir off -pr off -c 100 -o top_map.ncd top.ngd top.pcf +par -w -ol high -t 1 top_map.ncd top.ncd top.pcf +trce -v 3 -s 4 -n 3 -fastpaths -xml top.twx top.ncd -o top.twr top.pcf +bitgen -f ../top.ut top.ncd + +# get bitfile +cp top.bit .. |