X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=aesa%2Fsrc%2FData_Generator.h;fp=aesa%2Fsrc%2FData_Generator.h;h=766ff864428ea2172e6146128569e35d0186347e;hb=3e585a14456b930a77ea0ac81bed4c69a4a032ac;hp=0000000000000000000000000000000000000000;hpb=2bc58585fc542a6e5819eeecaee1f4820185149f;p=jump.git diff --git a/aesa/src/Data_Generator.h b/aesa/src/Data_Generator.h new file mode 100644 index 0000000..766ff86 --- /dev/null +++ b/aesa/src/Data_Generator.h @@ -0,0 +1,27 @@ +#ifndef DATA_GENERATOR_H +#define DATA_GENERATOR_H + +#include +#include "global.h" + +#define PORT_OUT "out" + +typedef struct _local_states +{ + // ComplexNumber Samples[NUMBER_OF_ANTENNA_ELEMENTS][NUMBER_OF_PULSES][NUMBER_OF_RANGE_BINS]; + + // this "Samples" arrays definition is changed! it will be faster in array passing and more rational this way. + + ComplexNumber Samples[NUMBER_OF_PULSES][NUMBER_OF_RANGE_BINS][NUMBER_OF_ANTENNA_ELEMENTS]; + + //int antenna_cntr; + int pulse_cntr; + int bin_cntr; + int n_firings; + + int excount; +} Data_Generator_State; + +void Data_Generator_init(DOLProcess *); +int Data_Generator_fire(DOLProcess *); +#endif