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(long) , DIGITS_N = SC_DIGIT_COUNT(ACTUAL_WIDTH) , HOD = SC_DIGIT_INDEX(ACTUAL_WIDTH-1) , WIDTH = ACTUAL_WIDTH , SIGNED = 1 } |
Public Member Functions | |
ScNativeDigits (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 203 of file sc_vector_utils.h.
anonymous enum |
Enumerator | |
---|---|
ACTUAL_WIDTH | |
DIGITS_N | |
HOD | |
WIDTH | |
SIGNED |
Definition at line 206 of file sc_vector_utils.h.
|
inline |
Definition at line 215 of file sc_vector_utils.h.
|
inline |
Definition at line 223 of file sc_vector_utils.h.
|
inline |
Definition at line 225 of file sc_vector_utils.h.
|
inline |
Definition at line 224 of file sc_vector_utils.h.
|
inline |
Definition at line 226 of file sc_vector_utils.h.
|
inline |
Definition at line 227 of file sc_vector_utils.h.
|
inline |
Definition at line 228 of file sc_vector_utils.h.
|
inline |
Definition at line 229 of file sc_vector_utils.h.
|
protected |
Definition at line 231 of file sc_vector_utils.h.