#include <model.h>
Public Member Functions | |
| clsDesign (string nm) | |
| constructor | |
| ~clsDesign () | |
| destructor | |
| string | getName () const |
| gets design name | |
| bool | addCir (string nm) |
| adds circuit to the design | |
| clsCircuit * | findCir (string nm) |
| serches for a circuit to be stored in clsDesign::mapCir | |
| map< string, clsCircuit >::iterator | getMapCirBegin () |
| returns beginning of clsDesign::mapCir | |
| map< string, clsCircuit >::iterator | getMapCirEnd () |
| returns end of clsDesign::mapCir | |
| bool | addModType (string nm) |
| adds module-type to the design | |
| clsModuleType * | findModType (string nm) |
| searches for a module-type to be stored in clsDesign::mapModType | |
| void | syncModWithType (clsModule *mptr) |
| synchronizes module with parameters (interface, constants, bit-widths, transparency parameters etc.) of its type | |
| void | dump_info () |
| sends information about design and its component to stdout | |
| void | evalArea () |
| estimates area of the design | |
| int | getArea () |
| returns estimation of design area | |
| void | evalPower () |
| estimates peak power-consumption of the design | |
| int | getPower () |
| returns estimation of peak power consumption of the design | |
| void | export_TAresults_txt (string fname) |
| not implemented yet | |
| void | implementDft (string cir="") |
| function used to implement design-for-testability technique(s) into the design/circuit. | |
| void | deimplement_changes (string cir="") |
| function used to return design/circuit structure to its original state | |
Private Attributes | |
| string | name |
| design name | |
| map< string, clsCircuit > | mapCir |
| map of all circuits within design | |
| map< string, clsModuleType > | mapModType |
| map of all module-types used in design scope | |
| int | area |
| estimated worst-case area value (for update, call clsDesign::getArea) of the design | |
| int | power |
| estimated power-consumption value (for update, call clsDesign::getPower) of the design | |
Actually, the object contains map of circuits (clsDesign::mapCircuit) implemented in the design and map of templatized module-types (clsDesign::mapModType) used to assign a type to a module. In the future, set of wires representing interconnections between circuit interfaces will be added (see clsClass::setOfWires).
| clsDesign::clsDesign | ( | string | nm | ) |
constructor
| clsDesign::~clsDesign | ( | ) |
destructor
| string clsDesign::getName | ( | ) | const [inline] |
gets design name
| bool clsDesign::addCir | ( | string | nm | ) |
adds circuit to the design
| clsCircuit* clsDesign::findCir | ( | string | nm | ) | [inline] |
serches for a circuit to be stored in clsDesign::mapCir
| map<string, clsCircuit>::iterator clsDesign::getMapCirBegin | ( | ) | [inline] |
returns beginning of clsDesign::mapCir
| map<string, clsCircuit>::iterator clsDesign::getMapCirEnd | ( | ) | [inline] |
returns end of clsDesign::mapCir
| bool clsDesign::addModType | ( | string | nm | ) |
adds module-type to the design
| clsModuleType * clsDesign::findModType | ( | string | nm | ) |
searches for a module-type to be stored in clsDesign::mapModType
| void clsDesign::syncModWithType | ( | clsModule * | mptr | ) |
synchronizes module with parameters (interface, constants, bit-widths, transparency parameters etc.) of its type
| void clsDesign::dump_info | ( | ) |
sends information about design and its component to stdout
| void clsDesign::evalArea | ( | ) | [inline] |
estimates area of the design
| int clsDesign::getArea | ( | ) | [inline] |
returns estimation of design area
| void clsDesign::evalPower | ( | ) | [inline] |
estimates peak power-consumption of the design
| int clsDesign::getPower | ( | ) | [inline] |
returns estimation of peak power consumption of the design
| void clsDesign::export_TAresults_txt | ( | string | fname | ) |
not implemented yet
| void clsDesign::implementDft | ( | string | cir = "" |
) |
function used to implement design-for-testability technique(s) into the design/circuit.
| void clsDesign::deimplement_changes | ( | string | cir = "" |
) |
function used to return design/circuit structure to its original state
string clsDesign::name [private] |
design name
map<string, clsCircuit> clsDesign::mapCir [private] |
map of all circuits within design
map<string, clsModuleType> clsDesign::mapModType [private] |
map of all module-types used in design scope
int clsDesign::area [private] |
estimated worst-case area value (for update, call clsDesign::getArea) of the design
int clsDesign::power [private] |
estimated power-consumption value (for update, call clsDesign::getPower) of the design
1.5.6