getsigname(3)

getsigname3

Choose a signal name in alias list

Synopsys

#include "mlo.h"
char ∗getsigname(ptsig)
losig_list ∗ptsig;

Parameter

ptsig

Pointer to losig_list

Overview

The getsigname function choose the higher hierachical level name of the alias list of a signal. The alias list is pointer to by the NAMECHAIN pointer of the losig structure, and contains zero or more names corresponding to the signal. Since the signal may result from a flatten, instance names may be concatenated to the actual signal name.

Return value

getsigname returns the higher hierachy level name, if ptsig->NAMECHAIN is not NULL, else a name constructed with the signal INDEX is returned.

Examples

#include "mlo.h"
void print_signame(p)
losig_list ∗p;
{
	fprintf(stdout, "signal name : %s\n", getsigname(p));
}

Releases

4 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–8
  2. 9–10

From alliance 5.1.1-3 in Debian 10 (Buster). Parsed by carta from the page's man source.