`timescale 1 ps / 1 ps
module last_butterfly #(
	parameter DATAWIDTH = 28 //,
)
(
	// input	clk,
	// input	reset_n,
	
		input  signed [DATAWIDTH-1:0] din_real_ev,
		input  signed [DATAWIDTH-1:0] din_imag_ev,
		input  signed [DATAWIDTH-1:0] din_real_od,
		input  signed [DATAWIDTH-1:0] din_imag_od,

		output signed [DATAWIDTH:0] dout_real_lo,
		output signed [DATAWIDTH:0] dout_imag_lo,
		output signed [DATAWIDTH:0] dout_real_hi,
		output signed [DATAWIDTH:0] dout_imag_hi // ,
);

assign	dout_real_lo = din_real_ev + din_real_od;
assign	dout_imag_lo = din_imag_ev + din_imag_od;
assign	dout_real_hi = din_real_ev - din_real_od;
assign	dout_imag_hi = din_imag_ev - din_imag_od;

endmodule
