a Create a truth table according to these specifications The

a) Create a truth table according to these specifications:
There are 4 input bits, x3, x2, x1, x0, and 3 output bits, s2, s1, s0. The 3-bit output is the
largest number of consecutive 1’s in the 4 input bits. (x3 is the most significant bit of the
input, and s2 is the most significant bit of the output.)
For example, input 0000 gives output 000 (no 1’s), inputs 0001 and 0101 give output
001, inputs 0011 and 0110 give output 010, input 1110 gives output 011, etc.
Show all 16 rows of the table clearly. (You can write this out neatly in plain text; don’t
worry about using tables in a word processor.)
b) Refer to Chapter 6 Slide 9, where we filled out the truth table for the 2-bit adder. We
also wrote out a logical expression for the s0 bit, following a sum of products approach.
For the s0 bit of the new circuit, follow the same procedure and write out the logical
expression.
Problem 2 (25 points):
Type the truth table from Problem 1 into Logisim. Use Logisim’s Analyze Circuit feature
to construct logical expressions for the s0 bit. What is this logical expression? (It may be
a little different from the one you had in Problem 1, because it may be optimized to use
fewer gates.)

Solution

1)

x3 x2 x1 x0 s2 s1 s0
0 0 0 0 0 0 0
0 0 0 1 0 0 1
0 0 1 0 0 1 0
0 0 1 1 0 1 0
0 1 0 0 0 1 0
0 1 0 1 1 0 1
0 1 1 0 1 1 0
0 1 1 1 1 1 1
1 0 0 0 1 0 0
1 0 0 1 1 0 1
1 0 1 0 1 0 1
1 0 1 1 1 1 1
1 1 0 0 1 1 0
1 1 0 1 1 1 0
1 1 1 0 1 1 1
1 1 1 1 1 1 1
a) Create a truth table according to these specifications: There are 4 input bits, x3, x2, x1, x0, and 3 output bits, s2, s1, s0. The 3-bit output is the larges

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site