Product Documentation
Digital Design Netlisting and Simulation SKILL Reference
Product Version IC23.1, June 2023

hnlSortTermsToNets

hnlSortTermsToNets(
l_terminals
)
=> list

Description

Returns a list of lists by accepting a list of terminals as argument. The first element in each list is the original terminal, the second element is the name of the net attached to that terminal. The list is sorted alphanumerically by the name of the terminal attached to the net.

The hnlCurrentIteration global variable is used to construct the name of the net attached to the current iteration of the current instance being expanded. For this reason, this function can only be called from the output-formatting functions for a stopping cell.

For inherited terminals, the netlister-generated names of the signals attached to the terminal are returned.

Arguments

l_terminals

List of terminal identifications, which is the termId of terminals.

Value Returned

list

A list of lists. The first element in each list is the original terminal, and the second element is the name of the net attached to that terminal. The list is sorted alphanumerically by the name of the terminal attached to the net.

Examples

hnlSortTermsToNets( '( term1 term2 term3 term4 term5 ) )

Related Topics

OSS Functions


Return to top
 ⠀
X