class System(SimObject):
type = 'System'
cxx_header = "sim/system.hh"
- system_port = MasterPort("System port")
+ system_port = RequestPort("System port")
cxx_exports = [
PyBindMethod("getMemoryMode"),
* master for debug access and for non-structural entities that do
* not have a port of their own.
*/
- class SystemPort : public MasterPort
+ class SystemPort : public RequestPort
{
public:
* Create a system port with a name and an owner.
*/
SystemPort(const std::string &_name, SimObject *_owner)
- : MasterPort(_name, _owner)
+ : RequestPort(_name, _owner)
{ }
bool recvTimingResp(PacketPtr pkt) override
{ panic("SystemPort does not receive timing!\n"); return false; }
*
* @return a reference to the system port we own
*/
- MasterPort& getSystemPort() { return _systemPort; }
+ RequestPort& getSystemPort() { return _systemPort; }
/**
* Additional function to return the Port of a memory object.
system = Param.System(Parent.any, "system")
- gem5 = SlavePort('gem5 slave port')
+ gem5 = ResponsePort('gem5 slave port')
addr_ranges = VectorParam.AddrRange([],
'Addresses served by this port\'s TLM side')
system = Param.System(Parent.any, "system")
- gem5 = MasterPort('gem5 master port')
+ gem5 = RequestPort('gem5 master port')
class Gem5ToTlmBridge32(Gem5ToTlmBridgeBase):
class Gem5ToTlmBridge : public Gem5ToTlmBridgeBase
{
private:
- class BridgeSlavePort : public SlavePort
+ class BridgeSlavePort : public ResponsePort
{
protected:
Gem5ToTlmBridge<BITWIDTH> &bridge;
public:
BridgeSlavePort(const std::string &name_,
Gem5ToTlmBridge<BITWIDTH> &bridge_) :
- SlavePort(name_, nullptr), bridge(bridge_)
+ ResponsePort(name_, nullptr), bridge(bridge_)
{}
};
TlmSenderState(tlm::tlm_generic_payload &trans) : trans(trans) {}
};
- class BridgeMasterPort : public MasterPort
+ class BridgeMasterPort : public RequestPort
{
protected:
TlmToGem5Bridge<BITWIDTH> &bridge;
public:
BridgeMasterPort(const std::string &name_,
TlmToGem5Bridge<BITWIDTH> &bridge_) :
- MasterPort(name_, nullptr), bridge(bridge_)
+ RequestPort(name_, nullptr), bridge(bridge_)
{}
};