clk network update when connecting clk pin

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2022-07-12 14:56:17 -07:00
parent b697aa12f0
commit 17d721f944
1 changed files with 2 additions and 1 deletions

View File

@ -143,7 +143,8 @@ ClkNetwork::findClkPins(bool ideal_only,
bool
ClkNetwork::isClock(const Pin *pin) const
{
return pin_clks_map_.hasKey(pin);
return network_->isRegClkPin(pin)
|| pin_clks_map_.hasKey(pin);
}
bool