Combina-onal Logic Chapter 4. Topics. Combina-on Circuit 10/13/10. EECE 256 Dr. Sidney Fels Steven Oldridge

Similar documents
Chapter 4. Combinational: Circuits with logic gates whose outputs depend on the present combination of the inputs. elements. Dr.

Systems I: Computer Organization and Architecture

Combinational Logic. By : Ali Mustafa

Logic. Combinational. inputs. outputs. the result. system can

COMBINATIONAL LOGIC FUNCTIONS

Combinational Logic. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C.

Combinational Logic. Mantıksal Tasarım BBM231. section instructor: Ufuk Çelikcan

Combinational Logic. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C.

CHAPTER1: Digital Logic Circuits Combination Circuits

Class Website:

CSEE 3827: Fundamentals of Computer Systems. Combinational Circuits

Review: Additional Boolean operations

Chapter 4: Combinational Logic Solutions to Problems: [1, 5, 9, 12, 19, 23, 30, 33]

Review for Test 1 : Ch1 5

211: Computer Architecture Summer 2016

CSE 140L Spring 2010 Lab 1 Assignment Due beginning of the class on 14 th April

Digital System Design Combinational Logic. Assoc. Prof. Pradondet Nilagupta

UNIT II COMBINATIONAL CIRCUITS:

ELCT201: DIGITAL LOGIC DESIGN

Chapter 5 Arithmetic Circuits

Combinational Logic. Jee-Hwan Ryu. School of Mechanical Engineering Korea University of Technology and Education

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

Combinational Logic Design Arithmetic Functions and Circuits

Binary addition by hand. Adding two bits

UNIT 4 MINTERM AND MAXTERM EXPANSIONS

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

3. Combinational Circuit Design

Module 2. Basic Digital Building Blocks. Binary Arithmetic & Arithmetic Circuits Comparators, Decoders, Encoders, Multiplexors Flip-Flops

CMSC 313 Lecture 17. Focus Groups. Announcement: in-class lab Thu 10/30 Homework 3 Questions Circuits for Addition Midterm Exam returned

UNSIGNED BINARY NUMBERS DIGITAL ELECTRONICS SYSTEM DESIGN WHAT ABOUT NEGATIVE NUMBERS? BINARY ADDITION 11/9/2018

Carry Look Ahead Adders

Adders - Subtractors

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Digital Logic

Boolean Algebra and Logic Gates Chapter 2. Topics. Boolean Algebra 9/21/10. EECE 256 Dr. Sidney Fels Steven Oldridge

UNIT III Design of Combinational Logic Circuits. Department of Computer Science SRM UNIVERSITY

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors

ECE 545 Digital System Design with VHDL Lecture 1. Digital Logic Refresher Part A Combinational Logic Building Blocks

Combinational Logic. Review of Combinational Logic 1

Combinational Logic. Course Instructor Mohammed Abdul kader

ECE/CS 250 Computer Architecture

IT T35 Digital system desigm y - ii /s - iii

Section 3: Combinational Logic Design. Department of Electrical Engineering, University of Waterloo. Combinational Logic

14:332:231 DIGITAL LOGIC DESIGN

Sample Test Paper - I

COE 202: Digital Logic Design Combinational Circuits Part 2. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

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

MODULAR CIRCUITS CHAPTER 7

ECE 250 / CPS 250 Computer Architecture. Basics of Logic Design Boolean Algebra, Logic Gates

Logic and Computer Design Fundamentals. Chapter 5 Arithmetic Functions and Circuits

Chapter 03: Computer Arithmetic. Lesson 03: Arithmetic Operations Adder and Subtractor circuits Design

Z = F(X) Combinational circuit. A combinational circuit can be specified either by a truth table. Truth Table

ELCT201: DIGITAL LOGIC DESIGN

Numbers & Arithmetic. Hakim Weatherspoon CS 3410, Spring 2012 Computer Science Cornell University. See: P&H Chapter , 3.2, C.5 C.

CSE140: Components and Design Techniques for Digital Systems. Decoders, adders, comparators, multipliers and other ALU elements. Tajana Simunic Rosing

Logic Gate Level. Part 2

Numbers and Arithmetic

Design of Combinational Logic

Chapter 3 Ctd: Combinational Functions and Circuits

CS221: Digital Design. Dr. A. Sahu. Indian Institute of Technology Guwahati

Introduction to Digital Logic

Adders, subtractors comparators, multipliers and other ALU elements

ELEN Electronique numérique

PG - TRB UNIT-X- DIGITAL ELECTRONICS. POLYTECHNIC-TRB MATERIALS

