module moving_avg #( parameter DATA_WIDTH = 32, parameter WINDOW_SHIFT = 4, parameter SIGNED = 0 ) ( input clock, input enable, input reset, input signed [DATA_WIDTH-1:0] data_in, input input_strobe, output reg signed [DATA_WIDTH-1:0] data_out, output reg output_strobe ); localparam WINDOW_SIZE = 1<