aboutsummaryrefslogtreecommitdiffstats
path: root/icefuzz/tests
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-08-22 09:36:28 +0200
committerClifford Wolf <clifford@clifford.at>2015-08-22 09:42:57 +0200
commitf6f96a26e036e56577ad5a1bfec78fd06f419ca0 (patch)
treeb8a29bb84723e0ab31b127b89ee51cbad2948969 /icefuzz/tests
parentd094abca1c1c2d21b2b92dc743e2d5e767a97153 (diff)
downloadicestorm-f6f96a26e036e56577ad5a1bfec78fd06f419ca0.tar.gz
icestorm-f6f96a26e036e56577ad5a1bfec78fd06f419ca0.tar.bz2
icestorm-f6f96a26e036e56577ad5a1bfec78fd06f419ca0.zip
icefuzz: python 3
Diffstat (limited to 'icefuzz/tests')
-rw-r--r--icefuzz/tests/colbuf.py2
-rw-r--r--icefuzz/tests/colbuf.sh2
-rw-r--r--icefuzz/tests/colbuf_8k.sh2
-rw-r--r--icefuzz/tests/ioctrl.py2
-rw-r--r--icefuzz/tests/ioctrl.sh2
-rw-r--r--icefuzz/tests/test_pio.sh2
6 files changed, 6 insertions, 6 deletions
diff --git a/icefuzz/tests/colbuf.py b/icefuzz/tests/colbuf.py
index 7b080b1..fcf0340 100644
--- a/icefuzz/tests/colbuf.py
+++ b/icefuzz/tests/colbuf.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
import fileinput
diff --git a/icefuzz/tests/colbuf.sh b/icefuzz/tests/colbuf.sh
index c565015..85c68ec 100644
--- a/icefuzz/tests/colbuf.sh
+++ b/icefuzz/tests/colbuf.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# for f in colbuf_io.work/*.exp colbuf_logic.work/*.exp colbuf_ram.work/*.exp; do
-# python2 colbuf.py $f
+# python3 colbuf.py $f
# done | sort -u > colbuf.txt
get_colbuf_data()
diff --git a/icefuzz/tests/colbuf_8k.sh b/icefuzz/tests/colbuf_8k.sh
index aabcb0c..ae1cc51 100644
--- a/icefuzz/tests/colbuf_8k.sh
+++ b/icefuzz/tests/colbuf_8k.sh
@@ -2,7 +2,7 @@
for f in colbuf_io_8k.work/*.exp colbuf_logic_8k.work/*.exp colbuf_ram_8k.work/*.exp; do
echo $f >&2
- python2 colbuf.py $f
+ python3 colbuf.py $f
done | sort -u > colbuf_8k.txt
get_colbuf_data()
diff --git a/icefuzz/tests/ioctrl.py b/icefuzz/tests/ioctrl.py
index 6d09bad..67c0c6d 100644
--- a/icefuzz/tests/ioctrl.py
+++ b/icefuzz/tests/ioctrl.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
import fileinput
diff --git a/icefuzz/tests/ioctrl.sh b/icefuzz/tests/ioctrl.sh
index 84523fc..d1acfe8 100644
--- a/icefuzz/tests/ioctrl.sh
+++ b/icefuzz/tests/ioctrl.sh
@@ -24,7 +24,7 @@ done
set +x
echo "--snip--"
for pin in $pins; do
- python2 ../ioctrl.py ioctrl_${pin}.exp
+ python3 ../ioctrl.py ioctrl_${pin}.exp
done | tee ioctrl_db.txt
echo "--snap--"
diff --git a/icefuzz/tests/test_pio.sh b/icefuzz/tests/test_pio.sh
index 0e50860..b6fd2b9 100644
--- a/icefuzz/tests/test_pio.sh
+++ b/icefuzz/tests/test_pio.sh
@@ -49,7 +49,7 @@ for OUTTYPE in 0000 0110 1010 1110 0101 1001 1101 \
EOT
bash ../../icecube.sh ${pf}.v > ${pf}.log 2>&1
fi
- python2 ../../../icebox/icebox_vlog.py -P ${pf}.psb ${pf}.txt > ${pf}_out.v
+ python3 ../../../icebox/icebox_vlog.py -P ${pf}.psb ${pf}.txt > ${pf}_out.v
iverilog -D"VCDFILE=\"${pf}_tb.vcd\"" -DINTYPE=${INTYPE} -o ${pf}_tb \
-s testbench ../test_pio_tb.v ${pf}.v ${pf}_out.v $lattice_simlib 2> /dev/null
./${pf}_tb > ${pf}_tb.txt