#include "sysc/kernel/sc_cmnhdr.h"
#include <climits>
#include "sysc/utils/sc_iostream.h"
#include "sysc/kernel/sc_constants.h"
#include "sysc/utils/sc_string.h"
ネームスペース | |
namespace | sc_dt |
マクロ定義 | |
#define | SC_DT_MIXED_COMMA_OPERATORS |
#define | SC_NEG -1 |
#define | SC_ZERO 0 |
#define | SC_POS 1 |
#define | SC_NOSIGN 2 |
#define | BITS_PER_BYTE 8 |
#define | BYTE_RADIX 256 |
#define | BYTE_MASK 255 |
#define | LOG2_BITS_PER_BYTE 3 |
#define | BYTES_PER_DIGIT_TYPE 4 |
#define | BITS_PER_DIGIT_TYPE 32 |
#define | BYTES_PER_DIGIT 4 |
#define | BITS_PER_DIGIT 30 |
#define | DIGIT_RADIX (1ul << BITS_PER_DIGIT) |
#define | DIGIT_MASK (DIGIT_RADIX - 1) |
#define | BITS_PER_HALF_DIGIT (BITS_PER_DIGIT / 2) |
#define | HALF_DIGIT_RADIX (1ul << BITS_PER_HALF_DIGIT) |
#define | HALF_DIGIT_MASK (HALF_DIGIT_RADIX - 1) |
#define | DIV_CEIL2(x, y) (((x) - 1) / (y) + 1) |
#define | DIV_CEIL(x) DIV_CEIL2(x, BITS_PER_DIGIT) |
#define | BITS_PER_CHAR 8 |
#define | BITS_PER_INT 32 |
#define | BITS_PER_LONG 32 |
#define | BITS_PER_INT64 64 |
#define | BITS_PER_UINT 32 |
#define | BITS_PER_ULONG 32 |
#define | BITS_PER_UINT64 64 |
#define | DIGITS_PER_CHAR 1 |
#define | DIGITS_PER_INT 2 |
#define | DIGITS_PER_LONG 2 |
#define | DIGITS_PER_INT64 3 |
#define | DIGITS_PER_UINT 2 |
#define | DIGITS_PER_ULONG 2 |
#define | DIGITS_PER_UINT64 3 |
#define | LLWIDTH BITS_PER_INT64 |
#define | INTWIDTH BITS_PER_INT |
#define | SC_INTWIDTH 64 |
型定義 | |
typedef unsigned char | sc_dt::uchar |
typedef int | sc_dt::small_type |
typedef long long | sc_dt::int64 |
typedef unsigned long long | sc_dt::uint64 |
typedef ::std::ios::fmtflags | sc_dt::fmtflags |
typedef int64 | sc_dt::int_type |
typedef uint64 | sc_dt::uint_type |
#define BITS_PER_BYTE 8 |
#define BITS_PER_CHAR 8 |
#define BITS_PER_DIGIT 30 |
#define BITS_PER_DIGIT_TYPE 32 |
#define BITS_PER_HALF_DIGIT (BITS_PER_DIGIT / 2) |
#define BITS_PER_INT 32 |
#define BITS_PER_INT64 64 |
#define BITS_PER_LONG 32 |
#define BITS_PER_UINT 32 |
#define BITS_PER_UINT64 64 |
#define BITS_PER_ULONG 32 |
#define BYTE_MASK 255 |
#define BYTE_RADIX 256 |
#define BYTES_PER_DIGIT 4 |
#define BYTES_PER_DIGIT_TYPE 4 |
#define DIGIT_MASK (DIGIT_RADIX - 1) |
#define DIGIT_RADIX (1ul << BITS_PER_DIGIT) |
#define DIGITS_PER_CHAR 1 |
#define DIGITS_PER_INT 2 |
#define DIGITS_PER_INT64 3 |
#define DIGITS_PER_LONG 2 |
#define DIGITS_PER_UINT 2 |
#define DIGITS_PER_UINT64 3 |
#define DIGITS_PER_ULONG 2 |
#define DIV_CEIL | ( | x | ) | DIV_CEIL2(x, BITS_PER_DIGIT) |
#define DIV_CEIL2 | ( | x, | |||
y | ) | (((x) - 1) / (y) + 1) |
#define HALF_DIGIT_MASK (HALF_DIGIT_RADIX - 1) |
#define HALF_DIGIT_RADIX (1ul << BITS_PER_HALF_DIGIT) |
#define INTWIDTH BITS_PER_INT |
#define LLWIDTH BITS_PER_INT64 |
#define LOG2_BITS_PER_BYTE 3 |
#define SC_DT_MIXED_COMMA_OPERATORS |
#define SC_INTWIDTH 64 |
#define SC_NEG -1 |
#define SC_NOSIGN 2 |
#define SC_POS 1 |
#define SC_ZERO 0 |