EE 209 Logic Cumulative Exam Name:

Digital Logic Design ENEE x. Lecture 14

ว ตถ ประสงค ของบทเร ยน

Arithme(c logic units and memory

Hakim Weatherspoon CS 3410 Computer Science Cornell University


Chapter 4: Designing Combinational Systems Uchechukwu Ofoegbu

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays

Adders, subtractors comparators, multipliers and other ALU elements

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

COMBINATIONAL LOGIC CIRCUITS. Dr. Mudathir A. Fagiri

EECS150 - Digital Design Lecture 10 - Combinational Logic Circuits Part 1

What s the Deal? MULTIPLICATION. Time to multiply

Lecture 2 Review on Digital Logic (Part 1)

CPE100: Digital Logic Design I

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

Fundamentals of Digital Design

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS

Menu. Binary Adder EEL3701 EEL3701. Add, Subtract, Compare, ALU

ECE 2300 Digital Logic & Computer Organization

UNIT 1. BOOLEAN ALGEBRA AND COMBINATIONAL CIRCUITS

CMP 334: Seventh Class

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

Contents. Chapter 3 Combinational Circuits Page 1 of 36

Design of Sequential Circuits

CSE140: Components and Design Techniques for Digital Systems. Logic minimization algorithm summary. Instructor: Mohsen Imani UC San Diego

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays

Digital Logic (2) Boolean Algebra

Unit 3 Session - 9 Data-Processing Circuits

ELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN VALUES

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

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

Hardware Design I Chap. 4 Representative combinational logic

CS61c: Representations of Combinational Logic Circuits

( c) Give logic symbol, Truth table and circuit diagram for a clocked SR flip-flop. A combinational circuit is defined by the function

EECS Variable Logic Functions

Introduction to Digital Logic Missouri S&T University CPE 2210 Subtractors

Transcription:

Combina-onal Logic Chapter 4 EECE 256 Dr. Sidney Fels Steven Oldridge Topics Combina-onal circuits Combina-onal analysis Design procedure simple combined to make complex adders, subtractors, converters decoders, mul-plexers comb. design with decoders and muxes 10/13/10 (c) S. Fels, since 2010 2 Combina-on Circuit Output depends only on present value of input NOTE: No Memory or feedback paths 10/13/10 (c) S. Fels, since 2010 3 1

Combina-on Circuit What happens if we add memory? 10/13/10 (c) S. Fels, since 2010 4 Combina-on Circuit What happens if we add memory? Memory Elements Called a: Sequen&al Circuit output func-on of input and memory changes over -me 10/13/10 (c) S. Fels, since 2010 5 Combina-on Circuit We ll focus on combina-onal design first useful for designing how memory will change when making sequen-al circuits 10/13/10 (c) S. Fels, since 2010 6 2

Combina-onal Analysis Some-mes need to: confirm circuit does what it is supposed to reverse engineer circuit Steps (start at input and work to outputs): 1. label all outputs that are fn of inputs and derive Boolean expression 2. label all outputs that fn of inputs and labels done in step 1 and derive Boolean expressions 3. repeat un-l all outputs have Boolean fn 4. use subs-tu-on to get Boolean fn based only on inputs fill in truth table 10/13/10 (c) S. Fels, since 2010 7 Combina-onal Analysis F2 = AB+AC+BC T2 = ABC T1 = A+B+C 10/13/10 (c) S. Fels, since 2010 8 Combina-onal Analysis T3 = T1 F2 F1 = T2 + T3 10/13/10 (c) S. Fels, since 2010 9 3

Combina-onal Analysis F1 = ABC + T1 F2 ; con-nue subs-tu-ng F1 = A BC + A B C + AB C + ABC 10/13/10 (c) S. Fels, since 2010 10 Combina-onal Design 1. Determine the number of inputs and outputs 2. Assign symbols 3. Derive the truth table 4. Obtain simplified func-ons for each output 5. Draw the logic diagram 10/13/10 (c) S. Fels, since 2010 11 Adders most fundamental unit in computer add two numbers let s start with binary 10/13/10 (c) S. Fels, since 2010 12 4

½ Adder Design Step 1 # of inputs and outputs let s start with ½ adder first i.e. let s not worry about carry in just yet 0 0 1 1 + 0 1 0 1 sum 0 1 1 0 carry out 0 0 0 1 10/13/10 (c) S. Fels, since 2010 13 ½ Adder Design Step 2 Assign symbol names 0 0 1 1 + 0 1 0 1 sum 0 1 1 0 carry out 0 0 0 1 A B S C 10/13/10 (c) S. Fels, since 2010 14 ½ Adder Design Step 3 Derive Truth Table 0 0 1 1 + 0 1 0 1 sum 0 1 1 0 carry out 0 0 0 1 A B S C A B S C 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 10/13/10 (c) S. Fels, since 2010 15 5

½ Adder Design Step 4 Derive simplified form use k maps, Boolean Algrebra, etc. 0 0 1 1 + 0 1 0 1 sum 0 1 1 0 carry out 0 0 0 1 A B S C 0 0 0 0 0 1 1 0 1 0 1 0 S = A + B C = AB A B S C 1 1 0 1 10/13/10 (c) S. Fels, since 2010 16 ½ Adder Design Step 5 Draw circuit diagram 0 0 1 1 + 0 1 0 1 sum 0 1 1 0 carry out 0 0 0 1 A B S C A B S C 0 0 0 0 0 1 1 0 1 0 1 0 S = A + B C = AB A B 1 1 0 1 10/13/10 (c) S. Fels, since 2010 17 Full Adder We need to worry about possible carry in though Same procedure input: x, y, Cin output: S and Cout find TT x y Cin S Cout 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 10/13/10 (c) S. Fels, since 2010 18 6

Full Adder We need to worry about possible carry in though Same procedure input: x, y, Cin output: S and Cout find TT x y Cin S Cout 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 10/13/10 (c) S. Fels, since 2010 19 Full Adder Derive Boolean expressions y Cin y Cin x y Ci n S Co ut 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 Cin Cin S C out S = x y C in + x yc in +xy C in +xyc in C out = xy + xc in + yc in 10/13/10 (c) S. Fels, since 2010 20 Full Adder Derive Boolean expressions y Cin y Cin x y Ci n S Co ut 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 Cin Cin S C out S = x y C in + x yc in +xy C in +xyc in =(x + y) + Cin C out = xy + xc in + yc in = (x + y) C in + xy 10/13/10 (c) S. Fels, since 2010 21 7

Full Adder xxx x y C in S ½ adder C ½ S adder C FA S C out 10/13/10 (c) S. Fels, since 2010 22 Cascade them for 4 bit Adder 10/13/10 (c) S. Fels, since 2010 23 Cascade them for a parallel 4 bit Adder How big is the truth table? ripple carry adder What s the problem with this circuit? 10/13/10 (c) S. Fels, since 2010 24 8

Can we fix this? we need to compute carry bits in parallel rather than cascade Then, use some ½ adders with extra circuits to fix the sum depending upon the computed carries 10/13/10 (c) S. Fels, since 2010 25 n bit Carry look ahead Adder Recall that for the design of the parallel adder to work, the signal must propagate through the gates before the correct output sum is available. Total propaga&on &me = propaga&on delay of a typical gate x the number of gates Let s look at S3. Inputs A3 and B3 are available immediately. However, C3 is available only ager C2 is available. C2 has to wait for C1, etc. 10/13/10 (c) S. Fels, since 2010 26 n bit Carry look ahead Adder The number of gate levels for the carry to propagate is found from the FA circuit propaga-on delay 10/13/10 (c) S. Fels, since 2010 27 9

n bit Carry look ahead Adder let s look at each stage to see how we know what the carry is P i = A i + B i (carry prop) G i = A i B i (carry generate) S i = P i + C i C i+1 = G i + P i C i 10/13/10 (c) S. Fels, since 2010 28 n bit Carry look ahead Adder let s look at each stage to see how we know what the carry is P i = A i + B i (carry prop) G i = A i B i (carry generate) S i = P i + C i C i+1 = G i + P i C i Now, calculate each stage s Carry in terms of Cin (i.e. C 0 ) and Ps or Gs. 10/13/10 (c) S. Fels, since 2010 29 n bit Carry look ahead Adder C 0 = C in C 1 = G 0 + P 0 C 0 C 2 = C 3 = 10/13/10 (c) S. Fels, since 2010 30 10

n bit Carry look ahead Adder C 0 = C in C 1 = G 0 + P 0 C 0 C 2 = G 1 + P 1 C 1 = G 1 + P 1 (G 0 + P 0 C 0 ) = G 1 +P 1 G 0 +P 1 P 0 C 0 C 3 = 10/13/10 (c) S. Fels, since 2010 31 n bit Carry look ahead Adder C 0 = C in C 1 = G 0 + P 0 C 0 C 2 = G 1 + P 1 C 1 = G 1 + P 1 (G 0 + P 0 C 0 ) = G 1 +P 1 G 0 +P 1 P 0 C 0 C 3 = G 2 + P 2 C 2 = G 2 + P 2 (G 1 + P 1 G 0 + P 1 P 0 C 0 ) = G 2 + P 2 G 1 + P 1 P 2 G 0 + P 2 P 1 P 0 C 0 So, all carries are now computed in P2, Gs and C 0 10/13/10 (c) S. Fels, since 2010 32 Carry look ahead circuit 10/13/10 (c) S. Fels, since 2010 33 11

4 bit Carry look ahead Adder P i = A i + B i G i = A i B i S i = P i + C i What is propaga-on delay? 10/13/10 (c) S. Fels, since 2010 34 Binary Subtractor How to make a binary subtractor? 10/13/10 (c) S. Fels, since 2010 35 Binary Subtractor How to make a binary subtractor? remember: 2 s complement converts subtrac-on into addi-on so, when we want to subtract, make the input a 2 s complement number and add check for overflow 2 s complement? invert the bits + 1 10/13/10 (c) S. Fels, since 2010 36 12

4 bit Binary subtractor This is really a borrow now C out B 3 A 3 B 2 A 2 B 1 A 1 B 0 A 0 FA FA FA FA C 3 C 2 C 1 1 A B D 3 D 2 D 1 D 0 What about overflow? if unsigned if B > A; look at C out if signed if A +ve and B ve or A ve and B +ve look at C out and sign bit (C 3 ) should be same 10/13/10 (c) S. Fels, since 2010 37 case 1: A,B unsigned: B>A and result < 7 overflow 0 0 1 1 1 0 1 1 3 11 8 unsigned 0 0 1 1 + 0 1 0 1 1 1 0 0 0 3 2 s comp of 11 8 unsigned 10/13/10 (c) S. Fels, since 2010 38 overflow case 2 signed: a is ve, b is +ve; result < 7, i.e. 6 (+6) 1 0 1 0 0 1 1 0 6 (+6) signed 1 0 1 0 6 10/13/10 + 1 0 1 (c) S. Fels, since 2010 0 + (2 S complement of +6) 39 12 but 4 bits only 7 to +7 13

overflow case 3 signed: a is +ve, b is ve; result > +7, i.e. 6 ( 6) 0 1 1 0 1 0 1 0 +6 ( 6) signed 0 1 1 0 +6 + 0 1 1 0 + (2 S complement of 6) 10/13/10 (c) S. Fels, since 2010 40 +12 but 4 bits only 7 to +7 4 bit Binary adder/subtractor We can put this together to make a more func-onal element M = mode for add (0) or subtract (1) 10/13/10 (c) S. Fels, since 2010 41 4 bit Binary adder/subtractor 10/13/10 (c) S. Fels, since 2010 42 14

Design of a BCD Adder Add two decimal numbers (0 9)+(0 9)+(1)= 0 19 don t forget carry How to begin? truth table can we use exis-ng circuit binary adder? 10/13/10 (c) S. Fels, since 2010 43 Design of a BCD Adder If we just put decimal numbers in, it almost works 10/13/10 (c) S. Fels, since 2010 44 BCD adder TT 10/13/10 (c) S. Fels, since 2010 45 15

BCD adder TT same as binary repn need decimal carry 10/13/10 (c) S. Fels, since 2010 46 BCD adder TT same as binary repn Z 8 Z 2 C = K + Z 8 Z 4 + Z 8 Z 2 need decimal carry Z 8 Z 4 K 4 10/13/10 (c) S. Fels, since 2010 47 BCD adder TT if C=1; need to add 6 to the Binary sum so we need another binary adder So, we can now draw circuit as we have C and final Sum 10/13/10 (c) S. Fels, since 2010 48 16

BCD adder design 10/13/10 (c) S. Fels, since 2010 49 BCD adder design 10/13/10 (c) S. Fels, since 2010 50 Decoders Minterms A binary code of n bits can represent 2 n dis-nct combina-ons (or unique cases ). Decoder: a combina-onal circuit that converts n binary lines into 2 n unique output lines Example: a 3 to 8 line decoder 3 inputs are decoded to 8 outputs represen-ng the 8 minterms 10/13/10 (c) S. Fels, since 2010 51 17

Decoders Minterms A binary code of n bits can represent 2 n dis-nct combina-ons (or unique cases ). Decoder: a combina-onal circuit that converts n binary lines into 2 n unique output lines Example: a 3 to 8 line decoder 3 inputs are decoded to 8 outputs represen-ng the 8 minterms x D 0 y z 3x8 Decoder D 7 10/13/10 (c) S. Fels, since 2010 52 Decoder design Inputs Outputs x y z D0 D1 D2 D3 D4 D5 D6 D7 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 0 0 1 10/13/10 (c) S. Fels, since 2010 53 Decoder truth table Inputs Outputs x y z D0 D1 D2 D3 D4 D5 D6 D7 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 0 0 1 10/13/10 (c) S. Fels, since 2010 54 18

Decoder with NAND 10/13/10 (c) S. Fels, since 2010 55 NAND Decoder with enable Now we can combine them to get bigger ones. 10/13/10 (c) S. Fels, since 2010 56 Combining Decoders 4x16 Decoder check specs whether inverted or not 10/13/10 (c) S. Fels, since 2010 57 19

Boolean Func-ons with Decoders since we have all minterms it is easy to combine them for our Boolean func-ons For example: S = Σ(1, 2, 4, 7) C = Σ(3, 5, 6, 7) 10/13/10 (c) S. Fels, since 2010 58 Boolean Func-on with Decoders 10/13/10 (c) S. Fels, since 2010 59 Encoders Inverse opera-on of a decoder It has 2n inputs and generates n codewords Example: Design a 8 x 3 encoder 10/13/10 (c) S. Fels, since 2010 60 20

8x3 Encoders X = D4 + D5 + D6 + D7 Y = D2 + D3 + D6 + D7 Z = D1 + D3 + D5 + D7 10/13/10 (c) S. Fels, since 2010 61 8x3 Encoders X = D4 + D5 + D6 + D7 Y = D2 + D3 + D6 + D7 Z = D1 + D3 + D5 + D7 What s the problem here? 10/13/10 (c) S. Fels, since 2010 62 Priority Encoder For the other inputs use priority to determine output i.e. D3 takes priority over D2; D2 over D1 etc. 10/13/10 (c) S. Fels, since 2010 63 21

Priority Encoder 10/13/10 (c) S. Fels, since 2010 64 Priority Encoder 1 No-ce, we can use the don t cares to design this. 10/13/10 (c) S. Fels, since 2010 65 Priority Encoder 10/13/10 (c) S. Fels, since 2010 66 22

Mul-plexers A mul-plexer selects one of many inputs and directs it to the output. ch1 ch2 Transmission line chn The selec-on may be controlled by select lines Normally 2n input lines: n select lines 10/13/10 (c) S. Fels, since 2010 67 Mul-plexers Example: 2 x 1 mul-plexer How to design? let s design 4x1 MUX code redirects input use AND gate with minterm like decoder with AND gate 10/13/10 (c) S. Fels, since 2010 68 4x1 MUX 10/13/10 (c) S. Fels, since 2010 69 23

Using MUXes for Boolean func-ons Use a mul-plexer to implement the following func-on: F = x y z + x yz + xy z + xyz Idea: no-ce that MUX is a decoder + OR gate use the selector to direct correct value to output 10/13/10 (c) S. Fels, since 2010 70 Using MUXes for Boolean func-ons Example F(x,y,z) = Σ(1,2,6,7) 10/13/10 (c) S. Fels, since 2010 71 Using MUXes for Boolean func-ons Example F(x,y,z) = Σ(1,2,6,7) 10/13/10 (c) S. Fels, since 2010 72 24

Using MUXes for Boolean func-ons 10/13/10 (c) S. Fels, since 2010 73 Using MUX for Boolean Fn Design a Full adder S(x,y,z) = Σ(1,2,4,7); C(x,y,z) = Σ(1,2,4,7) x y z S C 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 10/13/10 (c) S. Fels, since 2010 74 Using MUX for Boolean Fn Design a Full adder S(x,y,z) = Σ(1,2,4,7); C(x,y,z) = Σ(3,5,6,7) x y z S C 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 10/13/10 (c) S. Fels, since 2010 75 25

Using MUX for Boolean Fn Design a Full adder S(x,y,z) = Σ(1,2,4,7); C(x,y,z) = Σ(3,5,6,7) x y z S C S m C m 0 0 0 0 0 z 0 0 0 1 1 0 z 0 0 1 0 1 0 z z 0 1 1 0 1 z z 1 0 0 1 0 z z 1 0 1 0 1 z z 1 1 0 0 1 z 1 1 1 1 1 1 z 1 z S 0 z z z z z C 10/13/10 (c) S. Fels, since 2010 76 Summary Combina-onal circuits Combina-onal analysis Design procedure simple combined to make complex adders, subtractors, converters decoders, mul-plexers comb. design with decoders and muxes 10/13/10 (c) S. Fels, since 2010 77 26