Beruflich Dokumente
Kultur Dokumente
ENGI 1331H
de la Rosa-Pohl
Supplies
Brainpower (lots of it!)
de la Rosa-Pohl
Overview
1. Memory Review 2. Computer Architecture 3. Karnaugh Maps
de la Rosa-Pohl
MEMORY REVIEW
de la Rosa-Pohl
Memory Hierarchy
Hard Drive: mechanical magnetic slow cheap $ non-volatile huge Motherboard
CPU Cache: on CPU electrical fast!! $$$ volatile SRAM small Registers: on CPU electrical fast!!! $$$$ volatile SRAM tiny
de la Rosa-Pohl
Sample Systems
Dell Computers
Low-end computers w/cache on CPU & Motherboard http://www.dell.com/content/topics/segtopic.asp x/inspironone?c=us&cs=19&l=en&s=dhs&~ck=mn
High-end computers w/all cache on CPU http://www.dell.com/us/p/alienware-area51alx/pd?refid=alienware-area-51-alx&~ck=mn
de la Rosa-Pohl
COMPUTER ARCHITECTURE
de la Rosa-Pohl
Computer Architecture
Simple ALU datapath
a = 1; b = 2 + 1; c = a + b;
de la Rosa-Pohl
Your ISA
See handout
de la Rosa-Pohl
KARNAUGH MAPS
de la Rosa-Pohl
Truth Table
1-bit Adder (a+b)
a
0 0
b
0 1
c
0 0
d
0 1
1 1
0 1
0 1
1 0
c
de la Rosa-Pohl
a b a b a b
B
0
A
B 0
de la Rosa-Pohl
a 0 0 1 1
b 0 1 0 1
c 0 0 0 1
d 0 1 1 0
Truth Table
1-bit Subtractor (a-b)
a
0 0
b
0 1
c
0 1
d
0 1
1 1
0 1
0 0
1 0
c
de la Rosa-Pohl
a b a b a b
B
0
A
B 0
de la Rosa-Pohl
a 0 0 1 1
b 0 1 0 1
c 0 1 0 0
d 0 1 1 0
Truth Table
1-bit Multiplier (a b)
a
0 0
b
0 1
c
0 0
d
0 0
1 1
0 1
0 0
0 1
de la Rosa-Pohl
c 0 d a b
B
0
A
B 0
de la Rosa-Pohl
a 0 0 1 1
b 0 1 0 1
c 0 0 0 0
d 0 0 0 1
Truth Table
1-bit Divider (ab)
a
0 0
b
0 1
c
x 0
d
x 0
e
1 0
1 1
0 1
x 0
x 1
1 0
c
de la Rosa-Pohl
0 a b a b a b
d e
a 0
b 0 1 0 1
c x 0 x 0
d x 0 x 1
e 1 0 1 0
1 A B 0 1 A B
de la Rosa-Pohl
0
0 1
1 1
0 1
0 1
de la Rosa-Pohl
01
11
10
de la Rosa-Pohl
A 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
Inputs B C 0 0 0 0 0 1 0 1 1 0 1 0 1 1 1 1 0 0 0 0 0 1 0 1 1 0 1 0 1 1 1 1
D 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
Output E 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0
output
de la Rosa-Pohl
output ef (equations when ef = 00) ef (equations when ef = 01) ef (equations when ef = 10)
de la Rosa-Pohl
Introducingthe Multiplexer!
output ef (equations when ef = 00) ef (equations when ef = 01) ef (equations when ef = 10) ef (equations when ef = 11)
de la Rosa-Pohl
http://upload.wikimedia.org/wikipedia/commons/7/75/Multiplexer_4-to-1.svg
de la Rosa-Pohl
de la Rosa-Pohl