| |||
| Home > The Cycle Accurate Debug Interface > Defining a CADI interface > CADI::CADIExecGetPipeStages() |
This is used to expose the pipe 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 target’s list of pipe stages.
actualNumOfPipeStagesis the number of stages actually returned to the caller.
pipeStagesis the list of pipestages 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.
desiredNumOfPipeStagesis the number of spaces available to fill. The target must not fill more than this number of elements in the pipestage array.