notes/education/computer engineering/ECE2700/Sequential Circuits.md
2025-03-17 09:54:19 -06:00

22 lines
794 B
Markdown

- Output depends on input and past behavior
- Requires use of storage elements
# Latches
## SR Latch
SR stands for *Set*/*Reset*, and functions like so:
- When a signal comes into $S$, $Q_a$ is **set** on and stays on until a signal comes into $R$, at which point the output ($Q_a$) is **reset**, back to zero.
- $S$ and $R$ are interchangeable, it just impacts whether $Q_a$ or $Q_b$ is set/reset.
Truth table:
| $S$ | $R$ | $Q_a$ | $Q_b$ |
| --- | --- | ----- | ----- |
| 0 | 0 | 0/1 | 1/0 |
| 0 | 1 | 0 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 |
![[Pasted image 20250303095542.png]]
# T Flip Flop
A T Flip Flip, or a toggle flip flop has two inputs:
- $clk$ - Clock input
- $T$ - Whenever $T$ goes from low to high, the output toggles its state