gem5  v20.1.0.0
Public Types | List of all members
O3CPUImpl Struct Reference

Implementation specific struct that defines several key types to the CPU, the stages within the CPU, the time buffers, and the DynInst. More...

#include <impl.hh>

Public Types

enum  { MaxWidth = 8, MaxThreads = 4 }
 
typedef TheISA::MachInst MachInst
 The type of MachInst. More...
 
typedef SimpleCPUPolicy< O3CPUImplCPUPol
 The CPU policy to be used, which defines all of the CPU stages. More...
 
typedef BaseO3DynInst< O3CPUImplDynInst
 The DynInst type to be used. More...
 
typedef RefCountingPtr< DynInstDynInstPtr
 The refcounted DynInst pointer to be used. More...
 
typedef RefCountingPtr< const DynInstDynInstConstPtr
 
typedef FullO3CPU< O3CPUImplO3CPU
 The O3CPU type to be used. More...
 
typedef O3CPU CPUType
 Same typedef, but for CPUType. More...
 

Detailed Description

Implementation specific struct that defines several key types to the CPU, the stages within the CPU, the time buffers, and the DynInst.

The struct defines the ISA, the CPU policy, the specific DynInst, the specific O3CPU, and all of the structs from the time buffers to do communication. This is one of the key things that must be defined for each hardware specific CPU implementation.

Definition at line 50 of file impl.hh.

Member Typedef Documentation

◆ CPUPol

The CPU policy to be used, which defines all of the CPU stages.

Definition at line 56 of file impl.hh.

◆ CPUType

Same typedef, but for CPUType.

BaseDynInst may not always use an O3 CPU, so it's clearer to call it CPUType instead in that case.

Definition at line 74 of file impl.hh.

◆ DynInst

The DynInst type to be used.

Definition at line 59 of file impl.hh.

◆ DynInstConstPtr

Definition at line 65 of file impl.hh.

◆ DynInstPtr

The refcounted DynInst pointer to be used.

In most cases this is what should be used, and not DynInst *.

Definition at line 64 of file impl.hh.

◆ MachInst

typedef TheISA::MachInst O3CPUImpl::MachInst

The type of MachInst.

Definition at line 53 of file impl.hh.

◆ O3CPU

The O3CPU type to be used.

Definition at line 68 of file impl.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MaxWidth 
MaxThreads 

Definition at line 76 of file impl.hh.


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

Generated on Wed Sep 30 2020 14:02:28 for gem5 by doxygen 1.8.17