|
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 int)+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 () |
| int | is_signed () |
| int | length () |
Protected Attributes | |
| sc_digit | m_digits [DIGITS_N] |
Definition at line 296 of file sc_vector_utils.h.
| anonymous enum |
| Enumerator | |
|---|---|
| ACTUAL_WIDTH | |
| DIGITS_N | |
| HOD | |
| WIDTH | |
| SIGNED | |
Definition at line 299 of file sc_vector_utils.h.
|
inline |
Definition at line 308 of file sc_vector_utils.h.
|
inline |
Definition at line 313 of file sc_vector_utils.h.
|
inline |
Definition at line 315 of file sc_vector_utils.h.
|
inline |
Definition at line 314 of file sc_vector_utils.h.
|
inline |
Definition at line 316 of file sc_vector_utils.h.
|
inline |
Definition at line 317 of file sc_vector_utils.h.
|
inline |
Definition at line 318 of file sc_vector_utils.h.
|
inline |
Definition at line 319 of file sc_vector_utils.h.
|
protected |
Definition at line 321 of file sc_vector_utils.h.