1LOFIG(3) MBK LOGICAL STRUCTURE DEFINITIONS LOFIG(3)
2
3
4
6 lofig - mbk logical figure
7
9 The lofig is used to describe a hierarchical level of the logical view
10 of a figure. The logical view is also called the netlist, for list of
11 nets, because it represents the interconnections between elements of a
12 cell.
13
14 The declarations needed to work on lofig are available in the header
15 file "/labo/include/mlo.h".
16
17 The following C structure supports the description of the netlist rep‐
18 resentation :
19 typedef struct lofig {
20 struct lofig ∗NEXT;
21 struct chain ∗MODELCHAIN;
22 struct locon ∗LOCON;
23 struct losig ∗LOSIG;
24 struct ptype ∗BKSIG;
25 struct loins ∗LOINS;
26 struct lotrs ∗LOTRS;
27 struct lotrs ∗LOCAP;
28 struct lotrs ∗LORES;
29 struct lotrs ∗LOSELF;
30 char ∗NAME;
31 char MODE;
32 struct ptype ∗USER;
33 } lofig_list;
34
35 NEXT Pointer to the next lofig loaded in ram.
36
37 NAME Name of the figure. It identifies a figure (or
38 model), so it should be unique in order to warranty
39 consistency of cells libraries. In order to ensure
40 this consistency, the NAME field must be filled
41 with the disk file name while parsing, and must be
42 used as file name for driving.
43
44 LOINS Pointer to the head of the list of instances being
45 used for the model description. See loins(3) for
46 details.
47
48 LOCON Pointer to the head of the list of connectors (ter‐
49 minals) of the model. See locon(3) for details.
50
51 LOSIG Pointer to the head of the list of signal of the
52 model. See losig(3) for details.
53
54 BKSIG Pointer to a hash table that contains arrays of
55 LOSIG. It is only an other way to represent the
56 same elements that in the list, but allows a faster
57 access. The Mbk Logical Functions warranty the con‐
58 sitency between the two representations.
59
60 LOTRS Pointer to the list of transistors belonging to the
61 figure. It is to be noticed that transistors are
62 not instances of a particular type.
63
64 LOCAP Pointer to the list of capacitors belonging to the
65 figure.
66
67 LORES Pointer to the list of resistors belonging to the
68 figure.
69
70 LOSELF Pointer to the list of inductors belonging to the
71 figure.
72
73 MODE Caracter indicating the status of the figure in
74 memory. This field can take two values :
75
76 ´A´ all the cell is loaded in ram.
77
78 ´P´ only information concerning the model
79 interface is present, that means connec‐
80 tors, and signals linked to external con‐
81 nectors. All other lists are empty.
82
83 MODELCHAIN Pointer to a chain list, see chain(3) for details,
84 of names. These are the names of the models that
85 are at least instantiated once in the figure.
86
87 USER Pointer to a ptype list, see ptype(3) for details,
88 that is a general purpose pointer used to share
89 information on the model.
90
92 mbk(1), addlofig(3), getlofig(3), dellofig(3), loadlofig(3),
93 savelofig(3), loins(3), lotrs(3), locap(3), lores(3), loself(3),
94 locon(3), losig(3), ptype(3), chain(3), phfig(3).
95
96
97
98
99
100
101ASIM/LIP6 August 14, 2002 LOFIG(3)