simX refactoring + removed oldRTL + CSR updates

This commit is contained in:
Blaise Tine
2021-02-06 12:52:54 -08:00
parent 111cc29482
commit 6c1dc96626
131 changed files with 4014 additions and 12138 deletions

39
simX/trace.h Normal file
View File

@@ -0,0 +1,39 @@
#pragma once
namespace vortex {
struct trace_inst_t {
// Warp step
bool valid_inst;
unsigned pc;
// Core scheduler
int wid;
// Encoder
int rs1;
int rs2;
int rd;
//Encoder
int vs1;
int vs2;
int vd;
// Instruction execute
bool is_lw;
bool is_sw;
unsigned * mem_addresses;
// dmem interface
unsigned long mem_stall_cycles;
unsigned long fetch_stall_cycles;
// Instruction execute
bool stall_warp;
bool wspawn;
bool stalled;
};
}