get_nets

Scripting

get_nets


The following table displays information for the get_nets Tcl command:

Tcl Package and Version

Belongs to ::quartus::sdc 1.5

Syntax

get_nets [-h | -help] [-long_help] [-no_duplicates] [-nocase] [-nowarn] [<filter>]

Arguments

-h | -help

Short help

-long_help

Long help with examples and possible return values

-no_duplicates

Do not match duplicated net names

-nocase

Specifies case-insensitive node name matching

-nowarn

Do not issue warnings messages about unmatched patterns

<filter>

Valid destinations (string patterns are matched using Tcl string matching)

Description

		Returns a collection of nets in the design. All net names in the
		collection match the specified pattern. Wildcards can be used to
		select multiple nets at once.

		The default matching scheme returns nets whose names match the
		specified filter and nets that are automatically generated by the
		Quartus II software from these nets. Use the -no_duplicates option to
		exclude duplicated nets.

		The filter for the collection is a Tcl list of wildcards, and must
		follow standard Tcl or TimeQuest-extension substitution rules.  See
		help for the use_timequest_style_escaping command for details.

Example Usage

# Find a net called "reg" using case insensitive search
get_nets -nocase reg
# Create a collection of all nets whose names start with "reg"
get_nets reg*
# Create a collection of all nets in the design
set mycollection [get_nets *]
# Output net names.
foreach_in_collection net $mycollection {
    puts [get_net_info -name $net]
}

Return Value

Code Name

Code

String Return

TCL_OK0INFO: Operation successful
TCL_ERROR1ERROR: Timing netlist does not exist. Use create_timing_netlist to create a timing netlist.

 


转载于:https://www.cnblogs.com/dxs959229640/articles/3872075.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值