Visible to Intel only — GUID: mwh1410383680086
Ixiasoft
Visible to Intel only — GUID: mwh1410383680086
Ixiasoft
3.7.2.4. Using the get_pins Command
These examples filter the following node and pin names to illustrate function:
- lvl (a hierarchy level with the name lvl)
- lvl|dataa (an input pin in the instance lvl)
- lvl|datab (an input pin in the instance lvl)
- lvl|cnod (a combinational node with the name cnod in the lvl instance)
- lvl|cnod|datac (an input pin to the combinational node with the name cnod)
- lvl|cnod|datad (an input pin to the combinational node cnod)
Search String | Search Result |
---|---|
get_pins *|dataa | lvl|dataa |
get_pins *|datac | <empty> 6 |
get_pins *|*|datac | lvl|cnod|datac |
get_pins lvl*|* | lvl|dataa, lvl|datab |
get_pins -hierarchical *|*|datac | <empty>6 |
get_pins -hierarchical lvl|* | lvl|dataa, lvl|datab |
get_pins -hierarchical *|datac | lvl|cnod|datac |
get_pins -hierarchical lvl|*|datac | <empty>6 |
get_pins -compatibility_mode *|datac | lvl|cnod|datac 7 |
get_pins -compatibility_mode *|*|datac | lvl|cnod|datac |
The default method separates hierarchy levels of instances from nodes and pins with the pipe character (|). A match occurs when the levels of hierarchy match, and the string values including wildcards match the instance or pin names. For example, the command get_pins <instance_name>|*|datac returns all the datac pins for registers in a given instance. However, the command get_pins *|datac returns an empty collection because the levels of hierarchy do not match.
Use the -hierarchical matching scheme to return a collection of cells or pins in all hierarchies of your design.
For example, the command get_pins -hierarchical *|datac returns all the datac pins for all registers in your design. However, the command get_pins -hierarchical *|*|datac returns an empty collection because more than one pipe character (|) is not supported.
The -compatibility_mode option returns collections matching wildcard strings through any number of hierarchy levels. For example, an asterisk can match a pipe character when using -compatibility_mode.