Professional Documents
Culture Documents
9/27/2004
General Items:
?
?
?
?
?
?
Reading Materials:
?
?
Miscellaneous:
F.Farahmand
1 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
Motherboard
Power
Supply
Storage
Devices
Processor
(CPU)
Buses
Memory
F.Farahmand
2 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
RAM
Processor
Heat sink
Extension Slots
F.Farahmand
3 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
Comparing processors:
- Clock rate (Hz) - How fast the processor executes the instructions
o Does not impact peripherals
o Manufacturing and package type affects the clock rate
? the smaller the better
- MIPS (Millions of instructions per second)
- Architecture (superscalar)
o Executing the next instruction before the previous inst. is done!
? Pipelining (executing four instructions at a time)
? Parallel processing (having multiple processors/ sharing)
F.Farahmand
4 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
Memory:
- Temporary storage of information
o Information types (3):
? Operating system, application programs, data being processed
o Memory devices are chips (come in different packaging)
o A memory location has an associated address
o Memory size (2 x = 2,4, 8, 64, ..., 1024.1020 )
o Memory access time (nsec = 10-9, 1 billionth of a sec. )
? How small is that? mmm
? In Hz or sec. (133 MHz = 7.5 nanosec.)
If A = 2 and B = 3 then where is A + B?
Address (1 KB Memory)
1
00001
2
00010
3
00011
.
F.Farahmand
5 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
6 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
F.Farahmand
7 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
?
Memory
Volatile
CMOS
RAM
Non-Volatile
Cache
Flash
ROM
DRAM SRAM
PROM ROM
SDRAM
EEPROM
DDR SDRAM
Direct RDRAM
Remember:
Smaller, Closer -> Faster!
Do MEMORY devices
FORGET and LOSE IT?
F.Farahmand
8 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
Write
Operation:
Processor
MEMORY
Read
Operation:
Processor
MEMORY
Memory
Modules:
9/27/2004
- SIMM
- DIMM
- RIMM
RAM Cache
L1
L2
L3
10 nsec
RAM
100 nsec
ROM
1000 nsec
HD
10 msec
F.Farahmand
CD/ Disk
9 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
Registers /
Memory
Clk
Storage
Devices
Co
process
or
CPU
O
U
T
P
U
T
I
N
P
U
T
10 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
Year
2002
2001
2001
2000
1999
1999
1998
2003
2002
2001
1999
Speed
1.31.5 GHZ
1.43.06 GHZ
733800 MHZ
1.43.2 GHZ
500900 MHZ
400 MHZ1.4 GHZ
266 MHZ2.6 GHZ
22.4 GHZ
1.532.25 GHZ
1.332.26 GHZ
500 MHZ1.4 GHZ
Future chips:
Asynchronous (clock free) ; Less Power;
No Memory Leakage
F.Farahmand
11 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
Spoken Language
(Communication)
Idea / Logic
Analog
World
Programming Language
Binary System
(Interface)
Machine Language
Digital
World
Results
12 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
- We can represent 0-7 with THREE BITS: 000, 001, , 111 (23 - 1)
- We can represent 0-255 with 8 BITS (or a BYTE):
o 00000000, 00000001, ., 11111111 (28 - 1)
- Different CODING system can be used to represent
characters/symbols in a computer:
00110000 (48)
00110001
00110010
..
01000001(65)
01000010
01000011
Symbols
0
1
2
A
B
C
EBCDIC
(Extended Binary Coded Decimal
Interchange Code) - Used in main
frames)
ASCII
(American Standard Code for
Information Interchange )
11110000 (240)
11110001
11110010
..
11000001 (193)
11000010
11000011
- Characters in other languages can be represented by UNICODE (16bit -> 65000 characters):
- Examples:
F.Farahmand
13 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
What is ASCII?
What is a BIT?
What is a BYTE?
What is a Kilobyte (KB)?
-
F.Farahmand
14 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
F.Farahmand
15 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
F.Farahmand
16 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
Ports:
- Interface external devices to the computer
- Come in all kinds of shapes and sizes
COMPUTER
Connector
External
Device
Port
17 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
18 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
BASIC IDEA:
Internal Devices
Slots
Expansion
Cards
Motherboard
Buses
Connectors
External
Devices
System Unit
Ports
F.Farahmand
19 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
Buses:
- Connecting internal devices together in the system
o Transferring BITS between one module to another
- Bus Design - They different based on their characteristics
- Bus characteristics: Type, Size, and Speed
o BUS SIZE: How many BITS at a time? (Bus Width)
? 32-bit bus, 64-bit bus most personal computers
? Larger bus width -> more data can be transferred at a time
? Kind of like the number of lanes in a highway
o BUS SPEED: Clock rate, how fast can you transfer the data
? Examples: 100, 133, 400, 800 MHz.
o BUS TYPE: System bus and expansion bus
? System Bus: Part of the motherboard, Processor -> Memory
very fast
? Expansion Bus:
? Processor -> Peripherals (such as sound cards, hard
disks, etc.) Slower kind of bus
? Different types of expansion busses: PCI, AGP, USB,
PC Card, FireWire (1394 Bus
Processo r
Using
BUSES
Using
PORTS
MEMORY
MODULES
System Unit
F.Farahmand
20 / 23
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
Memory
Fast Bus
(system Bus)
AGP
- Black thin slots
- Used for graphic
interface
- Invented by Intel
- Very fast
F.Farahmand
Expansion
Card
Interfaces
PCI
- White slots (16/32)
with fine pin-out
-Sound cards, video
cards
- Slower than AGP
21 / 23
ISA
- Black bulky slots
- very slow
- used for old modems
and sound cards (for
low-speed devices)
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
F.Farahmand
22 / 23
9/27/2004
File: lec5chap4f04.doc
Lecture 6 / Chapter 4
9/27/2004
Quiz
F.Farahmand
23 / 23
File: lec5chap4f04.doc