<h3 id='___get_nets'>get_nets</h3> | |
<pre>Get nets that matching pattern (LLM: matched nets) | |
<b>Usage:</b> @nets = get_nets($pattern, @options); | |
$pattern: The net naming pattern, "*" or empty for all nets | |
@options:; | |
-const0: Get all constant zero nets | |
-const1: Get all constant one nets | |
@nets: returned net array. | |
<b>Examples:</b> | |
1#. Get all nets. | |
@nets = get_nets("*"); | |
2#. All nets with 'dbuffer' as prefix | |
@nets = get_nets("dbuffer_*"); | |
3#. Get constant nets | |
@nets = get_nets("-const0"); | |
</pre> |