Why primetime returns infinity slack for some nodes?

Status
Not open for further replies.

ebrahimi.khoy

Member level 3
Joined
Dec 4, 2010
Messages
64
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Visit site
Activity points
1,736
I wrote a very simple code to extract the slack time of all flip-flops:

foreach_in_collection pin [get_pins */D] {
set pinName [get_attribute $pin full_name]
set riseSlack [get_attribute $pin max_rise_slack]
set fallSlack [get_attribute $pin max_fall_slack]
puts "$pinName $riseSlack $fallSlack"
}


I don't know why I got INFINITY as output for some flip-flops?
What does infinity slack time means?
 

Maybe those pins are inputs of your design, and unconstrained.
If an input pin is unconstrained, then the tool cannot estimate what is the input slack on it and might return you with infinity.
You should constrain every input/output pin to avoid those kind of mistakes.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…