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

NAME

6       GENLIB_PLACE_VIA_REF  - put a via on top of a reference belonging to an
7       instance in the current figure
8

SYNOPSIS

10       #include <genlib.h>
11       void GENLIB_PLACE_VIA_REF(insname, refname, viatype)
12       char  ∗insname, ∗refname;
13       char viatype;
14

PARAMETERS

16       insname             Name of the instance in the which the reference  is
17                           to be searched for
18
19       refname             Name of the reference to be used as target point
20
21       viatype             Type of via to be placed
22

DESCRIPTION

24       PLACE_VIA_REF places a via of type viatype on top of the specified ref‐
25       erence, refname, in the instance called insname.  This function may  be
26       used  to  generate  many cells from a single one, in order to "program"
27       decoders for  example,  or  in  conjunction  with  PLACE_SEG_REF(3)  or
28       PLACE_CON_REF(3) to translate virtual connectors into fixed ones.
29       The viatype argument may take the following legal values:
30
31       CONT_POLY           links POLY and ALU1
32
33       CONT_DIF_N          links NDIF and ALU1
34
35       CONT_DIF_P          links PDIF and ALU1
36
37       CONT_BODY_N         links NTIE and ALU1
38
39       CONT_BODY_P         links PTIE and ALU1
40
41       CONT_VIA            links ALU1 and ALU2
42
43       CONT_VIA2           links ALU2 and ALU3
44

ERRORS

46       "GENLIB_PLACE_VIA_REF impossible : missing GENLIB_DEF_PHFIG"
47              No  figure  has been yet specified by a call to DEF_PHFIG. So it
48              isn't possible to place a reference inside it.   you  must  call
49              DEF_PHFIG before any other layout action.
50       "illegal getphins : instance insname does not exist"
51              The  instance  called  insname  does not currently belong to the
52              figure.
53       "illegal getphref : references called refname does not exist"
54              No reference called refname exists in the model of the  instance
55              insname.
56

EXAMPLE

58       #include <genlib.h>
59       main()
60       {
61            /∗ Create a figure to work on  ∗/
62            GENLIB_DEF_PHFIG("cell");
63            GENLIB_PLACE("gaci0_b", "r1", NOSYM, 23L, 54L);
64            /∗ Put a reference ∗/
65            GENLIB_PLACE_VIA_REF("a_0", "r1", CONT_VIA);
66            /∗ Save that on disk ∗/
67            GENLIB_SAVE_PHFIG();
68       }
69

SEE ALSO

71       dpr(1),   genlib(1),  GENLIB_DEF_PHFIG(3),  GENLIB_SAVE_PHFIG(3),  GEN‐
72       LIB_PHREF(3),     GENLIB_PHVIA(3),     GENLIB_COPY_UP_REF(3),      GEN‐
73       LIB_COPY_UP_ALL_REF(3),          GENLIB_PLACE_CON_REF(3),          GEN‐
74       LIB_PLACE_SEG_REF(3), GENLIB_PLACE_VIA_REF(3).
75
76
77
78
79
80
81PROCEDURAL GENERATION LANGUAGE     ASIM/GLEINPL6IB_PLACE_VIA_REF.3(October 1, 1997)
Impressum