Skip to content

Instantly share code, notes, and snippets.

@axayjha
Created April 8, 2019 19:46
Show Gist options
  • Save axayjha/a56e786962b486f1283a8043c71b9c91 to your computer and use it in GitHub Desktop.
Save axayjha/a56e786962b486f1283a8043c71b9c91 to your computer and use it in GitHub Desktop.
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