PandA-2024.02
Macros | Functions
fp_accum.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <ap_int.h>
#include <ap_fixed.h>
Include dependency graph for fp_accum.cpp:

Go to the source code of this file.

Macros

#define NUM_ELEM   128
 
#define DB_OPTIMIZED
 

Functions

float hls_fp_accumulator (float window0[NUM_ELEM])
 
float ref_fp_accumulator (float window[NUM_ELEM])
 
float PseudoCasual (void)
 
int main (void)
 

Macro Definition Documentation

◆ DB_OPTIMIZED

#define DB_OPTIMIZED

Definition at line 37 of file fp_accum.cpp.

◆ NUM_ELEM

#define NUM_ELEM   128

Definition at line 35 of file fp_accum.cpp.

Referenced by main(), and ref_fp_accumulator().

Function Documentation

◆ hls_fp_accumulator()

float hls_fp_accumulator ( float  window0[NUM_ELEM])

Definition at line 56 of file fp_accum.cpp.

References result, and x.

Referenced by main().

Here is the caller graph for this function:

◆ main()

int main ( void  )

Definition at line 168 of file fp_accum.cpp.

References hls_fp_accumulator(), NUM_ELEM, PseudoCasual(), ref_fp_accumulator(), and x.

Here is the call graph for this function:

◆ PseudoCasual()

float PseudoCasual ( void  )

Definition at line 131 of file fp_accum.cpp.

References k, and result.

Referenced by main().

Here is the caller graph for this function:

◆ ref_fp_accumulator()

float ref_fp_accumulator ( float  window[NUM_ELEM])

Definition at line 114 of file fp_accum.cpp.

References NUM_ELEM, result, and x.

Referenced by main().

Here is the caller graph for this function:

Generated on Mon Feb 12 2024 13:03:08 for PandA-2024.02 by doxygen 1.8.13