CARLETON UNIVERSITY. X = Y 0 0 X > Y 1 0 X < Y 0 1 never 1 1 happens. Examples

Size: px
Start display at page:

Download "CARLETON UNIVERSITY. X = Y 0 0 X > Y 1 0 X < Y 0 1 never 1 1 happens. Examples"

Transcription

1 CARLETON UNIVERSITY Deparment of Electronics ELEC 2607 Switching Circuits January 17, 2005 Laboratory 1. Overview; A 4-Bit Binary Comparator X 3 X 2 X 1 X 0 COMPARATOR Y 3 Y 2 Y 1 Y 0 4 DATA BITS LEAST SIGNIFC BIT LEAST SIGNIFC BIT Decimal X Y Lx Ly Lx Ly X = Y 0 0 X > Y 1 0 X < Y 0 1 never 1 1 happens Examples X Y X 3 X 2 X 1 X 0 Y 3 Y 2 Y 1 Y 0 Lx Ly imal Take a 4-bit binary number X, for example This number is made of bits which we will call X 3 X 2 X 1 X 0. Thus X 3 =1, X 2 =0, X 1 =1, X 0 =1. In this lab, we will write full number like X in boldface, the individual bits are written with a subscript and with a normal font. A binary comparator compares two binary numbers nd Y. It can tell if X is larger, smaller, or equal to Y. The comparator in this lab will compare two 4-bit nonnegative binary numbers, and displays the result on two lights called Lx and Ly.. FIGURE 1: A block diagram of the circuit, showing the Review of Binary Numbers meanings of Lx and Ly, and some example comparisons decbinary This comparator is designed by breaking its circuit into subcircuits or blocks. Each block does a small part of the job. They can be made identical, which will save design work. Each subcircuit will compare two 2-bit numbers, say and. The outputs will be two 1-bit numbers a and a.. These outputs have been carefully chosen so that the outputs of two comparators like COMP 32 and COMP 10, shown below, can be themselves compared with an identical subcircuit. The output of this third block will be the desired output to light Lx and Ly J.Knight, January 17, 05 SWITCHING CIRCUITS Lab 1-1

2 J.Knight, January 17, 05 SWITCHING CIRCUITS Lab1-2 FIGURE 2: Subcircuit or block COMP ba a a X 3 X 2 X 1 X 0 Y 3 Y 2 Y 1 Y 0 COMP 32 X 32 Y 32 COMP 10 X 10 Y 10 Comparator to compare two 4-bit numbers made from three subcircuits. a a = 0 0 > 1 0 < 0 1 Unused Output 1 1 X 3210 Y 3210 Lx Ly All three blocks can be made identical. However it turns out that can be made simpler than the other two. FIGURE 3: Examples with numerical binary inputs:. X 3 =1 X 2 =1 X 1 =0 X 0 =0 Y 3 =1 Y 2 =1 Y 1 =0 Y 0 =1 X 3 =0 X 2 =0 Y 3 =0 Y 2 =1 X 1 =1 X 0 =0 Y 1 =0 Y 0 =1 COMP 32 X 32 =0 0 Y 32 =0 0 0 COMP 10 X 10 =0 Y 10 =1 1 COMP 32 X 32 =0 0 Y 32 =1 1 1 COMP 10 X 10 =1 Y 10 =0 0 X 3210 =0 Y 3210 =1 Lx Ly X 3210 =0 Y 3210 =1 Lx Ly Boolean Algebra Summary The Universe is 0 and 1, no other numbers are used. Operators: 0+0=0 0+1=1 OR, written as +; A+B=C means C=1 if either A OR B OR both are 1 1+0=1 1+1=1, written as ; A B=C means C=1 if A B are both are =0 0 1=0 NOT, written as an overbar, x; if x=1, x=0. 1 0=0 1 1=1 Associative (A+B)+C=A+(B+C), (A B) C = A (B C) 0=1 1=0 Commutative A+B=B+A, A B=B A Distributive A(B+C)=A B+A C Theorems: DeMorgan stheorems: Simplification x+x = x x x = x x+x = 1 x x = 0 x = x A + B = (A B) A B+B =B x 1=x x+1=1 x 0=0 x+0=x x + x = 1 (A + B) =A B A B+B = A + B Lab 1-2 SWITCHING CIRCUITS J.Knight, January 17, 2005

3 Prelab This must be prepared prior to the scheduled lab session. It will be checked near the start of the lab. The prelab is the basis for the design part of the lab report. However it usually needs considerable cleaning up and editing for the final report. 1.1 Complete the truth table, Fig. 4 (p. 3), for the generic comparator subcircuit, relating the inputs to the outputs. The inputs in the figure are in binary order. Rearrange them so the terms with a =1 are at the top, followed by those with a =1 and ending with those with no outputs. See Fig. 5 (p. 3). FIGURE 4: Incomplete the truth table for the generic comparator subcircuit. COMP ba Ya a Yba b b = 0 0 > 1 0 < 0 1 Unused Output 1 1 inputs outputs a a Boolean function to get a 1 output Comparison as for this particular line of inputs 2-bit a a binary numbers = < < < > = < < As an example, we will find the equations relating,,, to a. We will do this for the partial table in Fig. 5 (p. 3). Note that a =1 for:,,, = 0,0,0,1 or 0,0,1,0 or 0,0,1,1 or 0,1,1,0 or 0,1,1,1 or 1,0,1,1. If,,, = 0,0,0,1 then = =1 If,,, = 0,0,1,0 then = =1 If,,, = 0,0,1,1 then = =1 If,,, = 0,1,1,0 then = =1 FIGURE 5: Rearrangement of part of Fig. 4 (p. 3) so the a =1 terms are all at the top. inputs outputs a a Expression to generate a All other inputs J.Knight,January 17, 05 SWITCHING CIRCUITS Lab 1-3

