1LOSIG(3) MBK LOGICAL STRUCTURE DEFINITIONS LOSIG(3)
2
3
4
6 losig - mbk logical signal
7
9 The losig is used to describe a logical signal.
10
11 The declarations needed to work on losig are available in the header
12 file "/labo/include/mlo404.h", where '404' is the actual mbk version.
13
14 The following C structure supports the description of the logical sig‐
15 nal :
16 typedef struct losig {
17 struct losig ∗NEXT;
18 struct chain ∗NAMECHAIN;
19 float CAPA;
20 long INDEX;
21 char TYPE;
22 struct ptype ∗USER;
23 } losig_list;
24
25 NEXT Pointer to the next losig of the list.
26
27 INDEX Long integer being the signal identifier. It repre‐
28 sents the net number at a given hierachical level,
29 and must be unique.
30
31 NAMECHAIN Pointer to a list of names, aliases, attached to
32 the signal. If no names are given then the field
33 points to NULL. Many names can be present if the
34 signal result of the flatten of a netlist. See
35 chain(3) for details.
36
37 CAPA Floating point number containing the value of the
38 total capacitance attached to a signal in respect
39 to ground. This field may be set to zero, since it
40 make sens only if the signal is the result of a
41 layout extraction, or has been used for electrical
42 simulation purposes.
43
44 TYPE This field can take two legal values depending on
45 the types of the connectors attached to it. See
46 locon(3) for detail.
47
48 EXTERNAL The signal is connected at
49 least to one external connec‐
50 tor, a connector of the figure
51 being described.
52
53 INTERNAL The signal is connected only to
54 instances or transistors con‐
55 nectors.
56
57 The tools using the TYPE should fill it with care,
58 since unexpected results may appear if the consis‐
59 tency with connectors is violated.
60
61 USER Pointer to a ptype list, see ptype(3) for details,
62 that is a general purpose pointer used to share
63 information on the signal.
64
65 Remark : the netlist view is given in terms of connectors
66 pointing to signals, but it may be useful to have
67 also the dual representation, in term of list of
68 connectors attached to a single signal. This may be
69 obtained by the lofigchain function.
70
72 mbk(1), addlosig(3), getlosig(3), dellosig(3), lofigchain(3), locon(3),
73 lofig(3), chain(3), ptype(3).
74
75
76
77
78
79
80ASIM/LIP6 October 1, 1997 LOSIG(3)