1PHSEG(3)              MBK PHYSICAL STRUCTURE DEFINITIONS              PHSEG(3)
2
3
4

NAME

6       phseg - mbk physical segment
7

DESCRIPTION

9       The  phseg  structure is used to describe a segment belonging to a sym‐
10       bolic layout model, see phfig(3) for details.  Transistors are segments
11       of a particular layer.
12
13       The  declarations  needed  to work on phseg are available in the header
14       file "/labo/include/mph402.h", where '402' is the actual mbk version.
15
16       The following C structure supports the description of the segment :
17              typedef struct phseg {
18                 struct phseg     ∗NEXT;
19                 char             ∗NAME;
20                 long             X1,Y1,X2,Y2;
21                 long             WIDTH;
22                 char             TYPE;
23                 char             LAYER;
24                 struct ptype     ∗USER;
25              } phseg_list;
26
27       NEXT                Pointer to the next segment in the list.
28
29       NAME                Name of the segment. The name is not an identifier,
30                           and a name is present only if the designer used one
31                           for debug purposes.
32
33       X1, Y1, X2, Y2      Coordinates of each end of the segment. Since  it's
34                           a symbolic segment, one alway has either X1 = X2 or
35                           Y1 = Y2. Furthermore, by construction, it  is  war‐
36                           ranty,  if  one accesses the data structure through
37                           the legal functions, that X1 <= X2 and Y1 <= Y2.
38
39       TYPE                This caracter can take four values :
40
41                           LEFT or RIGHT       if Y1 = Y2.  The exact value is
42                                               chosen  by  addphseg, depending
43                                               upon X1 and X2 relations.
44
45                           UP or DOWN          if X1 = X2
46
47       LAYER               Symbolic layer used for the segment. The legal val‐
48                           ues are :
49
50                           NWELL               N bulk
51
52                           PWELL               P bulk
53
54                           NTIE                N implant in P bulk
55
56                           PTIE                P implant in N bulk
57
58                           NDIF                N diffusion
59
60                           PDIF                P diffusion
61
62                           NTRANS              N transistor
63
64                           PTRANS              P transistor
65
66                           POLY                polysilicium
67
68                           ALU1                first metal
69
70                           ALU2                second metal
71
72                           ALU3                third metal
73
74                           TPOLY               polysilicum through route
75
76                           TALU1               first metal through route
77
78                           TALU2               second metal through route
79
80                           TALU3               third metal through route
81
82       WIDTH               Width  of  the segment. The physical extension of a
83                           segment is perpendicular to its direction.
84
85       USER                Pointer to a ptype list,  see  ptype  for  details,
86                           that  is  a  general  purpose pointer used to share
87                           information on the segment.
88

SEE ALSO

90       mbk(1), addphseg(3), getphseg(3), delphseg(3), phfig(3), ptype(3).
91
92
93
94
95
96
97ASIM/LIP6                       October 1, 1997                       PHSEG(3)
Impressum