Lec 4
Lec 4
Lec 4
System Design
Lecture-4
• ARM Architecture
1. Buses
2. Memory
3. Peripherals
4. Software
So far in ESD
• What is ESD?
• Design aspects of ESD
• Architecture of general-purpose microprocessor
• Microprocessors vs Micro-controllers
• Operation of an instruction
Recap: Four major design rules of
ARM
• Instruction
• Pipeline
• Register
• Load-store architecture
Benefit of more Stages in
pipeline?
• Non pipelined system takes 130ns to process an instruction . A
program of 1000 instructions is executed in non pipelined
system. Then same program is processed with processor with 5
segment pipeline with clock cycle of 30 ns/stage.
• The cache is placed between main memory and the core. It is used to speed
up data transfer between the processor and main memory.
• A cache provides an overall increase in performance but with a loss of
predictable execution time. Note that many small embedded systems do not
require the performance benefits of a cache.
• The main memory is large and is generally stored in separate chips. Load and
store instructions access the main memory unless the values have been stored
in the cache for fast access.
• Secondary storage is the largest and slowest form of memory. Hard disk drives
are examples of secondary storage.
Memory: Width
• The memory width is the number of bits the memory returns on
each access—typically 8, 16, 32, or 64 bits.
• The memory width has a direct effect on the overall performance
and cost ratio.
• If you have an uncached system using 32-bit ARM instructions and
16-bit-wide memory chips, then the processor will have to make two
memory fetches per instruction.
• Each fetch requires two 16-bit loads. This obviously has the effect
of reducing system performance, but the benefit is that 16-bit
memory is less expensive.
Memory Types: ROM