Sequential Circuits: Latches, Flip-Flops, and Registers
Classified in Computers
Written on in
English with a size of 2.57 KB
Sequential Circuits
A sequential circuit is a system where outputs at a specific instant are a function of the inputs at that instant and the current state of the circuit; essentially, they store information. A sequential system consists of two distinct blocks: a combinational system to process information and a memory system to store it. Generally, feedback circuits are present in these systems.
Memory Elements: Latches and Flip-Flops
Information is stored in binary format. The basic memory elements are latches and flip-flops, which store a single bit of information. These are elementary logical circuits that remain in one of two possible states (Q=0 or Q=1) and switch between them based on triggering inputs.
Classification of Sequential Circuits
By Triggering Method
Common types include: R-S, J-K, D, and T.
By Synchronization
- Synchronous: Switching between states occurs in synchrony with a clock signal.
- Asynchronous: Switching can occur at any moment, depending solely on the triggering inputs.
By Triggering Signal
- Level-triggered: State changes occur when a low or high level is detected in the inputs.
- Edge-triggered (Synchronous Flip-Flops): State changes occur only when the clock transitions from low to high (rising edge) or high to low (falling edge).
Registers
A register is a circuit that stores binary information, typically a word (n bits: 4, 8, 16, 32, 64, etc.). It is formed by flip-flops connected in various ways:
- Storing Register: Functions as small-scale memory for reading and writing bits. Triggering depends on the use of latches or flip-flops.
- Shift Register: Stores information and shifts it by moving bits between connected flip-flops or latches.
- Types (Input-Output): SI-SO, SI-PO, PI-SO, PI-PO.
- Types (Shifting): Open (Right/Left shift) and Ring (Right/Left shift).
Counters
A counter is a circuit that counts and remembers the number of pulses received from an external signal or clock. It is formed by a chain of flip-flops where the n outputs represent the count in binary.
- Synchronism: Asynchronous or Synchronous.
- Counting Direction: Up or Down.
- Maximum Count: Binary or N-modulus.