15
EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

Embed Size (px)

DESCRIPTION

Digital Logic Binary system -- 0 & 1, LOW & HIGH, negated and asserted. Basic building blocks -- AND, OR, NOT

Citation preview

Page 1: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

EE121 John Wakerly Lecture #1

Introduction, Logic Circuits

Page 2: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

Administrative• Handouts

– Lab Sign-Up Sheet– Fact Sheet– Course Outline (readings due before lecture)– Lab Assignment #0 (due next Friday 10/1)

• Turn in Lab Sign-Up Sheet today or Tuesday• Subscribe to newsgroup “ee121@leland”• Grading

– 65-70% labs; do prelabs on-time and do a good job on documentation.

– midterm + final (equal weight)– all labs and exams required; no incompletes.

Page 3: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

Digital Logic• Binary system -- 0 & 1, LOW & HIGH, negated

and asserted.• Basic building blocks -- AND, OR, NOT

Page 4: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits
Page 5: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

Many representations of digital logic• Transistor-level

circuit diagrams

• Gate symbols (for simple elements)

Page 6: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

• Truth tables

• Logic diagrams

Page 7: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

• Prepackaged building blocks, e.g. multiplexer

• Equations: Z = S¢ × A + S × B

Page 8: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

• Various hardware description languages– ABEL

– VHDL

• We’ll start with gates and work our way up

Page 9: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

Logic levels• Undefined region

is inherent– digital, not analog– amplification,

weak => strong• Switching threshold varies with voltage, temp,

process, phase of the moon– need “noise margin”

• The more you push the technology, the more “analog” it becomes.

• Logic voltage levels decreasing with process– 5 -> 3.3 -> 2.5 -> 1.8 V

Page 10: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

MOS Transistors

NMOS

PMOS

Voltage-controlled resistance

Page 11: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

CMOS Inverter

Page 12: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

Switch model

Page 13: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

Alternate transistor symbols

Page 14: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

CMOS Gate Characteristics • No DC current flow into MOS gate terminal

– However gate has capacitance ==> current required for switching (CV2f power)

• No current in output structure, except during switching– Both transistors partially on– Power consumption related

to frequency– Slow input-signal rise times

==> more power• Symmetric output structure

==> equally strong drive in LOW and HIGH states

Page 15: EE121 John Wakerly Lecture #1 Introduction, Logic Circuits

• E102E announcement

• Foundation demo

• Sign up for mailing list, ee121@leland !

• Turn in lab sign-up sheet by Tuesday!