Thursday, June 8, 2017

VERILOG PROGRAM FOR HALF ADDER GATE




HALF ADDER
module half_adder(sum,carry,a,b);
input a,b;
output sum,carry;
assign sum=a^b;
assign carry=a&b;
endmodule;

No comments:

Post a Comment