From 58a6110be198089d784b5ad3e2ecb611182bd5ea Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Thu, 22 Jun 2017 17:38:38 -0700 Subject: Add icefuzz support for the UP5K and rework underlying device specification for more flexibility. --- icefuzz/make_io.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'icefuzz/make_io.py') 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) - -- cgit v1.2.3