Skip to main content

full adder verilog code

Author : Kishore Papisetty

verilog code for full adder

module fulladder(
output sum,
    output carry,
    input a,
    input b,
    input c
   
    );

assign sum = a^b^c;
assign carry = (a&b)|(b&c)|(c&a);
endmodule

Comments