Go to the documentation of this file.
44 #ifndef __CPU_MINOR_FUNC_UNIT_HH__
45 #define __CPU_MINOR_FUNC_UNIT_HH__
51 #include "params/MinorFU.hh"
52 #include "params/MinorFUPool.hh"
53 #include "params/MinorOpClass.hh"
54 #include "params/MinorOpClassSet.hh"
218 typedef SelfStallingPipeline<QueuedInst,
MinorFUTiming(const MinorFUTimingParams *params)
std::vector< Cycles > srcRegsRelativeLats
Cycle offsets from the scoreboard delivery times of register values for each of this instruction's so...
void reportData(std::ostream &os) const
Report and bubble interfaces.
QueuedInst(MinorDynInstPtr inst_=MinorDynInst::bubble())
Extra timing capability to allow individual ops to have their source register dependency latencies tw...
std::bitset< Num_OpClasses > capabilityList
Set of operation classes supported by this FU.
Cycles nextInsertCycle
When can a new instruction be inserted into the pipeline? This is an absolute cycle time unless it is...
bool provides(OpClass op_class)
Does the extra decode in this object support the given op class.
bool canInsert() const
Can an instruction be inserted now?
std::vector< MinorFU * > funcUnits
std::string description
Textual description of the decode's purpose.
Cycles cyclesBeforeInsert()
How many cycles must from curCycle before insertion into the pipeline is allowed.
bool suppress
If true, instructions matching this mask/match should not be issued in this FU.
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
Cycles opLat
Delay from issuing the operation, to it reaching the end of the associated pipeline.
FUPipeline(const std::string &name, const MinorFU &description_, ClockedObject &timeSource_)
MinorOpClassSet(const MinorOpClassSetParams *params)
...ReportTraits are trait classes with the same functionality as ReportIF, but with elements explicit...
A pipeline simulating class that will stall (not advance when advance() is called) if a non-bubble va...
Cycles extraAssumedLat
Extra delay that results should show in the scoreboard after leaving the pipeline.
std::vector< bool > cantForwardFromFUIndices
FUs which this pipeline can't receive a forwarded (i.e.
static MinorDynInstPtr bubble()
There is a single bubble inst.
MinorFU(const MinorFUParams *params)
void advance()
Step the pipeline.
bool provides(OpClass op_class)
Does this set support the given op class.
std::vector< MinorOpClass * > opClasses
SelfStallingPipeline< QueuedInst, ReportTraitsAdaptor< QueuedInst > > FUPipelineBase
Functional units have pipelines which stall when an inst gets to their ends allowing Execute::commit ...
uint64_t mask
Mask off the ExtMachInst of an instruction before comparing with match.
std::vector< MinorFUTiming * > timings
Extra timing info to give timings to individual ops.
Cycles issueLat
Delay after issuing an operation before the next operation can be issued.
MinorOpClassSet * opClasses
Extra opClasses check (after the FU one)
MinorOpClass(const MinorOpClassParams *params)
MinorFUPool(const MinorFUPoolParams *params)
ClockedObject & timeSource
An FUPipeline needs access to curCycle, use this timing source.
const Params * params() const
static QueuedInst bubble()
A functional unit configured from a MinorFU object.
A functional unit that can execute any of opClasses operations with a single op(eration)Lat(ency) and...
Cycles extraCommitLat
Extra latency that the instruction should spend at the end of the pipeline.
Boxing for MinorOpClass to get around a build problem with C++11 but also allow for future additions ...
Cycles is a wrapper class for representing cycle counts, i.e.
Container class to box instructions in the FUs to make those queues have correct bubble behaviour whe...
const MinorFU & description
Functional unit description that this pipeline implements.
A collection of MinorFUs.
TimingExpr * extraCommitLatExpr
MinorOpClassSet * opClasses
Wrapper for a matchable set of op classes.
MinorFUTiming * findTiming(const StaticInstPtr &inst)
Find the extra timing information for this instruction.
std::vector< unsigned int > cantForwardFromFUIndices
FUs which this pipeline can't receive a forwarded (i.e.
std::vector< bool > capabilityList
Convenience packing of opClasses into a bit vector for easier testing.
Abstract superclass for simulation objects.
Generated on Wed Sep 30 2020 14:02:08 for gem5 by doxygen 1.8.17