ACT Library
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
GDSLayer Class Reference

Holds information about a GDS layer. Any Material will have a footprint on a single or multiple GDS layers. These layers are specified in the layout configuration file (layout.conf). More details on this are available at https://avlsi.csl.yale.edu/act/doku.php?id=config:layout. More...

#include <tech.h>

Public Member Functions

 GDSLayer (char *nm, int maj, int min)
 
void addMat (Material *m)
 
listitem_t * matList ()
 
int getMajor ()
 
int getMinor ()
 

Private Attributes

const char * name
 
int major
 
int minor
 
list_t * mats
 

Detailed Description

Holds information about a GDS layer. Any Material will have a footprint on a single or multiple GDS layers. These layers are specified in the layout configuration file (layout.conf). More details on this are available at https://avlsi.csl.yale.edu/act/doku.php?id=config:layout.

Constructor & Destructor Documentation

◆ GDSLayer()

GDSLayer::GDSLayer ( char *  nm,
int  maj,
int  min 
)
inline

Create a GDS layer

Parameters
nmis the name of the layer
majis the major number for the GDS layer
minis the minor number for the GDS layer

Member Function Documentation

◆ addMat()

void GDSLayer::addMat ( Material m)

Add a material to the list of materials that use this GDS layer

Parameters
mis the Material

◆ getMajor()

int GDSLayer::getMajor ( )
inline
Returns
the major number of this GDS layer

◆ getMinor()

int GDSLayer::getMinor ( )
inline
Returns
the minor number of this GDS layer

◆ matList()

listitem_t * GDSLayer::matList ( )
inline

Return a listitem_t used to iterate over the materials that use this GDS layer

Returns
NULL if there are no materials, or the first item in the list

Member Data Documentation

◆ major

int GDSLayer::major
private

◆ mats

list_t* GDSLayer::mats
private

link back to materials that use this GDS layer

◆ minor

int GDSLayer::minor
private

the GDS major and minor number for this layer

◆ name

const char* GDSLayer::name
private

the name of the GDS layer used in the layout configuration file


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