torc-master
|
Represents the portDelay attribute on Port or PortReference. More...
#include <PortDelay.hpp>
Public Types | |
enum | Type { eTypeDelay, eTypeLoadDelay } |
Public Member Functions | |
const Derivation | getDerivation () const |
void | setDerivation (const Derivation &inSource) |
const PortDelay::Type | getType () const |
void | setType (Type inSource) |
const Value::MiNoMax | getDelay () const |
void | setDelay (const Value::MiNoMax &inSource) |
const Value::MiNoMax | getAcLoad () const |
void | setAcLoad (const Value::MiNoMax &inSource) |
const LogicElementSharedPtr | getTransition () const |
void | setTransition (const LogicElementSharedPtr &inSource) |
PortDelay () | |
~PortDelay () throw () | |
PortDelay (const PortDelay &source) | |
PortDelay & | operator= (const PortDelay &source) |
Private Attributes | |
Derivation | mDerivation |
Type | mType |
Value::MiNoMax | mDelay |
Value::MiNoMax | mAcLoad |
LogicElementSharedPtr | mTransition |
Represents the portDelay attribute on Port or PortReference.
The Portdelay class stores the delay inSource for a port. Currently it supports storing only static delay values. Load dependent delay inSource support (using the loadDelay construct) is not present.
Definition at line 36 of file PortDelay.hpp.
torc::generic::PortDelay::PortDelay | ( | ) |
Definition at line 50 of file PortDelay.cpp.
torc::generic::PortDelay::~PortDelay | ( | ) | ||
throw | ( | |||
) |
Definition at line 53 of file PortDelay.cpp.
torc::generic::PortDelay::PortDelay | ( | const PortDelay & | source | ) |
Definition at line 55 of file PortDelay.cpp.
|
inline |
Get the AcLoad value. This is valid when value type is loadDelay
Definition at line 152 of file PortDelay.hpp.
|
inline |
Get delay
Definition at line 148 of file PortDelay.hpp.
|
inline |
Get derivation
Definition at line 140 of file PortDelay.hpp.
|
inline |
Get the pointer to logic state value(transition/becomes).
Definition at line 161 of file PortDelay.hpp.
|
inline |
Get whether value is delay or loadDelay
Definition at line 144 of file PortDelay.hpp.
Definition at line 59 of file PortDelay.cpp.
void torc::generic::PortDelay::setAcLoad | ( | const Value::MiNoMax & | inSource | ) |
void torc::generic::PortDelay::setDelay | ( | const Value::MiNoMax & | inSource | ) |
void torc::generic::PortDelay::setDerivation | ( | const Derivation & | inSource | ) |
Set derivation
[in] | inSource | Derivation inSource |
Definition at line 30 of file PortDelay.cpp.
void torc::generic::PortDelay::setTransition | ( | const LogicElementSharedPtr & | inSource | ) |
Set the pointer to logic state value(transition/becomes).
[in] | inSource | Pointer to logic state value(transition/becomes). |
Definition at line 46 of file PortDelay.cpp.
void torc::generic::PortDelay::setType | ( | Type | inSource | ) |
Set whether value is delay or loadDelay
[in] | inSource | Type of data |
Definition at line 34 of file PortDelay.cpp.
|
private |
Definition at line 136 of file PortDelay.hpp.
|
private |
Definition at line 135 of file PortDelay.hpp.
|
private |
Definition at line 133 of file PortDelay.hpp.
|
private |
Definition at line 137 of file PortDelay.hpp.
|
private |
Definition at line 134 of file PortDelay.hpp.