Professional Documents
Culture Documents
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:304: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
Need to have been exposed to UNIX since we will use the Mentor Graphics tools on SUN workstations Class will form a background for other classes in Computer Engineering
EECS 357: Introduction to VLSI CAD EECS 355: ASIC & FPGA Design EECS 361: Computer Architecture EECS 391: Introduction to VLSI Design
EECS 303 Lecture 1 4
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 EECS 303 Lecture 1
6
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
Lab 1: Tutorial on Mentor Graphics (simple logic) Lab 2: Design of combinational logic (8-bit adder) Lab 3: Design of ALU and shifter Lab 4: Design of a simple 8-state finites state machine Lab 5: Use of VHDL for combinational and sequential design
EECS 303 Lecture 1 7
Debug Faulty systems: design flaws, composition flaws, component flaws Design to make debugging easier Hypothesis formation and troubleshooting skills
EECS 303 Lecture 1 8
Digital Systems
Digital vs. Analog Waveforms
+5 1 V Time 5
Digital: only assumes discrete values
+5
1
V 5 Time
10
Swi tc hi ng Network -
Zm
Network implemented from switching elements or logic gates. The presence of feedback distinguishes between sequential and combinational networks.
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
L3
Control
Control
16
Examples:
EXAMPLE:
Switch Representations
Car running Car can back out
IF c ar in garage AND garage door open AND c ar running THEN back out c ar
EXAMPLE: IF car in driv eway OR (car in garage AND N OT garage door closed) AND car running THEN can back out car
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 be connected to some input through a path EECS 303 Lecture 1 (2) no output is connected to more than one input through any17 path
Switch Representations
A F alse
B F alse
output
output
True
True
18
Example: full adder adds two binary digits and Carry in to form Sum and Carry Out
A 0 0 0 0 1 1 1 1 B Cin 0 0 0 1 1 0 1 1 0 0 0 1 1 0 1 1 Sum C out 0 0 1 0 1 0 0 1 1 0 0 1 0 1 1 1
19
Deriving Boolean equations from truth tables: A B 0 0 1 1 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
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
AND
Net 1
SUM
B
OR
Net 2 CARRY
B SUM Cin
A B
Cout
B Cin A Cin
Cout
Fan-in: number of inputs to a gate Fan-out: number of gate inputs an output is connected to Technology "Rules of Composition" place limits on fan-in/fan-out
EECS 303 Lecture 1 23
Waveform Representation
dynamic behavior of a circuit real circuits have non-zero delays Timing Diagram of the Half Adder
100 A B SUM CARR Y 200
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
Sum A Sum
A B
Sum A B Sum
HA
HA
B Carry Cout
FA
Cout
Cin
Cin Cout
25
27
Component
Viewpoint
Component data is made of a schematic and a symbol A symbol is a graphical model of the Electronic Design Object input and output pins A schematic is a functional model of how outputs are related to input values
A viewpoint can be thought of as a filter that other applications use to process component data EECS 303 Lecture 1
28
Summary
Class administration Digital design methodology Representations of Digital Design Introduction to Mentor Graphics tools NEXT LECTURE: Memory Elements READING:
Chapter 4
30