aboutsummaryrefslogtreecommitdiffstats
path: root/icebox
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-11-28 18:59:12 +0100
committerClifford Wolf <clifford@clifford.at>2015-11-28 18:59:12 +0100
commitdcd893ce6a4c5bcc0321359a4186fbb50f0f8d15 (patch)
treec46be8fe24441e8259f1acc38fc7067c8480e88c /icebox
parent39337b7bf9f66fdeec471c5718f1bb1e7548654e (diff)
downloadicestorm-dcd893ce6a4c5bcc0321359a4186fbb50f0f8d15.tar.gz
icestorm-dcd893ce6a4c5bcc0321359a4186fbb50f0f8d15.tar.bz2
icestorm-dcd893ce6a4c5bcc0321359a4186fbb50f0f8d15.zip
Bugfix in icebox_vlog.py
Diffstat (limited to 'icebox')
-rwxr-xr-xicebox/icebox_vlog.py2
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"])