Initial commit of AESA implementation.
[jump.git] / aesa / src / Data_Generator.h
diff --git a/aesa/src/Data_Generator.h b/aesa/src/Data_Generator.h
new file mode 100644 (file)
index 0000000..766ff86
--- /dev/null
@@ -0,0 +1,27 @@
+#ifndef DATA_GENERATOR_H
+#define DATA_GENERATOR_H
+
+#include <dol.h>
+#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