Skip to content

Commit

Permalink
Remove unnecessary prints
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoduoza committed Nov 29, 2024
1 parent f6bee04 commit d0c923c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion canal/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,6 @@ def __lift_ports(self):
# print("\n")
self.add_port(port_name, magma.In(magma.Bits[bit_width]))
self.wire(self.ports[port_name], self.core.ports[port_name])
print(self.combinational_ports)
if self.ready_valid and port_name not in self.combinational_ports:
# if "flush" in port_name:
# continue
Expand Down
1 change: 0 additions & 1 deletion canal/cyclone.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,6 @@ def __add_core(self, core: InterconnectCore,
if connection_type & CoreConnectionType.SB == CoreConnectionType.SB:

outputs = core.outputs()[:]
print(outputs)
outputs.sort(key=lambda x: x[1])
for width, port_name in outputs:
#if "io2f_17_0" in port_name:
Expand Down
3 changes: 0 additions & 3 deletions canal/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,11 @@ def connect_io(interconnect: InterconnectGraph,
if x in range(x_min, x_max + 1) and \
y in range(y_min, y_max + 1):
continue

print(f"x, y: {x}, {y}")

# make sure that these margins tiles have empty switch boxes
tile = interconnect[(x, y)]

# print(f"X: {x}, Y: {y}")
print(tile.ports)
if tile.core.core is None:
continue
assert tile.switchbox.num_track == 0
Expand Down

0 comments on commit d0c923c

Please sign in to comment.