17#ifndef _UINTOREMPTY_H_
18#define _UINTOREMPTY_H_
22#include <nvhls_types.h>
23#include <nvhls_assert.h>
24#include <nvhls_message.h>
44 uint64 to_uint64() {
return 0; }
45 const sc_bit operator[](std::size_t
idx)
const {
return static_cast<sc_bit>(0); }
46 bool and_reduce() {
return 0; }
47 bool or_reduce() {
return 0; }
52 return os <<
"EMPTYFIELD";
56template <
unsigned int Size>
62inline bool operator!=(
const EmptyField
lhs,
const int rhs) {
The UIntOrEmpty class is used to define a bitvector that can have a bitwidth of 0.
A class to determine whether to instantiate an NVUINT or an EmptyField.
#define NVHLS_ASSERT_MSG(X, MSG)
nvhls_t< W >::nvuint_t get_slc(type X, const unsigned int i)
Function that returns slice of bits.
The EmptyField class is used for rudimentary support for members of a struct that can be configured t...