askeco / src_info_hf /api.get_nets.txt
gofeco's picture
Upload 100 files
b8d41f7 verified
raw
history blame
492 Bytes
<h3 id='___get_nets'>get_nets</h3>
<pre>Get nets that matching pattern
<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>