adder32b.v
475 Bytes
/* Project Reality
MDP
Created by Mike M. Cai 6/9/94
*/
// $Id: adder32b.v,v 1.1 2002/03/28 00:26:13 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