Skip to content

Commit

Permalink
Create adder32.v
Browse files Browse the repository at this point in the history
  • Loading branch information
cslotterback committed Jul 22, 2013
1 parent 45c6c4a commit f60846e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions adder32.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module ADDER32
(
result_out,
a_in,
b_in
);

parameter adder_delay = 22;

output [31:0] result_out;
reg [31:0] result_out;

input [31:0] a_in;
input [31:0] b_in;

always@*
begin
#adder_delay;

result_out = a_in + b_in;
end

endmodule

0 comments on commit f60846e

Please sign in to comment.