diff --git a/create-archive.py b/create-archive.py index 342dd659..7a6526a0 100755 --- a/create-archive.py +++ b/create-archive.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys,os,subprocess,re from time import strftime diff --git a/generate-scripts.py b/generate-scripts.py index 1e1144eb..bb308d83 100755 --- a/generate-scripts.py +++ b/generate-scripts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Francesco Conti # # Copyright (C) 2016 ETH Zurich, University of Bologna. diff --git a/push-ips.py b/push-ips.py index c9eae39f..c1e3dd98 100755 --- a/push-ips.py +++ b/push-ips.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Francesco Conti # # Copyright (C) 2016 ETH Zurich, University of Bologna. diff --git a/sw/apps/riscv_tests/testALUExt/gen_stimuli.py b/sw/apps/riscv_tests/testALUExt/gen_stimuli.py index c1209ef6..258d951a 100755 --- a/sw/apps/riscv_tests/testALUExt/gen_stimuli.py +++ b/sw/apps/riscv_tests/testALUExt/gen_stimuli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys import random diff --git a/sw/apps/riscv_tests/testBitManipulation/gen_stimuli.py b/sw/apps/riscv_tests/testBitManipulation/gen_stimuli.py index 4e61c6f3..8e631442 100755 --- a/sw/apps/riscv_tests/testBitManipulation/gen_stimuli.py +++ b/sw/apps/riscv_tests/testBitManipulation/gen_stimuli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys import random diff --git a/sw/apps/riscv_tests/testCSR/gen_stimuli.py b/sw/apps/riscv_tests/testCSR/gen_stimuli.py index ec75b4f6..3893af85 100755 --- a/sw/apps/riscv_tests/testCSR/gen_stimuli.py +++ b/sw/apps/riscv_tests/testCSR/gen_stimuli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys import random diff --git a/sw/apps/riscv_tests/testShufflePack/gen_stimuli.py b/sw/apps/riscv_tests/testShufflePack/gen_stimuli.py index 3e40e430..2b9e2a0b 100755 --- a/sw/apps/riscv_tests/testShufflePack/gen_stimuli.py +++ b/sw/apps/riscv_tests/testShufflePack/gen_stimuli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys import random @@ -482,4 +482,4 @@ def pack_8_lo(prefix): pack_16 ('g_pack_h') pack_8_hi ('g_pack_hi_b') -pack_8_lo ('g_pack_lo_b') \ No newline at end of file +pack_8_lo ('g_pack_lo_b') diff --git a/sw/apps/riscv_tests/testVecArith/gen_stimuli.py b/sw/apps/riscv_tests/testVecArith/gen_stimuli.py index 90d2a5fe..0493ebe2 100755 --- a/sw/apps/riscv_tests/testVecArith/gen_stimuli.py +++ b/sw/apps/riscv_tests/testVecArith/gen_stimuli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys import random @@ -843,4 +843,4 @@ def extu_8(a, L): instr_32_ri(fa,'g_extu_b0', extu_8, 0) instr_32_ri(fa,'g_extu_b1', extu_8, 1) instr_32_ri(fa,'g_extu_b2', extu_8, 2) -instr_32_ri(fa,'g_extu_b3', extu_8, 3) \ No newline at end of file +instr_32_ri(fa,'g_extu_b3', extu_8, 3) diff --git a/sw/apps/sequential_tests/matrixAdd/gen_stimuli.py b/sw/apps/sequential_tests/matrixAdd/gen_stimuli.py index e6af7ca7..c6a206d2 100755 --- a/sw/apps/sequential_tests/matrixAdd/gen_stimuli.py +++ b/sw/apps/sequential_tests/matrixAdd/gen_stimuli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys import random diff --git a/sw/apps/sequential_tests/matrixMul16/gen_stimuli.py b/sw/apps/sequential_tests/matrixMul16/gen_stimuli.py index 2084a7d4..7c793b86 100755 --- a/sw/apps/sequential_tests/matrixMul16/gen_stimuli.py +++ b/sw/apps/sequential_tests/matrixMul16/gen_stimuli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys import random diff --git a/sw/apps/sequential_tests/matrixMul32/gen_stimuli.py b/sw/apps/sequential_tests/matrixMul32/gen_stimuli.py index 37fec1a6..cd6f719d 100755 --- a/sw/apps/sequential_tests/matrixMul32/gen_stimuli.py +++ b/sw/apps/sequential_tests/matrixMul32/gen_stimuli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys import random diff --git a/sw/apps/sequential_tests/matrixMul8/gen_stimuli.py b/sw/apps/sequential_tests/matrixMul8/gen_stimuli.py index 71451d85..2d9dad7f 100755 --- a/sw/apps/sequential_tests/matrixMul8/gen_stimuli.py +++ b/sw/apps/sequential_tests/matrixMul8/gen_stimuli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys import random diff --git a/sw/apps/sequential_tests/matrixMul8_dotp/gen_stimuli.py b/sw/apps/sequential_tests/matrixMul8_dotp/gen_stimuli.py index bdd13d80..8024335a 100755 --- a/sw/apps/sequential_tests/matrixMul8_dotp/gen_stimuli.py +++ b/sw/apps/sequential_tests/matrixMul8_dotp/gen_stimuli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys import random diff --git a/sw/utils/annotate.py b/sw/utils/annotate.py index ae8f45a1..49165613 100755 --- a/sw/utils/annotate.py +++ b/sw/utils/annotate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys diff --git a/sw/utils/s19toboot.py b/sw/utils/s19toboot.py index 677ed276..455d527c 100755 --- a/sw/utils/s19toboot.py +++ b/sw/utils/s19toboot.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # //////////////////////////////////////////////////////////////////////////////// # // Company: Multitherman Laboratory @ DEIS - University of Bologna // diff --git a/sw/utils/s19toslm.py b/sw/utils/s19toslm.py index 7c459a43..3f646875 100755 --- a/sw/utils/s19toslm.py +++ b/sw/utils/s19toslm.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # //////////////////////////////////////////////////////////////////////////////// # // Company: Multitherman Laboratory @ DEIS - University of Bologna // diff --git a/tag-ips.py b/tag-ips.py index faf6f2f7..b9e272ed 100755 --- a/tag-ips.py +++ b/tag-ips.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Francesco Conti # # Copyright (C) 2016 ETH Zurich, University of Bologna. diff --git a/update-ips.py b/update-ips.py index 20e29573..07335f4f 100755 --- a/update-ips.py +++ b/update-ips.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Francesco Conti # # Copyright (C) 2016 ETH Zurich, University of Bologna.