4 J.Knight, January 17, 05 SWITCHING CIRCUITS Lab1-4 If,,, = 0,1,1,1 then = =1 a is 1, if one or more of the six expressions above are 1. This statement is the same as taking the Boolean OR(+) of the six expressions. 1st term 2nd 3rd term 4th 5th 6th a = Equ (1) One does not have to consider cases when a =0 in the expression above. In Boolean Algebra a can only take on values of 1 or 0. If it is not 1, it defaults to Find the logic equation relating,,, to a using the completed truth table of Fig. 4 (p. 3). 1.3 One needs to simplify the equation for a to reduce its size. For example, in expression Equ(1), the 2nd, 3rd, 4th and 5rd terms have two common variables, and. Considering only those four terms gives = (rearrange to put in the front) = ( ) (factor out ) = ( ( + ) + ( + )) Equ(2) = you do the rest using the theorems for x+x and x Since x+x=x, one can reuse terms that were included in Equ(2). Thus reusing the 3rd term gives 1st term reused 3rd reduced 2nd 3rd 4th & 5th terms from Equ(2) 6th a = + + ( ( + ) + ( + )) + Note the 1st and reused3rd terms have three common letters. One can simplify the 1st term by combining with the reused 3rd term. + ( 1st + 3rd ) = ( + ) (factor out 3 letters) Equ(3) = you do the rest 1.5 Write Equ(2) + Equ(3), that is Equ(2) ORed with Equ(3). This is equivalent to the first 5 terms of Equ(1). The result should have 5 letters not counting subscripts. 1.6 The 6th term has still to be reduced and then included in the final simplified version of Equ(1). This 6th term has three common letters with another term. Reduce those two terms to three letters. 1.7 Simplify the complete equations for a. It can be reduced to 8 letters 1.8 Write the complete simplified equation for a. You can derive it following the step used for a. However one can also write it by thinking how to change a circuit to calculate Y>X, into one to calculate X>Y. From the equations one can draw a schematic diagram using, OR and INVERT gates. For example Fig. 6 (p. 4) shows the schematic for Equ(2) + Equ(3). FIGURE 6: Equ(2) ORed with Equ(3). 1.9 Incorporating Fig. 6 (p. 4), draw a schematic of a circuit to implement the complete equations for a using, OR and NOT gates. OR This is only part of the complete circuit for Equ(1) Lab 1-4 SWITCHING CIRCUITS J.Knight, January 17, 2005

5 1.10 Draw the schematic to calculate a. Except for the input changes, this should look exactly like the circuit for a Consider the lower block. From the table in Fig. 1 (p. 1), observe that the output X 32, Y 32 =1,1 never comes out of block COMP 32 Thus in the position where X 3 Y 3 X 2 Y 2 X 1 Y 1 X 0 Y 0 X 32, Y 32 = 1,1 in the table for, one can make the output of anything one wishes, it will never COMP 32 X 32 Y 32 X 10 COMP 10 Y 10 happen. Never 1,1 Never 1,1 We call such outputs (for inputs that never happen) don t care outputs. We can have made these outputs 00, 01, 10 or 11, but here we will make them 00. X 3210 Y 3210 The truth table of Fig. 4 (p. 3) has been partially redone to apply to under the conditions that X 32, Y 32 =1,1 and X 10, Y 10 =1,1 never happen, so the corresponding outputs can be made 0,0 FIGURE 7: A truth table for. showing don t care outputs. These have been made 00 here. X 32 X 10 Y 32 Y 10 X 3210 Y 3210 a a a a Comparison as 2-bit binary = < < < > make these outputs 0,0 Never get = < make these outputs 0,0 Never get =1= make these outputs 0,0 make these outputs 0,0 make these outputs 0,0 make these outputs 0,0 make these outputs 0,0 Never get =1= Never get =1= Never get =1= Never get =1= Never get =1= or =1= 1.12 Find the equation for Y 3210 from the truth table above. Alternately, use the method at the end of p. 9, which will give a simple answer using a more thought provoking method Minimize the logic for Y 3210 to give two 3-input s, an OR, and some NOTs. It may be useful to use formula, A + AB = A + B Derive the formula for X Again it is very symmetrical with Y As a check go to Fig. 5 (p. 3), and remove all the terms where =1= and those where =1=. J.Knight,January 17, 05 SWITCHING CIRCUITS Lab 1-5

6 J.Knight, January 17, 05 SWITCHING CIRCUITS Lab1-6 When drawing a theoretical circuit for a logic equation, one typically uses and OR gates. In practice, N and NOR gates are much easier to build. Thus real logic is built with NS and NORs. On the Tektron logic board used in the lab (see p. 10), the available gates are mostly Ns and NORs. The board contains only four 2-input s and four 2-input ORs. These are barely enough s and ORs for one comparator block. However you can easily implement your circuits using N gates (an gate with an inverted output), and perhaps NOR gates (an OR with an inverted output) Use the diagram of the Tektron Logic Lab on p. 10, to count the gates of each type. Add the missing counts to Fig. 8 (p. 6). dual 2-input -NOR 2-input 3-input 2-input OR 2-input XOR 4 available 3 available 4 available 4 available 4 available FIGURE 8: 2-input N 3-input N 4-input N 2-input NOR NOT (Inverter) 1.16 There is a very important theorem, called DeMorgan s theorem, that will soon be done in the lectures. It proves that an N gate is equivalent to an OR gate with both inputs inverted. The top of Fig. 9 (p. 6) shows the two equivalent forms for N and for NOR. The lower part shows how to build circuits made of s followed by an OR using only the plentiful N gates. FIGURE 9: Demorgan s Theorem A B N C A B also N A B = C = A + B C D E NOR F D E D + E = F = D E also NOR By using DeMorgan on the N gate symbol, one gets another equally valid symbol.- Both the with a negated output and the OR with negated inputs are equally valid symbols for a N gate. Ns with 3 or more inputs convert to an OR with 3 or more inverted inputs. In the same way, the NOR gate has two equally valid forms. F X W U V OR Z = X W + U V X W U V N N N Z = X W + U V These inversions cancel each other Placing inverting circles back-to-back makes it possible to add negating circles to the outputs of the s, and the inputs of the OR, without changing the circuit function. This changes all three gates to N gates. X W U V N N N Z = X W + U V FIGURE 10: Converting Fig. 6 (p. 4) to a dual 2-input -NOR gates using DeMorgan s theorem You will likely need to use this circuit. OR OR OR OR Start with this Fig 6 Use A Β C= (A Β) C Shrink inverters to input circles Use Demorgan s Theorem Lab 1-6 SWITCHING CIRCUITS J.Knight, January 17, 2005

