|
OpenASIP 2.2
|
#include <Signal.hh>

Public Member Functions | |
| Signal () | |
| Signal (SignalType type, ActiveState activeState=ActiveState::HIGH) | |
| virtual | ~Signal () |
| SignalType | type () const |
| ActiveState | activeState () const |
| bool | operator== (SignalType type) const |
| bool | operator== (const Signal &other) const |
Private Attributes | |
| SignalType | type_ = SignalType::UNDEFINED |
| Signal purpose type id. | |
| ActiveState | activeState_ = ActiveState::HIGH |
| The active state of the signal. | |
| ProGe::Signal::Signal | ( | SignalType | type, |
| ActiveState | activeState = ActiveState::HIGH |
||
| ) |
Definition at line 41 of file Signal.cc.
| ActiveState ProGe::Signal::activeState | ( | ) | const |
Returns state in where the signal is considered to be active.
Definition at line 63 of file Signal.cc.
References activeState_.
Referenced by ProGe::Netlist::connect().
|
inline |
Definition at line 59 of file Signal.hh.
References activeState_, and type_.
|
inline |
| SignalType ProGe::Signal::type | ( | ) | const |
Returns signal's purpose specified in the comments of SignalType definition.
Definition at line 55 of file Signal.cc.
References type_.
Referenced by ProGe::NetlistPort::clone(), ProGe::NetlistPortGroup::clone(), ProGe::BaseNetlistBlock::hasPortsBy(), ProGe::BaseNetlistBlock::portsBy(), and ProGe::PortFactory::registerPort().
|
private |
The active state of the signal.
Definition at line 71 of file Signal.hh.
Referenced by activeState(), and operator==().
|
private |
Signal purpose type id.
Definition at line 69 of file Signal.hh.
Referenced by operator==(), operator==(), and type().