Go to the documentation of this file.
45 #ifndef __CPU_MINOR_PIPELINE_HH__
46 #define __CPU_MINOR_PIPELINE_HH__
54 #include "params/MinorCPU.hh"
MinorCPU::MinorCPUPort & getDataPort()
Return the DcachePort belonging to Execute for the CPU.
MinorActivityRecorder * getActivityRecorder()
To give the activity recorder to the CPU.
MinorActivityRecorder activityRecorder
Activity recording for the pipeline.
This stage receives lines of data from Fetch1, separates them into instructions and passes them to De...
int16_t ThreadID
Thread index/ID type.
StageId
Enumerated ids of the 'stages' for the activity recorder.
bool drain()
Try to drain the CPU.
bool isDrained()
Test to see if the CPU is drained.
Latch< ForwardLineData > f1ToF2
Wraps a MinorBuffer with Input/Output interfaces to ensure that units within the model can only see t...
bool needToSignalDrained
True after drain is called but draining isn't complete.
Latch< ForwardInstData > f2ToD
A stage responsible for fetching "lines" from memory and passing them to Fetch2.
ActivityRecorder with a Ticked interface.
Latch< BranchData > f2ToF1
bool allow_idling
Allow cycles to be skipped when the pipeline is idle.
MinorCPU is an in-order CPU model with four fixed pipeline stages:
The constructed pipeline.
Ticked attaches gem5's event queue/scheduler to evaluate calls and provides a start/stop interface to...
Pipeline(MinorCPU &cpu_, MinorCPUParams ¶ms)
Latch< BranchData > eToF1
Provide a non-protected base class for Minor's Ports as derived classes are created by Fetch1 and Exe...
Latch< ForwardInstData > dToE
void evaluate() override
A custom evaluate allows report in the right place (between stages and pipeline advance)
void wakeupFetch(ThreadID tid)
Wake up the Fetch unit.
MinorCPU::MinorCPUPort & getInstPort()
Functions below here are BaseCPU operations passed on to pipeline stages.
Generated on Wed Sep 30 2020 14:02:08 for gem5 by doxygen 1.8.17