7 You will need to revise the circuit for the generic comparator subcircuit using only gates which will be available in the Tektron Logic Lab. Further, you must keep within your gate count Revise the circuits for COMP 32 and COMP 10 to use only gates and quantities available on the logic trainer. FIGURE 11: Some handy gate equivalences The same circuit is used for both of the COMP 32 and COMP 10 blocks in Fig. 2 (p. 2). The two circuits should be identical. This will make them much easier to build. (A+B)+C=A+B+C Use DeMorgan to see this Be sure there are enough gates of the right types to build the two subcircuits Draw a circuit for using s ORs and inverters Redraw using gates available on the logic trainer, which were not previously used The complete circuit you are about to build is likely larger than anything you have wired before. It is essential to plan it systematically. We strongly suggest the following Take the schematic diagrams of the generic subcircuit using the gates available on the logic trainer. Make sure it is uncrowded and neat without scratched out lines, or bubbles, s changed to ORs by scratching over the top, ditto marks, etc. Write the equation for the subcircuit underneath it. Use a separate sheet of paper from the wiring diagrams described next. Take the diagram of the Tektron logic lab. Select the gates you will use for each subcircuit. Draw a balloon around the gates in each block or, as done on the right, for each half-block. Fill in the detailed wiring within the subcircuit. Use textual names to show the input and output signals entering or leaving your balloon, rather than the wires. If you show too much wiring your drawing will be so cluttered it will become useless. Use lines to show the shorter wires inside the balloons. Try using different colors. a = ( + )( + ) a COMP ba(x) FIGURE 12: A schematic using Y gates ab from the logic trainer FIGURE 13: A wiring diagram. You need this! Each subcircuit uses a column in the Textron lab X 2 X 3 COMP 32(X) X 32 Y 2 Y 3 COMP 32(Y) 1.21 The bottom block is simpler. Again be sure you have a good clear schematic using the available gates. Then add the wiring to the Tektron layout sheet. Y 3 balloon Y 2 X 3 X 2 J.Knight,January 17, 05 SWITCHING CIRCUITS Lab 1-7

8 J.Knight, January 17, 05 SWITCHING CIRCUITS Lab1-8 Testing Your Circuit You will need a set of test inputs to thoroughly test your subcircuits. Complete the table to use for testing. END OF PRELAB Constructing Your Circuit. Are you psychologically unprepared for the fact that they could make a wiring mistake? If so you will wire the whole darn circuit and then test it. We suggest you build and test the circuit in parts. Look on p 11 to see why. Debugging five gates is far easier than debugging twenty-five Choose four switches for the X input and four for the Y input. Choose lights for X 3210 = L x and Y 3210 = L y, the final output. Choose two other pairs of lights to display X 32 -Y 32, and X 10 -Y When wiring, push each lead firmly into the hole. Then grip the lead by the metal tip and give it a slight (10 degree) twist after inserting a a SWITCH OUTPUTS LAMP INPUTS X 32 Y 32 X 10 Y 10 used for No No Lx Ly X3 X2 X1 X0 Y3 Y2 Y1 Y FIGURE 14: Insert lead 2.25 Construct COMP 10 : Wire the subcircuit. Wire X 0 and Y 0 to the switches. Wire X 1 and Y 1 to the switches. Wire X 10 and Y 10 their lights. Test the subcircuit COMP Construct COMP 32 in the same way. Then test it too! Twist lead 3 X Construct. Do not be in a hurry to connect it to the other blocks. First: Wire X 32 and Y 32 to two spare switches such as such as 8 and 9, to aid debugging. 7 Y1 X 0 X 1 X 10 COMP10 Y 1 Y 10 Y 0 4 X0 X 10 Y 10 8 Y Lab 1-8 SWITCHING CIRCUITS J.Knight, January 17, 2005

9 There are no more spare switches, but you can temporarily wire X 10 and Y 10 to the push buttons. Wire outputs X 3210 and Y 3210 to the L x and L y lights respectively. You can now test the subcircuit. Remember the don t care inputs should give 00 output PULSE OUTPUTS X 32 X 10 X temporary connections Y 10 Y 3210 Y 32 Lx 9 Ly Remove the temporary connections and wire the complete comparator as it should be Debugging: Most of the troubles are poorly inserted wires. Reread Step 2.24(p. 8). A common symptom is lights that change when you place the flat of you hand on top of the mess of wires. Take a spare light and connect a long lead on it. You can touch the other end of the lead to any other lead to tell if that other lead is 1 or 0. Sometimes the big white plastic connection boards are loose in the connector in the wooden frame. Push the heel of your hand on the plastic on the side of the board and push them in. If you are really having trouble it may be useful to use two trainers. Place them side by side and connect the GROUND connections by a lead. This will give you some extra debugging lights, and some less cluttered space. Check out and Clean Up When your circuit works, demonstrate it to the teaching assistant. After demonstrating clean up your board, sort the leads, and put them back in their box. We have a contract with Lord Voldemont to deal with students who do not clean up. Alternate Derivation of X 3210 and Y 3210 Use the fact that X 32 and Y 32 cannot both be 1, (only one input number can be larger), further X 10 and Y 10 cannot both be 1. If X 32 =1, then Y 32 cannot be 1 thus X>Y, i.e. X 3210 =1 (X is the two-bit number X 32 X 10, Y is the 2-bit number Y 32 Y 10 ) X 32 Y 32 X 10 Y10 If X 32 =0 and Y 32 =0, then one must look at the lower bits, X 10 and Y 10. In this case, if X 10 =1, then Y 10 cannot be 1 thus X>Y, i.e. X 3210 =1 Thus one also gets X 3210 =1 if X 32 =0 and Y 32 =0 and X 10 =1. Otherwise X<Y, or X=Y. Writing this as an equation X 3210 = X (You finish it) (X>Y) X 3210 Y 3210 (Y>X) J.Knight,January 17, 05 SWITCHING CIRCUITS Lab 1-9

10 Partial Layout of The Tektron Logic Lab. You should not need the JK flip-flops and RS latches which were omitted. PULSE OUTPUTS CONSTANT OUTPUTS TEKTRON COMPUTER LOGIC LAB 1 0 SWITCH OUTPUTS LAMP INPUTS J.Knight, January 17, 05 Lab 1-10 DIGITAL ELECTRONICS

11 FIGURE 15: A typical completed 4-bit binary comparator. A good working circuit, but not to be taken as an outstanding model for layout Off-On switch for another trainer. X 3210 Y 3210 x 3 x 2 x 1 x 0 y 3 y 2 y 1 y 0 J.Knight,January 17, 05 SWITCHING CIRCUITS Lab 1-11

12 J.Knight, January 17, 05 SWITCHING CIRCUITS Lab1-12 Lab 1-12 SWITCHING CIRCUITS J.Knight, January 17, 2005

CARLETON UNIVERSITY. Deparment of Electronics ELEC 2607 Switching Circuits January 19, Overview;

CARLETON UNIVERSITY. Deparment of Electronics ELEC 2607 Switching Circuits January 19, Overview; CARLETON UNIVERSITY Deparment of Electronics ELEC 267 Switching Circuits January 9, 24 Laboratory. Overview; A 4-Bit Binary Comparator Take a 4-bit binary number X, for example. This number is made of

More information

1 Boolean Algebra Simplification

1 Boolean Algebra Simplification cs281: Computer Organization Lab3 Prelab Our objective in this prelab is to lay the groundwork for simplifying boolean expressions in order to minimize the complexity of the resultant digital logic circuit.

More information

11.1 As mentioned in Experiment 10, sequential logic circuits are a type of logic circuit where the output of

11.1 As mentioned in Experiment 10, sequential logic circuits are a type of logic circuit where the output of EE 2449 Experiment 11 Jack Levine and Nancy Warter-Perez CALIFORNIA STATE UNIVERSITY LOS ANGELES Department of Electrical and Computer Engineering EE-2449 Digital Logic Lab EXPERIMENT 11 SEQUENTIAL CIRCUITS

More information

Digital Logic Design ABC. Representing Logic Operations. Dr. Kenneth Wong. Determining output level from a diagram. Laws of Boolean Algebra

Digital Logic Design ABC. Representing Logic Operations. Dr. Kenneth Wong. Determining output level from a diagram. Laws of Boolean Algebra Digital Logic Design ENGG1015 1 st Semester, 2011 Representing Logic Operations Each function can be represented equivalently in 3 ways: Truth table Boolean logic expression Schematics Truth Table Dr.

More information

Overview. Multiplexor. cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder

Overview. Multiplexor. cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder Overview The objective of this lab is to understand two basic combinational circuits the multiplexor and

More information

Chapter 1: Logic systems

Chapter 1: Logic systems Chapter 1: Logic systems 1: Logic gates Learning Objectives: At the end of this topic you should be able to: identify the symbols and truth tables for the following logic gates: NOT AND NAND OR NOR XOR

More information

EEE130 Digital Electronics I Lecture #4

EEE130 Digital Electronics I Lecture #4 EEE130 Digital Electronics I Lecture #4 - Boolean Algebra and Logic Simplification - By Dr. Shahrel A. Suandi Topics to be discussed 4-1 Boolean Operations and Expressions 4-2 Laws and Rules of Boolean

More information

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits EE40 Lec 15 Logic Synthesis and Sequential Logic Circuits Prof. Nathan Cheung 10/20/2009 Reading: Hambley Chapters 7.4-7.6 Karnaugh Maps: Read following before reading textbook http://www.facstaff.bucknell.edu/mastascu/elessonshtml/logic/logic3.html

More information

Philadelphia University Student Name: Student Number:

Philadelphia University Student Name: Student Number: Philadelphia University Student Name: Student Number: Faculty of Engineering Serial Number: Final Exam, First Semester: 2017/2018 Dept. of Computer Engineering Course Title: Logic Circuits Date: 29/01/2018

More information

Boolean Algebra & Logic Gates. By : Ali Mustafa

Boolean Algebra & Logic Gates. By : Ali Mustafa Boolean Algebra & Logic Gates By : Ali Mustafa Digital Logic Gates There are three fundamental logical operations, from which all other functions, no matter how complex, can be derived. These Basic functions

More information

Chapter 2 Combinational Logic Circuits

Chapter 2 Combinational Logic Circuits Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 1 Gate Circuits and Boolean Equations Charles Kime & Thomas Kaminski 2008 Pearson Education, Inc. (Hyperlinks are active

More information

Experiment 7: Magnitude comparators

Experiment 7: Magnitude comparators Module: Logic Design Lab Name:... University no:.. Group no: Lab Partner Name: Experiment 7: Magnitude comparators Mr. Mohamed El-Saied Objective: Realization of -bit comparator using logic gates. Realization

More information

Chapter 3 Combinational Logic Design

Chapter 3 Combinational Logic Design Logic and Computer Design Fundamentals Chapter 3 Combinational Logic Design Part 1- Implementation Technology and Logic Design Overview Part 1-Implementation Technology and Logic Design Design Concepts

More information

UNIVERSITI TENAGA NASIONAL. College of Information Technology

UNIVERSITI TENAGA NASIONAL. College of Information Technology UNIVERSITI TENAGA NASIONAL College of Information Technology BACHELOR OF COMPUTER SCIENCE (HONS.) FINAL EXAMINATION SEMESTER 2 2012/2013 DIGITAL SYSTEMS DESIGN (CSNB163) January 2013 Time allowed: 3 hours

More information

Computers also need devices capable of Storing data and information Performing mathematical operations on such data

Computers also need devices capable of Storing data and information Performing mathematical operations on such data Sequential Machines Introduction Logic devices examined so far Combinational Output function of input only Output valid as long as input true Change input change output Computers also need devices capable

More information

Review Getting the truth table

Review Getting the truth table 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 input combination, figure out what an output bit should

More information

Implementation of Boolean Logic by Digital Circuits

Implementation of Boolean Logic by Digital Circuits Implementation of Boolean Logic by Digital Circuits We now consider the use of electronic circuits to implement Boolean functions and arithmetic functions that can be derived from these Boolean functions.

More information

Chapter 2 Boolean Algebra and Logic Gates

Chapter 2 Boolean Algebra and Logic Gates Ch1: Digital Systems and Binary Numbers Ch2: Ch3: Gate-Level Minimization Ch4: Combinational Logic Ch5: Synchronous Sequential Logic Ch6: Registers and Counters Switching Theory & Logic Design Prof. Adnan

More information

Philadelphia University Student Name: Student Number:

Philadelphia University Student Name: Student Number: Philadelphia University Student Name: Student Number: Faculty of Engineering Serial Number: Final Exam, Second Semester: 2015/2016 Dept. of Computer Engineering Course Title: Logic Circuits Date: 08/06/2016

More information

Digital electronics form a class of circuitry where the ability of the electronics to process data is the primary focus.

Digital electronics form a class of circuitry where the ability of the electronics to process data is the primary focus. Chapter 2 Digital Electronics Objectives 1. Understand the operation of basic digital electronic devices. 2. Understand how to describe circuits which can process digital data. 3. Understand how to design

More information

UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits

UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits 2 Wawrzynek, Garcia 2004 c UCB UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits 1 Introduction Original document by J. Wawrzynek (2003-11-15) Revised

More information

Logic Gate Level. Part 2

Logic Gate Level. Part 2 Logic Gate Level Part 2 Constructing Boolean expression from First method: write nonparenthesized OR of ANDs Each AND is a 1 in the result column of the truth table Works best for table with relatively

More information

Combinational logic systems

Combinational logic systems Combinational logic systems Learners should be able to: (a) recognise 1/0 as two-state logic levels (b) identify and use NOT gates and 2-input AND, OR, NAND and NOR gates, singly and in combination (c)

More information

Chapter 2: Switching Algebra and Logic Circuits

Chapter 2: Switching Algebra and Logic Circuits Chapter 2: Switching Algebra and Logic Circuits Formal Foundation of Digital Design In 1854 George Boole published An investigation into the Laws of Thoughts Algebraic system with two values 0 and 1 Used

More information

Week-I. Combinational Logic & Circuits

Week-I. Combinational Logic & Circuits Week-I Combinational Logic & Circuits Overview Binary logic operations and gates Switching algebra Algebraic Minimization Standard forms Karnaugh Map Minimization Other logic operators IC families and

More information

Logic Design. Chapter 2: Introduction to Logic Circuits

Logic Design. Chapter 2: Introduction to Logic Circuits Logic Design Chapter 2: Introduction to Logic Circuits Introduction Logic circuits perform operation on digital signal Digital signal: signal values are restricted to a few discrete values Binary logic

More information

Foundations of Computation

Foundations of Computation The Australian National University Semester 2, 2018 Research School of Computer Science Tutorial 1 Dirk Pattinson Foundations of Computation The tutorial contains a number of exercises designed for the

More information

CHAPTER III BOOLEAN ALGEBRA

CHAPTER III BOOLEAN ALGEBRA CHAPTER III- CHAPTER III CHAPTER III R.M. Dansereau; v.. CHAPTER III-2 BOOLEAN VALUES INTRODUCTION BOOLEAN VALUES Boolean algebra is a form of algebra that deals with single digit binary values and variables.

More information

Chapter 2 Combinational Logic Circuits

Chapter 2 Combinational Logic Circuits Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 1 Gate Circuits and Boolean Equations Chapter 2 - Part 1 2 Chapter 2 - Part 1 3 Chapter 2 - Part 1 4 Chapter 2 - Part

More information

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA 1 Learning Objectives Understand the basic operations and laws of Boolean algebra. Relate these operations and laws to circuits composed of AND gates, OR gates, INVERTERS

More information

Computer Organization I. Lecture 13: Design of Combinational Logic Circuits

Computer Organization I. Lecture 13: Design of Combinational Logic Circuits Computer Organization I Lecture 13: Design of Combinational Logic Circuits Overview The optimization of multiple-level circuits Mapping Technology Verification Objectives To know how to optimize the multiple-level

More information

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman CS 121 Digital Logic Design Chapter 2 Teacher Assistant Hanin Abdulrahman 1 2 Outline 2.2 Basic Definitions 2.3 Axiomatic Definition of Boolean Algebra. 2.4 Basic Theorems and Properties 2.5 Boolean Functions

More information

CHAPTER III BOOLEAN ALGEBRA

CHAPTER III BOOLEAN ALGEBRA CHAPTER III- CHAPTER III CHAPTER III R.M. Dansereau; v.. CHAPTER III-2 BOOLEAN VALUES INTRODUCTION BOOLEAN VALUES Boolean algebra is a form of algebra that deals with single digit binary values and variables.

More information

Part 1: Digital Logic and Gates. Analog vs. Digital waveforms. The digital advantage. In real life...

Part 1: Digital Logic and Gates. Analog vs. Digital waveforms. The digital advantage. In real life... Part 1: Digital Logic and Gates Analog vs Digital waveforms An analog signal assumes a continuous range of values: v(t) ANALOG A digital signal assumes discrete (isolated, separate) values Usually there

More information

BOOLEAN ALGEBRA. Introduction. 1854: Logical algebra was published by George Boole known today as Boolean Algebra

BOOLEAN ALGEBRA. Introduction. 1854: Logical algebra was published by George Boole known today as Boolean Algebra BOOLEAN ALGEBRA Introduction 1854: Logical algebra was published by George Boole known today as Boolean Algebra It s a convenient way and systematic way of expressing and analyzing the operation of logic

More information

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3 Digital Logic: Boolean Algebra and Gates Textbook Chapter 3 Basic Logic Gates XOR CMPE12 Summer 2009 02-2 Truth Table The most basic representation of a logic function Lists the output for all possible

More information

Time Allowed 3:00 hrs. April, pages

Time Allowed 3:00 hrs. April, pages IGITAL ESIGN COEN 32 Prof. r. A. J. Al-Khalili Time Allowed 3: hrs. April, 998 2 pages Answer All uestions No materials are allowed uestion a) esign a half subtractor b) esign a full subtractor c) Using

More information

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering Boolean Algebra Boolean Algebra A Boolean algebra is defined with: A set of

More information

Boolean Algebra and Digital Logic

Boolean Algebra and Digital Logic All modern digital computers are dependent on circuits that implement Boolean functions. We shall discuss two classes of such circuits: Combinational and Sequential. The difference between the two types

More information

Midterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes

Midterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes Page 1 of 10 School of Computer Science 60-265-01 Computer Architecture and Digital Design Winter 2009 Semester Midterm Examination # 1 Wednesday, February 25, 2009 Student Name: First Name Family Name

More information

MC9211 Computer Organization

MC9211 Computer Organization MC92 Computer Organization Unit : Digital Fundamentals Lesson2 : Boolean Algebra and Simplification (KSB) (MCA) (29-2/ODD) (29 - / A&B) Coverage Lesson2 Introduces the basic postulates of Boolean Algebra

More information

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA 1 Learning Objectives Understand the basic operations and laws of Boolean algebra. Relate these operations and laws to circuits composed of AND gates, OR gates, INVERTERS

More information

Lecture 2 Review on Digital Logic (Part 1)

Lecture 2 Review on Digital Logic (Part 1) Lecture 2 Review on Digital Logic (Part 1) Xuan Silvia Zhang Washington University in St. Louis http://classes.engineering.wustl.edu/ese461/ Grading Engagement 5% Review Quiz 10% Homework 10% Labs 40%

More information

Digital Circuit Engineering

Digital Circuit Engineering Digital Circuit Engineering 2nd Distributive ( A)( B) = AB Circuits that work in a sequence of steps Absorption A = A A= THESE CICUITS NEED STOAGE TO EMEMBE WHEE THEY AE STOAGE D MU G M MU G S CLK D Flip

More information

Latches. October 13, 2003 Latches 1

Latches. October 13, 2003 Latches 1 Latches The second part of CS231 focuses on sequential circuits, where we add memory to the hardware that we ve already seen. Our schedule will be very similar to before: We first show how primitive memory

More information

Synchronous Sequential Circuit

Synchronous Sequential Circuit Synchronous Sequential Circuit The change of internal state occurs in response to the synchronized clock pulses. Data are read during the clock pulse (e.g. rising-edge triggered) It is supposed to wait

More information

Functions. Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways:

Functions. Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways: Boolean Algebra (1) Functions Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways: An expression is finite but not unique f(x,y)

More information

CHAPTER1: Digital Logic Circuits Combination Circuits

CHAPTER1: Digital Logic Circuits Combination Circuits CS224: Computer Organization S.KHABET CHAPTER1: Digital Logic Circuits Combination Circuits 1 PRIMITIVE LOGIC GATES Each of our basic operations can be implemented in hardware using a primitive logic gate.

More information

Digital Logic (2) Boolean Algebra

Digital Logic (2) Boolean Algebra Digital Logic (2) Boolean Algebra Boolean algebra is the mathematics of digital systems. It was developed in 1850 s by George Boole. We will use Boolean algebra to minimize logic expressions. Karnaugh

More information

Physics 2020 Laboratory Manual

Physics 2020 Laboratory Manual Physics 00 Laboratory Manual Department of Physics University of Colorado at Boulder Spring, 000 This manual is available for FREE online at: http://www.colorado.edu/physics/phys00/ This manual supercedes

More information

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table. The Laws of Boolean Boolean algebra As well as the logic symbols 0 and 1 being used to represent a digital input or output, we can also use them as constants for a permanently Open or Closed circuit or

More information

Fundamentals of Boolean Algebra

Fundamentals of Boolean Algebra UNIT-II 1 Fundamentals of Boolean Algebra Basic Postulates Postulate 1 (Definition): A Boolean algebra is a closed algebraic system containing a set K of two or more elements and the two operators and

More information

Boolean Algebra. Boolean Variables, Functions. NOT operation. AND operation. AND operation (cont). OR operation

Boolean Algebra. Boolean Variables, Functions. NOT operation. AND operation. AND operation (cont). OR operation oolean lgebra asic mathematics for the study of logic design is oolean lgebra asic laws of oolean lgebra will be implemented as switching devices called logic gates. Networks of Logic gates allow us to

More information

UNIT 4 MINTERM AND MAXTERM EXPANSIONS

UNIT 4 MINTERM AND MAXTERM EXPANSIONS UNIT 4 MINTERM AND MAXTERM EXPANSIONS Spring 2 Minterm and Maxterm Expansions 2 Contents Conversion of English sentences to Boolean equations Combinational logic design using a truth table Minterm and

More information

Simplifying Logic Circuits with Karnaugh Maps

Simplifying Logic Circuits with Karnaugh Maps Simplifying Logic Circuits with Karnaugh Maps The circuit at the top right is the logic equivalent of the Boolean expression: f = abc + abc + abc Now, as we have seen, this expression can be simplified

More information

The Design Procedure. Output Equation Determination - Derive output equations from the state table

The Design Procedure. Output Equation Determination - Derive output equations from the state table The Design Procedure Specification Formulation - Obtain a state diagram or state table State Assignment - Assign binary codes to the states Flip-Flop Input Equation Determination - Select flipflop types

More information

Logic Gates and Boolean Algebra

Logic Gates and Boolean Algebra Logic Gates and oolean lgebra The ridge etween Symbolic Logic nd Electronic Digital Computing Compiled y: Muzammil hmad Khan mukhan@ssuet.edu.pk asic Logic Functions and or nand nor xor xnor not 2 Logic

More information

CSE 140, Lecture 2 Combinational Logic CK Cheng CSE Dept. UC San Diego

CSE 140, Lecture 2 Combinational Logic CK Cheng CSE Dept. UC San Diego CSE 140, Lecture 2 Combinational Logic CK Cheng CSE Dept. UC San Diego 1 Combinational Logic Outlines 1. Introduction 1. Scope 2. Review of Boolean lgebra 3. Review: Laws/Theorems and Digital Logic 2.

More information

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary Number System Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary BOOLEAN ALGEBRA BOOLEAN LOGIC OPERATIONS Logical AND Logical OR Logical COMPLEMENTATION

More information

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev E&CE 223 Digital Circuits & Systems Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev 4 of 92 Section 2: Boolean Algebra & Logic Gates Major topics Boolean algebra NAND & NOR gates Boolean

More information

Boolean Algebra & Digital Logic

Boolean Algebra & Digital Logic Boolean Algebra & Digital Logic Boolean algebra was developed by the Englishman George Boole, who published the basic principles in the 1854 treatise An Investigation of the Laws of Thought on Which to

More information

ENGG 1203 Tutorial_9 - Review. Boolean Algebra. Simplifying Logic Circuits. Combinational Logic. 1. Combinational & Sequential Logic

ENGG 1203 Tutorial_9 - Review. Boolean Algebra. Simplifying Logic Circuits. Combinational Logic. 1. Combinational & Sequential Logic ENGG 1203 Tutorial_9 - Review Boolean Algebra 1. Combinational & Sequential Logic 2. Computer Systems 3. Electronic Circuits 4. Signals, Systems, and Control Remark : Multiple Choice Questions : ** Check

More information

Exam for Physics 4051, October 31, 2008

Exam for Physics 4051, October 31, 2008 Exam for Physics 45, October, 8 5 points - closed book - calculators allowed - show your work Problem : (6 Points) The 4 bit shift register circuit shown in Figure has been initialized to contain the following

More information

Lecture 3: Boolean Algebra

Lecture 3: Boolean Algebra Lecture 3: Boolean Algebra Syed M. Mahmud, Ph.D ECE Department Wayne State University Original Source: Prof. Russell Tessier of University of Massachusetts Aby George of Wayne State University Overview

More information

Unit 2 Boolean Algebra

Unit 2 Boolean Algebra Unit 2 Boolean Algebra 1. Developed by George Boole in 1847 2. Applied to the Design of Switching Circuit by Claude Shannon in 1939 Department of Communication Engineering, NCTU 1 2.1 Basic Operations

More information

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value EGC22 Digital Logic Fundamental Additional Practice Problems. Complete the following table of equivalent values. Binary. Octal 35.77 33.23.875 29.99 27 9 64 Hexadecimal B.3 D.FD B.4C 2. Calculate the following

More information

Review: Additional Boolean operations

Review: Additional Boolean operations Review: Additional Boolean operations Operation: NAND (NOT-AND) NOR (NOT-OR) XOR (exclusive OR) Expressions: (xy) = x + y (x + y) = x y x y = x y + xy Truth table: x y (xy) x y (x+y) x y x y 0 0 1 0 1

More information

Schedule. ECEN 301 Discussion #25 Final Review 1. Date Day Class No. 1 Dec Mon 25 Final Review. Title Chapters HW Due date. Lab Due date.

Schedule. ECEN 301 Discussion #25 Final Review 1. Date Day Class No. 1 Dec Mon 25 Final Review. Title Chapters HW Due date. Lab Due date. Schedule Date Day Class No. Dec Mon 25 Final Review 2 Dec Tue 3 Dec Wed 26 Final Review Title Chapters HW Due date Lab Due date LAB 8 Exam 4 Dec Thu 5 Dec Fri Recitation HW 6 Dec Sat 7 Dec Sun 8 Dec Mon

More information

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev. Section 2: Boolean Algebra & Logic Gates

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev. Section 2: Boolean Algebra & Logic Gates Digital Circuits & Systems Lecture Transparencies (Boolean lgebra & Logic Gates) M. Sachdev 4 of 92 Section 2: Boolean lgebra & Logic Gates Major topics Boolean algebra NND & NOR gates Boolean algebra

More information

CSC9R6 Computer Design. Practical Digital Logic

CSC9R6 Computer Design. Practical Digital Logic CSC9R6 Computer Design Practical Digital Logic 1 References (for this part of CSC9R6) Hamacher et al: Computer Organization App A. In library Floyd: Digital Fundamentals Ch 1, 3-6, 8-10 web page: www.prenhall.com/floyd/

More information

CS61c: Representations of Combinational Logic Circuits

CS61c: Representations of Combinational Logic Circuits CS61c: Representations of Combinational Logic Circuits J. Wawrzynek March 5, 2003 1 Introduction Recall that synchronous systems are composed of two basic types of circuits, combination logic circuits,

More information

Logic Simplification. Boolean Simplification Example. Applying Boolean Identities F = A B C + A B C + A BC + ABC. Karnaugh Maps 2/10/2009 COMP370 1

Logic Simplification. Boolean Simplification Example. Applying Boolean Identities F = A B C + A B C + A BC + ABC. Karnaugh Maps 2/10/2009 COMP370 1 Digital Logic COMP370 Introduction to Computer Architecture Logic Simplification It is frequently possible to simplify a logical expression. This makes it easier to understand and requires fewer gates

More information

Prove that if not fat and not triangle necessarily means not green then green must be fat or triangle (or both).

Prove that if not fat and not triangle necessarily means not green then green must be fat or triangle (or both). hapter : oolean lgebra.) Definition of oolean lgebra The oolean algebra is named after George ool who developed this algebra (854) in order to analyze logical problems. n example to such problem is: Prove

More information

S C F F F T T F T T S C B F F F F F T F T F F T T T F F T F T T T F T T T

S C F F F T T F T T S C B F F F F F T F T F F T T T F F T F T T T F T T T EECS 270, Winter 2017, Lecture 1 Page 1 of 6 Use pencil! Say we live in the rather black and white world where things (variables) are either true (T) or false (F). So if S is Mark is going to the Store

More information

University of Florida EEL 3701 Summer 2015 Dr. Eric. M. Schwartz Department of Electrical & Computer Engineering Tuesday, 30 June 2015

University of Florida EEL 3701 Summer 2015 Dr. Eric. M. Schwartz Department of Electrical & Computer Engineering Tuesday, 30 June 2015 University of Florida EEL 3701 Summer 2015 Dr Eric M Schwartz Page 1/13 Exam 1 May the Schwartz be with you! Instructions: Turn off all cell phones and other noise making devices Show all work on the front

More information

Combinational Logic. Review of Combinational Logic 1

Combinational Logic. Review of Combinational Logic 1 Combinational Logic! Switches -> Boolean algebra! Representation of Boolean functions! Logic circuit elements - logic gates! Regular logic structures! Timing behavior of combinational logic! HDLs and combinational

More information

Gates and Flip-Flops

Gates and Flip-Flops Gates and Flip-Flops Chris Kervick (11355511) With Evan Sheridan and Tom Power December 2012 On a scale of 1 to 10, how likely is it that this question is using binary?...4? What s a 4? Abstract The operation

More information

Building a Computer Adder

Building a Computer Adder Logic Gates are used to translate Boolean logic into circuits. In the abstract it is clear that we can build AND gates that perform the AND function and OR gates that perform the OR function and so on.

More information

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL. 2017-18 XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL HALF ADDER 1. The circuit that performs addition within the Arithmetic and Logic Unit of the CPU are called adders. 2. A unit that adds two

More information

Gates. Quiz 1 will cover up to and including this lecture. The book says something about NAND... maybe an in-law. Is he talking about BILL??? 6.

Gates. Quiz 1 will cover up to and including this lecture. The book says something about NAND... maybe an in-law. Is he talking about BILL??? 6. Gates Is he talking about ILL??? The book says something about NND... maybe an in-law. WRD & HLSTED 6.4 NERD KIT Quiz will cover up to and including this lecture 6.4 - Fall 22 9/7/2 L4 - Gates Quick Review

More information

Unit 8A Computer Organization. Boolean Logic and Gates

Unit 8A Computer Organization. Boolean Logic and Gates Unit 8A Computer Organization Boolean Logic and Gates Announcements Bring ear buds or headphones to lab! 15110 Principles of Computing, Carnegie Mellon University - CORTINA 2 Representing and Manipulating

More information

Chap 2. Combinational Logic Circuits

Chap 2. Combinational Logic Circuits Overview 2 Chap 2. Combinational Logic Circuits Spring 24 Part Gate Circuits and Boolean Equations Binary Logic and Gates Boolean Algebra Standard Forms Part 2 Circuit Optimization Two-Level Optimization

More information

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive March 30, 2010 John Wawrzynek Spring 2010 EECS150 - Lec19-cl1 Page 1 Boolean Algebra I (Representations of Combinational

More information

Review. EECS Components and Design Techniques for Digital Systems. Lec 06 Minimizing Boolean Logic 9/ Review: Canonical Forms

Review. EECS Components and Design Techniques for Digital Systems. Lec 06 Minimizing Boolean Logic 9/ Review: Canonical Forms Review EECS 150 - Components and Design Techniques for Digital Systems Lec 06 Minimizing Boolean Logic 9/16-04 David Culler Electrical Engineering and Computer Sciences University of California, Berkeley

More information

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT): ENGI 386 Digital Logic II. COMBINATIONAL LOGIC DESIGN Combinational Logic output of digital system is only dependent on current inputs (i.e., no memory) (a) Boolean Algebra - developed by George Boole

More information

Digital Circuits. 1. Inputs & Outputs are quantized at two levels. 2. Binary arithmetic, only digits are 0 & 1. Position indicates power of 2.

Digital Circuits. 1. Inputs & Outputs are quantized at two levels. 2. Binary arithmetic, only digits are 0 & 1. Position indicates power of 2. Digital Circuits 1. Inputs & Outputs are quantized at two levels. 2. inary arithmetic, only digits are 0 & 1. Position indicates power of 2. 11001 = 2 4 + 2 3 + 0 + 0 +2 0 16 + 8 + 0 + 0 + 1 = 25 Digital

More information

Chapter 7 Combinational Logic Networks

Chapter 7 Combinational Logic Networks Overview Design Example Design Example 2 Universal Gates NND-NND Networks NND Chips Chapter 7 Combinational Logic Networks SKEE223 Digital Electronics Mun im/rif/izam KE, Universiti Teknologi Malaysia

More information

Computer Organization: Boolean Logic

Computer Organization: Boolean Logic Computer Organization: Boolean Logic Representing and Manipulating Data Last Unit How to represent data as a sequence of bits How to interpret bit representations Use of levels of abstraction in representing

More information

CHAPTER 12 Boolean Algebra

CHAPTER 12 Boolean Algebra 318 Chapter 12 Boolean Algebra CHAPTER 12 Boolean Algebra SECTION 12.1 Boolean Functions 2. a) Since x 1 = x, the only solution is x = 0. b) Since 0 + 0 = 0 and 1 + 1 = 1, the only solution is x = 0. c)

More information

Boolean Logic Prof. James L. Frankel Harvard University. Version of 3:20 PM 29-Aug-2017 Copyright 2017, 2016 James L. Frankel. All rights reserved.

Boolean Logic Prof. James L. Frankel Harvard University. Version of 3:20 PM 29-Aug-2017 Copyright 2017, 2016 James L. Frankel. All rights reserved. Boolean Logic Prof. James L. Frankel Harvard University Version of 3:20 PM 29-Aug-2017 Copyright 2017, 2016 James L. Frankel. All rights reserved. Logic Levels Logic 0 Also called GND Low Off False Logic

More information

Please bring the task to your first physics lesson and hand it to the teacher.

Please bring the task to your first physics lesson and hand it to the teacher. Pre-enrolment task for 2014 entry Physics Why do I need to complete a pre-enrolment task? This bridging pack serves a number of purposes. It gives you practice in some of the important skills you will

More information

CSC258: Computer Organization. Digital Logic: Transistors and Gates

CSC258: Computer Organization. Digital Logic: Transistors and Gates CSC258: Computer Organization Digital Logic: Transistors and Gates 1 Pre-Class Review 1. What are the largest (positive) and smallest (negative) numbers that can be represented using 4- bit 2 s complement?

More information

Every time has a value associated with it, not just some times. A variable can take on any value within a range

Every time has a value associated with it, not just some times. A variable can take on any value within a range Digital Logic Circuits Binary Logic and Gates Logic Simulation Boolean Algebra NAND/NOR and XOR gates Decoder fundamentals Half Adder, Full Adder, Ripple Carry Adder Analog vs Digital Analog Continuous»

More information

Slide Set 3. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Slide Set 3. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary Slide Set 3 for ENEL 353 Fall 2016 Steve Norman, PhD, PEng Electrical & Computer Engineering Schulich School of Engineering University of Calgary Fall Term, 2016 SN s ENEL 353 Fall 2016 Slide Set 3 slide

More information

Sequential Logic (3.1 and is a long difficult section you really should read!)

Sequential Logic (3.1 and is a long difficult section you really should read!) EECS 270, Fall 2014, Lecture 6 Page 1 of 8 Sequential Logic (3.1 and 3.2. 3.2 is a long difficult section you really should read!) One thing we have carefully avoided so far is feedback all of our signals

More information

ECE/CS 250: Computer Architecture. Basics of Logic Design: Boolean Algebra, Logic Gates. Benjamin Lee

ECE/CS 250: Computer Architecture. Basics of Logic Design: Boolean Algebra, Logic Gates. Benjamin Lee ECE/CS 250: Computer Architecture Basics of Logic Design: Boolean Algebra, Logic Gates Benjamin Lee Slides based on those from Alvin Lebeck, Daniel Sorin, Andrew Hilton, Amir Roth, Gershon Kedem Admin

More information

Digital Logic Design. Combinational Logic

Digital Logic Design. Combinational Logic Digital Logic Design Combinational Logic Minterms A product term is a term where literals are ANDed. Example: x y, xz, xyz, A minterm is a product term in which all variables appear exactly once, in normal

More information

Digital Circuit Engineering

Digital Circuit Engineering Digital Circuit Engineering 2nd Distributive ( + A)( + B) = + AB Circuits that work in a sequence of steps Absorption + A = + A A+= THESE CICUITS NEED STOAGE TO EMEMBE WHEE THEY AE STOAGE D MU G M MU S

More information

University of Technology

University of Technology University of Technology Lecturer: Dr. Sinan Majid Course Title: microprocessors 4 th year معالجات دقيقة المرحلة الرابعة ھندسة الليزر والبصريات االلكترونية Lecture 3 & 4 Boolean Algebra and Logic Gates

More information

University of Florida EEL 3701 Fall 2014 Dr. Eric. M. Schwartz Department of Electrical & Computer Engineering Wednesday, 15 October 2014

University of Florida EEL 3701 Fall 2014 Dr. Eric. M. Schwartz Department of Electrical & Computer Engineering Wednesday, 15 October 2014 Page 1/12 Exam 1 May the Schwartz Instructions: be with you! Turn off all cell phones and other noise making devices and put away all electronics Show all work on the front of the test papers Box each

More information