two values, false and true used in mathematical logic, and to two voltage levels, LOW and HIGH used in switching circuits.

Similar documents
CS12N: The Coming Revolution in Computer Architecture Laboratory 2 Preparation

Boolean Algebra. Boolean Algebra

September 20 Homework Solutions

Boolean Algebra cont. The digital abstraction

Unit 4. Combinational Circuits

Control with binary code. William Sandqvist

12.4 Similarity in Right Triangles

Properties of Logarithms. Solving Exponential and Logarithmic Equations. Properties of Logarithms. Properties of Logarithms. ( x)

Instructions. An 8.5 x 11 Cheat Sheet may also be used as an aid for this test. MUST be original handwriting.

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

Chapter Introduction. 2. Linear Combinations [4.1]

Combinational Logic. Precedence. Quick Quiz 25/9/12. Schematics à Boolean Expression. 3 Representations of Logic Functions. Dr. Hayden So.

GeoTrig Notes Conventions and Notation: First Things First - Pythogoras and His Triangle. Conventions and Notation: GeoTrig Notes 04-14

ENGR 3861 Digital Logic Boolean Algebra. Fall 2007

expression simply by forming an OR of the ANDs of all input variables for which the output is

Overview of Today s Lecture:

Exercise 3 Logic Control

Contraction Mapping Principle Approach to Differential Equations

A LOG IS AN EXPONENT.

Three Dimensional Coordinate Geometry

Fast Boolean Algebra

Solutions - Homework 1 (Due date: September 9:30 am) Presentation and clarity are very important!

Boolean algebra.

Digital Control of Electric Drives

4.8 Improper Integrals

3D Transformations. Computer Graphics COMP 770 (236) Spring Instructor: Brandon Lloyd 1/26/07 1

e t dt e t dt = lim e t dt T (1 e T ) = 1

K 7. Quadratic Equations. 1. Rewrite these polynomials in the form ax 2 + bx + c = 0. Identify the values of a, b and c:

ANSWERS TO EVEN NUMBERED EXERCISES IN CHAPTER 2

More Digital Logic. t p output. Low-to-high and high-to-low transitions could have different t p. V in (t)

Some basic notation and terminology. Deterministic Finite Automata. COMP218: Decision, Computation and Language Note 1

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005

1.0 Electrical Systems

Engr354: Digital Logic Circuits

Linear Quadratic Regulator (LQR) - State Feedback Design

System Validation (IN4387) November 2, 2012, 14:00-17:00

ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT, OAKLAND UNIVERSITY ECE-2700: Digital Logic Design Fall Notes - Unit 1

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α

ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT, OAKLAND UNIVERSITY ECE-378: Computer Hardware Design Winter Notes - Unit 1

6.01: Introduction to EECS I Lecture 8 March 29, 2011

CS 310 (sec 20) - Winter Final Exam (solutions) SOLUTIONS

Matrix Algebra. Matrix Addition, Scalar Multiplication and Transposition. Linear Algebra I 24

Geometry of the Circle - Chords and Angles. Geometry of the Circle. Chord and Angles. Curriculum Ready ACMMG: 272.

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES

QUADRATIC EQUATION EXERCISE - 01 CHECK YOUR GRASP

Factorising FACTORISING.

ENGR 1990 Engineering Mathematics The Integral of a Function as a Function

Some Inequalities variations on a common theme Lecture I, UL 2007

ESSLLI 2007 COURSE READER. ESSLLI is the Annual Summer School of FoLLI, The Association for Logic, Language and Information

Linear Algebra Introduction

3. Design a stick diagram for the PMOS logic shown below [16] Y = (A + B).C. 4. Design a layout diagram for the CMOS logic shown below [16]

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton

FURTHER GENERALIZATIONS. QI Feng. The value of the integral of f(x) over [a; b] can be estimated in a variety ofways. b a. 2(M m)

ECE Microwave Engineering. Fall Prof. David R. Jackson Dept. of ECE. Notes 10. Waveguides Part 7: Transverse Equivalent Network (TEN)

Lecture 11 Binary Decision Diagrams (BDDs)

f t f a f x dx By Lin McMullin f x dx= f b f a. 2

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic

The solution is often represented as a vector: 2xI + 4X2 + 2X3 + 4X4 + 2X5 = 4 2xI + 4X2 + 3X3 + 3X4 + 3X5 = 4. 3xI + 6X2 + 6X3 + 3X4 + 6X5 = 6.

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

Coefficient Inequalities for Certain Subclasses. of Analytic Functions

Lecture 6: Coding theory

MTH 146 Class 11 Notes

Honours Introductory Maths Course 2011 Integration, Differential and Difference Equations

Logarithms LOGARITHMS.

REAL ANALYSIS I HOMEWORK 3. Chapter 1

Motion. Part 2: Constant Acceleration. Acceleration. October Lab Physics. Ms. Levine 1. Acceleration. Acceleration. Units for Acceleration.

15/03/1439. Lecture 4: Linear Time Invariant (LTI) systems

