There is one handout today at the front and back of the room!

Slides:



Advertisements
Similar presentations
L14: Boolean Logic and Basic Gates
Advertisements

Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
Digital Circuits.
1 CS/COE0447 Computer Organization & Assembly Language Logic Design.
CS61C L16 Representations of Combinatorial Logic Circuits (1) Beamer, Summer 2007 © UCB Scott Beamer Instructor inst.eecs.berkeley.edu/~cs61c CS61C :
CS61C L15 Representations of Combinatorial Logic Circuits (1) Garcia, Fall 2005 © UCB Lecturer PSOE, new dad Dan Garcia
CS61C L22 Representations of Combinatorial Logic Circuits (1) Garcia © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
CS 61C L13 Combinational Logic (1) A Carle, Summer 2005 © UCB inst.eecs.berkeley.edu/~cs61c/su05 CS61C : Machine Structures Lecture #13: Combinational.
CS 61C L29 Combinational Logic Blocks (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
CS61C L21 State Elements: CircuitsThat Remember (1) Garcia © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
CS 61C L14 State (1) A Carle, Summer 2005 © UCB inst.eecs.berkeley.edu/~cs61c/su05 CS61C : Machine Structures Lecture #14: State and FSMs Andy.
CS 61C L14 Combinational Logic (1) A Carle, Summer 2006 © UCB inst.eecs.berkeley.edu/~cs61c/su06 CS61C : Machine Structures Lecture #14: Combinational.
CS61C L21 State Elements : Circuits that Remember (1) Spring 2007 © UCB 161 Exabytes In 2006  In 2006 we created, captured, and replicated 161 exabytes.
CS61C L22 Representations of Combinatorial Logic Circuits (1) Garcia, Spring 2008 © UCB 100 MPG Car contest!  The X Prize Foundation has put up two prizes;
CS61C L21 State Elements : Circuits that Remember (1) Garcia, Fall 2006 © UCB One Laptop per Child  The OLPC project has been making news recently with.
CS61C L17 Combinatorial Logic Blocks (1) Beamer, Summer 2007 © UCB Scott Beamer, Instructor inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture.
CS61C L22 Representations of Combinatorial Logic Circuits (1) Eric, Spring 2010 © UCB Cal Alumni Wins 2009 Turing Award! Charles P. Thacker was named.
CS61C L24 Latches (1) Garcia © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture.
Lecture 14 Today we will Learn how to implement mathematical logical functions using logic gate circuitry, using Sum-of-products formulation NAND-NAND.
CS 61C L15 Blocks (1) A Carle, Summer 2005 © UCB inst.eecs.berkeley.edu/~cs61c/su05 CS61C : Machine Structures Lecture #15: Combinational Logic Blocks.
CS 61C L21 State Elements: CircuitsThat Remember (1) Garcia, Fall 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
CS 61C L28 Representations of Combinatorial Logic Circuits (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
CS 61C L22 Representations of Combinatorial Logic Circuits (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
CS61C L17 Combinational Logic (1) Chae, Summer 2008 © UCB Albert Chae, Instructor inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #17.
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
CS61C L15 Synchronous Digital Systems (1) Beamer, Summer 2007 © UCB Scott Beamer, Instructor inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture.
CS 61C L15 State & Blocks (1) A Carle, Summer 2006 © UCB inst.eecs.berkeley.edu/~cs61c/su06 CS61C : Machine Structures Lecture #15: State 2 and Blocks.
CS61C L25 Representations of Combinational Logic Circuits (1) Garcia, Spring 2013 © UCB Android Brain on Robots!  “Half the weight of some robots is.
CS3350B Computer Architecture Winter 2015 Lecture 5.2: State Circuits: Circuits that Remember Marc Moreno Maza [Adapted.
CSC Intro. to Computing Lecture 5: Boolean Logic, Gates, & Circuits.
Fall 2012: FCM 708 Foundation I Lecture 2 Prof. Shamik Sengupta
CS/COE0447 Computer Organization & Assembly Language
CS 61C L4.1.2 State (1) K. Meinz, Summer 2004 © UCB CS61C : Machine Structures Lecture State and FSMs Kurt Meinz inst.eecs.berkeley.edu/~cs61c.
CS 61C L4.1.1 Combinational Logic (1) K. Meinz, Summer 2004 © UCB CS61C : Machine Structures Lecture Logic Gates and Combinational Logic
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
CS61C L24 State Elements : Circuits that Remember (1) Garcia, Fall 2014 © UCB Senior Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Logic Simplification-Using Boolean Laws Logic Design Laboratory EE 2121 Lectures By Manesh T EE2121-In Charge
CS 61C: Great Ideas in Computer Architecture Finite State Machines, Functional Units 1 Instructors: Vladimir Stojanovic and Nicholas Weaver
Logic Gates and Boolean Algebra Introduction to Logic II.
1 CS/COE0447 Computer Organization & Assembly Language Logic Design Appendix C.
Morgan Kaufmann Publishers
Logic Gates and Boolean Algebra
Flip Flops Lecture 10 CAP
Senior Lecturer SOE Dan Garcia
Digital Logic.
Boolean Algebra.
State Circuits : Circuits that Remember
Reading: Hambley Chapters
Inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #21 State Elements: Circuits that Remember Hello to James Muerle in the.
minecraft.gamepedia.com/Tutorials/Basic_Logic_Gates
CS/COE0447 Computer Organization & Assembly Language
CSE 370 – Winter Combinational Logic - 1
Instructor Paul Pearce
Inst.eecs.berkeley.edu/~cs61c UC Berkeley CS61C : Machine Structures Lecture 23 – Representations of Combinatorial Logic Circuits TA/Punner.
en.wikipedia.org/wiki/Conway%27s_Game_of_Life
Digital Logic.
February 7, 2002 John Wawrzynek
Lecture 20: Combinatorial Circuits I
robosavvy.com/forum/viewtopic.php?p=32542
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Boolean Algebra.
Inst.eecs.berkeley.edu/~cs61c CS61CL : Machine Structures Lecture #8 – State Elements, Combinational Logic Greet class James Tu, TA.
Lecturer PSOE Dan Garcia
TA David “The Punner” Eitan Poll
Lecturer SOE Dan Garcia
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Digital Circuits.
Instructor: Michael Greenbaum
Presentation transcript:

There is one handout today at the front and back of the room! inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #15 Representations of Combinatorial Logic Circuits 2005-10-24 No CPS today There is one handout today at the front and back of the room! Lecturer PSOE, new dad Dan Garcia www.cs.berkeley.edu/~ddgarcia World’s Smallest Car!  A car only 4nm across was developed by Rice U as a prototype. It actually “rolls on four wheels in a direction perp to its axes”. Buckyballs for wheels! Greet class www.livescience.com/technology/051020_nanocar.html

We use feedback to maintain state Review We use feedback to maintain state Register files used to build memories D-FlipFlops used to build Register files Clocks tell us when D-FlipFlops change Setup and Hold times important TODAY Technique to be able to increase clock speed Finite State Machines Representation of CL Circuits Truth Tables Logic Gates Boolean Algebra

Pipelining to improve performance (1/2) Timing…

Pipelining to improve performance (2/2) Timing…

Finite State Machines Introduction

Finite State Machine Example: 3 ones… Draw the FSM… Truth table… PS Input NS Output 00 1 01 10

Hardware Implementation of FSM + = ?

General Model for Synchronous Systems

Administrivia Any administrivia?

Truth Tables

TT Example #1: 1 iff one (not both) a,b=1 y 1

TT Example #2: 2-bit adder How Many Rows?

TT Example #3: 32-bit unsigned adder How Many Rows?

TT Example #3: 3-input majority circuit

Logic Gates (1/2)

And vs. Or review – Dan’s mnemonic AND Gate C A B Symbol Definition AND

Logic Gates (2/2)

2-input gates extend to n-inputs N-input XOR is the only one which isn’t so obvious It’s simple: XOR is a 1 iff the # of 1s at its input is odd 

Truth Table  Gates (e.g., majority circ.)

Truth Table  Gates (e.g., FSM circ.) PS Input NS Output 00 1 01 10 or equivalently…

George Boole, 19th Century mathematician Boolean Algebra George Boole, 19th Century mathematician Developed a mathematical system (algebra) involving logic later known as “Boolean Algebra” Primitive functions: AND, OR and NOT The power of BA is there’s a one-to-one correspondence between circuits made up of AND, OR and NOT gates and equations in BA + means OR,• means AND, x means NOT

Boolean Algebra (e.g., for majority fun.) y = a • b + a • c + b • c y = ab + ac + bc

Boolean Algebra (e.g., for FSM) PS Input NS Output 00 1 01 10 or equivalently… y = PS1 • PS0 • INPUT

BA: Circuit & Algebraic Simplification BA also great for circuit verification Circ X = Circ Y? use BA to prove!

Laws of Boolean Algebra

Boolean Algebraic Simplification Example

Canonical forms (1/2) Sum-of-products (ORs of ANDs)

Canonical forms (2/2)

Pipeline big-delay CL for faster clock “And In conclusion…” Pipeline big-delay CL for faster clock Finite State Machines extremely useful You’ll see them again in 150, 152 & 164 Use this table and techniques we learned to transform from 1 to another