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.
If output Y switched due to changing input pin A - the power numbers are from the first table (related_pin=A).
If output Y switched due to changing input pin B - the power numbers are from the second table (related_pin=B).