What is a clock?
A clock drives the steps in the processor - everything happens on the clock “edge” as systems are synchronous
What does the Program Counter do?
Contains the address of the instruction to run
Increments after each instruction
What does the Instruction Register do?
Contains the instruction most recently fetched
What does the Memory address register do
Contains the address of a location in memory
What does the Memory buffer register do?
Contains a word of data to be written to memory or the word most recently read
What happens in the fetch part of the fetch-execute cycle?
What happens in an indirect fetch cycle?
it fetches the data stored in the memory location, to use the data to fetch/reach the memory location of the data required
Advantages of Von Neumann?
Simple - data and instructions stored in a single memory space
Cost-Effective - Smaller number of components
Disadvantages of Von Neumann
Bottleneck - Shared bus, simultaneous obtaining impossible
Memory Corruption - same memory space, erase
Advantages of Harvard
Faster processing - Two buses
Improved Security - Not stored in same location, no erase
Efficient use of resources
Disadvantages of Harvard
Complexity - intricate design
Higher cost
Less Flexibility
RISC characteristics
CISC characteristics
What is pipelining?
Pipelines overlap operations to aim to complete an instruction every clock cycle
What are the different ways of branch prediciton?
How does multiple streams work in pipelining?
Disadvantages of Multiple streams
How does Prefetch Branch Target work?
How does Loop Buffer work?
How does Static Branch Prediction work?
How would Branch Predicition be improved?
What is a superscalar processor?
A processor that completes more than one instruction per clock cycle
What is In-Order Issue, Completion?
Disadvantages of In-order Issue, Completion