|
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(int) , DIGITS_N = SC_DIGIT_COUNT(ACTUAL_WIDTH) , HOD = SC_DIGIT_INDEX(ACTUAL_WIDTH-1) , WIDTH = ACTUAL_WIDTH , SIGNED = 1 } |
Public Member Functions | |
| ScNativeDigits (int 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 | length () const |
| int | is_signed () const |
Protected Attributes | |
| sc_digit | m_digits [DIGITS_N] |
Definition at line 268 of file sc_vector_utils.h.
| anonymous enum |
| Enumerator | |
|---|---|
| ACTUAL_WIDTH | |
| DIGITS_N | |
| HOD | |
| WIDTH | |
| SIGNED | |
Definition at line 271 of file sc_vector_utils.h.
|
inline |
Definition at line 280 of file sc_vector_utils.h.
|
inline |
Definition at line 284 of file sc_vector_utils.h.
|
inline |
Definition at line 286 of file sc_vector_utils.h.
|
inline |
Definition at line 285 of file sc_vector_utils.h.
|
inline |
Definition at line 287 of file sc_vector_utils.h.
|
inline |
Definition at line 288 of file sc_vector_utils.h.
|
inline |
Definition at line 290 of file sc_vector_utils.h.
|
inline |
Definition at line 289 of file sc_vector_utils.h.
|
protected |
Definition at line 292 of file sc_vector_utils.h.