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

NAME

6       GENLIB_GET_CON_X - retrieve the x coordinate of an instance connector
7

SYNOPSIS

9       long GENLIB_GET_CON_X(insname, conname, index)
10       char ∗insname, ∗conname;
11       long index;
12

PARAMETERS

14       insname             Name  of the instance in the which the connector is
15                           to be searched for
16
17       conname             Name of the connector
18
19       index               Connector index
20

DESCRIPTION

22       GET_CON_X looks for the connector,  conname,  in  the  instance  called
23       insname.   Then it computes its absolute coordinates in the figure, and
24       gives back the x coordinate.
25

RETURN VALUE

27       The function returns a long int being the x position of  the  connector
28       in the current figure
29

ERRORS

31       "GENLIB_GET_CON_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 connector inside it.   you  must  call
34              DEF_PHFIG before any other layout action.
35       "illegal getphins : instance called insname does not exist"
36              No instance called insname exists in the current figure.
37       "illegal getphcon : connectors conname, index index does not exist"
38              No  connector called conname exists in the model of the instance
39              insname.
40

EXAMPLE

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

SEE ALSO

59       genlib(1), GENLIB_DEF_PHFIG(3), GENLIB_SAVE_PHFIG(3),  GENLIB_PHCON(3),
60       GENLIB_PHSEG(3), GENLIB_COPY_UP_CON(3), GENLIB_COPY_UP_ALL_CON(3), GEN‐
61       LIB_GET_CON_Y(3), GENLIB_GET_REF_X(3), GENLIB_GET_REF_Y(3).
62
63
64
65
66
67
68PROCEDURAL GENERATION LANGUAGE     ASIM/LIP6GENLIB_GET_CON_X.3(October 1, 1997)
Impressum