1PHINS(3) MBK PHYSICAL STRUCTURE DEFINITIONS PHINS(3)
2
3
4
6 phins - mbk physical instance
7
9 The phins structure is used to describe a instance belonging to a sym‐
10 bolic layout model, see phfig(3) for details.
11
12 The declarations needed to work on phins are available in the header
13 file "/labo/include/mph402.h", where '402' is the actual mbk version.
14
15 The following C structure supports the description of the instance :
16 typedef struct phins {
17 struct phins ∗NEXT;
18 char ∗INSNAME;
19 char ∗FIGNAME;
20 long XINS,YINS;
21 char TRANSF;
22 struct ptype ∗USER;
23 } phins_list;
24
25 NEXT Pointer to the next instance in the list.
26
27 FIGNAME Model of the instance. This gives the name of the
28 figure that is currently being instantiated. The
29 model may not be present in memory.
30
31 NAME Name of the instance. The instance is identified by
32 its name, so it should be unique at a given hierar‐
33 chical level.
34
35 XINS, YINS Coordinates of the lower left corner of the
36 instance, after possible geometrical operation.
37
38 TRANSF Contains the geometrical operations that should be
39 performed before placing the instance. Eight legal
40 values are allowed :
41
42 NOSYM no operation
43
44 SYM_X x becomes -x
45
46 SYM_Y y becomes -y
47
48 SYMXY x becomes -x and y becomes -y
49
50 ROT_P rotates 90 degrees counter
51 clockwise
52
53 ROT_M rotates 90 degrees clockwise
54
55 SY_RP x becomes -x then rotates 90
56 degrees counter clockwise
57
58 SY_RM x becomes -x then rotates 90
59 degrees clockwise
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 instance.
64
65 Remark : the phins structure does not contain any informa‐
66 tion about the size of the instance. Neither the
67 abutment box nor the connectors are available. The
68 model must be loaded when such information is
69 needed.
70
72 mbk(1), addphins(3), getphins(3), delphins(3), phfig(3), ptype(3).
73
74
75
76
77
78
79ASIM/LIP6 October 1, 1997 PHINS(3)