Definition of vendor agnostic integer data types.
More...
Definition of vendor agnostic integer data types.
- Template Parameters
-
- Overview
- Wrapper to unify use of different integer implementation and simplify use of ac_int, sc_int and sc_bigint types
- Contains nvuint_t and nvint_t typedefs that conditionally map to ac_int or sc_int types based on CFLAG
- Specifying CFLAG HLS_CATAPULT typedefs ac_int to nvint, otherwise typedefs sc_int to nvint
- nvint also supports conditional typedef of sc_int and sc_bigint depending on bitwidth
- Simple macros to declare integers are defined in nvhls_types.h
- A Simple Example
#include <nvhls_int.h>
#include <nvhls_types.h>
...
template <int N>
}
...
nvhls_t< W >::nvuint_t get_slc(type X, const unsigned int i)
Function that returns slice of bits.
Definition of vendor agnostic integer data types.
Definition at line 336 of file nvhls_int.h.
The documentation for this struct was generated from the following file: