Skip to content

Commit 20af410

Browse files
authored
Fix the creation of implicit clock wires (#144)
Corrects a mistake where non-existent wires were created for chips with 4 quadrants. Signed-off-by: YRabbit <[email protected]> Signed-off-by: YRabbit <[email protected]>
1 parent 5646882 commit 20af410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apycula/clock_fuzzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def spine_aliases(quads, dests, clks):
267267
def add_rim(rows, cols, spine_row):
268268
if 1 in rows:
269269
rows.add(0)
270-
if max(rows) > spine_row:
270+
if max(rows) > spine_row and spine_row != 1:
271271
rows.update({row for row in range(max(rows) + 1, db.rows)})
272272
if 1 in cols:
273273
cols.add(0)

0 commit comments

Comments
 (0)