Question: A BCD full adder cell has two input numbers in BCD, and a 1 bit Cin // (that is, A and B are BCD decimal
A BCD full adder cell has two input numbers in BCD, and a 1 bit Cin // (that is, A and B are BCD decimal numbers range 0..9) // The output of a BCD adder cell has the sum S in BCD (0..9), // and Cout, a 1 bit carry out. // // For example: // --------------------- // INPUTS OUTPUTS // A B Cin Cout S // --------------------- // 3 4 0 0 7 // 5 7 0 1 2 // 6 4 1 1 1 // --------------------- // module bcdfa ( input logic [3:0]A, input logic [3:0]B, input logic Cin, output logic [3:0]S, output logic Cout )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
