Question: A combinational circuit takes in a 5 - bit input ABCDE and generates a 2 - bit value PQ such that PQ represents the distance
A combinational circuit takes in a bit input ABCDE and generates a bit value PQ such that PQ
represents the distance between the two closest s in the input. The distance is defined to be the
number of s between the two closest s
For example, if ABCDE is then the distance between the two closest s the two rightmost s
is zero, therefore, PQ If ABCDE is then the distance between the two closest s is
therefore, PQ
You may assume that the distance is always determinable from the given input. Therefore, inputs
such as and will not be supplied to this circuit.
Draw the Kmaps for P and Q and write the simplified SOP expressions for P and Q
Using the simplified SOP expressions for P and Q to implement the circuit, what is the output if the
circuit is fed with the input ABCDE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
