Renamed simX to simx

This commit is contained in:
Santosh Srivatsan
2021-12-10 16:57:29 -05:00
parent be499d6f38
commit e7bc436b52
17 changed files with 3962 additions and 0 deletions

27
sim/simx/types.h Normal file
View File

@@ -0,0 +1,27 @@
#pragma once
#include <stdint.h>
#include <bitset>
#include <VX_config.h>
namespace vortex {
typedef uint8_t Byte;
typedef uint32_t Word;
typedef int32_t WordI;
// simx64
typedef uint64_t DoubleWord;
typedef int64_t DoubleWordI;
// simx64
typedef uint64_t Addr;
typedef uint64_t Size;
typedef std::bitset<32> RegMask;
typedef std::bitset<32> ThreadMask;
typedef std::bitset<32> WarpMask;
}