hnlMapNetName
hnlMapNetName(t_cdsName) =>name
Description
Returns a new mapped name if the argument specified as the cdsName string is not a valid name for the target simulator. Otherwise, the cdsName string is returned.
The hnlMapNetFirstChar, hnlMapNetInName, hnlMaxNameLength, and simNetNamePrefix variables are used to determine the mapping of the name.
In the case of inherited terminals and inherited connections, netlister-generated names are returned. hnlMapNetName or other type-specific name mapping functions cannot be used interchangeably with hnlMapName in the same netlisting session.
Arguments
Value Returned
|
A new mapped name if the argument specified as the cdsName string is not a valid name for the target simulator; otherwise, the cdsName string is returned. |
Examples
hnlMapNetName( "netA" )
For net vdd! in the schematic view of cell inv, hnlMapName( "vdd!" ) returns "inh_vdd". For net gnd! in the same cellview, hnlMapName( "gnd!" ) returns "inh_gnd". These two are netlister-generated names due to inherited connection.
Related Topics
Return to top