Skip to content

Commit

Permalink
Remove ORing of readys. Incorrect thing to do b/c unused track will b…
Browse files Browse the repository at this point in the history
…e ready
  • Loading branch information
mcoduoza committed Nov 28, 2024
1 parent cacd637 commit 03061de
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions canal/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1270,10 +1270,7 @@ def __lift_ports(self):
if core_ready.base_type() is magma.In(magma.Bits[1]):
core_ready = core_ready[0]
if len(port_node) > 1:
if self.core.name() == "MU2F_IOCoreReadyValid":
fanout = FromMagma(mantle.DefineOr(len(port_node)))
else:
fanout = FromMagma(mantle.DefineAnd(len(port_node)))
fanout = FromMagma(mantle.DefineAnd(len(port_node)))
fanout.instance_name = port_name + "_ready_merge"
p = self.add_port(port_name + "_ready", magma.In(magma.Bits[len(port_node)]))
self.wire(fanout.ports.O[0], core_ready)
Expand Down

0 comments on commit 03061de

Please sign in to comment.