1PHFIG(3) MBK PHYSICAL STRUCTURE DEFINITIONS PHFIG(3)
2
3
4
6 phfig - mbk physical figure
7
9 The phfig is used to describe a hierarchical level of a symbolic layout
10 and may contain any of the legal physical objects needed for a layout
11 but a phfig. All coordinates are symbolic and therefor put on a vir‐
12 tual grid in booth x and y directions.
13
14 The declarations needed to work on phfig are available in the header
15 file "/labo/include/mph402.h", where '402' is the actual mbk version.
16
17 The following C structure supports the description of the layout view :
18 typedef struct phfig {
19 struct phfig ∗NEXT;
20 struct chain ∗MODELCHAIN;
21 struct phseg ∗PHSEG;
22 struct phvia ∗PHVIA;
23 struct phref ∗PHREF;
24 struct phins ∗PHINS;
25 struct phcon ∗PHCON;
26 char ∗NAME;
27 char MODE;
28 long XAB1, YAB1, XAB2, YAB2;
29 struct ptype ∗USER;
30 } phfig_list;
31
32 NEXT Pointer to the next phfig present in ram.
33
34 NAME Name of the figure. It identifies a figure (or
35 model), so it should be unique in order to warranty
36 consistency of cells libraries. In order to ensure
37 this consistency, the NAME field must be filled
38 with the disk file name while parsing, and must be
39 used as file name for driving.
40
41 PHINS Pointer to the head of the list of instances being
42 used for the model description. See phins(3) for
43 details.
44
45 PHCON Pointer to the head of the list of connectors (ter‐
46 minals) of the model. See phcon(3) for details.
47
48 PHSEG Pointer to the head of the list of segments (wires)
49 of the model. See phseg(3) for details.
50
51 PHVIA Pointer to the head of the list of contacs and vias
52 of the model. See phvia(3) for details.
53
54 PHREF Pointer to the head of the list of references of
55 the model. See phref(3) for details.
56
57 XAB1, YAB1, XAB2, YAB2
58 Coordinates of the bottom left corner of the abut‐
59 ment box of the figure. The abutment box of a model
60 represents the external visibility of a figure and
61 is what reference is made to when instantiating the
62 model. One should well distinguish the abutment
63 box from the bounding box, which is the smallest
64 rectangle that includes all cell descriptors. The
65 size and position of the abutment box is a designer
66 concern, and cannot be computed.
67
68 MODE Caracter indicating the status of the figure in
69 memory. This field can take two values :
70
71 ´A´ all the cell is loaded in ram.
72
73 ´P´ only information concerning the model
74 interface is present, that means connec‐
75 tors and the abutment box. All other
76 lists are empty.
77
78 MODELCHAIN Pointer to a chain list, see chain(3) for details,
79 of names. These are the names of the models that
80 are at least instantiated once in the figure.
81
82 USER Pointer to a ptype list, see ptype(3) for details,
83 that is a general purpose pointer used to share
84 information on the model.
85
86 Remark : mbk's physical view of a cell is releted to it's
87 logical view by means of connector names, that must
88 be identical.
89
91 mbk(1), addphfig(3), getphfig(3), delphfig(3), loadphfig(3), saveph‐
92 fig(3), phins(3), phvia(3), phcon(3), phseg(3), phref(3), ptype(3),
93 lofig(3).
94
95
96
97
98
99
100ASIM/LIP6 October 1, 1997 PHFIG(3)