DIGITAL LOGIC CIRCUITS
|
|
- Annabella Owens
- 6 years ago
- Views:
Transcription
1 DIGITAL LOGIC CIRCUITS Digital logic circuits BINARY NUMBER SYSTEM electronic circuits that handle information encoded in binary form (deal with signals that have only two values, and ) Digital. computers, watches, controllers, telephones, cameras,... Number.in whatever base Decimal value of the given number Decimal:,998 = x 3 +9x 2 +9x +8x =, =,998 Binary: = x2 +x2 9 +x2 8 +x2 7 +x2 6 +x2 3 +x2 2 +x2 =, =,998 Prof. Emil M. Petriu, School of Electrical Engineering and Computer Science, University of Ottawa
2 Powers of 2 N 2 N Comments ,24 Kilo as 2 is the closest power of 2 to, (decimal) 2, , Hz often used as clock crystal frequency in digital watches... 2,48,576 Mega as 2 2 is the closest power of 2 to,, (decimal)... 3,73,74,824 Giga as 2 3 is the closest power of 2 to,,,(decimal)
3 Negative Powers of 2 N < 2 N = = = = = = = = = = Binary numbers less than Binary Decimal value = x2 - +x2-3 + x2-4 + x2-6 =.7325
4 HEXADECIMAL Binary: <== Decimal Hexadecimal: 7CE = 7x6 2 +2x6 +4x6 = Binary Decimal Hexadecimal A B 2 C 3 D 4 E 5 F
5 LOGIC OPERATIONS AND TRUTH TABLES Digital logic circuits handle data encoded in binary form, i.e. signals that have only two values, and. Binary logic dealing with true and false comes in handy to describe the behaviour of these circuits: is usually associated with false and with true. uite complex digital logic circuits (e.g. entire computers) can be built using a few types of basic circuits called gates, each performing a single elementary logic operation : NOT, AND, OR, NAND, NOR, etc.. Boole s binary algebrais used as a formal / mathematical tool to describe and design complex binary logic circuits.
6 GATES A A NOT A F =A A B A. B A B AND F =A. B A B A + B A B OR F = A + B
7 more GATES A B A. B A B NAND F =A. B A B A +B A B NOR F = A + B
8 and more GATES A B A B A B XOR F = A B A B A B A B EU or XNOR F = A B
9 GATES with more inputs EXAMPLES OF GATES WITH THREE INPUTS A B C A. B. C A+B+C A. B. C A+B+C A B C A B C AND OR F =A. B. C F = A+B+C A B C NAND F =A. B. C A B C NOR F = A+B+C
10 Logic Gate Array that Produces an Arbitrarily Chosen Output A B C F = A. B. C + A. B. C A B C F + A. B. C A. B. C A. B. C A. B. C +A. B. C F A. B. C A B C A B C Sum-of-products form of the logic circuit.
11 BOOLEAN ALGEBRA AND rules A. A = A A. A =. A =. A = A A. B = B. A A. (B. C) =(A. B). C A. (B + C) = A. B + A. C A. B = A + B Proof : A B C A. (B+C) A. B+A. C
12 BOOLEAN ALGEBRA continued OR rules A +A = A A +A = +A = A +A = A +B = B +A A +(B +C) =(A +B) +C A +B. C = (A +B). (A +C) A B C A + B. C (A+B). (A+C) A +B = A. B
13 DeMorgan s Theorem A. B = A + B A + B = A. B A B A. B A + B A + B A. B
14 Simplifying logic functions using Boolean algebra rules A B C Sum-of-products form of the logic function: F=ABC + ABC + ABC + ABC A. B. C A. B. C F A. B. C A. B. C A B C A B C
15 Simplifying logic functions using Boolean algebra rules continued F = ABC + ABC + ABC + ABC F = (ABC + ABC) + (ABC + ABC) F = A(BC + BC) + A ( BC + BC) F = AB( C + C) + AC ( B + B) A B C F = AB + AC A. B F A. C A A
16 Simplifying logic functions using Karnaugh maps Karnaugh map=> graphical representation of a truth table for a logic function. Each line in the truth table corresponds to a square in the Karnaugh map. The Karnaugh map squares are labeled so that horizontally or vertically adjacent squares differ only in one variable. (Each square in the top row is considered to be adjacent to a corresponding square in the bottom row. Each square in the left most column is considered to be adjacent to a corresponding square in the right most column.) Karnaugh map A B C F ()... ()... (2)... (3)... (4)... (5)... (6)... (7)... A B C
17 Simplifying logic functions of 4 variables using Karnaugh maps A B C D F ()... ()... (2)... (3)... (4)... (5)... (6)... (7) (8) (9) () () (2) (3) (4) (5)... A B C D
18 Simplifying logic functions using Karnaugh maps looping The logic expressions for an output can be simplified by properly combining squares (looping) in the Karnaugh maps which contain s. Looping a pair of adjacent s eliminates the variable that appears in both direct and complemented form. A B C F A B () () (2) (3) (4) (5) (6) (7) C AB AC F = AB + AC
19 Simplifying logic functions using Karnaugh maps more looping A B C D F () () (2) (3) (4) (5) (6) (7) (8) (9) () () (2) (3) (4) (5) A B C D Looping aquad of adjacent s eliminates the two variables that appears in both direct and complemented form. F = A B D + AB + BD A B D AB BD
20 DeMorgan s Theorem Equivalent Gate Symbols A. B = A + B A B A. B = A B A+B A + B = A. B A B A+B = A B A. B
21 NAND gate implementation of the sum-of-product logic functions F = AB + AC A B C X = ( X ) NAND gates are faster than ANDs and ORs in most technologies A B C F A F A A
22 ADDING BINARY NUMBERS Adding two bits: Truth table Inputs Outputs A B Carry Sum Sum = A+ B + + A B Half-Adder circuit + Carry (over) + Sum The binary number is equivalent to the decimal 2 Sum Carry Carry = A. B
23 Adding multi-bit numbers: 8 D + 9 D 98 D + Sum A 7 A 6 A 5 A 4 A 3 A 2 A A + B 7 B 6 B 5 B 4 B 3 B 2 B B S 7 S 6 S 5 S 4 S 3 S 2 S S Carry Carry Out A 7 B 7 A 6 B 6 A 5 B 5 A 4 B 4 A 3 B 3 A 2 B 2 A B A B A B A B A B A B A B A B CO CI CO CI CO CI CO CI CO CI CO CI S S S S S S A B A B CO CI CO CI S S Carry In = S 7 S 6 S 5 S 4 S 3 S 2 S S
24 Full Adder Carry Out Bits of the same rank of the two numbers A B CO CI S Sum Carry In Inputs Outputs A B CI CO S A B CI A B CI S CO A. B S= A. B. CI + A. B. CI + A. B. CI + A. B. CI C = A. B + B. CI + A. CI B. CI A. CI
25 HEX-TO-7 SEGMENT DECODER This examples illustrates how a practical problem is analyzed in order to generate truth tables,and then how truth table-defined functions are mapped on Karnaugh maps. B3 B2 B B () () (2) (3) (4) (5) (6) (7) (8) (9) (A) (B) (C) (D) (E) (F) Four-bit machine representation of the hex digits S6 S5 S3 S2 S HEX S6 S5 S S2 S3 7 SEGMENT B3 B2 B B 7-segment display to allow the user see the natural representation of the hex digits. Binary outputs; when such a signal is = then the corresponding segment in the 7-segment display is on (you see it), when the signal is = then the segment is off (you can t see it). The four-bit representation of the hex digits Natural (i.e.as humans write) representation of the hex digits.
26 B3 B2 B B () () (2) (3) (4) (5) (6) (7) (8) (9) (A) (B) (C) (D) (E) (F) S S S S S S6 S2 S6 S2 S6 S2 S6 S2 S6 S2 S5 S3 S5 S3 S5 S3 S5 S3 S5 S3 S S S S S S6 S2 S6 S2 S6 S2 S6 S2 S6 S2 S5 S3 S5 S3 S5 S3 S5 S3 S5 S3 S S S S S S6 S2 S6 S2 S6 S2 S6 S2 S6 S2 S5 S3 S5 S3 S5 S3 S5 S3 S5 S3 S We are developing ad-hoc binary-hex logic expressions used just for our convenience in the problem analysis process. Each expression will enumerate only those hex digits when the specific display-segment is on : S = A+C+E+F S2 = A+D S3 = A+B+D = B+C+D+E S5 = A+B+C+D+E+F S6 = A+B+C+E+F = A+B+D+E+F S6 S2 S5 S3
27 Hex-to-7 segment B3 B2 B B () () (2) (3) (4) (5) (6) (7) (8) (9) (A) (B) (C) (D) (E) (F) S = A+C+E+F S2 = A+D S3 = A+B+D = B+C+D+E S5 = A+B+C+D+E+F S6 = A+B+C+E+F = A+B+D+E+F B3 B2 B B As we are using ad-hoc binary-hex logic equations, (i.e. binary S outputs as functions of hex variables) it will useful in this case to have hex-labeled Karnaugh map, instead of the usual 2-D (i.e. two dimensional) binary labeled K maps. This will allow for a more convenient mapping of the binary-hex logic equations onto the K-maps. 4 C 8 5 D F B 2 6 E A
28 Hex-to-7 segment B3 B2 S B3 B2 S2 Mapping the ad-hoc binary-hex logic equations onto Karnaugh maps: B B B B B3 B2 B B 4 C 8 5 D F B B3 B2 S3 B3 B2 2 6 E A B B B B S = A+C+E+F S2 = A+D S3 = A+B+D = B+C+D+E
29 Hex-to-7 segment B3 B2 S5 B3 B2 S6 B3 B2 B B 4 C 8 5 D F B 2 6 E A B B B3 B2 B B S5 = A+B+C+D+E+F S6 = A+B+C+E+F = A+B+D+E+F B B
30 SYSTEMS of LOGIC FUNCTIONS 2- bit Comparator A A B B F F 2 F 3 () () (2) (3) (4) (5) (6) (7) (8) (9) () () (2) (3) (4) (5) Compare two 2-bit numbers: A=B F = Σ(,5,,5) A>B F 2 = Σ(4,8,9,2,3,4) A<B F 3 = Σ(,2,3,6,7,)
31 2- bit Comparator A=B F = Σ(,5,,5) A A B B AA BB F = when both numbers, A and B, are equal which happens when all their bits of the same order are identical, i.e. A = B AND A = B F= (A B) (A B)
32 2- bit Comparator A<B F 3 = Σ(,2,3,6,7,) A A B B AA BB F3= ABB + AB + AAB
33 2- bit Comparator A A A>B F 2 = Σ(4,8,9,2,3,4) AA BB B B F2 = F + F3 AA BB F +F 3 AA BB F AA BB F 3
34 2- bit Comparator F= (A B) (A B) F2 = F + F3 B B A A F3 = ABB+AB+AAB A B F= (A B) (A B) A B F2 = F + F3 F3 = ABB+AB+AAB
35 3-to-8 Decoder A B C F A B C F F F2 F3F4 F5F6 F7 () () (2) (3) (4) (5) (6) (7) F F2 F3 F4 F5 F6 F7
36 3-to-8 Decoder (74 38) E A B C F A B C EFF F2 F3 F4 F5 F6 F7 (x) x x x () () (2) (3) (4) (5) (6) (7) F F2 F3 F4 F5 F6 F7
37 BCD-TO-7 SEGMENT DECODER S S6 S2 S5 S3 S6 S5 S3 S2 S 7 SEGMENT BCD B3 B2 B B B3 B2 B B () () (2) (3) (4) (5) (6) (7) (8) (9) (x) (x) (x) (x) (x) (x) B3 B2 B B 4 x 8 5 x x x 2 6 x x Don t Care states/situations. As it is expected that these states are never going to occur, then we may just as well use them as fill-in s in a Karnaugh map if this helps to make larger loopings
38 BCD-to-7 segment S S S S S B3 B2 B B () () (2) (3) (4) (5) (6) (7) (8) (9) (x) (x) (x) (x) (x) (x) S6 S5 S6 S5 S2 S6 S2 S3 S5 S3 S S S2 S6 S2 S3 S5 S3 S = S2 = S3 = S6 S5 S6 S5 S S2 S3 S2 S3 S6 S2 S5 S3 S S6 S2 S5 S3 S6 S5 S S6 S5 = S5 = S6 = = S2 S3 S2 S3
39 BCD-to-7 segment S= B3 B2 B B S x x x x x S= B3 + B2B + B x B3 B2 B B 4 x 8 5 x x x 2 6 x x B3 B2 B B S2= S2 x x x x x x + B2B + B2B S2= B3 + B2 + BB + BB
40 BCD-to-7 segment B3 B2 B B 4 x 8 5 x 9 S3 = x x 2 6 x x = B3 B2 S3 B3 B2 B B x x x x x x B B x x x x x x S3= B3 + BB + B + B2 = B3 + B2B +B2B + B2BB+ BB
41 B3 B2 B B BCD-to-7 segment S5= B3 B2 B B 4 x 8 5 x x x 2 6 x x S5 x x x x x x S6 = B3 B2 B B S6 x x x x x x = B3 B2 B B = B3 + + BB2 x B2B + x x x x x BB S5= + B2B BB S6= B3 + BB + BB2 + B2B
42 MEMORY ELEMENTS: LATCHES AND FLIP-FLOPS R-S Latch (Reset-Set) S = = I I2 S F I I2 F = = S R R= = R= = S R S = = S = = Weird state Set state Reset state Hold state R= = R= =
43 D (Transparent) Latch D S Enable D x Enable R Enable D S R S R When the Enable input is = (i.e. TRUE or HIGH) the information present at the Dinput is stored in the latch and will appear as it is at the output ( => it is like that there is a transparent path from the Dinput to the output)
44 D Latch D S Enable D S R Enable R Enable D S R Hold Hold state Transparent state Hold state
45 Latch Latch 2 Synchronous D Flip-Flop D CLK D Enab. EN D EN2 D Enab. Positive-Edge -Triggered DFlip-Flop D CLK D CLK EN D EN2 Din* Latch is Transparent D = Din* Latch 2is Holding Input data Dmay change Latch is Holding Latch 2 is Transparent = D = Din* Latch is Transparent Changed input data Denter Latch Latch 2 is Holding The state of the flip-flop s output copies input Dwhen the positive edge of the clock CLKoccurs Positive-Edge-Triggered D Flip-Flop
46 Synchronous D Flip-Flop Vcc CLR2 D2 CLK2 PR Connection diagram of the7474 Dual Positive-Edge-Triggered D Flip-Flopswith Preset and Clear CLR D CLK PR GND
47 COUNTERS 4-Bit Synchronous Counter using D Flip-Flops Bit BINARY COUNTER 5 CL 6 CK CL = Σ i. 2i i = CK CL
48 DECIMAL BINARY STATE OF FLIP FLOP INPUTS STATE THE COUNTER (for the next state) 3 2 D3 D2 D D Using D flip-flopshas the distinct advantage of a straightforward definition of the flip-flop inputs: the current state of these inputs is the next state of the counter. The logic equations for all four flip-flop inputs D3, D2, D, anddare derived from this truth table as functions of the current states of the counter s flip-flops: 3, 2,, and Karnaugh maps can be used to simplify these equations. 3 2 Synchronous 4-bit Counter D3 3 2 D2 3 2 D 3 2 D
49 Synchronous 4-bit Counter 3 2 D3 3 2 D2 D3 = D2= D 3 2 D=. +. D= D
50 Synchronous 4-bit Counter CL CK D CLK R D= D=. +. D2= D CLK R D3 = D 2 CLK R 2 D 3 CLK R 3
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 informationBoolean Algebra and Digital Logic 2009, University of Colombo School of Computing
IT 204 Section 3.0 Boolean Algebra and Digital Logic Boolean Algebra 2 Logic Equations to Truth Tables X = A. B + A. B + AB A B X 0 0 0 0 3 Sum of Products The OR operation performed on the products of
More informationFundamentals of Digital Design
Fundamentals of Digital Design Digital Radiation Measurement and Spectroscopy NE/RHP 537 1 Binary Number System The binary numeral system, or base-2 number system, is a numeral system that represents numeric
More informationNumber 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 informationDigital Logic Appendix A
Digital Logic Appendix A Boolean Algebra Gates Combinatorial Circuits Sequential Circuits 1 Boolean Algebra George Boole ideas 1854 Claude Shannon, apply to circuit design, 1938 Describe digital circuitry
More informationDigital 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 informationSchedule. 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 informationDIGITAL LOGIC CIRCUITS
DIGITAL LOGIC CIRCUITS Introduction Logic Gates Boolean Algebra Map Specification Combinational Circuits Flip-Flops Sequential Circuits Memory Components Integrated Circuits Digital Computers 2 LOGIC GATES
More informationBoolean Algebra. Digital Logic Appendix A. Postulates, Identities in Boolean Algebra How can I manipulate expressions?
Digital Logic Appendix A Gates Combinatorial Circuits Sequential Circuits Other operations NAND A NAND B = NOT ( A ANDB) = AB NOR A NOR B = NOT ( A ORB) = A + B Truth tables What is the result of the operation
More informationBoolean Algebra. Digital Logic Appendix A. Boolean Algebra Other operations. Boolean Algebra. Postulates, Identities in Boolean Algebra
Digital Logic Appendix A Gates Combinatorial Circuits Sequential Circuits George Boole ideas 1854 Claude Shannon, apply to circuit design, 1938 (piirisuunnittelu) Describe digital circuitry function programming
More informationPhiladelphia University Faculty of Engineering
Philadelphia University Faculty of Engineering Marking Scheme Exam Paper BSc CE Logic Circuits (630211) Final Exam First semester ate: 03/02/2019 Section 1 Weighting 40% of the module total Lecturer: Coordinator:
More informationUNIVERSITI 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/ M Morris Mano Digital Design Ahmad_911@hotmailcom / / / / wwwuqucscom Binary Systems Introduction - Digital Systems - The Conversion Between Numbering Systems - From Binary To Decimal - Octet To Decimal
More informationKing Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department
King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department Page 1 of 13 COE 202: Digital Logic Design (3-0-3) Term 112 (Spring 2012) Final
More informationCs302 Quiz for MID TERM Exam Solved
Question # 1 of 10 ( Start time: 01:30:33 PM ) Total Marks: 1 Caveman used a number system that has distinct shapes: 4 5 6 7 Question # 2 of 10 ( Start time: 01:31:25 PM ) Total Marks: 1 TTL based devices
More informationSynchronous Sequential Logic
1 IT 201 DIGITAL SYSTEMS DESIGN MODULE4 NOTES Synchronous Sequential Logic Sequential Circuits - A sequential circuit consists of a combinational circuit and a feedback through the storage elements in
More informationXI 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 informationCombinational Logic. By : Ali Mustafa
Combinational Logic By : Ali Mustafa Contents Adder Subtractor Multiplier Comparator Decoder Encoder Multiplexer How to Analyze any combinational circuit like this? Analysis Procedure To obtain the output
More informationSample Test Paper - I
Scheme G Sample Test Paper - I Course Name : Computer Engineering Group Marks : 25 Hours: 1 Hrs. Q.1) Attempt any THREE: 09 Marks a) Define i) Propagation delay ii) Fan-in iii) Fan-out b) Convert the following:
More informationReg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering
Sp 6 Reg. No. Question Paper Code : 27156 B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2015. Second Semester Computer Science and Engineering CS 6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN (Common
More informationCHAPTER 7. Exercises 17/ / /2 2 0
CHAPTER 7 Exercises E7. (a) For the whole part, we have: Quotient Remainders 23/2 /2 5 5/2 2 2/2 0 /2 0 Reading the remainders in reverse order, we obtain: 23 0 = 0 2 For the fractional part we have 2
More informationPhiladelphia 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 informationPhiladelphia 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 informationFundamentals 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 informationAppendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs
Appendix B Review of Digital Logic Baback Izadi Division of Engineering Programs bai@engr.newpaltz.edu Elect. & Comp. Eng. 2 DeMorgan Symbols NAND (A.B) = A +B NOR (A+B) = A.B AND A.B = A.B = (A +B ) OR
More informationEEE130 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 informationChapter 7 Logic Circuits
Chapter 7 Logic Circuits Goal. Advantages of digital technology compared to analog technology. 2. Terminology of Digital Circuits. 3. Convert Numbers between Decimal, Binary and Other forms. 5. Binary
More informationLOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.
Basic Experiment and Design of Electronics LOGIC CIRCUITS Ho Kyung Kim, Ph.D. hokyung@pusan.ac.kr School of Mechanical Engineering Pusan National University Digital IC packages TTL (transistor-transistor
More informationLab 3 Revisited. Zener diodes IAP 2008 Lecture 4 1
Lab 3 Revisited Zener diodes R C 6.091 IAP 2008 Lecture 4 1 Lab 3 Revisited +15 Voltage regulators 555 timers 270 1N758 0.1uf 5K pot V+ V- 2N2222 0.1uf V o. V CC V Vin s = 5 V Vc V c Vs 1 e t = RC Threshold
More informationDigital 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 informationMODULAR CIRCUITS CHAPTER 7
CHAPTER 7 MODULAR CIRCUITS A modular circuit is a digital circuit that performs a specific function or has certain usage. The modular circuits to be introduced in this chapter are decoders, encoders, multiplexers,
More informationTime 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 informationCombinational Logic Design Combinational Functions and Circuits
Combinational Logic Design Combinational Functions and Circuits Overview Combinational Circuits Design Procedure Generic Example Example with don t cares: BCD-to-SevenSegment converter Binary Decoders
More informationLOGIC CIRCUITS. Basic Experiment and Design of Electronics
Basic Experiment and Design of Electronics LOGIC CIRCUITS Ho Kyung Kim, Ph.D. hokyung@pusan.ac.kr School of Mechanical Engineering Pusan National University Outline Combinational logic circuits Output
More informationKarnaugh Map & Boolean Expression Simplification
Karnaugh Map & Boolean Expression Simplification Mapping a Standard POS Expression For a Standard POS expression, a 0 is placed in the cell corresponding to the product term (maxterm) present in the expression.
More informationDepartment of Electrical & Electronics EE-333 DIGITAL SYSTEMS
Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS 1) Given the two binary numbers X = 1010100 and Y = 1000011, perform the subtraction (a) X -Y and (b) Y - X using 2's complements. a) X = 1010100
More informationEECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)
EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) September 5, 2002 John Wawrzynek Fall 2002 EECS150 Lec4-bool1 Page 1, 9/5 9am Outline Review of
More informationChapter 14 Sequential logic, Latches and Flip-Flops
Chapter 14 Sequential logic, Latches and Flip-Flops Flops Lesson 4 JK Flip Flop Ch14L4-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 2 JK Flip-Flop ve edge triggered Output Q and
More informationLecture 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 informationOutline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined
EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) January 30, 2003 John Wawrzynek Outline Review of three representations for combinational logic:
More informationChapter 4. Sequential Logic Circuits
Chapter 4 Sequential Logic Circuits 1 2 Chapter 4 4 1 The defining characteristic of a combinational circuit is that its output depends only on the current inputs applied to the circuit. The output of
More informationCS/COE1541: Introduction to Computer Architecture. Logic Design Review. Sangyeun Cho. Computer Science Department University of Pittsburgh
CS/COE54: Introduction to Computer Architecture Logic Design Review Sangyeun Cho Computer Science Department Logic design? Digital hardware is implemented by way of logic design Digital circuits process
More informationSequential Logic Circuits
Chapter 4 Sequential Logic Circuits 4 1 The defining characteristic of a combinational circuit is that its output depends only on the current inputs applied to the circuit. The output of a sequential circuit,
More informationSystems I: Computer Organization and Architecture
Systems I: Computer Organization and Architecture Lecture 6 - Combinational Logic Introduction A combinational circuit consists of input variables, logic gates, and output variables. The logic gates accept
More informationSequential Synchronous Circuit Analysis
Sequential Synchronous Circuit Analysis General Model Current State at time (t) is stored in an array of flip-flops. Next State at time (t+1) is a Boolean function of State and Inputs. Outputs at time
More informationCHAPTER 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 informationLogic 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 informationELCT201: DIGITAL LOGIC DESIGN
ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 6 Following the slides of Dr. Ahmed H. Madian محرم 1439 ه Winter
More informationWORKBOOK. Try Yourself Questions. Electrical Engineering Digital Electronics. Detailed Explanations of
27 WORKBOOK Detailed Eplanations of Try Yourself Questions Electrical Engineering Digital Electronics Number Systems and Codes T : Solution Converting into decimal number system 2 + 3 + 5 + 8 2 + 4 8 +
More informationSAU1A FUNDAMENTALS OF DIGITAL COMPUTERS
SAU1A FUNDAMENTALS OF DIGITAL COMPUTERS Unit : I - V Unit : I Overview Fundamentals of Computers Characteristics of Computers Computer Language Operating Systems Generation of Computers 2 Definition of
More informationSynchronous 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 informationENGG 1203 Tutorial - 2 Recall Lab 2 - e.g. 4 input XOR. Parity checking (for interest) Recall : Simplification methods. Recall : Time Delay
ENGG 23 Tutorial - 2 Recall Lab 2 - e.g. 4 input XOR Parity checking (for interest) Parity bit Parity checking Error detection, eg. Data can be Corrupted Even parity total number of s is even Odd parity
More information211: Computer Architecture Summer 2016
211: Computer Architecture Summer 2016 Liu Liu Topic: Storage Project3 Digital Logic - Storage: Recap - Review: cache hit rate - Project3 - Digital Logic: - truth table => SOP - simplification: Boolean
More informationDigital Electronics Final Examination. Part A
Digital Electronics Final Examination Part A Spring 2009 Student Name: Date: Class Period: Total Points: /50 Converted Score: /40 Page 1 of 13 Directions: This is a CLOSED BOOK/CLOSED NOTES exam. Select
More informationSignals and Systems Digital Logic System
Signals and Systems Digital Logic System Prof. Wonhee Kim Chapter 2 Design Process for Combinational Systems Step 1: Represent each of the inputs and outputs in binary Step 1.5: If necessary, break the
More informationEECS150 - 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 informationAppendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring
- Principles of Computer rchitecture Miles Murdocca and Vincent Heuring 999 M. Murdocca and V. Heuring -2 Chapter Contents. Introduction.2 Combinational Logic.3 Truth Tables.4 Logic Gates.5 Properties
More informationCHW 261: Logic Design
CHW 26: Logic Design Instructors: Prof. Hala Zayed Dr. Ahmed Shalaby http://www.bu.edu.eg/staff/halazayed4 http://bu.edu.eg/staff/ahmedshalaby4# Slide Digital Fundamentals Digital Concepts Slide 2 What?
More informationSave from: cs. Logic design 1 st Class أستاذ المادة: د. عماد
Save from: www.uotiq.org/dep cs Logic design 1 st Class أستاذ المادة: د. عماد استاذة المادة: م.م ميساء Contents Lectured One: Number system operation 1- Decimal numbers. 2- Binary numbers. 3- Octal numbers.
More informationMAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) State any two Boolean laws. (Any 2 laws 1 mark each)
Subject Code: 17333 Model Answer Page 1/ 27 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model
More informationECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering SEQUENTIAL CIRCUITS: LATCHES Overview Circuits require memory to store intermediate
More informationDifferent encodings generate different circuits
FSM State Encoding Different encodings generate different circuits no easy way to find best encoding with fewest logic gates or shortest propagation delay. Binary encoding: K states need log 2 K bits i.e.,
More informationCHAPTER 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 information04. What is the Mod number of the counter circuit shown below? Assume initially reset.
. Which of the following is the state diagram for the Meale machine shown below. 4. What is the Mod number of the counter circuit shown below? Assume initiall reset. input CLK D output D D a. b. / / /
More informationEE 209 Logic Cumulative Exam Name:
EE 209 Logic Cumulative Exam Name: 1.) Answer the following questions as True or False a.) A 4-to-1 multiplexer requires at least 4 select lines: true / false b.) An 8-to-1 mux and no other logi can be
More informationUnit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4
Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4 4.1.1 Signal... 4 4.1.2 Comparison of Analog and Digital Signal... 7 4.2 Number Systems... 7 4.2.1 Decimal Number System... 7 4.2.2 Binary
More informationPropositional Logic. Logical Expressions. Logic Minimization. CNF and DNF. Algebraic Laws for Logical Expressions CSC 173
Propositional Logic CSC 17 Propositional logic mathematical model (or algebra) for reasoning about the truth of logical expressions (propositions) Logical expressions propositional variables or logical
More informationTotal Time = 90 Minutes, Total Marks = 50. Total /50 /10 /18
University of Waterloo Department of Electrical & Computer Engineering E&CE 223 Digital Circuits and Systems Midterm Examination Instructor: M. Sachdev October 23rd, 2007 Total Time = 90 Minutes, Total
More informationVidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution
. (a) (i) ( B C 5) H (A 2 B D) H S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution ( B C 5) H (A 2 B D) H = (FFFF 698) H (ii) (2.3) 4 + (22.3) 4 2 2. 3 2. 3 2 3. 2 (2.3)
More informationZ = F(X) Combinational circuit. A combinational circuit can be specified either by a truth table. Truth Table
Lesson Objectives In this lesson, you will learn about What are combinational circuits Design procedure of combinational circuits Examples of combinational circuit design Combinational Circuits Logic circuit
More information3. 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 informationCSC9R6 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 informationEE 209 Spiral 1 Exam Solutions Name:
EE 29 Spiral Exam Solutions Name:.) Answer the following questions as True or False a.) A 4-to- multiplexer requires at least 4 select lines: true / false b.) An 8-to- mux and no other logic can be used
More informationvidyarthiplus.com vidyarthiplus.com vidyarthiplus.com ANNA UNIVERSITY- COMBATORE B.E./ B.TECH. DEGREE EXAMINATION - JUNE 2009. ELECTRICAL & ELECTONICS ENGG. - FOURTH SEMESTER DIGITAL LOGIC CIRCUITS PART-A
More informationCSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid
CSE140: Components and Design Techniques for Digital Systems Midterm Information Instructor: Mohsen Imani Midterm Topics In general: everything that was covered in homework 1 and 2 and related lectures,
More informationWritten exam for IE1204/5 Digital Design with solutions Thursday 29/
Written exam for IE4/5 Digital Design with solutions Thursday 9/ 5 9.-. General Information Examiner: Ingo Sander. Teacher: William Sandqvist phone 8-794487 Exam text does not have to be returned when
More informationS.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques
S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques Time: 3 Hrs.] Prelim Question Paper Solution [Marks : 100 Q.1(a) Attempt any SIX of the following : [12] Q.1(a) (i) Derive AND gate and OR gate
More informationAdders, subtractors comparators, multipliers and other ALU elements
CSE4: Components and Design Techniques for Digital Systems Adders, subtractors comparators, multipliers and other ALU elements Adders 2 Circuit Delay Transistors have instrinsic resistance and capacitance
More informationDIGITAL LOGIC CIRCUITS
DIGITAL LOGIC CIRCUITS Introduction Logic Gates Boolean Algebra Map Specification Combinational Circuits Flip-Flops Sequential Circuits Memor Components Integrated Circuits BASIC LOGIC BLOCK - GATE - Logic
More informationPART-A. 2. Expand ASCII and BCD ASCII American Standard Code for Information Interchange BCD Binary Coded Decimal
PART-A 1. What is radix? Give the radix for binary, octal, decimal and hexadecimal Radix is the total number of digits used in a particular number system Binary - 2 (0,1) Octal - 8 (0 to 7) Decimal - 10
More informationPAST EXAM PAPER & MEMO N3 ABOUT THE QUESTION PAPERS:
EKURHULENI TECH COLLEGE. No. 3 Mogale Square, Krugersdorp. Website: www. ekurhulenitech.co.za Email: info@ekurhulenitech.co.za TEL: 011 040 7343 CELL: 073 770 3028/060 715 4529 PAST EXAM PAPER & MEMO N3
More informationNumber System conversions
Number System conversions Number Systems The system used to count discrete units is called number system. There are four systems of arithmetic which are often used in digital electronics. Decimal Number
More informationLogic design? Transistor as a switch. Layered design approach. CS/COE1541: Introduction to Computer Architecture. Logic Design Review.
Logic design? CS/COE54: Introduction to Computer rchitecture Digital hardware is implemented by way of logic design Digital circuits process and produce two discrete values: and Example: -bit full adder
More informationGates 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 informationLogic 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 informationFinal Exam. ECE 25, Spring 2008 Thursday, June 12, Problem Points Score Total 90
Final Exam ECE 25, Spring 2008 Thursday, June 12, 2008 Name: PID: Problem Points Score 1 10 2 10 3 10 4 10 5 10 6 10 7 10 8 10 9 10 Total 90 1) Number representation (10 pts) a) For each binary vector
More informationHakim Weatherspoon CS 3410 Computer Science Cornell University
Hakim Weatherspoon CS 3410 Computer Science Cornell University The slides are the product of many rounds of teaching CS 3410 by Professors Weatherspoon, Bala, Bracy, and Sirer. memory inst 32 register
More informationWhy digital? Overview. Number Systems. Binary to Decimal conversion
Why digital? Overview It has the following advantages over analog. It can be processed and transmitted efficiently and reliably. It can be stored and retrieved with greater accuracy. Noise level does not
More informationCPE100: Digital Logic Design I
Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu CPE100: Digital Logic Design I Midterm02 Review http://www.ee.unlv.edu/~b1morris/cpe100/ 2 Logistics Thursday Nov. 16 th In normal lecture (13:00-14:15)
More informationEvery 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 informationSequential vs. Combinational
Sequential Circuits Sequential vs. Combinational Combinational Logic: Output depends only on current input TV channel selector (-9) inputs system outputs Sequential Logic: Output depends not only on current
More informationELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10)
ELEC 2200-002 Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10) Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering
More informationIntroduction to Karnaugh Maps
Introduction to Karnaugh Maps Review So far, you (the students) have been introduced to truth tables, and how to derive a Boolean circuit from them. We will do an example. Consider the truth table for
More informationELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN VALUES
EC 216(R-15) Total No. of Questions :09] [Total No. of Pages : 02 II/IV B.Tech. DEGREE EXAMINATIONS, DECEMBER- 2016 First Semester ELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN
More informationLecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps
EE210: Switching Systems Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps Prof. YingLi Tian Feb. 21/26, 2019 Department of Electrical Engineering The City College of New York
More informationChapter 5. Digital systems. 5.1 Boolean algebra Negation, conjunction and disjunction
Chapter 5 igital systems digital system is any machine that processes information encoded in the form of digits. Modern digital systems use binary digits, encoded as voltage levels. Two voltage levels,
More informationCS/COE0447: Computer Organization
CS/COE0447: Computer Organization and Assembly Language Logic Design Review Sangyeun Cho Dept. of Computer Science Logic design? Digital hardware is implemented by way of logic design Digital circuits
More informationLecture 7: Logic design. Combinational logic circuits
/24/28 Lecture 7: Logic design Binary digital circuits: Two voltage levels: and (ground and supply voltage) Built from transistors used as on/off switches Analog circuits not very suitable for generic
More informationReview for Test 1 : Ch1 5
Review for Test 1 : Ch1 5 October 5, 2006 Typeset by FoilTEX Positional Numbers 527.46 10 = (5 10 2 )+(2 10 1 )+(7 10 0 )+(4 10 1 )+(6 10 2 ) 527.46 8 = (5 8 2 ) + (2 8 1 ) + (7 8 0 ) + (4 8 1 ) + (6 8
More information( c) Give logic symbol, Truth table and circuit diagram for a clocked SR flip-flop. A combinational circuit is defined by the function
Question Paper Digital Electronics (EE-204-F) MDU Examination May 2015 1. (a) represent (32)10 in (i) BCD 8421 code (ii) Excess-3 code (iii) ASCII code (b) Design half adder using only NAND gates. ( c)
More information