X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=aesa%2Fsrc%2FConsumer.h;fp=aesa%2Fsrc%2FConsumer.h;h=d10e070e6f2492249861f4b86dd990a825451a3d;hb=3e585a14456b930a77ea0ac81bed4c69a4a032ac;hp=0000000000000000000000000000000000000000;hpb=2bc58585fc542a6e5819eeecaee1f4820185149f;p=jump.git diff --git a/aesa/src/Consumer.h b/aesa/src/Consumer.h new file mode 100644 index 0000000..d10e070 --- /dev/null +++ b/aesa/src/Consumer.h @@ -0,0 +1,28 @@ +#ifndef CONSUMER_H +#define CONSUMER_H + +#include +#include "global.h" + +#define PORT_IN "data_input" +#define PORT_IN_DELAYED "data2_input_delayed" + +typedef struct _local_states +{ + ComplexNumber Channels[NUMBER_OF_DOPPLER_CHANNELS][NUMBER_OF_PULSES][NUMBER_OF_RANGE_BINS]; + ComplexNumber Channels_Delayed[NUMBER_OF_DOPPLER_CHANNELS][NUMBER_OF_PULSES][NUMBER_OF_RANGE_BINS]; + int channel_cntr; + int pulse_cntr; + int bin_cntr; + int n_iterations; + + int excount; +#ifdef PRINT_CONSUMER + FILE *out; +#endif +} Consumer_State; + +void Consumer_init(DOLProcess *); +int Consumer_fire(DOLProcess *); + +#endif