CGRA-ME
Macros | Variables
HyCUBEPE.cpp File Reference
#include <CGRA/user-inc/UserModules.h>

Go to the source code of this file.

Macros

#define get_ones_in_8b(v)   (ones_in_4b[v & 0x0f] + ones_in_4b[v >> 4])
 

Variables

static const unsigned char ones_in_4b [] = {0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4}
 

Macro Definition Documentation

◆ get_ones_in_8b

#define get_ones_in_8b (   v)    (ones_in_4b[v & 0x0f] + ones_in_4b[v >> 4])

Definition at line 20 of file HyCUBEPE.cpp.

Variable Documentation

◆ ones_in_4b

const unsigned char ones_in_4b[] = {0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4}
static

Represents a HyCUBE Processing Element as specified in the HyCUBE Paper from NUS

Definition at line 19 of file HyCUBEPE.cpp.