losig.3alc man page

losig — mbk logical signal


The losig is used to describe a logical signal.

The declarations needed to work on losig are available in the header file "/labo/include/mlo404.h", where '404' is the actual mbk version.

The following C structure supports the description of the logical signal :

typedef struct losig {
	struct losig	∗NEXT; 
	struct chain	∗NAMECHAIN;
	float	CAPA;
	long	INDEX;
	char	TYPE;
	struct ptype	∗USER;
} losig_list;

Pointer to the next losig of the list.


Long integer being the signal identifier. It represents the net number at a given hierachical level, and must be unique.


Pointer to a list of names, aliases, attached to the signal. If no names are given then the field points to NULL. Many names can be present if the signal result of the flatten of a netlist. See chain(3) for details.


Floating point number containing the value of the total capacitance attached to a signal in respect to ground. This field may be set to zero, since it make sens only if the signal is the result of a layout extraction, or has been used for electrical simulation purposes.


This field can take two legal values depending on the types of the connectors attached to it. See locon(3) for detail.


The signal is connected at least to one external connector, a connector of the figure being described.


The signal is connected only to instances or transistors connectors.

The tools using the TYPE should fill it with care, since unexpected results may appear if the consistency with connectors is violated.


Pointer to a ptype list, see ptype(3) for details, that is a general purpose pointer used to share information on the signal.

Remark :

the netlist view is given in terms of connectors pointing to signals, but it may be useful to have also the dual representation, in term of list of connectors attached to a single signal. This may be obtained by the lofigchain function.

See Also

mbk(1), addlosig(3), getlosig(3), dellosig(3), lofigchain(3), locon(3), lofig(3), chain(3), ptype(3).

Referenced By

addcapa.3alc(3), addlosig.3alc(3), dellosig.3alc(3), getlosig.3alc(3), getsigname.3alc(3), givelosig.3alc(3), locon.3alc(3), lofig.3alc(3), lofigchain.3alc(3), mlodebug.3alc(3), ptype.3alc(3), sortlosig.3alc(3), viewlosig.3alc(3).