ACT Library
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Friends | List of all members
Contact Class Reference

Used to represent a contact between two routing layers (adjacent) or between a material and the first routing layer for it. More...

#include <tech.h>

Inheritance diagram for Contact:
Material

Public Member Functions

 Contact (char *s)
 
int isSym ()
 
int isAsym ()
 
int getSym ()
 
int getSymUp ()
 
int getAsym ()
 
int getAsymUp ()
 
double getAntenna ()
 
double getAntennaDiff ()
 
int viaGenerate ()
 
int viaGenX ()
 
int viaGenY ()
 
int getLEFWidth ()
 
const char * getDrawingStyle ()
 
void setDrawingStyle (const char *s)
 
const char * getLowerName ()
 
const char * getUpperName ()
 
- Public Member Functions inherited from Material
 Material (const char *nm=NULL)
 
virtual const char * getName ()
 
void addGDS (char **table, int sz)
 
void addGDSBloat (int *table, int sz)
 
const char * viaUpName ()
 
int minArea ()
 
int minWidth ()
 
int minSpacing ()
 

Protected Attributes

Materiallower
 
Materialupper
 
int lef_width
 
int sym_surround_dn
 
int sym_surround_up
 
int asym_surround_dn
 
int asym_surround_up
 
double antenna_ratio
 
double antenna_diff_ratio
 
const char * style
 
int spc_x
 
int spc_y
 
- Protected Attributes inherited from Material
const char * name
 drawing name in magic
 
RangeTablewidth
 min width range table (indexed by length)
 
RangeTablespacing_w
 min spacing range table (indexed by width)
 
int minarea
 
int maxarea
 
Contactviaup
 contact/via to material that is above
 
Contactviadn
 contact/via to material that is below
 
list_t * gds
 GDS layer list.
 
int * gds_bloat
 GDS bloat table.
 

Friends

class Technology
 

Detailed Description

Used to represent a contact between two routing layers (adjacent) or between a material and the first routing layer for it.

A contact can be symmetric or asymmetric. A symmetric contact has equal amounts of overhang around the via. An asymmetric contact has asymmetric overhang.

Constructor & Destructor Documentation

◆ Contact()

Contact::Contact ( char *  s)
inline
Parameters
sis the name of the contact

Member Function Documentation

◆ getAntenna()

double Contact::getAntenna ( )
inline
Returns
the antenna ratio for this layer

◆ getAntennaDiff()

double Contact::getAntennaDiff ( )
inline
Returns
the antenna diff ratio

◆ getAsym()

int Contact::getAsym ( )
inline
Returns
the asymmetric surround on the layer below this via

◆ getAsymUp()

int Contact::getAsymUp ( )
inline
Returns
the asymmetric surround on the layer above this via

◆ getDrawingStyle()

const char * Contact::getDrawingStyle ( )
inline
Returns
the magic drawing style string

◆ getLEFWidth()

int Contact::getLEFWidth ( )
inline
Returns
the LEF width to be used

◆ getLowerName()

const char * Contact::getLowerName ( )
inline
Returns
the name of the layer below

◆ getSym()

int Contact::getSym ( )
inline
Returns
the symmetric surround on the layer below this via

◆ getSymUp()

int Contact::getSymUp ( )
inline
Returns
the symmetric surround on the layer above this via

◆ getUpperName()

const char * Contact::getUpperName ( )
inline
Returns
the name of the layer above

◆ isAsym()

int Contact::isAsym ( )
inline
Returns
1 if this is not a symmetric contact, 0 otherwise

◆ isSym()

int Contact::isSym ( )
inline
Returns
1 if this is a symmetric contact, 0 otherwise

◆ setDrawingStyle()

void Contact::setDrawingStyle ( const char *  s)
inline

Set the magic drawing style string

◆ viaGenerate()

int Contact::viaGenerate ( )
inline
Returns
1 if this has a viaGenerate rule

◆ viaGenX()

int Contact::viaGenX ( )
inline
Returns
the x-spacing for a via generate rule

◆ viaGenY()

int Contact::viaGenY ( )
inline
Returns
the y-spacing for a via generate rule

Friends And Related Function Documentation

◆ Technology

friend class Technology
friend

Member Data Documentation

◆ antenna_diff_ratio

double Contact::antenna_diff_ratio
protected

◆ antenna_ratio

double Contact::antenna_ratio
protected

◆ asym_surround_dn

int Contact::asym_surround_dn
protected

◆ asym_surround_up

int Contact::asym_surround_up
protected

◆ lef_width

int Contact::lef_width
protected

◆ lower

Material* Contact::lower
protected

◆ spc_x

int Contact::spc_x
protected

◆ spc_y

int Contact::spc_y
protected

◆ style

const char* Contact::style
protected

◆ sym_surround_dn

int Contact::sym_surround_dn
protected

◆ sym_surround_up

int Contact::sym_surround_up
protected

◆ upper

Material * Contact::upper
protected

The documentation for this class was generated from the following file: