aboutsummaryrefslogtreecommitdiff
path: root/icefuzz/make_io.py
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-06-22 17:38:38 -0700
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-06-22 17:38:38 -0700
commit58a6110be198089d784b5ad3e2ecb611182bd5ea (patch)
tree3f15bebbc4b95584c93ad0f3412b53b7f55c8d5e /icefuzz/make_io.py
parented8c4e8c034ffca4424f92fa683ff631c4205b50 (diff)
Add icefuzz support for the UP5K and rework underlying device specification for more flexibility.
Diffstat (limited to 'icefuzz/make_io.py')
-rw-r--r--icefuzz/make_io.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/icefuzz/make_io.py b/icefuzz/make_io.py
index 9fe5bb0..99ad2e5 100644
--- a/icefuzz/make_io.py
+++ b/icefuzz/make_io.py
@@ -7,8 +7,7 @@ import os
os.system("rm -rf work_io")
os.mkdir("work_io")
-if os.getenv('ICE384PINS'): w = 3
-else: w = 4
+w = num_iobanks
for idx in range(num):
with open("work_io/io_%02d.v" % idx, "w") as f:
@@ -60,4 +59,3 @@ with open("work_io/Makefile", "w") as f:
for i in range(num):
print("io_%02d.bin:" % i, file=f)
print("\t-bash ../icecube.sh io_%02d > io_%02d.log 2>&1 && rm -rf io_%02d.tmp || tail io_%02d.log" % (i, i, i, i), file=f)
-