Escolar Documentos
Profissional Documentos
Cultura Documentos
Outline
Class administration
Digital design methodology
Representations of Digital Design
Introduction to Mentor Graphics tools
READING:
Chapter 1
Chapter 2
Class Administration
Lectures twice a week, Tuesday-Thursday 3:30-4:50PM
Instructor:
Hai Zhou
Office: L461 Tech
EMAIL: haizhou@northwestern.edu
PHONE: 491-4155
Teaching Assistant
Peng Kang
Office: M314 Tech
EMAIL: pengkang2011@u.northwestern.edu
Class Prerequisites
EECS 203: Introduction to Computer Engineering
Need to have basic understanding of digital systems, logic gates,
combinational and sequential logic
Class Administration
Required Textbooks:
Mano and Kime, Logic & Computer Design
Fundamentals, Prentice Hall.
Classnotes
Copies of lecture transparencies to be made available
Class Grades
5 Homeworks
25% of grade
5 Labs
25% of grade
Midterm exam
20% of grade
Final exam
30% of grade
Homeworks and labs will be due at the beginning of class on the due
date
A penalty of 10% per working day will be assigned to late assignments or
labs
Lab Work
You will be introduced to the use of a commercial computer
aided design tool from Mentor Graphics
Will use the Sun workstations in the Wilkinson Lab (3rd floor M
wing of Tech)
Lab Hours: Open
There will be 5 labs
Digital Systems
Digital vs. Analog Waveforms
+5
+5
1
V
Time
Time
Digital:
only assumes discrete values
Analog:
values vary over a broad range
continuously
X AND Y
X OR Y
NOT X
0
0
1
1
0
1
0
1
0
0
0
1
0
0
1
1
0
1
0
1
0
1
1
1
0
1
1
0
10
Switching Network -
Z1
Z2
Zm
Combinational logic
no feedback among inputs and outputs
outputs are a pure function of the inputs
e.g., full adder circuit:
(A, B, Carry In) mapped into (Sum, Carry Out)
A
B
Cin
Full
Adder
EECS 303 Lecture 1
Sum
Cout
11
12
L
6
L2
L
5
L
7
L3
L
6
L2
L
5
L
7
L3
B3
B2
B1
B0
Val
L1
L2
L3
L4
L5
L6
L7
Normally Closed
Control
True
Closed
Switch
Control
False
Normally Open
Switch
Open
Switch
False
Normally Closed
Switch
Open
Switch
Closed
Switch 16
Switch Representations
Examples:
EXAMPLE:
IF car in garage
AND garage door open
AND car running
True
THEN back out car
Car in
garage
Car
running
Car can
back out
EXAMPLE:
IF car in driveway
OR (car in garage
AND NOT garage door
closed)
AND car running
THEN can back out car
Garage
door open
Garage door
closed
Car in
garage
Car
running
True
True
Car can
b ack out
Car in
driveway
Floating nodes:
what happens if the car is not running?
outputs are floating rather than forced to be false
Under all possible control signal settings
(1) all outputs must beEECS
connected
303 Lectureto
1 some input through a path
17
(2) no output is connected to more than one input through any path
Switch Representations
A
False
A
output
True
AND function
Series connection to TRUE
False
B
output
True
OR function
Parallel connection to TRUE
18
0
0
1
1
0
1
0
1
Sum Carry
0
1
1
0
A
0
0
0
0
1
1
1
1
0
0
0
1
19
0
1
0
1
Sum Carry
0
1
1
0
0
0
0
1
Sum = A B + A B
OR'd together product terms
for each truth table
row where the function is 1
if input variable is 0, it appears in
complemented form;
if 1, it appears uncomplemented
EECS 303 Lecture 1
Carry = A B
20
Representations of a Digital
Design: Boolean Algebra
Another example:
A
B Cin
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Sum Cout
0
1
1
0
1
0
0
1
0
0
0
1
0
1
1
1
Cout = A B Cin + A B Cin + A B Cin + A B Cin
21
Inverter
AND
Net 1
SUM
B
OR
Net 2
CARRY
22
\Cin \ B \ A
Cin B
A
Cin
SUM
A
B
Cout
B
Cin
Cout
A
Cin
23
Waveform Representation
dynamic behavior of a circuit
real circuits have non-zero delays
Timing Diagram of the Half Adder
100
200
A
B
SUM
CARRY
sum
sum
propagation
propagation
delay
delay
circuit hazard: 1 plus 0 is 1, not 0!
Output changes are delayed from input changes
The propagation delay is sensitive to paths in the circuit
Outputs may temporarily change from the correct value to the
wrong value back again to the correct value: this is called
a glitch or hazard EECS 303 Lecture 1
24
A A Sum
B B Carry
B Carry
HA
Sum
Sum
HA
Cout
Cin
Cin
A
B
Sum
Sum
FA
Cin Cout
Cout
25
26
27
Component
Viewpoint
Symbol for
XOR
28
29
Summary
Class administration
Digital design methodology
Representations of Digital Design
Introduction to Mentor Graphics tools
NEXT LECTURE: Memory Elements
READING:
Chapter 4
30