| |||
| Home > Class Reference > The CADI class > CADI::CADIExecGetPipeStages() |
This is used to expose the pipeline stages simulated inside of a cycle-accurate simulation.
virtual CADIReturn_t CADI::CADIExecGetPipeStages(uint32_t startPipeStageIndex,
uint32_t desiredNumOfPipeStages,
uint32_t * actualNumOfPipeStages,
CADIPipeStage_t * pipeStages) =0;
where:
startPipeStageIndexis the index into the internal list of pipeline stages held by the target.
desiredNumOfPipeStagesis the number of entries to fill in the pipeStages array.
The target must not fill more than this number of elements.
actualNumOfPipeStagesis the number of stages actually returned to the caller.
pipeStagesis the list of pipe stages in order of execution
for a single instruction. pipestage[0] must contain
the first stage executed for any single instruction. The array is
allocated, and deallocated if applicable, by the caller to be filled
by the target.