CSE 231 Final - Summer 2021
CSE 231 Final - Summer 2021
(a) A D Flip-Flop is sometimes used to introduce a delay in a logic circuit, so that the output binary
waveform appears a certain amount of time after the input. For the following input and clock signals, draw
the output signal Q of the D FF, assuming that there is a delay of one clock period between the input and
the output, [3 marks]
(b) How can you obtain a delay of two clock periods between the input and the output? [2 marks]
(c) The following figures show two kinds of J-K FFs, one with active-high (H) inputs and another with
active-low inputs. The corresponding clock pulses are also shown. Complete the following table (the first
one is done for you). [5 marks]
Condition J K C J K C
SET 1 0
RESET
TOGGLE
1
Question 2: Sequential Logic (Counters): 10 marks
(i) How many FFs do you need to design this counter? [1 mark]
(ii) Given that the input clock has a frequency of 2 MHz, determine the output frequency of the last FF
[2 marks]
(iv) After 2060 pulses, what is the state of the counter, assuming that the initial state was zero? [2 marks]
(b) Design a simple 2-bit asynchronous down counter with D FFs. Show the state level diagram. [4 marks]
(a) Draw the circuit diagram of a MOD-32 synchronous counter using J-K FFs. [10 marks]
(b) For the counter in part (a), determine fmax for this counter if each FF has tpd = 20 ns and each gate has
tpd =10 ns. [5 marks]
(b) A 12-bit DAC has a full-scale output of 15.0 V. Determine the step size, the percentage resolution,
and the value of VOUT for an input code of 011010010101. [5 marks]