Skip to content

Commit

Permalink
Gowin. BUGFIX. Create all Clock Pips. (YosysHQ#1358)
Browse files Browse the repository at this point in the history
Some Clocks PIPS were not created due to a check for the presence of a
delay class, now all wires are attributed to the class so that there is
no longer any need for this check.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
  • Loading branch information
yrabbit authored Sep 5, 2024
1 parent 4cf7afe commit 4d1de45
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions himbaechel/uarch/gowin/gowin_arch_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,7 @@ def get_wire_type(name):
if not tt.has_wire(src):
tt.create_wire(src, "GLOBAL_CLK")
src_tm_class = get_tm_class(db, src)
if src_tm_class in {'CENT_SPINE_PCLK', 'SPINE_TAP_PCLK', 'TAP_BRANCH_PCLK', 'BRANCH_PCLK'}:
tt.create_pip(src, dst, src_tm_class)
tt.create_pip(src, dst, src_tm_class)

def create_hclk_switch_matrix(tt: TileType, db: chipdb, x: int, y: int):
if (y, x) not in db.hclk_pips:
Expand Down

0 comments on commit 4d1de45

Please sign in to comment.