I_inputSampleValid:instd_logic;-- Control signal to load the input sample in the sample shift register and shift the register
I_processingDone:instd_logic;
O_loadShift:outstd_logic;-- filtered sample
O_initAddress:outstd_logic;-- Control signal to initialize register read address
O_incrAddress:outstd_logic;-- Control signal to increment register read address
O_initSum:outstd_logic;-- Control signal to initialize the MAC register
O_loadSum:outstd_logic;-- Control signal to load the MAC register to Sum;
O_loadSubstraction:outstd_logic;-- Control signal to load the MAC register to substraction;
O_loadR:outstd_logic;-- Control signal to load R register
O_FilteredSampleValid:outstd_logic;-- Data valid signal for filtered sample
O_Selector:outstd_logic_vector(1downto0);
);
endentitycontrolUnit;
architecturearchi_operativeUnitofcontrolUnitis
typeT_stateis(WAIT_SAMPLE,STORE_X,STORE_Y,STORE_Z,STORE_inter,PROCESSING_LOOP_Y,PROCESSING_LOOP_Z,PROCESSING_LOOP_Backward_Z,PROCESSING_LOOP_R,OUTPUT,WAIT_END_SAMPLE);-- state list