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;
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 connec-
tors 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 repre-
sentation, 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.
ASIM
/LIP6 October 1, 1997 LOSIG(3)