data/full_repos/permissive/219219909/Complex_Multiplier/exponent.v
data/verilator_xmls/cbd46d76-1c8c-4c6e-861a-4e1483c66d39.xml
module exponent(
    input [7:0] a,
    input [7:0] b,
	 input a_s,b_s,
    output reg [7:0] c,
	 output reg c_s
    );

always @(a,b,a_s,b_s) begin
c<=a+b-8'b01111110;
if (a_s==b_s) begin
c_s=1'b0;
end
else begin
c_s=1'b1;
end
end

endmodule
module exponent(
    input [7:0] a,
    input [7:0] b,
	 input a_s,b_s,
    output reg [7:0] c,
	 output reg c_s
    );


always @(a,b,a_s,b_s) begin
c<=a+b-8'b01111110;
if (a_s==b_s) begin
c_s=1'b0;
end
else begin
c_s=1'b1;
end
end

endmodule