|
- A Logic Circuit Simulation Library in C++ |
#include <delbuspair.h>
See lcs::Bus::operator= for more information on incorporating assignment delays.
Public Member Functions | |
| DelayBusPair (unsigned int delay, const InputBus< w > &bus) | |
| DelayBusPair (const DelayBusPair< w > &obj) | |
| ~DelayBusPair () | |
| unsigned int | getDelay (void) const |
| const InputBus< w > | getBus () const |
| lcs::DelayBusPair< w >::DelayBusPair | ( | unsigned int | delay, | |
| const InputBus< w > & | bus | |||
| ) | [inline] |
The only usefull constructor.
| delay | The delay associated with the pair | |
| bus | The bus associated with the pair |
| lcs::DelayBusPair< w >::DelayBusPair | ( | const DelayBusPair< w > & | obj | ) | [inline] |
The copy constructor
| lcs::DelayBusPair< w >::~DelayBusPair | ( | ) | [inline] |
Destructor.
| const InputBus<w> lcs::DelayBusPair< w >::getBus | ( | ) | const [inline] |
Returns the bus associated with the delay-bus pair.
| unsigned int lcs::DelayBusPair< w >::getDelay | ( | void | ) | const [inline] |
Returns the delay associated with the delay-bus pair.