aboutsummaryrefslogtreecommitdiffstats
path: root/icefuzz/make_fflogic.py
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2017-03-11 11:06:53 +0100
committerClifford Wolf <clifford@clifford.at>2017-03-11 11:06:53 +0100
commitca19eafe7aaf881273af5f744924423b6ce3a5c0 (patch)
tree429c136200b76a4a3621e71f62c608365998b142 /icefuzz/make_fflogic.py
parent1f1f10b7f08941b1fbffca51452888b8d08e56a0 (diff)
parente832acc445f64d1f9379eef8ef01576ccc0494b6 (diff)
downloadicestorm-ca19eafe7aaf881273af5f744924423b6ce3a5c0.tar.gz
icestorm-ca19eafe7aaf881273af5f744924423b6ce3a5c0.tar.bz2
icestorm-ca19eafe7aaf881273af5f744924423b6ce3a5c0.zip
Merge branch 'master' of https://github.com/hermitsoft/icestorm
Diffstat (limited to 'icefuzz/make_fflogic.py')
-rw-r--r--icefuzz/make_fflogic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/icefuzz/make_fflogic.py b/icefuzz/make_fflogic.py
index ecca7ca..91a5d05 100644
--- a/icefuzz/make_fflogic.py
+++ b/icefuzz/make_fflogic.py
@@ -38,8 +38,8 @@ def print_seq_op(dst, src1, src2, op, f):
for idx in range(num):
with open("work_fflogic/fflogic_%02d.v" % idx, "w") as f:
if os.getenv('ICE384PINS'):
- print("module top(input clk, rst, en, input [1:0] a, b, c, d, output [1:0] y, output z);", file=f)
- print(" reg [1:0] p, q;", file=f)
+ print("module top(input clk, rst, en, input [4:0] a, b, c, d, output [4:0] y, output z);", file=f)
+ print(" reg [4:0] p, q;", file=f)
else:
print("module top(input clk, rst, en, input [15:0] a, b, c, d, output [15:0] y, output z);", file=f)
print(" reg [15:0] p, q;", file=f)