1PHREF(3) MBK PHYSICAL STRUCTURE DEFINITIONS PHREF(3)
2
3
4
6 phref - mbk physical reference
7
9 The phref structure is used to describe a reference belonging to a sym‐
10 bolic layout model, see phfig(3) for details. A reference allows to
11 name a point anywhere in a given model. It may then be seen as a name,
12 and not anymore as a couple of coordinates. References are mostly used
13 for cell programming and multi-access connector representation.
14
15 The declarations needed to work on phref are available in the header
16 file "/labo/include/mph402.h", where '402' is the actual mbk version.
17
18 The following C structure supports the description of the reference :
19 typedef struct phref {
20 struct phref ∗NEXT;
21 char ∗FIGNAME;
22 char ∗NAME;
23 long XREF,YREF;
24 struct ptype ∗USER;
25 } phref_list;
26
27 NEXT Pointer to the next reference in the list.
28
29 FIGNAME Kind of reference. Gives information about the pos‐
30 sible uses of the object. Some FIGNAME are in use
31 today :
32
33 "ref_con" for multi-access connectors
34
35 "ref_ref" for all other uses
36
37 NAME Name of the reference. The reference is identified
38 by its name, so it should be unique at a given
39 hierarchical level.
40
41 XREF, YREF Coordinates of the point being referenced.
42
43 USER Pointer to a ptype list, see ptype(3) for details,
44 that is a general purpose pointer used to share
45 information on the reference.
46
48 mbk(1), addphref(3), getphref(3), delphref(3), phfig(3), ptype(3).
49
50
51
52
53
54
55ASIM/LIP6 October 1, 1997 PHREF(3)