sortlosig - sort the logical signals of a figure by name
See the file man1/alc_origin.1.
- Pointer to the head of the list of signals that is to be sorted
sorts the list of signals pointed to by signals
signals are sorted by names, but since names are not the signals identifier,
(3) routine is called to retrieve a signal name.
The standart qsort
(3) function library is called for sorting. Therefore,
a table the number of signal wide is created, requiring a lot of memory with
big circuits. Also, even if qsort
(3) runs in n log n time,
(3) is called twice, and the natural comparison function
once, and this is quite time consuming with big circuits. It is recommended to
use this function only if needed.
lofig_list ∗figure = getlosig(figname, 'A');
See the file man1/alc_bug_report.1.