1GENLIB_LOCAP.3(August 16, 2002)                GENLIB_LOCAP.3(August 16, 2002)
2
3
4

NAME

6       GENLIB_LOCAP - add a logical capacitor to the current netlist figure
7

SYNOPSIS

9       #include <genlib.h>
10
11       void GENLIB_LOCAP(type,capa,tcon,bcon,name)
12       char type ;
13       double capa ;
14       char ∗tcon, ∗bcon ;
15       char ∗name ;
16

PARAMETERS

18       type                Type  of the capacitor to be created in the current
19                           figure
20
21       capa                Capacitance value.
22
23       tcon, bcon          Name of the signals on which  the  given  capacitor
24                           connectors are to be linked. tcon is the top plate,
25                           bcon is the bottom plate.
26
27       name                Capacitor name. The unicity  of  the  name  is  not
28                           checked.
29

DESCRIPTION

31       LOCAP  adds  a  logical  capacitor  to the current working figure. This
32       capacitor has each of its pin logicaly linked  to  the  adequat  signal
33       given as parameter.  The type attribut may take the following values:
34
35       CAPMIM for a MIM (metal/metal) type capacitor. The top plate (tcon) and
36              the bottom plate (bcon) layers are different metal layers.
37
38       CAPPNWELL
39              for a POLY/NWELL type capacitor. The top plate  layer  is  POLY,
40              the  bottom  plate  is  NWELL.  Please note: this feature is not
41              available in any technology.
42

ERROR

44       "GENLIB_LOCAP impossible : missing GENLIB_DEF_LOFIG"
45              No figure has been yet specified by a call to DEF_LOFIG.  So  it
46              isn't  possible  to add anything. you must call DEF_LOFIG before
47              any other netlist call.
48

EXAMPLE

50       #include <genlib.h>
51
52       int main(int argc,char ∗argv[])
53       {
54         /∗ Create a figure to work on, a parallel capacitor ∗/
55         GENLIB_DEF_LOFIG("parallel_cap") ;
56
57         /∗ Define interface ∗/
58         GENLIB_LOCON("i",IN,"input") ;
59         GENLIB_LOCON("f",OUT,"output") ;
60
61         /∗ Add capacitors ∗/
62         GENLIB_LOCAP(CAPMIM,5.1,"input","output","cap1") ;
63         GENLIB_LOCAP(CAPMIM,5.2,"input","output","cap2") ;
64
65         /∗ Save all that on disk ∗/
66         GENLIB_SAVE_LOFIG() ;
67
68         return 0 ;
69       }
70

SEE ALSO

72       genlib(1),   GENLIB_BUS(3),   GENLIB_ELM(3),   GENLIB_LOINS(3),    GEN‐
73       LIB_LOCON(3).
74
75
76
77
78
79
80PROCEDURAL GENERATION LANGUAGE     ASIM/LIP6   GENLIB_LOCAP.3(August 16, 2002)
Impressum