data/full_repos/permissive/447283927/sign_extend.v
data/verilator_xmls/5d14018b-45ab-44e3-a470-6af73e4ffe43.xml
module sign_extend(input [11:0] immediate, output [31:0] immExt, input ImmSrc);


    assign immExt = ImmSrc ? {{20{immediate[11]}}, immediate} : {{19{immediate[11]}}, immediate, 1'b0};
endmodule
module sign_extend(input [11:0] immediate, output [31:0] immExt, input ImmSrc);



    assign immExt = ImmSrc ? {{20{immediate[11]}}, immediate} : {{19{immediate[11]}}, immediate, 1'b0};
endmodule