Provide to-the-point (max 4 to 5 lines) answer to the following:
- What is the main difference between a gated S-R latch and an edge-triggered S-R flip-flop?
- How many flip-flops are required to produce a divide-by-32 device?
A gated set-reset latch would be controlled by e.g. (a) 2 input AND, (b) 2 input OR, (c) NOT gates. It has to have a logic input to operate the gate.
An edge-triggered S-R is controlled by either the rising or falling voltage from some input device.
5 flip-flops are used in the CD4017 to implement divide-by-32.
32 is 2^5.