Skip to content

Commit accd673

Browse files
committed
When port is not using ie, it should be connected to oe *inverted*
1 parent a2cb5b3 commit accd673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chipflow_lib/platforms/silicon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def wire_up(self, m, wire):
146146
if hasattr(wire, 'ie'):
147147
m.d.comb += self.ie.eq(wire.ie)
148148
elif hasattr(wire, 'oe'):
149-
m.d.comb += self.ie.eq(wire.oe)
149+
m.d.comb += self.ie.eq(~wire.oe)
150150

151151

152152
@property

0 commit comments

Comments
 (0)