Created
April 8, 2019 19:46
-
-
Save axayjha/a56e786962b486f1283a8043c71b9c91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module add (out, in1, in2); | |
input [15:0] in1, in2; | |
output reg [15:0] out; | |
always @(*) | |
out = in1 + in2; | |
endmodule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment