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

28
simX/types.h Normal file
View File

@@ -0,0 +1,28 @@
#pragma once
#include <stdint.h>
#include <VX_config.h>
namespace vortex {
typedef uint8_t Byte;
typedef uint32_t Word;
typedef uint32_t Word_u;
typedef int32_t Word_s;
typedef Word_u Addr;
typedef Word_u Size;
typedef unsigned RegNum;
typedef unsigned ThdNum;
enum MemFlags {
RD_USR = 1,
WR_USR = 2,
EX_USR = 4,
RD_SUP = 8,
WR_SUP = 16,
EX_SUP = 32
};
}