Gowin. BUGFIX. Create all Clock Pips. (#1358)
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>
This commit is contained in:
parent
4cf7afedf7
commit
4d1de4532a
@ -365,8 +365,7 @@ def create_switch_matrix(tt: TileType, db: chipdb, x: int, y: int):
|
|||||||
if not tt.has_wire(src):
|
if not tt.has_wire(src):
|
||||||
tt.create_wire(src, "GLOBAL_CLK")
|
tt.create_wire(src, "GLOBAL_CLK")
|
||||||
src_tm_class = get_tm_class(db, src)
|
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):
|
def create_hclk_switch_matrix(tt: TileType, db: chipdb, x: int, y: int):
|
||||||
if (y, x) not in db.hclk_pips:
|
if (y, x) not in db.hclk_pips:
|
||||||
|
Loading…
Reference in New Issue
Block a user