dbGetNameNumBit
dbGetNameNumBit(t_name) =>x_numBit
Description
Parses a string and returns the number of bits in the net, terminal, or instance named.
The name defined by t_name is parsed according to the syntax rules of net and terminal names (of which instance names is a subset).
Arguments
|
Name string adhering to the net, terminal, or instance name syntax. |
Value Returned
|
Number of bits in t_name. Returns zero if an error is detected. |
Example
The following name returns 3 as the number of bits.
numBit = dbGetNameNumBit("one<2:3>,four<5>"
Related Topics
Return to top