1. You are given three boolean variables x1, x2, and x3. Design a circuit that outputs two boolean values b₁ and bo whic
Posted: Mon Jun 06, 2022 6:39 pm
1. You are given three boolean variables x1, x2, and x3. Design a circuit that outputs two boolean values b₁ and bo which indicate the position of the leftmost 1 in x32x1 such that: Position of leftmost 1 in 3X2X1 b₁ bo T3x2x1 is all zeros 0 0 X1 0 1 X2 1 0 X3 1 1 For example, if x3 = 0, x2 = 1, and x₁ = 1 then the circuit should output b₁ = 1 and bo = 0 since the leftmost 1 in x3x2x1 is in the position of x2. You may think of it as: given the input 011, you should output 10, as the leftmost 1 is the second digit (recall 2 in decimal = 10 in binary).