| |||
Home > Data Structures Used by the CADI Interface > Pipelines > CADIPipeStage_t |
An object of type CADIPipeStage_t
describes
a single pipe stage. The definition is as listed in Example B.34:
Example B.34. CADIPipeStage_t
struct CADIPipeStage_t { public: // methods CADIPipeStage_t(uint32_t id_par = 0, const char *name_par = "", uint32_t pc_par = CADI_INVALID_REGISTER_ID, uint32_t contentInfoRegisterId_par = CADI_INVALID_REGISTER_ID) : id(id_par), pc(pc_par), contentInfoRegisterId(contentInfoRegisterId_par) { AssignString(name, name_par, sizeof(name)); } public: // data uint32_t id; char name[CADI_NAME_SIZE]; uint32_t pc; uint32_t contentInfoRegisterId; };
Where:
id
is the ID.
name
is the stage name.
pc
is the register ID that holds the address of the instruction.
contentInfoRegisterId
is the register id that holds the current content
info for this pipe stage. The values of this register correspond
to the CADIPipeStageContentInfo_t
enumeration.