amba_pv::signal_master_port< STATE, N, POL > Class Template Reference
Inherits
amba_pv::signal_if< STATE >.
Detailed Description
template<typename STATE, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
class amba_pv::signal_master_port< STATE, N, POL >
Signal port to be instantiated on the master side.
This port is for use as a master port bound to one or more slave exports.
signal_master_port provides an implementation of the signal_if interface.
- Parameters:
| STATE | signal state type. |
| N | number of bindings. |
| POL | port binding policy. |
|
Public Member Functions |
| | signal_master_port () |
| | Default constructor.
|
| | signal_master_port (const char *) |
| | Parameterized constructor.
|
| virtual const char * | kind () const |
| | Returns the kind string of this port.
|
| virtual void | set_state (int, const STATE &) |
| | Transfers a signal state.
|
| void | set_state (const STATE &) |
| | Transfers a signal state.
|
Constructor & Destructor Documentation
template<typename STATE, int N, sc_core::sc_port_policy POL>
template<typename STATE, int N, sc_core::sc_port_policy POL>
Parameterized constructor.
- Parameters:
Member Function Documentation
template<typename STATE, int N, sc_core::sc_port_policy POL>
Returns the kind string of this port.
template<typename STATE, int N, sc_core::sc_port_policy POL>
template<typename STATE, int N, sc_core::sc_port_policy POL>
Transfers a signal state.
- Parameters: