Beruflich Dokumente
Kultur Dokumente
CEG3155: DGD 6
Solution of Quiz
Question1: For the circuit shown in Figure 1, write the expression of the output signal f.
CEG3155: Digital Systems II Medhat Elsayed
Question 2:
a) Convert this structural VHDL code into schematic (similar problem and its block diagram
are shown in Figure 2 on page 3 for even-parity detector).
CEG3155: Digital Systems II Medhat Elsayed
Solution
The conceptual diagram can be using logic gates or blocks that indicate the type of gate. Both
solutions are correct.
A0
A1 D0
D1
D2
D3
En
EN A1 A0 D0 D1 D2 D3
0 X X 0 0 0 0
1 0 0 1 0 0 0
1 0 1 0 1 0 0
1 1 0 0 0 1 0
1 1 1 0 0 0 1
CEG3155: Digital Systems II Medhat Elsayed
Chapter 6
Solution
a) 2n
b) The number of rows grows exponentially.
Solution
a) 𝑎2 𝑏2′ + (𝑎2 ⨁ 𝑏2 )′ 𝑎1 𝑏1′ + (𝑎2 ⨁ 𝑏2 )′ (𝑎1 ⨁ 𝑏1 )′ 𝑎0 𝑏0′
b) 𝑎2 𝑎1
c) 𝑏2′ + 𝑏0′ 𝑏2 𝑏1′