Skip to content

Class simtix::pipelined::CommitStage

ClassList > simtix > pipelined > CommitStage

Commit the instruction. More...

  • #include <commit_stage.h>

Public Functions

Type Name
void Commit ()
Perform the Commit stage operations.
CommitStage (PipelinedSMImpl * sm, const PipelinedSM::Param & p)
Constructor of CommitStage .
void Reset ()
Reset the commit stage.
~CommitStage () = default

Protected Attributes

Type Name
std::vector< InstrPtr > commit_buf_
sim::SizedQueue< uint32_t > free_commit_buf_ids_
const uint32_t kCommitWidth
std::vector< uint32_t > pending_commit_buf_ids_
PipelinedSMImpl *const sm_

Protected Functions

Type Name
void AcceptPendingCommitRequests ()
Move instruction from commit queue to free commit buffers.
void RetireReadyCommitReqeusts ()
Retire committed instruction and free resourses.

Detailed Description

This CommitStage is responsible for committing instructions to update the warp information.

Public Functions Documentation

function Commit

Perform the Commit stage operations.

void simtix::pipelined::CommitStage::Commit () 

Commit the instruction.


function CommitStage

Constructor of CommitStage .

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

Parameters:

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

function Reset

Reset the commit stage.

void simtix::pipelined::CommitStage::Reset () 

Clear all instructions bufferd in this stage.


function ~CommitStage

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

Protected Attributes Documentation

variable commit_buf_

std::vector<InstrPtr> simtix::pipelined::CommitStage::commit_buf_;

variable free_commit_buf_ids_

sim::SizedQueue<uint32_t> simtix::pipelined::CommitStage::free_commit_buf_ids_;

variable kCommitWidth

const uint32_t simtix::pipelined::CommitStage::kCommitWidth;

variable pending_commit_buf_ids_

std::vector<uint32_t> simtix::pipelined::CommitStage::pending_commit_buf_ids_;

variable sm_

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

Protected Functions Documentation

function AcceptPendingCommitRequests

Move instruction from commit queue to free commit buffers.

void simtix::pipelined::CommitStage::AcceptPendingCommitRequests () 


function RetireReadyCommitReqeusts

Retire committed instruction and free resourses.

void simtix::pipelined::CommitStage::RetireReadyCommitReqeusts () 



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