diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-11-28 18:59:12 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-11-28 18:59:12 +0100 |
commit | dcd893ce6a4c5bcc0321359a4186fbb50f0f8d15 (patch) | |
tree | c46be8fe24441e8259f1acc38fc7067c8480e88c /icebox/icebox_vlog.py | |
parent | 39337b7bf9f66fdeec471c5718f1bb1e7548654e (diff) | |
download | icestorm-dcd893ce6a4c5bcc0321359a4186fbb50f0f8d15.tar.gz icestorm-dcd893ce6a4c5bcc0321359a4186fbb50f0f8d15.tar.bz2 icestorm-dcd893ce6a4c5bcc0321359a4186fbb50f0f8d15.zip |
Bugfix in icebox_vlog.py
Diffstat (limited to 'icebox/icebox_vlog.py')
-rwxr-xr-x | icebox/icebox_vlog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icebox/icebox_vlog.py b/icebox/icebox_vlog.py index 4a79cd4..b53cdfe 100755 --- a/icebox/icebox_vlog.py +++ b/icebox/icebox_vlog.py @@ -803,7 +803,7 @@ for lut in luts_queue: always_stmts.append("/* FF %2d %2d %2d */ always @(%sedge %s, posedge %s) if (%s) %s <= 1'b%s; else if (%s) %s <= %s;" % (lut[0], lut[1], lut[2], "neg" if icebox.get_negclk_bit(tile) == "1" else "pos", net_clk, net_sr, net_sr, net_out, seq_bits[2], net_cen, net_out, n)) - wire_to_reg.add(net_out) + wire_to_reg.add(net_out.strip()) net_out = n if not "1" in lut_bits: const_assigns.append([net_out, "1'b0"]) |