SystemC 3.0.0
Accellera SystemC proof-of-concept library
|
#include <sysc/datatypes/int/sc_vector_utils.h>
Public Types | |
enum | { ACTUAL_WIDTH = 8*sizeof(unsigned long)+1 , DIGITS_N = SC_DIGIT_COUNT(ACTUAL_WIDTH) , HOD = SC_DIGIT_INDEX(ACTUAL_WIDTH-1) , WIDTH = ACTUAL_WIDTH-1 , SIGNED = 0 } |
Public Member Functions | |
ScNativeDigits (unsigned long init) | |
int | get_actual_length () const |
const sc_digit * | get_digits () const |
sc_digit * | get_digits () |
int | get_digits_n () const |
int | get_hod () const |
int | is_signed () const |
int | length () const |
Protected Attributes | |
sc_digit | m_digits [DIGITS_N] |
Definition at line 235 of file sc_vector_utils.h.
anonymous enum |
Enumerator | |
---|---|
ACTUAL_WIDTH | |
DIGITS_N | |
HOD | |
WIDTH | |
SIGNED |
Definition at line 238 of file sc_vector_utils.h.
|
inline |
Definition at line 247 of file sc_vector_utils.h.
|
inline |
Definition at line 256 of file sc_vector_utils.h.
|
inline |
Definition at line 258 of file sc_vector_utils.h.
|
inline |
Definition at line 257 of file sc_vector_utils.h.
|
inline |
Definition at line 259 of file sc_vector_utils.h.
|
inline |
Definition at line 260 of file sc_vector_utils.h.
|
inline |
Definition at line 261 of file sc_vector_utils.h.
|
inline |
Definition at line 262 of file sc_vector_utils.h.
|
protected |
Definition at line 264 of file sc_vector_utils.h.