Create a truth table according to these specifications: Thereare 4 input bits, x3, x2, x1, x0, and 3 output bits, s2, s1, s0.The 3-bit output is the largest number of consecutive 0’s in the 4input bits. (x3 is the most significant bit of the input, and s2 isthe most significant bit of the output.) For example, input 0000gives output 100 (four 0’s), inputs 0001 and 1000 give output 011,inputs 0011, 1001, and 1100 give output 010, etc. Show all 16 rowsof the table clearly.
Refer to Chapter 6 Slide 9, where we filled out the truth tablefor the 2-bit adder. We
PayPal Gateway not configured
PayPal Gateway not configured