Started simX

This commit is contained in:
felsabbagh3
2019-11-10 01:21:09 -05:00
parent ea7bd485ca
commit fbf708e419
192 changed files with 28093 additions and 368 deletions

33
simX/include/trace.h Normal file
View 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;
}