changed the reducedClk to std_logic type