Skip to content

Class simtix::pipelined::OperandCollectStage

ClassList > simtix > pipelined > OperandCollectStage

Collect operand from banked register file. More...

  • #include <operand_collect_stage.h>

Public Functions

Type Name
void OperandCollect ()
Perform the operand collect stage operations.
OperandCollectStage (PipelinedSMImpl * sm, const PipelinedSM::Param & p)
Constructor of OperandCollectStage .
void Reset ()
Reset the operand collect stage.
~OperandCollectStage () = default

Protected Attributes

Type Name
sim::SizedQueue< InstrPtr > collect_buf_
const uint32_t kOperandCollectWidth
PipelinedSMImpl *const sm_

Protected Functions

Type Name
void AcceptPendingCollectReqeusts ()
void ExecuteOperandCollectedRequests ()

Detailed Description

This stage is responsible for collecting operand and forwarding instruction to execution stage.

Public Functions Documentation

function OperandCollect

Perform the operand collect stage operations.

void simtix::pipelined::OperandCollectStage::OperandCollect () 

Collect operand from registers and issue the instruction to execution stage.


function OperandCollectStage

Constructor of OperandCollectStage .

simtix::pipelined::OperandCollectStage::OperandCollectStage (
    PipelinedSMImpl * sm,
    const PipelinedSM::Param & p
) 

Parameters:

  • sm Pointer to the PipelinedSMImpl instance.
  • p Pipeline configuration parameters from pipeline.h.

function Reset

Reset the operand collect stage.

void simtix::pipelined::OperandCollectStage::Reset () 

Clear all instructions bufferd in this stage.


function ~OperandCollectStage

simtix::pipelined::OperandCollectStage::~OperandCollectStage () = default

Protected Attributes Documentation

variable collect_buf_

sim::SizedQueue<InstrPtr> simtix::pipelined::OperandCollectStage::collect_buf_;

variable kOperandCollectWidth

const uint32_t simtix::pipelined::OperandCollectStage::kOperandCollectWidth;

variable sm_

PipelinedSMImpl* const simtix::pipelined::OperandCollectStage::sm_;

Protected Functions Documentation

function AcceptPendingCollectReqeusts

void simtix::pipelined::OperandCollectStage::AcceptPendingCollectReqeusts () 

function ExecuteOperandCollectedRequests

void simtix::pipelined::OperandCollectStage::ExecuteOperandCollectedRequests () 


The documentation for this class was generated from the following file projects/simtix/src/simtix/sm/pipelined/operand_collect_stage.h