Lecture2 - Embedded
Lecture2 - Embedded
Lecture2 - Embedded
Lecture 2
CPU Architecture
CPU Architectures
2) Harvard Architecture:
The Harvard Mark II was finished at Harvard University in 1947 . It
wasn’t so modern as the computer from von Neumann team. But it
introduced a slightly different architecture. Memory for data was
separated from the memory for instruction. This concept is known as the
Harvard Architecture :
There is no need to make the two memories share characteristics. In particular,
the word width, timing, implementation technology, and memory
address structure can differ.
The CPU can read an instruction and perform a data memory access at the
same time..
This speeds up execution time but increases the cost of more hardware
complexity.
If, for instance, every instruction run in the CPU requires an access to memory,
the computer gains nothing for increased CPU speed—a problem referred to as
being "memory bound".
CPU Architectures
Harvard Architecture:
Harvard Von Neumann
2. Single precision :
32-bits
– 23-bit mantissa 31 30 23 22 0
– 8-bit exponent S Exponent Mantissa (bits 0-22)
– 1-bit sign
3. Double precision :
64-bits
– 52-bit mantissa 63 62 52 51 0
– 11-bit exponent S Exponent Mantissa (bits 0-51)
– 1-bit sign
Pipeline :
• Continuous and parallel streaming of instruction to the CPU.
• A method of achieving higher execution speed at same clock
speed.
Pipeline :
Pipeline :
Superscalar vs.
Super pipeline
• Simple pipeline system
performs only one
pipeline stage per clock
cycle
= 𝑐𝑦𝑐𝑙𝑒𝑠 / 𝑠𝑒𝑐𝑜𝑛𝑑
= 𝑚𝑖𝑙𝑙𝑖𝑜𝑛 𝑖𝑛𝑠𝑡𝑟𝑢𝑐𝑡𝑖𝑜𝑛𝑠
𝑐𝑦𝑐𝑙𝑒𝑠 / 𝑖𝑛𝑠𝑡𝑟𝑢𝑐𝑡𝑖𝑜𝑛 𝑠𝑒𝑐𝑜𝑛𝑑
MIPS:
Processor MIPS Clock
Intel 8086 .33 5 MHz
Analog Devices ADSP 12.5 12.5 MHz
-2100
Microchip PIC16F 5 20 MHz
Intel Pentium III 2.054 600 MHz
AMD Athlon 3,561 1.2 GHz
NEC Earth Simulator 28,293,540 500 MHz
( 5120 cores)
ARM Cortex-M3 125 100 MHz
Qualcomm Scorpion 2,100 1 GHz
(Cortex A8)
Raspberry Pi 2 4,744 1.2 GHz
Intel Core i7 5960X 238,310 3 GHz
Pentium 4 Extreme 9,726 3.2 GHz
Edition
MIPS: