clsBit Class Reference

object of the class represents particular bit within module/circuit/design interface port More...

#include <model.h>

Collaboration diagram for clsBit:

Collaboration graph
[legend]

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

Detailed Description

object of the class represents particular bit within module/circuit/design interface port

bits are formed automatically after clsPort object is created. In clsPort object, bits are stored in map clsPort::mapBit.


Constructor & Destructor Documentation

clsBit::clsBit ( int  bn,
int  nt,
bool  orig = true 
)

Parameters:
[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


Member Function Documentation

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


Field Documentation

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


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

Generated on Mon Aug 25 08:39:24 2008 for TASTE by  doxygen 1.5.6