data/full_repos/permissive/198139336/FPAdder/fp32_cal.v
data/verilator_xmls/6dab7992-bd01-4035-b6d7-ea467c7c711d.xml
module fadd_cal (	
	input op_sub,
	input [23:0] large_frac24,
	input [26:0] small_frac27,
	output [27:0] cal_frac);


	wire [27:0] aligned_large_frac = {1'b0, large_frac24, 3'b000};
	wire [27:0] aligned_small_frac = {1'b0, small_frac27};
	

	assign cal_frac = op_sub?
		aligned_large_frac - aligned_small_frac :
		aligned_large_frac + aligned_small_frac;
endmodule
module fadd_cal (	
	input op_sub,
	input [23:0] large_frac24,
	input [26:0] small_frac27,
	output [27:0] cal_frac);



	wire [27:0] aligned_large_frac = {1'b0, large_frac24, 3'b000};
	wire [27:0] aligned_small_frac = {1'b0, small_frac27};
	

	assign cal_frac = op_sub?
		aligned_large_frac - aligned_small_frac :
		aligned_large_frac + aligned_small_frac;
endmodule