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