DESCRIPTION
The locap is used to describe a logical capacitor. Please note, this description is different from the RCN description and has a different purpose: the created capacitor is a functional logical capacitor, not a parasitic capacitor. For the time being, only MIM (i.e. metal/metal) and POLY/NWELL capacitors type are supported.The declarations needed to work on locap are available in the header file "/labo/include/mlo.h".
The following C structure supports the description of the logical capacitor :
-
typedef struct locap { struct locap *NEXT ; struct locon *TCON ; struct locon *BCON ; char *NAME ; double CAPA ; char TYPE ; struct ptype *USER ; } locap_list ;
- NEXT
- Pointer to the next locap of the list.
- TCON
- Pointer to the tcon (top plate) connector of the capacitor. This connector is, of course unique. See locon(3) for details.
- BCON
- Pointer to the bcon (bottom plate) connector of the capacitor. This connector is, of course unique. See locon(3) for details.
- NAME
- Capacitor instance name
- CAPA
- Capacitance value
- TYPE
-
Layer type of the capacitor. Two legal values are available :
-
- CAPMIM
- Metal/metal capacitor. The top plate and the bottom plate are in different metal layers.
- CAPPNWELL
- Poly/NWELL capacitor. The top plate layer is POLY, the bottom plate layer is NWELL. Note: this capacitor type is technological dependent and is not available for any technology.
-
- USER
- Pointer to a ptype list, see ptype(3) for details, that is a general purpose pointer used to share informations on the capacitor. This field is used with the LOCAP_INFO(3) ptype to store physical informations.