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

This is used to record information about a macro from an ACT configuration file. More...

#include <extmacro.h>

Public Member Functions

 ExternMacro (Process *p)
 
 ~ExternMacro ()
 
bool isValid ()
 
const char * getLEFFile ()
 
void getBBox (long *bllx, long *blly, long *burx, long *bury)
 
const char * getSPICEFile ()
 
const char * getVerilogFile ()
 
const char * getName ()
 

Private Attributes

Process_p
 the process
 
char * _name
 name of macro
 
const char * _lef
 lef path
 
const char * _spice
 spice path
 
const char * _verilog
 verilog path
 
long llx
 
long lly
 
long urx
 
long ury
 bounding box
 

Detailed Description

This is used to record information about a macro from an ACT configuration file.

A macro is specified in a configuration file in the macro section as follows

begin macros
begin <expanded_name>
string lef "leffile"
string spice "spicefile"
string verilog "verilogfile"
int llx <val>
int lly <val>
int urx <val>
int ury <val>
end
end

A macro generator can be specified using

begin macros
string <unexpanded_name>.gen "string"
end

Constructor & Destructor Documentation

◆ ExternMacro()

ExternMacro::ExternMacro ( Process p)

Search for an external macro definition for process p

Parameters
pis the process to look for

◆ ~ExternMacro()

ExternMacro::~ExternMacro ( )

Member Function Documentation

◆ getBBox()

void ExternMacro::getBBox ( long *  bllx,
long *  blly,
long *  burx,
long *  bury 
)
inline
Parameters
bllxthe lower left x coordinate of the macro
bllythe lower left y coordinate of the macro
burxthe upper right x coordinate of the macro
burythe upper right y coordinate of the macro

◆ getLEFFile()

const char * ExternMacro::getLEFFile ( )
inline
Returns
the LEF file name associated with the macro

◆ getName()

const char * ExternMacro::getName ( )
inline
Returns
the name of the macro

◆ getSPICEFile()

const char * ExternMacro::getSPICEFile ( )
inline
Returns
the SPICE file name for the macro

◆ getVerilogFile()

const char * ExternMacro::getVerilogFile ( )
inline
Returns
the Verilog file name for the macro

◆ isValid()

bool ExternMacro::isValid ( )
inline
Returns
true if a valid macro for the process was found, false otherwise

Member Data Documentation

◆ _lef

const char* ExternMacro::_lef
private

lef path

◆ _name

char* ExternMacro::_name
private

name of macro

◆ _p

Process* ExternMacro::_p
private

the process

◆ _spice

const char* ExternMacro::_spice
private

spice path

◆ _verilog

const char* ExternMacro::_verilog
private

verilog path

◆ llx

long ExternMacro::llx
private

◆ lly

long ExternMacro::lly
private

◆ urx

long ExternMacro::urx
private

◆ ury

long ExternMacro::ury
private

bounding box


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