Scroll to navigation

LOSIG(3) MBK LOGICAL STRUCTURE DEFINITIONS LOSIG(3)

NAME

losig - mbk logical signal

DESCRIPTION

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 beeing 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 beeing 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 informations on the signal.
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).

BUG REPORT

This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.

October 1, 1997 ASIM/LIP6