Boolean Algebra. Boolean Algebras

Optimal Transform: The Karhunen-Loeve Transform (KLT)

Functions. mjarrar Watch this lecture and download the slides

Digital Circuit Engineering

DATABASE DESIGN I - 1DL300

Global alignment in linear space

NMR Spectroscopy: Principles and Applications. Nagarajan Murali Advanced Tools Lecture 4

Solutions to assignment 3

Linear Circuit Elements

Solutions - Midterm Exam

1. Twelve less than five times a number is thirty three. What is the number

Trigonometry Revision Sheet Q5 of Paper 2

Mathematics 805 Final Examination Answers

Chapter 2: Evaluative Feedback

Review for the Midterm Exam.

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point

Using hypothesis one, energy of gravitational waves is directly proportional to its frequency,

3. Object Oriented Programming

Digital Design IE1204/5

Section 2.3. Matrix Inverses

Solutions to Problems from Chapter 2

Reasoning and programming. Lecture 5: Invariants and Logic. Boolean expressions. Reasoning. Examples

FM Applications of Integration 1.Centroid of Area

6.003 Homework #9 Solutions

CS 330 Formal Methods and Models Dana Richards, George Mason University, Spring 2016 Quiz Solutions

PYTHAGORAS THEOREM WHAT S IN CHAPTER 1? IN THIS CHAPTER YOU WILL:

Coalgebra, Lecture 15: Equations for Deterministic Automata

CSC 373: Algorithm Design and Analysis Lecture 9

ON NEW INEQUALITIES OF SIMPSON S TYPE FOR FUNCTIONS WHOSE SECOND DERIVATIVES ABSOLUTE VALUES ARE CONVEX.

CS 330 Formal Methods and Models

This enables us to also express rational numbers other than natural numbers, for example:

8 THREE PHASE A.C. CIRCUITS

Released Assessment Questions, 2017 QUESTIONS

Transcription:

Digil Logi/Design. L. 3 Mrh 2, 26 3 Logi Ges nd Boolen Alger 3. CMOS Tehnology Digil devises re predominnly mnufured in he Complemenry-Mel-Oide-Semionduor (CMOS) ehnology. Two ypes of swihes, s disussed in se.., re implemened s pir of omplemenry MOS Fields-Effe-Trnsiors FETs: nmos rnsisor normlly open swih, pmos rnsisor normlly losed swih, Suh pir of rnsisors is used o uild n inverer nd onsequenly ll digil devies When he inpu volge V is low, h is, he logi signl =, he pmos rnsisor is losed nd nmos rnsisor is open. Consequenly he oupu volge V y is high, h is, he logi signl y =. The inverse siuion ours when he inpu volge is high. A.P. Ppliński 3 Digil Logi/Design. L. 3 Mrh 2, 26 3.2 Boolen Alger nd Logi Ges Operions performed y logi ges n e onvenienly desried in Boolen lger. The (wo-vlued) Boolen lger is defined on se of wo elemens, B = {, }, wo inry operors, OR (+) nd AND ( ), one unry operor, NOT ( ), ( ) Two Boolen vlues nd orrespond o wo vlues, flse nd rue used in mhemil logi, nd o wo volge levels, LOW nd HIGH used in swihing iruis. A.P. Ppliński 3 2

Digil Logi/Design. L. 3 Mrh 2, 26 Three si Boolen (logi) operions nme: AND OR NOT symol: operion: y = y = + y = y y The resul of he AND operion is if nd only if oh opernds re. We lso sy h he oupu of he AND ge is HIGH (ssered) if oh inpu signls re HIGH (ssered). y A 2-vrile ruh le liss vlues of he oupu signl y {, } (resuls of logi operions) for ll possile ominions of inpu signls,, {, } (opernds). The AND operion or logi mulipliion is idenil wih rihmei mulipliion. The resul of he OR operion is if les one opernd is. We lso sy h he oupu of he OR ge is HIGH (ssered) if les one inpu signl is HIGH (ssered). The OR operion or logi ddiion differs from rihmei ddiion, euse + = no 2! The NOT operor or logi omplemen n e rihmeilly inerpreed y he following epression: = The NOT ge or INVERTER omplemens inpu signls: =, =. A.P. Ppliński 3 3 Digil Logi/Design. L. 3 Mrh 2, 26 3.3 Timing digrms Operions performed y logi ges n lso e desried y mens of iming digrms.. + In he emple he pir of inpu signls, goes hrough ll possile ominions in he following wy: = ( ) 2 {,, 3, 2} Suh ode is known s he Gry ode A.P. Ppliński 3 4

Digil Logi/Design. L. 3 Mrh 2, 26 3.4 Boolen Epressions nd Logi Digrms Boolen epressions re formed from: wo Boolen onsns, (, ), hree si logi operions, (, +, ), nd prenheses ( ). The order of evluion is: epressions inside prenheses, omplemen (NOT), logi mulipliion (AND), Logi ddiion (OR). Consider Boolen (logi) epression f = + = + where,,, f nd Boolen vriles. The equivlen logi digrm: f A.P. Ppliński 3 5 Digil Logi/Design. L. 3 Mrh 2, 26 In order for he logi ddiion o e performed efore mulipliion we hve o dd prenheses: The equivlen logi digrm: f = ( + ) = ( + ) f The AND operor (he mulipliion sign) my e omied nd we n wrie f = + or f = ( + ) Idenify: inpu-oupu pors, or signls (wires) onneed o he ouside world ges nd signl or nes (wires), h is. signls ineronneing ges inpus nd oupus. A.P. Ppliński 3 6

Digil Logi/Design. L. 3 Mrh 2, 26 3.5 VHDL Hrdwre Desripion Lnguge emple Digil devies/iruis n e desried/modelled using hrdwre desripion lnguge, VHDL. The desripion onsise of wo min prs: Inpu-oupu pors re speified y he ENTITY The irui sruure or funion is speified y n ARCHITECTURE Emple: The onens of he log ir.vhd file: -- his is ommen -- VHDL is NOT se sensiive -- To emphsize, he key words re pilized -- his is lk-o logi irui ENTITY log_ir_ IS PORT (,, : IN BIT ; f : ou BIT ) ; END [ENTITY] log_ir_ ; -- n rhieure for log_ir_ ARCHITECTURE rh_ OF log_ir_ IS BEGIN f <= ( OR NOT ) AND ; -- SIGNAL ssignmen END [ARCHITECTURE] rh_ ; A.P. Ppliński 3 7 Digil Logi/Design. L. 3 Mrh 2, 26 3.6 Truh les nd Krnugh Mps The ehviour of logi irui, h is, he vlues of he oupu signls for ll ominions of inpu signls n e equivlenly desried y: Boolen epression, he ruh le, he Krnugh mp, Consider he following Boolen (logi Funion f = ( + ) The ruh le liss he vlues of he funion f for ll 2 3 = 8 ominions of hree inpu vriles () 2 + f 2 3 4 5 6 7 A.P. Ppliński 3 8

Digil Logi/Design. L. 3 Mrh 2, 26 3.7 A 3-vrile Krnugh mp Krnugh mps re represenions of Boolen hyper-ues. A onep of djen veries A Krnugh mp for f = ( + ) 3.8 Theorems of Boolen Alger nd heir irui inerpreion Trnsformions nd simplifiion of logi iruis re sed on vriey of Boolen lger heorems whih n esily e verified y Doule Complemen Involuion propery = Doule NOT operion n e removed. A.P. Ppliński 3 9 Digil Logi/Design. L. 3 Mrh 2, 26 Operions wih onsns + = + = = = Operions wih repeed rgumens + = + = = = A.P. Ppliński 3

Digil Logi/Design. L. 3 Mrh 2, 26 OR nd AND re ommuive operions ll ge inpus re idenil: OR: + = + AND: = OR nd AND re ssoiive operions n-inpu ges eis: OR: + ( + ) = ( + ) + = + + OR operion (logi ddiion) is disriuive ( + ) = + AND operion (logi mulipliion) is lso disriuive! + = ( + ) ( + ) A.P. Ppliński 3 Digil Logi/Design. L. 3 Mrh 2, 26 Verifiion of he disriuive lw for he AND operion using he ruh le mehod: + = ( + ) ( + ) () 2 LHS + + RHS 2 3 4 5 6 7 For ll ominions of vriles LHS = RHS, herefore, he disriuive lw for he logi mulipliion is vlid. A.P. Ppliński 3 2

Digil Logi/Design. L. 3 Mrh 2, 26 Duliy Priniple Every heorem of he Boolen lger remins vlid if he operors nd onsns re inerhnged, h is: AND OR Emple: If he following equliy ( + ) = ( ) + ( ) is vlid, hen inerhnging + wih we oin he dul equliy: whih is lso vlid. + ( ) = ( + ) ( + ) A.P. Ppliński 3 3 Digil Logi/Design. L. 3 Mrh 2, 26 Asorpion Rules. + = Verifiion y lgeri mnipulion: + = ( + ) =, euse + = 2. ( + ) = he dul equliy 3. + = + Imporn! 4. ( + ) = Asorpion rules re imporn in irui simplifiion. A.P. Ppliński 3 4

Digil Logi/Design. L. 3 Mrh 2, 26 De Morgn s Theorems. The omplemen of produ (AND) is equl o he sum (OR) of he omplemens: ( ) = +. (. ) + equivlenly (. ) + This is he NAND ge (NOT AND) 2. The omplemen of sum (OR) is equl o he produ (AND) of he omplemens (he dul heorem): ( + ) = + ( + ). equivlenly ( + ) This is he NOR ge (NOT OR). A.P. Ppliński 3 5 Digil Logi/Design. L. 3 Mrh 2, 26 3.9 All wo-vrile funions y = F (, ) A.P. Ppliński 3 6

Digil Logi/Design. L. 3 Mrh 2, 26 3. NAND nd NOR ges he ruh les for he NAND nd NOR ges A.P. Ppliński 3 7