gem5 v24.0.0.0
Loading...
Searching...
No Matches
external_master.hh File Reference

ExternalMaster is a memory object representing a binding from a gem5 responder to a request port in a system external to gem5. More...

#include "mem/port.hh"
#include "params/ExternalMaster.hh"
#include "sim/sim_object.hh"

Go to the source code of this file.

Classes

class  gem5::ExternalMaster
 
class  gem5::ExternalMaster::ExternalPort
 Derive from this class to create an external port interface. More...
 
class  gem5::ExternalMaster::Handler
 

Namespaces

namespace  gem5
 Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
 

Detailed Description

ExternalMaster is a memory object representing a binding from a gem5 responder to a request port in a system external to gem5.

During initialisation, a ‘handler’ for the port type specified in the port's port_type parameter is found from the registered port handlers provided with registerHandler. Once a handler is found, it is passed the port_data parameter of the port which can be used to identify the external port which is to be bound to. A port handler will usually construct a bridge object in the external system to accomodate the port-to-port mapping but this bridge is not exposed to gem5 other than be the presentation of the RequestPort which can be bound.

The external port must provide a gem5 RequestPort interface.

Definition in file external_master.hh.


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0