1GENLIB_GET_REF_Y.3(October 1, 1997)        GENLIB_GET_REF_Y.3(October 1, 1997)
2
3
4

NAME

6       GENLIB_GET_REF_Y - retrieve the y coordinate of an instance reference
7

SYNOPSIS

9       long GENLIB_GET_REF_Y(insname, refname)
10       char ∗insname, ∗refname;
11

PARAMETERS

13       insname             Name  of the instance in the which the reference is
14                           to be searched for
15
16       refname             Name of the reference
17

DESCRIPTION

19       GET_REF_Y looks for the reference,  refname,  in  the  instance  called
20       insname.   Then it computes its absolute coordinates in the figure, and
21       gives back the y coordinate.
22

RETURN VALUE

24       The function returns a long int being the y position of  the  reference
25       in the current figure
26

ERRORS

28       "GENLIB_GET_REF_Y impossible : missing GENLIB_DEF_PHFIG"
29              No  figure  has been yet specified by a call to DEF_PHFIG. So it
30              isn't possible to place a reference inside it.   you  must  call
31              DEF_PHFIG before any other layout action.
32       "illegal getphins : instance called insname does not exist"
33              No instance called insname exists in the current figure.
34       "illegal getphref : references called refname does not exist"
35              No  reference called refname exists in the model of the instance
36              insname.
37

EXAMPLE

39       #include <genlib.h>
40       main()
41       {
42       long x, y;
43            /∗ Create a figure to work on  ∗/
44            GENLIB_DEF_PHFIG("cell");
45            GENLIB_PLACE("gaci0_b", "r1", NOSYM, 23L, 54L);
46            /∗ Get a reference ∗/
47            y = GENLIB_GET_REF_Y("r1", "a_0");
48            .
49            .
50            GENLIB_PHVIA(x, y, CONT_VIA);
51            /∗ Save that on disk ∗/
52            GENLIB_SAVE_PHFIG();
53       }
54

SEE ALSO

56       genlib(1), GENLIB_DEF_PHFIG(3), GENLIB_SAVE_PHFIG(3),  GENLIB_PHREF(3),
57       GENLIB_PHSEG(3), GENLIB_COPY_UP_REF(3), GENLIB_COPY_UP_ALL_REF(3), GEN‐
58       LIB_GET_CON_X(3), GENLIB_GET_CON_Y(3), GENLIB_GET_REF_X(3).
59
60
61
62
63
64
65PROCEDURAL GENERATION LANGUAGE     ASIM/LIP6GENLIB_GET_REF_Y.3(October 1, 1997)
Impressum