CSC 110 - Intro. to Computing Lecture 5: Gates, Circuits, & Transistors.

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

DAT2343 Basic Logic Gates © Alan T. Pinck / Algonquin College; 2003.
Gates and Circuits Nell Dale & John Lewis (adaptation by Erin Chambers and Michael Goldwasser)
L14: Boolean Logic and Basic Gates
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Chapter 4 Gates and Circuits.
Types of Logic Circuits
CSIS 3510 Computer Organization and Architecture Topics covered in this lecture: –Review of De’Morgan’s Theorem –Using De’Morgan’s Theorem –Building a.
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Digital Logic Design Lecture 22. Announcements Homework 7 due today Homework 8 on course webpage, due 11/20. Recitation quiz on Monday on material from.
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits – I Flip-Flops A sequential circuit is a logic components whose outputs.
Unit 11 Latches and Flip-Flops Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
1 Digital Logic
Chapter 4 Gates and Circuits.
CSC 110 – Intro to Computing Lecture 14: Midterm Review.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
1 Homework Reading –Tokheim, Chapter 3, 4, and –Logg-o on Analytical Engine Website Machine Projects –Continue on mp3 Labs –Continue in labs.
Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 81 Today’s class Digital Logic.
CS 300 – Lecture 3 Intro to Computer Architecture / Assembly Language Digital Design.
Prof. Kavita Bala and Prof. Hakim Weatherspoon CS 3410, Spring 2014 Computer Science Cornell University See: P&H Appendix B.2 and B.3 (Also, see B.0 and.
ETE Digital Electronics Latches and Flip-Flops [Lecture:12] Instructor: Sajib Roy Lecturer, ETE, ULAB.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lab 2P. 1Winter Quarter Digital Electronics Lab 2.
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Digital Computer Design Fundamental
Chapter 4 Gates and Circuits.
COE 202: Digital Logic Design Sequential Circuits Part 1
Chapter 4 Gates and Circuits.
Lecture 17: Digital Design Today’s topic –Intro to Boolean functions Reminders –HW 4 due Wednesday 10/8/2014 (extended) –HW 5 due Wednesday 10/15/2014.
Sequential Circuits. Combinational Circuits + Storage element output depends both on previous state and input Fig. 5-1.
Logic Design Computer Architecture and Design Lecture 1.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
CSC Intro. to Computing Lecture 5: Boolean Logic, Gates, & Circuits.
Digital Logic. 4 Why is 32-bit or 64-bit significant in terms of speed, efficiency? 4 Difference between OR and XOR 4 What is a mux for? PLA 4 Two kinds.
CS1502 Formal Methods in Computer Science
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
Apr. 3, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 3: Review of Digital Circuits and Logic Design Jeremy R. Johnson Mon. Apr.
Multiplexers 1 The output is equal to one of several input signals to the circuit The multiplexer selects which input signal to use as an output signal.
Quiz What are the results of the following 4-bit bitwise logical operations? NOT OR NOR AND
CSC Intro. to Computing Lecture 5: Boolean Logic, Gates, & Circuits.
Gates and Logic Hakim Weatherspoon CS 3410, Spring 2012 Computer Science Cornell Universty See: P&H Appendix C.2 and C.3 (Also, see C.0 and C.1)
CSC 110 – Intro to Computing Lecture 8: Computing Components.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
מבנה מחשב תרגול 2. 2 Boolean AND Operation Truth Table Equivalent Gate Different notations:
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
ITEC 352 Lecture 3 Low level components(2). Low-level components Review Electricity Transistors Gates Really simple circuit.
CSC Intro. to Computing Lecture 7: Circuits & Boolean Properties.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
CO5023 Latches, Flip-Flops and Decoders. Sequential Circuit What does this do? The OUTPUT of a sequential circuit is determined by the current output.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
ECE 301 – Digital Electronics Brief introduction to Sequential Circuits and Latches (Lecture #14)
ECE 331 – Digital System Design Introduction to Sequential Circuits and Latches (Lecture #16)
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
Homework Reading Machine Projects Labs
Digital Technology.
Homework Reading Machine Projects Labs
Transistors and Logic Circuits
Instructor:Po-Yu Kuo 教師:郭柏佑
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
Week 7: Gates and Circuits: PART II
Instructor:Po-Yu Kuo 教師:郭柏佑
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

CSC Intro. to Computing Lecture 5: Gates, Circuits, & Transistors

Announcements Homework available on Blackboard  Homework due Friday at 4:00PM Hand to me or put in my box in Wehle 207  Quiz on this material next Thursday Quiz last week went fairly well  Top was 100; Mean was 77 (σ = 20.7)  Scores available on Blackboard Come to my office to pick up your quiz

Announcements CSC tutors are now available  Hours posted outside Wehle 208  Also come to my office hours, make an appointment, or call/ me questions

Circuit Design In your group, complete work with circuits  Compute the truth tables for circuits  Draw the diagrams for these equations

Truth Table

Truth Table

Circuit Design

Circuit Design

Algebraic Properties Law of Double Negation: a’’ = a

Improving Circuit Design CircuitProperty Used in this Step Identity Commutative Distributive

Improving Circuit Design CircuitProperty Used in this Step Identity DeMorgan’s Law Associativity Commutativity Distributive Identity Distributive Identity

Circuit Propagation Delay Time taken for signal to get through circuit  Important measure when building processor  Gate cannot generate results until it has all of its inputs Each gate starts at the time of the latest input  Each gate requires a set amount of time to complete Could be specific amount of time (e.g., 10 ps) Or state result as multiple of gate delays

How are these improved? How long will this circuit need to complete?

How are these improved? How long will it take for the signal to propagate through?

Circuit Delay Propagation What is the propagation delay for this circuit?

Circuit Delay Propagation What about this circuit?

Transistors Transistors used to implement gates  Uses a semiconductive material Material can serve as both conductor and insulator Silicon is the preferred semiconductor because of cost. Why is it so cheap?

Transistors Originally invented by Bell Labs in 1947  Have been improved since then… Can switch on-and-off in nanoseconds Each transistor dissipates energy  Why is this be a problem?

My View of Transistor Source

My View of Transistor Ground

My View of Transistor Output

My View of Circuit Input: Franklin “off” flying a kite

My View of Circuit Input: Franklin “on” poking key

Engineer’s View of a Circuit Source connects system power  Always at +5V (e.g. “high” state or 1) Ground drains transistor’s energy  Leaves transistor at +1V (e.g. 0) When V in controls “base”  Acts like on-off switch  When on, source drains into ground  When off, source signal sent to V out

Transistor Design Turns out NOT, NAND, and NOR are easiest gates to turn into transistors  How do these work?

Transistor Design Apple wanted NAND-based memory (rather than NOR-based) for iPod Nano. Why?

Combinatorial Circuits So far, all circuits have been combinatorial  Output is determined only by input values  Why would we need other circuits?

Sequential Circuits Sequential circuits include another feature  Output determine by inputs AND current state  Used when current state is important detail E.g., Memory

S-R Latch S-R latch stores single binary digit (1 or 0)  Result is value of X Inputs stand for Set and Reset Could also be implemented with NOR gates Adapted from Computer Science Illuminated, Dale and Lewis, p. 112 X’

S-R Latch X’ Normally, S & R = 1  Maintains value of X S = 1, R = 0  X = 0  Called the “set state” S = 0, R = 1  X = 1  Called the “reset state” Latches also called “flip-flop”s

For next lecture Start doing the homework Start reading Section 5 Be ready to discuss:  What Individual Computer Component Descriptions Mean Sizes Disks Speed