Professional Documents
Culture Documents
Lecture 01
Fundamentals of
Microcomputers
ECEg - 4501
Daniel D. DECE
In this Lecture:
AAiT
Definitions
A microcomputer system
Evolution of the Microcomputer
ECEg - 4501
Definitions - basic
AAiT
Cycle
-Period of the CPU clock
-The fundamental unit of time for CPU activity
Instruction
A meaningful command to be executed by the CPU along with
the data operands.
Register
The fastest temporary data storage in the memory hierarchy
ALU
A digital logic circuit to process logic and arithemetic
ECEg - 4501
Definitions - basic
AAiT
Memory
-One of the two basic elements of a computer system
(paging, virtual and physical memory, MMU)
Memory hierarchy
Register Cache(levels)RAMDisks
Cache
-fast static memory to hold most frequently used data/instruction
-Multiple levels of cache
- Cache coherency
- Cache flushing
- Cache replacement
- Hit ratio
ECEg - 4501
Definitions - arch
AAiT
CISC
-Complex instructions, Simpler compiler, complex and large
hardware
RISC
-Few and simple instructions, complex compilers, small and
simple hardware
Pipeline
- A structure just like a product assembly line
- Process the next task while the current one is in progress
ECEg - 4501
Definitions - Arch
AAiT
Scalar Vs Superscalar
Executing multiple instruction in a single cycle using a single
CPU by Utilizing computing resources effectively
(SIMD, MIMD, )
In-Order Vs Out-of-order
Instructions can be executed in order sequentially or out of
order depending on the availability of data.
Issue
A term used to describe as to how the instruction execution
should flow determining branch targets
Branch prediction
Dual-issue
Speculative-issue,
ECEg - 4501
Definitions - Hardware
AAiT
Process
Determines the kind of layout used to implement the digital
logic cells. (CMOS, HMOS, LP-CMOS, DMS, )
ECEg - 4501
Definitions - systems
AAiT
Microprocessor
Control only, external memory and I/O required
8086, M68000, MIPS, SPARC, Pentium
Microcontroller
Integrated control, memory and I/O on a single chip
AVR, PIC, 8051, MSP, Coldfire
Microcomputer
Complete systems CPU, Memory, I/O, Storage,
PC, Mac, VAX, PDP, SunSparc
ECEg - 4501
A Computer system?
AAiT
Memory
Input
Microprocessor
Output
Microprocessor(P):
Contains the CPU, System bus, Control unit and
(in latest models) a MMU, low level cache and
several on-chip HW
ECEg - 4501
a Computer systemcntd
AAiT
Memory
A digital data storing element
Temporary(Working) Memory:
usually made of flip-flop latches (SRAM) or
transistor-capacitor combinations(DRAM)
Permanent(storage) memory:
usually made of high capacity magnetic/optical discs
(hard drives) or solid state devices (EEPROM, flash)
Input/output (I/O) devices
A device we use to transfer data to/from the P; an interface
controller is required b/n the P and the I/O device: Keyboard,
mouse, display
ECEg - 4501
Evolution of the P
AAiT
10
Evolution of the P
AAiT
Intel 8086/8088
1978, 16 bit: 8088, 1979, 8-bit external bus
IBM PC; 1981
29,000 Trs.
Intel 80286
ECEg - 4501
11
AAiT
Intel 80386
1985, 32 bits
3-5 MIPS (7 MIPS on the 25 MHz chip)
memory paging and enhanced I/O permission features
4GB programming model
Intel 80486
1,200,000 Trs.
386+387+8K data and instruction cache, paging and MMU
12
Intel Core i7
March 2008, Nehalem micro-architecture, 3.066GHZ
45nm CMOS process, 731 million trs., up to 8cores/chip
Integrated Memory, graphics and direct media interface controller
Simultaneous hyper-treading, turbo-boost technology,
32K instruction & 32K L1 data cache/core, 256K L2 cache/core
8MB L3 cache,
Speculative-issue, out-of-order, superscalar microprocessor
(More on www.intel.com/products/processors/corei7)
ECEg - 4501
13
AAiT
ECEg - 4501
14
1985
Acorn Computer Group develops the world's rst commercial RISC processor
1987
Acorn's ARM processor debuts as the rst RISC processor for low-cost PCs
1990
Advanced RISC Machines (ARM) spins out of Acorn and Apple Computer's
collaboration efforts with a charter to create a new microprocessor standard.
VLSI Technology becomes an investor and the first licensee
1993
ARM introduces the ARM7 core
1994
Samsung license ARM technology
1995
ARM's Thumb architecture extension gives 32-bit RISC performance at 16-bit
system cost and offers industry-leading code density
ARM extends family with ARM8 high-performance solution
ARM launches the ARM7100 "PDA-on-a-chip
ECEg - 4501
15
1997
ARM and MicrosoD work together to extend Windows CE to the ARM architecture
1998
ARM Partners ship more than 50 million ARM Powered products
Intel licensees the ARM X-Scale Architecture
2000
ARM introduces Jazelle technology for Java applications
ARM introduces the ARM926EJ-S soft macrocell with enhanced DSP
2002
ARM introduces the SecurCore SC200 and SC210 microprocessor cores
2003
ARM partners ships more than 1 billion ARM powered devices!
ECEg - 4501
16
ARM Cortex
Cortex A8
17
Compare/contrast
AAiT
In modern Ps, the best features from the different types
is taken to achieve the maximum performance.
Based on Architecture/instruction set, the major
categories are RISC and CISC.
ECEg - 4501
18
Compare/contrastRISC
Vs CISC
AAiT
CISC
When the 8086 was introduced
Memory expensive; Compilers lousy; VLSI primitive
Keeping the encodings of common instructions short
helped in two ways.
It made programs shorter, saving precious memory space.
Shorter instructions can also be fetched faster.
Assembly programming is easier
19
RISC Vs CISCcntd
AAiT
RISC
The idea of simpler instruction formats seemed radical in the 1980s.
RISC-based programs needed more instructions and were harder
to write by hand than CISC-based ones.
This also meant that RISC programs used more memory.
Many newer processor designs use a reduced instruction set
20
Compare/contrastperformance
AAiT
21
Next Lecture:
Microprocessor Fabrication
Trends and Prospects
Summary
ECEg - 4501
AAiT