Question 1
For an S-R flip-flop, design the
a. excitation requirements, (4 marks)
b. the excitation table, (4 marks)
c. the logic symbol of the S-R FF, (4 marks)
d. the state diagram and (4 marks)
e. the state table. (4 marks)
Question 2
a. The state diagram and the state table of an odd parity-bit generator are shown in Fig. Q2a and Q2b. States B, D and F correspond to an even number of 1's out of 1, 2 and 3 incoming inputs, respectively. Similarly, states C, E and G correspond to an odd number of 1's out of 1, 2 and 3 incoming inputs. From either state F or state G, the machine goes to state A regardless of the input. With this assignment, generate:
b. the transition and output table, (8 marks)
c. the excitation table. (10 marks)
[Figure Q2a: state diagram — A goes to B on 0/0 and to C on 1/0; B to D on 0/0 and to E on 1/0; C to E on 0/0 and to D on 1/0; D to F on 0/0 and to G on 1/0; E to G on 0/0 and to F on 1/0; F returns to A on 0,1/1; G returns to A on 0,1/0.]
Figure Q2b (state table):
| PS | NS, x = 0 | NS, x = 1 |
|---|---|---|
| A | B, 0 | C, 0 |
| B | D, 0 | E, 0 |
| C | E, 0 | D, 0 |
| D | F, 0 | G, 0 |
| E | G, 0 | F, 0 |
| F | A, 1 | A, 1 |
| G | A, 0 | A, 0 |
b. Analyse the operation of an SR latch when both inputs (Set and Reset) are activated simultaneously. (2 marks)
Question 3
a. Given a clock cycle of 4 ms, calculate the corresponding clock frequency. (2 marks)
b. Figure Q3 is a state diagram for a clocked sequential circuit.
i. Construct the state table for the state diagram, (3 marks)
ii. perform a state reduction on 3b(i), (3 marks)
iii. propose the state diagram for the reduced state table, (3 marks)
iv. assign the different states binary values, (2 marks)
v. obtain the excitation table, (3 marks)
vi. design the circuit using J-K flip-flops, (2 marks)
vii. generate the Boolean expression for y. (2 marks)
[Figure Q3: state diagram with eight states a–h and input/output labels on each arrow (e.g. 0/0, 1/0, 0/1, 1/1); g has a self-loop marked 0/0 [?].]
Question 4
a)Discuss the significance of VHDL as a hardware description language in digital system design. (5 marks)
b)Explain the concept of levels of abstraction in the context of VHDL and digital system design. (5 marks)
c)Differentiate between concurrent and sequential statements in VHDL, providing examples of each. (4 marks)
d)Evaluate three (3) roles of packages in VHDL and their advantages in design reusability. (6 marks)
Question 5
a)Discuss the implications of using a configuration declaration in VHDL for managing complex designs. (8 marks)
b)Write down a signal assignment statement on the following signal: SIGNAL s : std_logic_vector (15 DOWNTO 0); (using the concatenation operator '&') that creates
i. a rotate right operation by seven bit positions (4 marks)
ii. a logic shift right by four bit positions (4 marks)
iii. an arithmetic shift right by three bit positions. (4 marks)
Question 6
a)Implement the following Boolean functions using
i. PAL and (7 marks)
ii. PLA (7 marks)
b)Implement with a 4 × 3 ROM: (6 marks)

