From f6f96a26e036e56577ad5a1bfec78fd06f419ca0 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 22 Aug 2015 09:36:28 +0200 Subject: icefuzz: python 3 --- icefuzz/tests/colbuf.py | 2 +- icefuzz/tests/colbuf.sh | 2 +- icefuzz/tests/colbuf_8k.sh | 2 +- icefuzz/tests/ioctrl.py | 2 +- icefuzz/tests/ioctrl.sh | 2 +- icefuzz/tests/test_pio.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'icefuzz/tests') 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 -- cgit v1.2.3