Status: Tags: #cards/cmpt295/mp Links: Microprocessor
Clock register
Principles
- Memory element
- On microprocessor
- Stores 1 bit (state)
- Synchronized with system-wide clock
Timing Diagram
Things to annotate in a timing diagram ?
- Values of diagram segments
- label 0/1
- Propagation delays
- When sampling is occuring
- Type of sampling
Propagation delay ?
- Time between sampling and update in register value
Sampling and 3 cases ? When the values are checked, happens when clock rises up to 1. 3 Cases:
Load | D | Q(t+1) |
---|---|---|
0 | X | Q(t) |
1 | 0 | 0 |
1 | 1 | 1 |
Load Effect
?
- Loads when Clock rises up to 1
Load = 0
- Q does not change
Load = 1
?
Q becomes what D was during moment
Components
- has input/output
- Load to determine whether on/off
function
- Has current state (0 or 1), outputs
- When clock “ticks”, value is input into clocked register, new state
System-wide clock
- Sends pulses
- Clock period: 1 full cycle duration
- Clock frequency: 1/period
References:
Created:: 2022-03-27 00:54