766ff864428ea2172e6146128569e35d0186347e
[jump.git] / aesa / src / Data_Generator.h
1 #ifndef DATA_GENERATOR_H
2 #define DATA_GENERATOR_H
3
4 #include <dol.h>
5 #include "global.h"
6
7 #define PORT_OUT "out"
8
9 typedef struct _local_states
10 {
11     // ComplexNumber Samples[NUMBER_OF_ANTENNA_ELEMENTS][NUMBER_OF_PULSES][NUMBER_OF_RANGE_BINS];
12
13         // this "Samples" arrays definition is changed! it will be faster in array passing and more rational this way.
14         
15         ComplexNumber Samples[NUMBER_OF_PULSES][NUMBER_OF_RANGE_BINS][NUMBER_OF_ANTENNA_ELEMENTS];
16
17     //int antenna_cntr;
18         int pulse_cntr;
19         int bin_cntr;
20         int n_firings;
21
22         int excount;
23 } Data_Generator_State;
24
25 void Data_Generator_init(DOLProcess *);
26 int Data_Generator_fire(DOLProcess *);
27 #endif