39 RequestPtr new_req = std::make_shared<Request>(
40 old_req->getPaddr(), old_req->getSize(), old_req->getFlags(),
id);
47 p.target->getRequestorId(this)),
49 p.source->getRequestorId(this))
55 if (if_name ==
"source_port")
57 else if (if_name ==
"target_port")
virtual std::string name() const
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
RequestPtr req
A pointer to the original request.
Ports are used to interface objects to each other.
Abstract superclass for simulation objects.
PacketData replaceReqID(PacketPtr pkt)
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
SysBridgeTargetPort targetPort
SysBridge(const SysBridgeParams &p)
SysBridgeSourcePort sourcePort
virtual Port & getPort(const std::string &if_name, PortID idx=InvalidPortID)
Get a port with a given name and index.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::shared_ptr< Request > RequestPtr
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.