postlayoutsim: alu gefixt und parser hinzugefuegt, inkl. screenshots
[hwmod.git] / quartus / linux_tilab.sh
index dcfd9b471814de5873552c65e0b7266f9ad04a45..f0b8f53320589a06509657144ecdf0c02fca8204 100755 (executable)
@@ -1,6 +1,12 @@
 #!/bin/sh
 unset LS_COLORS
-sed -e 's/%DEVICE%/EP1S25F672C6/g' project_gen.tcl > project_tilab.tcl
+if [ "$1" = "" ]; then
+       echo "kein param"
+       sed -e 's/%DEVICE%/EP1S25F672C6/g' project_gen.tcl > project_tilab.tcl
+else
+       echo "param $1"
+       sed -e 's/%DEVICE%/EP1S25F672C6/g' $1 > project_tilab.tcl
+fi
 mkdir -p calc
 cd calc
 quartus_sh -t ../project_tilab.tcl