Thursday, June 8, 2017

VERILOG PROGRAM FOR FULL ADDER



FULL ADDER
module full_adder(sum,carry,a,b,c);
input a,b,c;
output sum,carry;
assign sum=a^b^c;
assign carry=(a&b)|(b&c)|(c&a);
endmodule;

No comments:

Post a Comment