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

NAME

6       GENLIB_GET_REF_X - retrieve the x coordinate of an instance reference
7

SYNOPSIS

9       long GENLIB_GET_REF_X(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_X looks for the reference,  refname,  in  the  instance  called
20       insname.
21

RETURN VALUE

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

ERRORS

27       "GENLIB_GET_REF_X impossible : missing GENLIB_DEF_PHFIG"
28              No figure has been yet specified by a call to DEF_PHFIG.  So  it
29              isn't  possible  to  place a reference inside it.  you must call
30              DEF_PHFIG before any other layout action.
31       "GENLIB_GET_REF_X impossible : missing GENLIB_DEF_PHFIG"
32              No figure has been yet specified by a call to DEF_PHFIG.  So  it
33              isn't  possible  to  place a reference inside it.  you must call
34              DEF_PHFIG before any other layout action.
35       "GENLIB_GET_REF_X impossible : no abutment box"
36              The current figure does not have an abutment box. Use  DEF_AB(3)
37              before this function.
38       "illegal GENLIB_GET_REF_X : orientation is XX"
39              The face parameter does not have a legal value, but XX.
40       "illegal getphins : instance called insname does not exist"
41              No instance called insname exists in the current figure
42       "illegal getphref : references called refname does not exist"
43              No  reference called refname exists in the model of the instance
44              insname.
45

EXAMPLE

47       #include <genlib.h>
48       main()
49       {
50            /∗ Create a figure to work on  ∗/
51            GENLIB_DEF_PHFIG("cell");
52            GENLIB_PLACE("gaci0_b", "r1", NOSYM, 23L, 54L);
53            /∗ Put a reference ∗/
54            GENLIB_GET_REF_X("r1", "a_0", ALU2, 2, NORTH);
55            /∗ Save that on disk ∗/
56            GENLIB_SAVE_PHFIG();
57       }
58

SEE ALSO

60       genlib(1), GENLIB_DEF_PHFIG(3), GENLIB_SAVE_PHFIG(3),  GENLIB_PHREF(3),
61       GENLIB_PHSEG(3), GENLIB_COPY_UP_REF(3), GENLIB_COPY_UP_ALL_REF(3), GEN‐
62       LIB_GET_REF_X(3), GENLIB_GET_REF_X(3), GENLIB_GET_REF_X(3).
63
64
65
66
67
68
69PROCEDURAL GENERATION LANGUAGE     ASIM/LIP6GENLIB_GET_REF_X.3(October 1, 1997)
Impressum