losig(3) 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;
NEXT
Pointer to the next losig of the list.
INDEX
Long integer beeing the signal identifier. It represents the net number at a given hierachical level, and must be unique.
NAMECHAIN
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.
CAPA
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.
TYPE
This field can take two legal values depending on the types of the connectors attached to it. See locon(3) for detail.
EXTERNAL
The signal is connected at least to one external connector, a connector of the figure beeing described.
INTERNAL
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.

USER
Pointer to a ptype list, see ptype(3) for details, that is a general purpose pointer used to share informations 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.