Gowin. PLL Pads. Fix the condition.
Do not search for pads if the signal source for the PLL is something other than the IO pin - these are guaranteed to already be placed and have a bound Bel. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
parent
6b7723e4c1
commit
d3b53d8e1a
@ -2646,7 +2646,7 @@ struct GowinPacker
|
|||||||
// to this pin.
|
// to this pin.
|
||||||
if (ci.bel == BelId()) {
|
if (ci.bel == BelId()) {
|
||||||
NetInfo *ni = ci.getPort(id_CLKIN);
|
NetInfo *ni = ci.getPort(id_CLKIN);
|
||||||
if (ni && ni->driver.cell) {
|
if (ni && ni->driver.cell && ni->driver.cell->bel != BelId()) {
|
||||||
BelId pll_bel = gwu.get_pll_bel(ni->driver.cell->bel, id_CLKIN_T);
|
BelId pll_bel = gwu.get_pll_bel(ni->driver.cell->bel, id_CLKIN_T);
|
||||||
if (ctx->debug) {
|
if (ctx->debug) {
|
||||||
log_info("PLL clkin driver:%s at %s, PLL bel:%s\n", ctx->nameOf(ni->driver.cell),
|
log_info("PLL clkin driver:%s at %s, PLL bel:%s\n", ctx->nameOf(ni->driver.cell),
|
||||||
|
Loading…
Reference in New Issue
Block a user