Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What if this edge has multiple clk with multiple clock latency cross this hierarchical pin ? #188

Open
icbenchpeng opened this issue Jan 22, 2025 · 1 comment

Comments

@icbenchpeng
Copy link

void
Sdc::annotateHierClkLatency()
{
ClockLatencies::Iterator latency_iter(clk_latencies_);
while (latency_iter.hasNext()) {
ClockLatency *latency = latency_iter.next();
const Pin *pin = latency->pin();
if (pin && network_->isHierarchical(pin))
annotateHierClkLatency(pin, latency);
}
}

void
Sdc::annotateHierClkLatency(const Pin *hpin,
ClockLatency *latency)
{
EdgesThruHierPinIterator edge_iter(hpin, network_, graph_);
while (edge_iter.hasNext()) {
Edge *edge = edge_iter.next();
edge_clk_latency_[edge] = latency;
}
}

@icbenchpeng icbenchpeng changed the title How if this edge has multiple clk with multiple clock latency cross this hierarchical pin ? What if this edge has multiple clk with multiple clock latency cross this hierarchical pin ? Jan 22, 2025
@icbenchpeng
Copy link
Author

What is the correct behaviour if meet multiple clks thruClkInfo ? should we also pass the clock to it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant