data/full_repos/permissive/160788788/ext.v
data/verilator_xmls/36206ed7-c20d-4b6e-b15d-4a08dd9a7e46.xml
module ext(in, out, ExtOp);
	input [15:0] in;
	input ExtOp;

	output [31:0] out;


	assign out = {(ExtOp ? (in[15] ? 16'hffff : 16'b0) : 16'b0), in};

endmodule
module ext(in, out, ExtOp);

	input [15:0] in;
	input ExtOp;

	output [31:0] out;


	assign out = {(ExtOp ? (in[15] ? 16'hffff : 16'b0) : 16'b0), in};

endmodule