#include <model.h>
Public Member Functions | |
clsBit (int bn, int nt, bool orig=true) | |
~clsBit () | |
constructor | |
bool | operator< (clsBit const &c) const |
destructor | |
bool | operator!= (clsBit c) const |
definition of the '!=' operator over class objects | |
bool | operator* (clsBit const &c) const |
definition of the '*' operator over class objects | |
int | getNumber () const |
gets bit's number within the port | |
int | getType () const |
gets bit's type within the port | |
t_TAdata | getTAdata () const |
gets bit's number within the port | |
void | setTAdata (t_TAdata _ta_data) |
sets testability mark to a bit | |
void | clrTAdata () |
clears testability mark of a bit | |
void | evalTst () |
evaluates testability of a bit by means of controllability and observability | |
void | setOrig (bool v) |
sets originality flag of the object to v value | |
bool | getOrig () const |
gets value of object's originality flag | |
Private Attributes | |
int | bit_number |
bit number within port | |
int | node_type |
node type (see enum tNode) | |
bool | orig |
originality flag. Set to true for a bit originally present in the design | |
t_TAdata | ta_data |
bits are formed automatically after clsPort object is created. In clsPort object, bits are stored in map clsPort::mapBit.
clsBit::clsBit | ( | int | bn, | |
int | nt, | |||
bool | orig = true | |||
) |
[in] | bn | bit number within the port |
[in] | nt | bit type (see enum tNode) |
[in] | orig | originality flag (implicitly set to true) |
clsBit::~clsBit | ( | ) |
constructor
bool clsBit::operator< | ( | clsBit const & | c | ) | const [inline] |
destructor
definition of the '<' operator over class objects
bool clsBit::operator!= | ( | clsBit | c | ) | const [inline] |
definition of the '!=' operator over class objects
bool clsBit::operator* | ( | clsBit const & | c | ) | const [inline] |
definition of the '*' operator over class objects
int clsBit::getNumber | ( | ) | const [inline] |
gets bit's number within the port
int clsBit::getType | ( | ) | const [inline] |
gets bit's type within the port
t_TAdata clsBit::getTAdata | ( | ) | const [inline] |
gets bit's number within the port
void clsBit::setTAdata | ( | t_TAdata | _ta_data | ) | [inline] |
sets testability mark to a bit
void clsBit::clrTAdata | ( | ) | [inline] |
clears testability mark of a bit
void clsBit::evalTst | ( | ) | [inline] |
evaluates testability of a bit by means of controllability and observability
void clsBit::setOrig | ( | bool | v | ) | [inline] |
sets originality flag of the object to v value
bool clsBit::getOrig | ( | ) | const [inline] |
gets value of object's originality flag
int clsBit::bit_number [private] |
bit number within port
int clsBit::node_type [private] |
node type (see enum tNode)
bool clsBit::orig [private] |
originality flag. Set to true for a bit originally present in the design
t_TAdata clsBit::ta_data [private] |