Pipelineh Lab2
Pipelineh Lab2
#define _PIPELINE_H
#include <inttypes.h>
#include <stdio.h>
#include <assert.h>
#include "trace.h"
#include "bpred.h"
#define MAX_PIPE_WIDTH 8
/*********************************************************************
* Pipeline Class & Internal Structures
**********************************************************************/
/* Pipeline Latches */
typedef struct Pipeline_Latch_Struct {
bool valid;
uint64_t op_id;
bool stall;
Trace_Rec tr_entry;
bool is_mispred_cbr;
}Pipeline_Latch;
#endif