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_prim.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'icefuzz/make_prim.py') diff --git a/icefuzz/make_prim.py b/icefuzz/make_prim.py index 8ced57e..77b5d9b 100644 --- a/icefuzz/make_prim.py +++ b/icefuzz/make_prim.py @@ -7,7 +7,7 @@ import os os.system("rm -rf work_prim") os.mkdir("work_prim") -w = 10 if os.getenv('ICE384PINS') else 24 +w = len(pins) // 4 for idx in range(num): with open("work_prim/prim_%02d.v" % idx, "w") as f: @@ -48,4 +48,3 @@ with open("work_prim/Makefile", "w") as f: for i in range(num): print("prim_%02d.bin:" % i, file=f) print("\t-bash ../icecube.sh prim_%02d > prim_%02d.log 2>&1 && rm -rf prim_%02d.tmp || tail prim_%02d.log" % (i, i, i, i), file=f) - -- cgit v1.2.3