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

Contains the description of the class PortTerminator. More...

#include <vector>
#include "mem/port.hh"
#include "params/PortTerminator.hh"
#include "sim/sim_object.hh"

Go to the source code of this file.

Classes

class  gem5::PortTerminator
 
class  gem5::PortTerminator::ReqPort
 definition of the ReqPort class. More...
 
class  gem5::PortTerminator::RespPort
 definition of the RespPort class. More...
 

Namespaces

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

Detailed Description

Contains the description of the class PortTerminator.

It is useful for cases where you do not need to connect all of the ports in your system, but the simulator is complaining about orphan ports. For example if you have configured a cache hierarchy and want to test its performance using PyTrafficGen, you will end up with an icache that is not connected to any other component in the system. In this case you can just connect that port to this object. This object will not issue any request or respond to any request. It is neccessary to make sure the ports that are connected to a PortTerminator are never going to be used in your system.

Definition in file port_terminator.hh.


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