MatchLib
All Classes Namespaces Files Functions Modules Pages
Public Types | List of all members
nvhls::next_pow2< n_val > Struct Template Reference

Compute power of 2 value greater than a given value. More...

#include <nvhls_int.h>

Public Types

enum  
 

Detailed Description

template<int n_val>
struct nvhls::next_pow2< n_val >

Compute power of 2 value greater than a given value.

Template Parameters
n_valMust be a constant <= 65536
A Simple Example
#include <nvhls_int.h>
...
const int N = 8;
...
nvhls_t< W >::nvuint_t get_slc(type X, const unsigned int i)
Function that returns slice of bits.
Definition nvhls_int.h:437
Compute power of 2 value greater than a given value.
Definition nvhls_int.h:208

Definition at line 208 of file nvhls_int.h.

Member Enumeration Documentation

◆ anonymous enum

template<int n_val>
anonymous enum

Definition at line 209 of file nvhls_int.h.


The documentation for this struct was generated from the following file: