Beruflich Dokumente
Kultur Dokumente
Chap 1
: eedc5tgb@gmail.com
: gimball1220@gmail.com
: wengshihyao@gmail.com
: t790704re@gmail.com
Prerequisites: None
Pearson Education, Inc.
Modified by Y. L. Li, CS/NCTU
Administrative Matters
Chap 1
Book:
Course Contents
Chap 1
Course Goals
Course Contents
Grading Policy
Chap 1
Grading
Quizzes: 20%
Class participation: bonus
Course Web Site: eCampus
Academic Honesty: Avoiding cheating at all cost.
Pearson Education, Inc.
Modified by Y. L. Li, CS/NCTU
Overview
Chap 1
System hierarchy
Analog circuits
Digital circuits
AD
converter
Random
(control)
logic
RF
circuit
ALU
Integrated Circuits
Chap 1
Moores Law
Chap 1
>9500000 0.25,0.18umCMOS
7500000 0.35um CMOS
3100000 0.8umBiCMOS
1260000 ?
275000 0.8um
134000 HMOS
31000 2um
Source: Intel
Pearson Education, Inc.
Modified by Y. L. Li, CS/NCTU
IC History
Chap 1
Pentium 4
10
11
12
chip level
cell level
Layout
Pearson Education, Inc.
Modified by Y. L. Li, CS/NCTU
Die
Digital Design with VERILOG Practice
IC
13
Digital System
Chap 1
Discrete
Inputs
Discrete
Information
Processing
System
Discrete
Outputs
System State
Pearson Education, Inc.
Modified by Y. L. Li, CS/NCTU
14
No state present
Discrete
Inputs
Discrete
Information
Processing
System
Discrete
Outputs
15
0 0 1 3 5 6 4
16
Memory
CPU
Control
unit
Inputs:
Keyboard,
mouse, modem,
microphone
Datapath
(Arithmetic & logic op.)
Input/Output
Outputs: CRT,
LCD, modem,
speakers
Synchronous or
Asynchronous?
Pearson Education, Inc.
Modified by Y. L. Li, CS/NCTU
17
Signal
Chap 1
digits 0 and 1
words (symbols) False (F) and True (T)
words (symbols) Low (L) and High (H)
and words On and Off.
18
Time
Continuous
in value &
time
Analog
Digital
Discrete in
value &
continuous
in time
Asynchronous
Discrete in
value &
time
Synchronous
Pearson Education, Inc.
Modified by Y. L. Li, CS/NCTU
19
OUTPUT
INPUT
5.0
HIGH
LOW
4.0
3.0
2.0
1.0
HIGH
Threshold
Region
LOW
0.0
Volts
Pearson Education, Inc.
Modified by Y. L. Li, CS/NCTU
20
21
CPU Voltage
Disk Magnetic Field Direction
CD Surface Pits/Light
Dynamic RAM Electrical Charge
22
n-1
i=n-1
(Number)r =
i=0
Ai
j=-1
Aj
r
j
j=-m
23
Radix (Base)
Digits
0
1
2
3
Powers of 4
Radix
5
-1
-2
-3
-4
-5
Pearson Education, Inc.
Modified by Y. L. Li, CS/NCTU
General
Decimal
Binary
10
0 => r - 1
0 => 9
0 => 1
r0
r1
r2
r3
r4
r5
r -1
r -2
r -3
r -4
r -5
1
10
100
1000
10,000
100,000
0.1
0.01
0.001
0.0001
0.00001
1
2
4
8
16
32
0.5
0.25
0.125
0.0625
0.03125
24
Special Powers of 2
Chap 1
25
Positive Powers of 2
Chap 1
Exponent Value
11
2,048
12
4,096
13
8,192
14
16,384
15
32,768
16
65,536
17
131,072
18
262,144
19
524,288
20
1,048,576
21
2,097,152
26
27
Method 1
28
Name
Radix
Digits
Binary
0,1
Octal
0,1,2,3,4,5,6,7
Decimal
10
0,1,2,3,4,5,6,7,8,9
Hexadecimal
16
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
29
Decimal
(Base 10)
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
Pearson Education, Inc.
Modified by Y. L. Li, CS/NCTU
Binary
(Base 2)
00000
00001
00010
00011
00100
00101
00110
00111
01000
01001
01010
01011
01100
01101
01110
01111
10000
Octal
(Base 8)
00
01
02
03
04
05
06
07
10
11
12
13
14
15
16
17
20
Hexadecimal
(Base 16)
00
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
10
30
Method 2
To convert from one base to another:
1) Convert the Integer Part
2) Convert the Fraction Part
3) Join the two results with a radix point
31
Conversion Details
Chap 1
32
Convert 46 to Base 2
46/2 = 23
23/2 = 11+1/2
11/2 = 5 + 1/2
Remainder = 0
=1
=1
lsd
5/2 = 2 + 1/2
2/2 = 1
1/2 = 0 + 1/2
Remainder = 1
=0
=1
msd
(46)10 = (101110)2
integer = 1
=0
=1
=1
msd
lsd
33
0.65 = 0.1010011001001
The fractional part begins repeating every 4 steps
yielding repeating 1001 forever!
34
35
36
37
Convert 46 to Base 2
46/2 = 23 + 0/2
/2 = 11 + 1/2 + 0/22
/2 = 5 + 1/2 + 1/22 + 0/23
(46)10 = (101110)2
(46.6875)10 = (101110.1011)2
Pearson Education, Inc.
Modified by Y. L. Li, CS/NCTU
38
Chap 1
39
D . 3
8 )16
40
41
Flexibility of representation
Information Types
Numeric
Must represent range of data needed
Very desirable to represent data such that simple,
straightforward computation for common arithmetic operations
permitted
Tight relation to binary numbers
Non-numeric
Greater flexibility since arithmetic operations not applied.
Not tied to binary numbers
Pearson Education, Inc.
Modified by Y. L. Li, CS/NCTU
42
43
Complements of Numbers
Chap 1
44
Complements of Numbers
Chap 1
45
Complements of Numbers
Chap 1
46
Complements of Numbers
Chap 1
47
Complements of Numbers
Chap 1
48
Complements of Numbers
Chap 1
49
50
51
52
53
54
Binary Codes
Chap 1
55
Binary Codes
Chap 1
56
Binary Codes
Chap 1
57
Binary Codes
Chap 1
58
Decimal
Excess 3
8, 4, 2, 1
0011
0000
0100
0111
0101
0110
0110
0101
0111
0100
1000
1011
1001
1010
1010
1001
1011
1000
1100
1111
59
60
61
ASCII Properties
Chap 1
62
Binary Codes
Chap 1
63
Binary Codes
Chap 1
64
Binary Codes
Chap 1
65
UNICODE
Chap 1
66
Error-Detection Codes
Chap 1
67
68
Terms of Use
Chap 1
69