Question: Design a simple combinational logic circuit and then use Logisim to simulate and test the circuit. The circuit is a 2bit priority encoder with inputs
Design a simple combinational logic circuit and then use Logisim to simulate and test the circuit. The circuit is a 2bit priority encoder with inputs X1 and X2 and outputs Y1 and Y0. The circuit behaves as follows.
If X2X1 = 00, then Y1Y0 = 00 (no active input)
If X2X1 = 01 then Y1Y0 = 01 (lowpriority input, X1 is active)
If X2X1= 1 then Y1Y0 = 10 (highpriority input, X2 is active)
Note that the value of input X1 does not matter if the highpriority input, X2 is active. Also, output combination Y1Y0 = 11 should never occur.
a) Give the truth table that shows outputs Y1 and Y0 as functions of inputs X2 and X1.
b) Give the Boolean algebra expressions for output Y1 and output Y0.
c) Simulate your circuit using Logisim. Label all inputs and the output. Test for all four input combinations.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
