SignExtend.v 169 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 module SignExtend(signedinput, signedoutput); input[15:0] signedinput; output[31:0] signedoutput; assign signedoutput = {{16{signedinput[15]}},signedinput}; endmodule