gem5  v21.2.0.0
Public Types | Public Member Functions | Private Attributes | List of all members
sc_gem5::ScPortWrapper< IF > Class Template Reference

#include <sc_port_wrapper.hh>

Public Types

using ScPort = sc_core::sc_port_b< IF >
 

Public Member Functions

 ScPortWrapper (ScPort &p, const std::string &name, gem5::PortID id)
 
ScPortport ()
 
void unbind () override
 
void bind (gem5::Port &peer) override
 

Private Attributes

ScPortport_
 

Detailed Description

template<typename IF>
class sc_gem5::ScPortWrapper< IF >

Definition at line 45 of file sc_port_wrapper.hh.

Member Typedef Documentation

◆ ScPort

template<typename IF >
using sc_gem5::ScPortWrapper< IF >::ScPort = sc_core::sc_port_b<IF>

Definition at line 55 of file sc_port_wrapper.hh.

Constructor & Destructor Documentation

◆ ScPortWrapper()

template<typename IF >
sc_gem5::ScPortWrapper< IF >::ScPortWrapper ( ScPort p,
const std::string &  name,
gem5::PortID  id 
)
inline

Definition at line 57 of file sc_port_wrapper.hh.

Member Function Documentation

◆ bind()

template<typename IF >
void sc_gem5::ScPortWrapper< IF >::bind ( gem5::Port peer)
inlineoverride

◆ port()

template<typename IF >
ScPort& sc_gem5::ScPortWrapper< IF >::port ( )
inline

Definition at line 62 of file sc_port_wrapper.hh.

References sc_gem5::ScPortWrapper< IF >::port_.

◆ unbind()

template<typename IF >
void sc_gem5::ScPortWrapper< IF >::unbind ( )
inlineoverride

Definition at line 68 of file sc_port_wrapper.hh.

References panic.

Member Data Documentation

◆ port_

template<typename IF >
ScPort& sc_gem5::ScPortWrapper< IF >::port_
private

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

Generated on Tue Dec 21 2021 11:37:14 for gem5 by doxygen 1.8.17