use INSTRUCTION_OPCODE from bsdl file
[x300-pci] / xsvf.sh
diff --git a/xsvf.sh b/xsvf.sh
index aa1e74e..0ffd2d8 100755 (executable)
--- a/xsvf.sh
+++ b/xsvf.sh
@@ -1,8 +1,10 @@
 svf=/nuc/altera-squeeze/root/epm3064/3064at44.svf
+test ! -z "$1" && svf=$1
 
 ls -al $svf && (
 
        python3 svf2xsvf.py $svf $svf.xsvf
        svf=$svf.xsvf
-       echo xsvf x300.tap $svf virt2 | nc -w 1 picam 4444
+       echo xsvf x300.tap $svf | nc -w 1 picam 4444
+       ls -al $svf
 )