adder32b.v
475 Bytes
/* Project Reality
MDP
Created by Mike M. Cai 6/9/94
*/
// $Id: adder32b.v,v 1.1 2002/05/21 23:55:44 berndt Exp $
module adder32b( sum, co, a, b, ci);
input [31:0] a, b;
input ci;
output [31:0] sum;
output co;
parameter adder_32b_delay = 120;
/*
function [32:0] add32;
input [31:0] ina, inb;
input cin;
add32 = ina + inb + cin;
endfunction
*/
assign {co,sum} = a + b + ci;
endmodule // adder32b