disasm/sim: changed interface, added readline to sim
[calu.git] / 3b_sim / cdat.hpp
1 #ifndef __CDAT_H__
2 #define __CDAT_H__
3
4 #include <string>
5 #include <sstream>
6
7 typedef __UINT32_TYPE__ CDat;
8 typedef __UINT64_TYPE__ CDatd;
9
10 #define BIT_LEN 32
11 static_assert(sizeof(CDat) == 4, "The size of the datatype for int is NOT 4 bytes (32 Bit!)");
12 static_assert(sizeof(CDatd) > 4, "The size of the datatype for double int is NOT bigger than 4 bytes (32 Bit!)");
13 #endif