diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-07-31 15:56:58 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2017-07-31 15:56:58 +0200 |
commit | b888b750a6d37a43a828b8a4704cabfe6eb31803 (patch) | |
tree | 0ff34a0303d46e3b0a896022d8b47f6e3fed4d4e /icefuzz/make_gbio.py | |
parent | ea0e19f3d33eedc63b564a99267dfbb85e428375 (diff) | |
download | icestorm-b888b750a6d37a43a828b8a4704cabfe6eb31803.tar.gz icestorm-b888b750a6d37a43a828b8a4704cabfe6eb31803.tar.bz2 icestorm-b888b750a6d37a43a828b8a4704cabfe6eb31803.zip |
Fix some bugs in two of the icefuzz make_*.py scripts
Diffstat (limited to 'icefuzz/make_gbio.py')
-rw-r--r-- | icefuzz/make_gbio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icefuzz/make_gbio.py b/icefuzz/make_gbio.py index a12bea9..b9b2f12 100644 --- a/icefuzz/make_gbio.py +++ b/icefuzz/make_gbio.py @@ -25,7 +25,7 @@ for idx in range(num): if w <= 4: din_0 = (w - 2, w) else: - din_0 = (4, "%d:4" % (w - 1,)) + din_0 = (3, "%d:4" % (w - 1,)) din_0 = np.random.choice(["din_0", "{din_0[%d:0], din_0[%s]}" % din_0]) din_1 = np.random.choice(["din_1", "{din_1[1:0], din_1[%d:2]}" % (w - 1,)]) globals_0 = np.random.choice(["globals", "{globals[0], globals[%d:1]}" % (w - 1, )]) |