data/full_repos/permissive/160156109/mips-work/extender.v
data/verilator_xmls/ad0ecd01-2279-4c6c-8064-bc7ee386cc9e.xml
module extender (din, dout, ExtOp);
  input [15:0] din;
  output [31:0] dout;
  input ExtOp;
  
  assign dout = (ExtOp && din[15]) == 1 ? {16'hffff, din} : {16'h0, din};

endmodule
module extender (din, dout, ExtOp);

  input [15:0] din;
  output [31:0] dout;
  input ExtOp;
  
  assign dout = (ExtOp && din[15]) == 1 ? {16'hffff, din} : {16'h0, din};

endmodule