X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=aesa%2Fsrc%2FBeam_Former.h;fp=aesa%2Fsrc%2FBeam_Former.h;h=9b69a3dae23ed202dba7b781e1fb74170580738e;hb=3e585a14456b930a77ea0ac81bed4c69a4a032ac;hp=0000000000000000000000000000000000000000;hpb=2bc58585fc542a6e5819eeecaee1f4820185149f;p=jump.git diff --git a/aesa/src/Beam_Former.h b/aesa/src/Beam_Former.h new file mode 100644 index 0000000..9b69a3d --- /dev/null +++ b/aesa/src/Beam_Former.h @@ -0,0 +1,29 @@ +#ifndef BEAM_FORMER_H +#define BEAM_FORMER_H + +#include +#include "global.h" + +#define PORT_DATA_IN "data_input" +#define PORT_WEIGHT_IN "weight_input" +#define PORT_DATA_OUT "data_output" + +typedef struct _local_states +{ + ComplexNumber Vector_Product[NUMBER_OF_RANGE_BINS]; + // int sample_counter; + int pulse_counter; + int n_iterations; + // New! + int range_counter; + + int excount; + + +} Beam_Former_State; + +void Beam_Former_init(DOLProcess *); +int Beam_Former_fire(DOLProcess *); +void multiply_and_accumulate(ComplexNumber *, ComplexNumber *, DOLProcess * p); + +#endif