Questions: B. Write Notes On: Fpga
Questions: B. Write Notes On: Fpga
a.
b.
II.
a.
A switching circuit has two control inputs (C1 and C2), two data inputs
(X1 and X2), and one output (Z). The circuit performs one of the logic
operations AND, OR, EQU(equivalence), or XOR (exclusive OR) on
the two data inputs. The function performed depends on the control
inputs:
C1 C2
Function
Performed by
Circuit
0
0
OR
0
1
XOR
1
0
AND
1
1
EQU
(i) Derive a truth table for Z.
(ii) Use a Karnaugh map to find a minimum AND-OR gate circuit to
realize Z.
Show how to make a 4-to-1 MUX, using an 8-to-1 MUX.
OR
Design a circuit which will either subtract X from Y or Y from X,
depending on the value of A. If A = 1, the output should be X Y, and if
A = 0, the output should be Y X. Use a 4-bit subtracter and two 4-bit
2-to-1 multiplexers .
b.
a.
Implement the given state graph using D flip-flops and gates. Use a
one-hot assignment and write down the logic equations by inspecting
the state graph.
b.
a.
An iterative circuit has an output of 1 from the last cell if and only if the
input pattern 1011 or 1101 has occurred as inputs to any four adjacent
a.
b.
B
IV.
a.
b.
Construct an SM block that has three input variables (D, E, F), four
output variables (P, Q, R, S), and two exit paths. For this block, output
P is always 1, and Q is 1 iff D = 1. If D and F are 1 or if D and E are 0,
R =1 and exit path 2 is taken. If (D = 0 and E = 1) or (D = 1 and F = 0),
S = 1 and exit path 1 is taken.
Explain the derivation of SM chart using a suitable example.
a.
b.
a.
b.
V.
a.
b.
a.
b.