9 #define FIR_LENGTH 4 // to be changed, as needed
11 #define PORT_DATA_IN "data_input"
12 #define PORT_DATA_OUT "data_output"
14 typedef struct _local_states
16 ComplexNumber Coeffs[FIR_LENGTH];
17 ComplexNumber Samples[FIR_LENGTH];
26 void FIR_init(DOLProcess*);
27 int FIR_fire(DOLProcess*);
29 void FIR_reset_samples(DOLProcess*);
30 void FIR_insert_sample(DOLProcess*, ComplexNumber);
31 void FIR_compute(DOLProcess*, ComplexNumber*);