Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Course overview
KAIST
maeng@kaist ac kr
maeng@kaist.ac.kr
Syllabus
y
Instructors:
Seungryoul Maeng
Office : Room 4403
E-mail :maeng@kaist.ac.kr
g@
Office Hours: Mo/We 13:00 14:00 or by appointment
C
Course
H
Home page
http://camars.kaist.ac.kr/~maeng/cs211/digital09.htm
Class meets
Mo/We 11:00 12:15
Lab schedule
TBD
TAs
Hyotaek Sim(),
Sim() Jinho Seol(),
Seol()
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
Syllabus
y
(contd)
(
)
Course Text
Brown & Vranesic, Fundamentals of digital logic with VHDL
design, 3rd ed., McGraw Hill, 2009.
Handouts for Lab.
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
Design
g methodologies
g
Schematic drawing by hand or
Tools (logic design)
Design conception
DESIGN ENTRY
Schematic capture
VHDL
Synthesis
F
Functional
ti
l simulation
i l ti
No
Design correct?
Yes
Physical design
CAD Tools
Timing simulation
No
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
Experimental
p
Environment
Design conception
DESIGN ENTRY
Schematic capture
VHDL
Synthesis
Functional simulation
No
Design correct?
Yes
Physical
y
design
g
Timing simulation
No
Ti i requirements
Timing
i
t met?
t?
Chip configuration
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
Syllabus
y
(contd)
(
)
Lab Outline (Tentative)
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
Syllabus
y
(contd)
(
)
BBS
Course BBS : home page
Labs : 30%
E
Exams(2)
(2) : 20% each
h
HW, Reading Assignments & Class attendance : 30%
Cheating and Copying of solutions : F
Lazy HW submission may lose points or may not be graded
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
Syllabus
y
(contd)
(
)
Reading Assignments are important!
Must submit a chapter summary report before coming to
lecture on that chapter
Submit a report on Chapter 2 by Feb 9 (Mon)
No class on Wed(2/4)
y report
p
Summary
More than 3-page summary
If you have questions, write down them at the end of
the report
epo t
You can download the slide files before lectures
You can download the previous examinations (sorry, only
in Korean)
Questions?
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
Chapter 1
Design Concepts
KAIST
maeng@kaist ac kr
maeng@kaist.ac.kr
Chapter
p
Objectives
j
Digital Hardware Components
IC Technology
Design Process for Digital Hardware
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
10
What is digital
g
hardware?
Physical devices that carry a digital value
digital value: digits of information
information, discrete values
binary: a physical quantity that can be interpreted as a 0 or 1
voltage <0.5V is a 0 and >2.8V is a 1
orientation
i
i
off magnetization
i
i
: 0
or 1
direction of current flow : 0 or 1
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
11
Logic computation:
abstract vs.
vs implementation
Up to now, computation a mental exercise
paper, programs,
representation: 0, 1 on a wire
assignment:
x=y
data operation: x+y-1,
x+y-1 x and y
y,
control:
sequential, conditionals, loops, procedures
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
12
x =0
x =1
Battery
Light
x
(b) Symbol for a switch
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
Output
O t t
State of the light : L =1 if the light is
on, L=0 (off)
The state of the light can be
described as a function of
the input variable x
L(x) = x : logic function
13
Power
supply
x1
x2
Light
L(x1,x2) = x1 x2 or (x1 x x2 )
where L=1 if x1 = 1 and x2=1,
L=0
0o
otherwise
Light
L(x1,xx2) = x1 + x2
where L=0 if x1 = x2=0,
L=1 otherwise
x2
(b) The logical OR function (parallel connection)
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
14
Transistor Networks
Relays (switches) are not used much anymore
Relays a simple way to implement switches
electro-mechanical
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
15
x = "high"
Gate
Source
Drain
Substrate (Body)
(b) NMOS transistor
VG
VS
VD
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
16
Chapter
p
Objectives
j
Digital Hardware Components
IC Technology
Design Process for Digital Hardware
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
17
Hardware implementation
p
technology
gy
Technology used to build digital hardware
Until 1960s : transistors and resistors individual parts
Advent of IC
1970 : microprocessor
i
on a single
i l chip
hi
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
18
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
19
Moores Law
Moores Law
Chip density doubling the number of transistors on a
chip every 1.5 to 2 years
A sample
p of the International Technology
gy Roadmap
p
for Semiconductors
Year
2006
2007
2008
2009
2010
2012
Technology
feature size
78nm
68nm
59nm
52nm
45nm
36nm
Transistors
per cm2
283 M
357 M
449 M
566 M
714 M
1,133M
Transistors
per chip
2,430 M
3,061 M
3,857 M
4,859 M
6,122 M
9,718 M
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
20
100,000,000
Trans
sistors
10,000,000
R10000
Pentium
Intel Core i7
45nm, 781 M in 2008
Pentium 4
55M
In 2002
1,000,000
i80386
R3000
R2000
i80286
100,000
80486
1.18M
I 1989
In
i8086
10 000
10,000
i8080
i8008
i4004
1,000
1970
1975
1980
1985
1990
1995
2000
2005
Itanium 2
(1.5GHz)
221M
In 2003
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
21
Types
yp of Chips
p
Standard chips
7400, 7408, etc.
Memory block
Interconnection
wires
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
22
Types
yp of Chips
p ((contd))
Custom-Designed Chips
Application-specific integrated circuits (ASICs)
Custom
Semi-custom
S
i
t
Gate array
Standard Cell
Structured ASIC
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
23
Chapter
p
Objectives
j
Digital Hardware Components
IC Technology
Design Process for Digital Hardware
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
24
What is logic
g design?
g
Design
given a specification of a problem
come up with a way of solving it
choosing
h
i
appropriately
i t l from
f
a collection
ll ti
off available
il bl
components
meeting
g some criteria for size,, cost,, power,
p
, etc.
Logic design
determining the collection of digital logic components to
perform specified functions
which logic components to choose
many implementation technologies
Design
g may
y need to be optimized
p
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
25
Application
pp
of logic
g design
g
Computer system
CPU, Register files, Busses, Peripherals
Embedded products
phones, cars, toys, appliances, etc.
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
26
design method
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
27
Development
p
Process
Basic Design
g Loop
p
CAD Tools
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
28
High Level
Languages
(VHDL,
Verilog)
Behavioral
Synthesis
Boolean Function
Description (ABEL)
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
Boolean
Equations
Logic
g
Synthesis
Schematics
Gate
Libraries
29
Representation
p
of digital
g
designs
g
Hierarchical abstraction levels
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
30
Theory
y and Practice
CAD tools
CAD tools perform many tasks automatically
Why should one study the theory that is no longer needed
when we use CAD tools?
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
31
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
32
2004
2009Spring
CS211 Digital(jinsoo@cs.kaist.ac.kr)
Systems & Lab
33