DESCRIPTION
The lores is used to describe a logical resistor. Please note, this description is different from the RCN description and has a different purpose: the created resistor is a functional logical resistor, not a parasitic resistor. For the time being, only MIM (i.e. metal) resistor type is supported.The declarations needed to work on lores are available in the header file "/labo/include/mlo.h".
The following C structure supports the description of the logical resistor :
-
typedef struct lores { struct lores *NEXT ; struct locon *RCON1 ; struct locon *RCON2 ; char *NAME ; double RESI ; char TYPE ; struct ptype *USER ; } lores_list ;
- NEXT
- Pointer to the next lores of the list.
- RCON1
- Pointer to the rcon1 connector of the resistor. This connector is, of course unique. See locon(3) for details.
- RCON2
- Pointer to the rcon2 connector of the resistor. This connector is, of course unique. See locon(3) for details.
- NAME
- Resistor instance name
- RESI
- Resistance value
- TYPE
-
Layer type of the resistor. One legal values is available :
-
- RESMIM
- Metal resistor.
-
- USER
- Pointer to a ptype list, see ptype(3) for details, that is a general purpose pointer used to share informations on the resistor. This field is used with the LORES_INFO(3) ptype to store physical informations.