Compute power of 2 value greater than a given value.
More...
#include <nvhls_int.h>
template<
int n_val>
struct nvhls::next_pow2< n_val >
Compute power of 2 value greater than a given value.
- Template Parameters
-
n_val | Must be a constant <= 65536 |
- A Simple Example
#include <nvhls_int.h>
...
...
nvhls_t< W >::nvuint_t get_slc(type X, const unsigned int i)
Function that returns slice of bits.
Compute power of 2 value greater than a given value.
Definition at line 208 of file nvhls_int.h.
◆ anonymous enum
The documentation for this struct was generated from the following file: