Skip to content

Commit

Permalink
Fix the creation of implicit clock wires (#144)
Browse files Browse the repository at this point in the history
Corrects a mistake where non-existent wires were created for chips with 4 quadrants.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
  • Loading branch information
yrabbit authored Dec 20, 2022
1 parent 5646882 commit 20af410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apycula/clock_fuzzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def spine_aliases(quads, dests, clks):
def add_rim(rows, cols, spine_row):
if 1 in rows:
rows.add(0)
if max(rows) > spine_row:
if max(rows) > spine_row and spine_row != 1:
rows.update({row for row in range(max(rows) + 1, db.rows)})
if 1 in cols:
cols.add(0)
Expand Down

0 comments on commit 20af410

Please sign in to comment.