MatchLib
All Classes Namespaces Files Functions Modules Pages
Functions

Generate Random payload of any type. More...

Functions

template<typename Payload >
Payload nvhls::gen_random_payload ()
 Generate Random payload of any type.
 

Detailed Description

Generate Random payload of any type.

Function Documentation

◆ gen_random_payload()

template<typename Payload >
Payload nvhls::gen_random_payload ( )

Generate Random payload of any type.

Overview
Function to generate a random payload for desired type.
A Simple Example
#include <nvhls_rand.h>
...
nvhls_t< W >::nvuint_t get_slc(type X, const unsigned int i)
Function that returns slice of bits.
Definition nvhls_int.h:437

Definition at line 93 of file nvhls_rand.h.