Started simX
This commit is contained in:
33
simX/include/trace.h
Normal file
33
simX/include/trace.h
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Harp {
|
||||
|
||||
typedef struct
|
||||
{
|
||||
// Warp step
|
||||
bool valid_inst;
|
||||
unsigned pc;
|
||||
|
||||
// Core scheduler
|
||||
int wid;
|
||||
|
||||
// Encoder
|
||||
int rs1;
|
||||
int rs2;
|
||||
int rd;
|
||||
|
||||
// Instruction execute
|
||||
bool is_lw;
|
||||
bool is_sw;
|
||||
unsigned * mem_addresses;
|
||||
|
||||
// dmem interface
|
||||
int mem_stall_cycles;
|
||||
int fetch_stall_cycles;
|
||||
|
||||
// Instruction execute
|
||||
bool stall_warp;
|
||||
} trace_inst_t;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user