hznichol
Newbie level 1
Hello All,
I have been trying to learn more about the .lib syntax, and I am having trouble understanding pins with multiple internal_power groups.
For example, OpenTimer has an example lib file which contains this cell (portions removed):
Liberty files specify that the related pin's transition time is used as an index into the table, but I do not understand how having two different internal_power groups works here.
How is the power defined if both pins are transitioning? Is one table ignored? Something else?
I was not able to locate how this was defined in the documentation so any advice or links are appreciated.
Best,
HN
I have been trying to learn more about the .lib syntax, and I am having trouble understanding pins with multiple internal_power groups.
For example, OpenTimer has an example lib file which contains this cell (portions removed):
Code:
cell (AND2X1) {
...
pin(A) {
direction : input;
...
}
pin(B) {
direction : input;
...
}
pin(Y) {
direction : output;
...
internal_power() {
related_pin : "A";
rise_power(energy_template_5x5) {
...
}
fall_power(energy_template_5x5) {
...
}
}
internal_power() {
related_pin : "B";
rise_power(energy_template_5x5) {
...
}
fall_power(energy_template_5x5) {
...
}
}
}
}
Liberty files specify that the related pin's transition time is used as an index into the table, but I do not understand how having two different internal_power groups works here.
How is the power defined if both pins are transitioning? Is one table ignored? Something else?
I was not able to locate how this was defined in the documentation so any advice or links are appreciated.
Best,
HN