Boolean Algebra and Logic Gates
|
|
- Garry Cameron
- 5 years ago
- Views:
Transcription
1 Boolean Algebra and Logic Gates Prof. Wangrok Oh Dept. of Information Communications Eng. Chungnam National Universit Prof. Wangrok Oh(CNU) / 5
2 Overview Aiomatic Definition of Boolean Algebra 2 Basic Theorems and Properties of Boolean Algebra 3 Boolean Functions 4 Canonical and Standard Forms 5 Other Logic Operations 6 Digital Logic Gates 7 Integrated Circuits Prof. Wangrok Oh(CNU) 2 / 5
3 Aiomatic Definition of Boolean Algebra In 854, George Boole developed an algebraic sstem now called Boolean algebra 938, Claude E. Shannon introduced a two-valued Boolean algebra called switching algebra Boolean Algebra Set of elements B 2 Two binar operators: + and Boolean algebra satisfies following (Huntington) postulates: The structure is closed with respect to the operators + and 2 and are an identit with respect to + and, respectivel + = + = = = 3 The structure is commutative with respect to + and + = + = Prof. Wangrok Oh(CNU) Aiomatic Definition of Boolean Algebra 3 / 5
4 Aiomatic Definition of Boolean Algebra 4 The operator is distributive over + and the operator + is distributive over ( + ) = + + ( ) = ( + ) ( + ) 5 For ever element B, there eists an element B (called the complement of ) such that + = and = + = = 6 There eist at least two elements, B such that Prof. Wangrok Oh(CNU) Aiomatic Definition of Boolean Algebra 4 / 5
5 Our interest here is in the application of Boolean algebra to gate tpe circuits commonl Aiomatic used in Definition digital devices and ofcomputers. Boolean Algebra Two Valued Boolean Algebra Two-Valued A two valued Boolean Boolean algebra Algebra is defined on a set of two elements, B = {, }, with rules for the A two-valued binar operators Boolean+ algebra and # as is shown defined the onfollowing a set ofoperator two elements, tables (the rule for the Bcomplement {, } with operator rules for is for the verification two binar of operators postulate 5): + and # These rules are eactl the same as the AND, OR and NOT operations Huntington postulates valid for the set B {, } Structure is closed with respect to the two operators + and 2 Identit elements: for + and for 3 Commutative laws are obvious from the smmetr of the binar operators 4 Distributive law Prof. Wangrok Oh(CNU) Aiomatic Definition of Boolean Algebra 5 / 5
6 3. The commutative laws are obvious from the smmetr of the binar operator tables. Aiomatic Definition of Boolean Algebra 4. (a) The distributive law # ( + ) = ( # ) + ( # ) can be shown to hold from the operator tables b forming a truth table of all possible values of,, and. For each combination, we derive # ( + ) and show that the value is the same as the value of ( # ) + ( # ): # ( ) # # ( # ) ( # ) (b) The distributive law of + over # can be shown to hold b means of a truth table 5 Complement of similar to the one in part (a). 5. From the + complement = table, it is + easil = shown + that =, + = + = (a) + = =, since + = + = = and =, + = + =. (b) # =, since # = # = and # = # =. 6 Two-valued Boolean algebra has two elements, and with Thus, postulate is verified. Two-valued Boolean algebra 6. Postulate 6 is satisfied because the two valued Boolean algebra has two elements, Two and elements, with. and 2 We Two have binar just established operators: a two valued equivalent Boolean to algebra AND, having + equivalent a set of two to elements, OR and and, two abinar complement operators operator with rules equivalent to tothe NOT AND and OR operations, and a complement operator equivalent to the NOT operator. Thus, Boolean algebra has been defined in a formal mathematical manner and has been shown to be equivalent to the binar logic presented heuristicall in Section.9. The heuristic presentation is helpful in understanding the application of Boolean algebra to gate tpe circuits. The formal Prof. Wangrok Oh(CNU) Aiomatic Definition of Boolean Algebra 6 / 5
7 the identit elements are interchanged. This important propert of Boolean algebra is called the dualit principle and states that ever algebraic epression deducible from the postulates of Boolean algebra remains valid if the operators and identit elements are interchanged. In a two valued Boolean algebra, the identit elements and the elements of the set B are the same: and. The dualit principle has man applications. If the dual of an algebraic epression is desired, we simpl interchange OR and AND operators and replace s b s and s b s. Dualit Basic If Theorems the dual of an algebraic epression is desired, we simpl interchange Table 2. lists OR si theorems and AND of Boolean and replace algebra s and b four s of its and postulates. s b The s notation is simplified b omitting the binar operator + = whenever = doing so does not lead to confusion. The theorems and postulates listed are the most = basic relationships in Boolean Basic Theorems and Properties of Boolean Algebra Table Basic2. Theorems Postulates and Theorems of Boolean Algebra Postulate 2 (a) + = (b) # = Postulate 5 (a) + = (b) # = Theorem (a) + = (b) # = Theorem 2 (a) + = (b) # = Theorem 3, involution ( ) = Postulate 3, commutative (a) + = + (b) = Theorem 4, associative (a) + ( + ) = ( + ) + (b) () = () Postulate 4, distributive (a) ( + ) = + (b) + = ( + )( + ) Theorem 5, DeMorgan (a) ( + ) = (b) ( ) = + Theorem 6, absorption (a) + = (b) ( + ) = Prof. Wangrok Oh(CNU) Basic Theorems and Properties of Boolean Algebra 7 / 5
8 Basic Theorems and Properties of Boolean Algebra Theorem ((a): + = ) + = ( + ) = ( + ) ( + ) = + = + = Theorem ((b): = ) = + = + = ( + ) = = Prof. Wangrok Oh(CNU) Basic Theorems and Properties of Boolean Algebra 8 / 5
9 Basic Theorems and Properties of Boolean Algebra Theorem (2(a): + =, 2(b): = ) + = ( + ) = ( + ) ( + ) = + = + = Theorem 2(b) can be proved b dualit Theorem (3: ( ) = ) From postulate 5, we have + = and = The complement of is and is also ( ) Prof. Wangrok Oh(CNU) Basic Theorems and Properties of Boolean Algebra 9 / 5
10 Basic Theorems and Properties of Boolean Algebra Theorem (6(a): + =, 6(b): ( + ) = ) + = + = ( + ) = ( + ) = = Theorem 6(b) can be proved b dualit The theorems can be proved b means of truth tables + The first DeMorgan s theorem ( + ) = Prof. Wangrok Oh(CNU) Basic Theorems and Properties of Boolean Algebra / 5
11 Basic Theorems and Properties of Boolean Algebra + ( + ) The operator precedence for evaluating Boolean epressions Parentheses 2 NOT 3 AND 4 OR Prof. Wangrok Oh(CNU) Basic Theorems and Properties of Boolean Algebra / 5
12 tionship between binar variables and is evaluated b determining the binar value of the epression for all possible values of the variables. A Boolean function can be represented in a truth table. The number of rows in the truth table is 2 n, where n is the number of variables in the function. The binar combinations for the truth table are obtained from the binar numbers b counting from through 2 n -. Table 2.2 shows the truth table for the function F. There are eight possible binar combinations for assigning bits to the three variables,, and. The column labeled F contains either or for each of these combinations. The table shows that the function is equal to when = or when = and is equal to otherwise. A Boolean function can be transformed from an algebraic epression into a circuit diagram composed of logic gates connected in a particular structure. The logic circuit diagram (also called a schematic) for F is shown in Fig. 2.. There is an inverter for input to generate its complement. There is an AND gate for the term and an OR gate Boolean Functions A Boolean function described b an algebraic epression consists of binar variables and the logic operation smbols For a given value of the binar variables, the function can be equal to either or F = + Boolean function with n variables can be represented in a truth table Number of rows in the Table truth 2.2 table: 2 n Truth Tables for F and F 2 F F 2 Prof. Wangrok Oh(CNU) Boolean Functions 2 / 5
13 Boolean Functions Boolean function can be transformed from an algebraic epression into a circuit diagram composed of logic gates connected in a particular structure Logic circuit diagram (also called a Section schematic) 2.5 for Boolean F = Functions + 47 F FIGURE 2. There is onl one wa that a Boolean function can be represented in Gate implementation of F a truth table When the function is in algebraic form, it can be epressed in a that combines variet of with was. In logic circuit diagrams, the variables of the function are taken as the inputs of the circuit and the binar variable F is taken as the output of the circuit. The schematic epresses the relationship between the output of the circuit and its inputs. Rather than listing each combination of inputs and outputs, it indicates how to compute the logic value of each output from the logic values of the inputs. Prof. Wangrok Oh(CNU) Boolean Functions 3 / 5
14 Boolean Functions B manipulating a Boolean epression according to the rules of Boolean algebra, it is sometimes possible to obtain a simpler epression and thus reduce the number of gates and the number of inputs to the gate F 2 = Chapter 2 Boolean Algebra and Logic Gates F 2 (a) F 2 Prof. Wangrok Oh(CNU) Boolean Functions 4 / 5
15 Boolean Functions F 2 = + + = ( + ) + = + (a) F 2 F 2 F 2 (b) F 2 In general, FIGURE 2.2 there are man equivalent representations of a logic function Implementation of Boolean function F 2 with gates Finding the most economic representation of the logic is an important design task produce the same truth table, the are equivalent. Therefore, the two circuits have the same outputs for all possible binar combinations of inputs of the three variables. Each circuit implements the same identical function, but the one with fewer gates and fewer inputs to gates is preferable because it requires fewer wires and components. In general, there are man equivalent representations of a logic function. Finding the most economic representation of the logic is an important design task. Prof. Wangrok Oh(CNU) Boolean Functions 5 / 5
16 Boolean Functions Algebraic Manipulation When a Boolean epression is implemented with logic gates, each term requires a gate and each variable within the term designates an input to the gate literal: a single variable within a term in complemented or uncomplemented form F 2 has 3 terms and 8 literals F 2 = + + F 2 = + Simplified F 2 has 2 terms and 4 literals B reducing the number of terms, the number of literals or both, it is often possible to obtain a simpler circuit The manipulation of Boolean algebra consists mostl of reducing an epression for the purpose of obtaining a simpler circuit Functions of up to five variables can be simplified b the map method described in the net chapter: Karnaugh Map Prof. Wangrok Oh(CNU) Boolean Functions 6 / 5
17 Boolean Functions Eample (Simplif the Boolean functions) ( + ) = + = + = 2 + = ( + )( + ) = ( + ) = + 3 ( + )( + ) = = ( + + ) = = + + ( + ) = = ( + ) + ( + ) = + 5 ( + )( + )( + ) = ( + )( + ) b dualit of (4) () and (2) are the dual of each other (4) illustrates the fact that an increase in the number of literals sometimes leads to a simpler final epression (5) is not minimied directl, but can be derived from the dual of the steps used to derive (4) (4) and (5) are together known as the consensus theorem Prof. Wangrok Oh(CNU) Boolean Functions 7 / 5
18 Boolean Functions Complement of a Function The complement of a function F is F and is obtained from an interchange of s for s and s for s in the value of F The complement of a function ma be derived algebraicall through DeMorgan s theorems DeMorgan s Theorem (A + B + C) = (A + ) Let B + C = = A B Theorem 5(a) (DeMorgan) = A (B + C) = A (B C ) = A B C DeMorgans theorems for an number of variables resemble the two variable case (A + B + C + + F ) = A B C F (ABC F ) = A + B + C + + F The complement of a function is obtained b interchanging AND and OR operators and complementing each literal Prof. Wangrok Oh(CNU) Boolean Functions 8 / 5
19 Boolean Functions Eample (Find the complement of the functions) Let F = + and F 2 = ( + ) F = ( + ) = ( ) ( ) = ( + + )( + + ) F 2 = [ ( + ) ] = + ( + ) = + ( ) () = + ( + )( + ) = + + A simpler procedure for deriving the complement of a function is to take the dual of the function and complement each literal This method follows from the generalied forms of DeMorgans theorems Remember that the dual of a function is obtained from the interchange of AND and OR operators and s and s Prof. Wangrok Oh(CNU) Boolean Functions 9 / 5
20 Boolean Functions Eample (Find the complement b taking their duals) F = + The dual of F is ( + + )( + + ) Complement each literal: ( + + )( + + ) = F 2 F 2 = ( + ) The dual of F 2 is + ( + )( + ) Complement each literal: + ( + )( + ) = F 2 Prof. Wangrok Oh(CNU) Boolean Functions 2 / 5
21 In a similar fashion, n variables forming an OR term, with each variable being primed or unprimed, provide 2 n possible combinations, called materms, or standard sums. The eight materms for three variables, together with their smbolic designations, are listed in Table 2.3. An 2 n materms for n variables ma be determined similarl. It is important to note that () each materm is obtained from an OR term of the n variables, with each variable being unprimed if the corresponding bit is a and primed if a, and (2) Canonical and Standard Forms Minterms and Materms each materm is the complement of its corresponding minterm and vice versa. Consider two binar variables and combined with an AND operation Four possible combinations:,,, Each of these four AND terms is called a minterm or a standard respectivel. Since each one of these minterms results in f product =, we have n variables can be f = combined + to form + 2= n mminterms + m 4 + m 7 n variables forming an OR term provide 2 n possible combinations Table 2.3 called materms or standard sums A Boolean function can be epressed algebraicall from a given truth table b forming a minterm for each combination of the variables that produces a in the function and then taking the OR of all those terms. For eample, the function f in Table 2.4 is determined b epressing the combinations,, and as,, and, Minterms and Materms for Three Binar Variables Minterms Materms Term Designation Term Designation m + + M m + + M m M 2 m M 3 m M 4 m M 5 m M 6 m M 7 Prof. Wangrok Oh(CNU) Canonical and Standard Forms 2 / 5
22 Canonical and Standard Forms Each materm is the complement of its corresponding midterm and vice versa 52 Chapter A Boolean 2 Boolean function Algebra canand belogic epressed Gatesb forming a minterm for each combination of the variables that produces a in the function and then taking Table the2.4 OR of all those terms Functions of Three Variables Function f Function f 2 Similarl, it ma be easil verified that f = f 2 = = m= + m 3 m+ 4 m+ 5 m+ 7 m 6 + m 7 These eamples f 2 = demonstrate + an important + + propert = of m 3 Boolean + m 5 + algebra: m 6 + An m 7 Boolean function can be epressed as a sum of minterms (with sum meaning the ORing of terms). Now consider the complement of a Boolean function. It ma be read from the truth Prof. Wangrok Oh(CNU) Canonical and Standard Forms 22 / 5
23 Canonical and Standard Forms An Boolean function can be epressed as a sum of minterms Now consider the complement of a Boolean function Forming a minterm for each combination that produces a 2 Summing the terms f = We can obtain the function f b taking the complement of f f = ( + + )( + + )( + + )( + + )( + + ) = M M 2 M 3 M 5 M 6 An Boolean function can be epressed as a product of materms The procedure for obtaining the product of materms directl from the truth table is as follows: Form a materm for each combination of the variables that produces a in the function 2 Form the AND of all those materms Boolean functions epressed as a sum of minterms or product of materms are said to be in canonical form Prof. Wangrok Oh(CNU) Canonical and Standard Forms 23 / 5
24 Canonical and Standard Forms Sum of Minterms For n binar variables, one can obtain 2 n distinct minterms An Boolean function can be epressed as a sum of minterms The minterms whose sum defines the Boolean function are those which give the s of the function in a truth table # of functions formed b n variables: 2 2n It is sometimes convenient to epress a Boolean function in its sum-of-minterms form If the function is not in the sum-of-minterms form, it can be made so: Epanding the epression into a sum of AND terms 2 Inspecting each term to see if it contains all the variables 3 If it misses one or more variables, ANDing with an epression ( + ) where is one of the missing variables Prof. Wangrok Oh(CNU) Canonical and Standard Forms 24 / 5
25 Canonical and Standard Forms Eample (Epress F = A + B C as a SUM of Minterms) The first term A is missing two variables, B and C A = A(B + B ) = AB + AB = AB(C + C ) + AB (C + C ) = ABC + ABC + AB C + AB C 2 The second term B C is missing one variable A 3 Combining all terms F = A + B C B C = B C(A + A ) = AB C + A B C = ABC + ABC + AB C + AB C + AB C + A B C 4 The term AB C appears twice Since ( + ) =, we can remove one of those occurrences F = A B C + AB C + AB C + ABC + ABC = m + m 4 + m 5 + m 6 + m 7 Prof. Wangrok Oh(CNU) Canonical and Standard Forms 25 / 5
26 Canonical and Standard Forms When a Boolean function is in its sum-of-minterms form, it is sometimes convenient to epress the function in the following brief notation: F (A, B, C) = (, 4, 5, 6, 7) Alternative procedure: Obtaining the truth table of the function directl from the algebraic epression Truth table for F = A + B C: A B C F F = m + m 4 + m 5 + m 6 + m 7 Prof. Wangrok Oh(CNU) Canonical and Standard Forms 26 / 5
27 Canonical and Standard Forms Product of Materms Each functions can be also epressed as a product of materms Epress each term with an OR form Using the distributive law 2 An missing variable in each OR term is ORed with Eample (Epress F = + as a Product of Materms) Convert the function into OR terms b using the distributive law F = + = ( + )( + ) = ( + )( + )( + )( + ) = ( + )( + )( + ) 2 Each OR term is missing one variable + = + + = ( + + )( + + ) + = + + = ( + + )( + + ) + = + + = ( + + )( + + ) 3 Combining all terms and removing terms appear more than once F = ( + + )( + + )( + + )( + + ) = M M 2 M 4 M 5 Prof. Wangrok Oh(CNU) Canonical and Standard Forms 27 / 5
28 Canonical and Standard Forms A convenient wa to epress product of materms F (,, ) = (, 2, 4, 5) The product smbol denotes the ANDing of materms The numbers are the indices of the materms of the function Conversion between Canonical Forms The complement of a function epressed as the sum of minterms equals the sum of minterms missing from the original function Original function is epressed b those minterms which make the function equal to Complement is a for those minterms for which the function is a F (A, B, C) = (, 4, 5, 6, 7) F (A, B, C) = (, 2, 3) = m + m 2 + m 3 Prof. Wangrok Oh(CNU) Canonical and Standard Forms 28 / 5
29 Canonical and Standard Forms If we take the complement of F b Demorgan s theorem, we obtain F in a different form F = (m + m 2 + m 3) = m m 2 m 3 = M M 2M 3 = (, 2, 3) Materm with subscript j is a complement of the minterm with the same subscript j and vice versa m j = M j To convert from one canonical form to another: Interchange the smbols and 2 List those numbers missing from the original form 3 Total number of minterms or materms is 2 n Prof. Wangrok Oh(CNU) Canonical and Standard Forms 29 / 5
30 Canonical and Standard Forms 56 Chapter 2 Boolean Algebra and Logic Gates Boolean epression Table 2.6 F = + Truth Table for F F Minterms Materms F (,, ) = (, 3, 6, 7) Since there is a total of eight minterms or materms in a function of three variables, we determine the missing terms to F be (,,, 2, ) 4, and = 5. (, The 2, function 4, 5) epressed as a product of materms is F(,, ) = (, 2, 4, 5) the same answer as obtained in Eample 2.5. Prof. Wangrok Oh(CNU) Canonical and Standard Forms 3 / 5
31 Canonical and Standard Forms Standard Forms Canonical forms of Boolean algebra: Sum of minterms/product of materms Each minterm or materm must contain all the variables Another wa to epress Boolean functions is standard form In standard form, the terms ma contain an number of literals There are two tpes of standard forms Sum of products 2 Products of sums Sum of products: F = + + The epression has three product terms with one, two, and three literals Section 2.6 Canonical an Their sum is an OR operation (a) Sum of Products (b) P This circuit configuration is referred to as a two-level implementation FIGURE 2.3 Prof. Wangrok Oh(CNU) Two level Canonical andimplementation Standard Forms 3 / 5 F
32 Canonical and Standard Forms Product of Sums A product of sums is a Boolean epression containing OR terms (sum terms) Each term ma have an number of literals The product denotes the ANDing of these terms F 2 = ( + )( + + ) This epression has three sum terms, with one, two, and three literals Section 2.6 Canonical and Standard Forms 57 The product is an AND operation (a) Sum of Products.3 l implementation F F 2 (b) Product of Sums This standard tpe of epression results in a two level structure of gates A B Prof. Wangrok Oh(CNU) Canonical and Standard Forms 32 / 5
33 F Canonical and Standard Forms A Boolean function ma be epressed in a nonstandard form (a) Sum of Products FIGURE 2.3 Two level implementation F 3 = AB + C(D + E) This function is neither in sum-of-product nor in product-of-sum form (b) Product of Sums F 2 A B C D E (a) AB C(D E) F 3 (b) AB CD CE FIGURE 2.4 Three Implementation and two level implementation requires two AND gates and two OR gates There are three levels of gating in this circuit It can be changed to a standard form b using the distributive law A product of sums is a Boolean epression containing OR terms, called sum terms. Each term ma have an number of literals. The product denotes the ANDing of these terms. An F 3 eample = AB of + a C(D function + epressed E) = AB as a + product CD + of CE sums is Two-level implementation is preferred F 2 = ( + because )( + it+ produces ) the least amount This of epression dela has three sum terms, with one, two, and three literals. The product is an AND operation. The use of the words product and sum stems from the similarit of the However, the number of inputs to a given gate might not be practical AND operation to the arithmetic product (multiplication) and the similarit of the OR operation to the arithmetic sum (addition). The gate structure of the product of sums Prof. Wangrok Oh(CNU) Canonical and Standard Forms 33 / 5 A B C D C E F 3
34 Although each function can be epressed in terms of the Boolean operators AND, OR, and NOT, there is no reason one cannot assign special operator smbols for epressing the other functions. Such operator smbols are listed in the second column of Ta b l e H o w e v e r, o f a l l t h e n e w s m b o l s s h o w n, o n l t h e e c l u s i v e OR smbol,, is in common use b digital designers. Each of the functions in Table 2.8 is listed with an accompaning name and a comment that eplains the function in some wa. The 6 functions listed can be subdivided into three categories: Other Logic Operations. Two functions that produce a constant or. 2. Four functions with unar operations: complement and transfer. 3. Ten functions with binar operators that define eight different operations: AND, OR, NAND, NOR, eclusive OR, equivalence, inhibition, and implication. There are 2 2n functions for n binar variables For n = 2, the number of possible Boolean functions is 6 Therefore, AND and OR are onl 2 of a total of 6 possible functions What is the other 4 functions? Table 2.7 Truth Tables for the 6 Functions of Two Binar Variables F F F 2 F 3 F 4 F 5 F 6 F 7 F 8 F 9 F F F 2 F 3 F 4 F 5 The smbol ˆ is also used to indicate the eclusive or operator, e.g., ˆ. The smbol for the AND function is sometimes omitted from the product of two variables, e.g.,. Prof. Wangrok Oh(CNU) Other Logic Operations 34 / 5
35 Other Logic Operations Table 2.8 Boolean Epressions for the 6 Functions of Two Variables Boolean Functions Section 2.7 Other Logic Operations 59 Operator Smbol Name Comments F = Null Binar constant F = # AND and F 2 = / Inhibition, but not F 3 = Transfer F 4 = / Inhibition, but not F 5 = Transfer F 6 = + Eclusive OR or, but not both F 7 = + + OR or F 8 = ( + ) T NOR Not OR F 9 = + ( ) Equivalence equals F = Complement Not F = + Implication If, then F 2 = Complement Not F 3 = + Implication If, then F 4 = () c NAND Not AND F 5 = Identit Binar constant Constants for binar functions can be equal to onl or. The complement function Prof. Wangrok Oh(CNU) Other Logic Operations 35 / 5
36 Other Logic Operations The 6 functions listed can be subdivided into three categories 2 functions that produce a constant or 2 4 functions with unar operations: complement and transfer 3 functions with binar operators: AND, OR, NAND, NOR, eclusive-or, equivalence, inhibition and implication A function that is equal to an input variable has been given the name transfer Inhibition and implication are used b logicians, but are seldom used in computer logic NOR is the complement of the OR (Not-OR) NAND is the complement of AND (Not-AND) Eclusive-OR (XOR) is similar to OR but ecludes = and = It holds onl when and differ in value It is sometimes referred to as the binar difference operator Equivalence is a function that is when the two binar variables are equal Eclusive-OR and equivalence functions are the complements of each other Equivalence function is called eclusive-nor (XNOR) Prof. Wangrok Oh(CNU) Other Logic Operations 36 / 5
37 Digital Logic Gates Section 2.8 Digital Logic Gates 6 Name Graphic smbol Algebraic function Truth table F AND F F OR Inverter Buffer NAND F F F F F F F F () F F F F Prof. Wangrok Oh(CNU) Digital Logic Gates 37 / 5
38 Digital Logic Buffer Gates F F F F NAND F F () F NOR F F ( ) F Eclusive-OR (XOR) F F F Eclusive-NOR or equivalence F F ( ) FIGURE 2.5 Digital logic gates Prof. Wangrok Oh(CNU) Digital Logic Gates 38 / 5
39 Digital Logic Gates Etension to Multiple Inputs The gates ecept for the inverter and buffer can be etended to have more than two inputs A gate can be etended to have multiple inputs if the binar operation it represents is commutative and associative The AND and OR operations possess these two properties + = + Commutative ( + ) + = + ( + ) = + + Associative inputs can be interchanged and that the OR function can be etended to three or more variables NAND and NOR functions are commutative and their gates can be etended to have more than two inputs We have to modif the definition of the operation slightl NAND and NOR operators are not associative ( ) = [ ( + ) + ] = ( + ) = + ( ) = [ + ( + ) ] = ( + ) = + Prof. Wangrok Oh(CNU) Digital Logic Gates 39 / 5
40 Digital Logic Gates Section 2.8 Digital Logic Gates 63 Section 2.8 Digital Logic Gates 63 ( ) ( ) ( ) ( ) ( ) ( ) FIGURE 2.6 To overcome this difficult, we define the multiple NOR (or NAND) Demonstrating the nonassociativit of the NOR operator: ( T ) T T ( T ) gate as a complemented OR (or AND) gate = ( + + ) FIGURE 2.6 ( ) () Demonstrating the nonassociativit = of the () NOR operator: ( T ) T T ( T ) (a) 3-input NOR gate ( ) ( ) ( ) (b) 3-input NAND gate A B (a) 3-input NOR gate (b) 3-input NAND gate C Prof. Wangrok Oh(CNU) Digital Logic Gates 4 / 5 ()
41 Digital Logic Gates ( ) ( ) FIGURE 2.6 Demonstrating the nonassociativit of the NOR operator: ( T ) T T ( T ) In writing cascaded NOR and NAND operations, one must use the correct parentheses to signif the proper sequence of the gates ( ) [ F = (ABC) (DE) ] = ABC + DE (a) 3-input NOR gate () (b) 3-input NAND gate A B C D E (c) Cascaded NAND gates F [(ABC) (DE) ] ABC DE FIGURE The 2.7second epression is obtained from one of DeMorgan s theorems Multiple input An epression and cascaded in sum-of-products NOR and NAND form gates can be implemented with NAND gates of a three input eclusive OR function is shown in Fig This function is normall implemented b cascading two input gates, as shown in (a). Graphicall, it can be represented with a single three input gate, as shown in (b). The truth table in (c) clearl indicates that the output F is equal to if onl one input is equal to or if all three inputs are equal to (i.e., when the total number of s in the input variables is odd). (Eclusive OR gates are discussed further in Section 3.9.) Prof. Wangrok Oh(CNU) Digital Logic Gates 4 / 5
42 Digital Logic Gates The eclusive-or and equivalence gates are both commutative and associative and can be etended to more than two inputs However, multiple-input eclusive-or gates are uncommon from the hardware standpoint In fact, even a two-input function is usuall constructed with other tpes of gates The definition of the function must be modified when etended to more than two variables 64 Chapter 2 Boolean Eclusive-OR Algebra is an and odd Logic function: Gates It is equal to if the input variables have an odd number of s (a) Using 2-input gates (b) 3-input gate F F F (c) Truth table FIGURE 2.8 Three input eclusive OR gate Prof. Wangrok Oh(CNU) Digital Logic Gates 42 / 5
43 Digital Logic Gates (a) Using 2-input gates Positive and Negative Logic The binarsignal at the inputs and outputs of an gate has one of (c) Truth table two values ecept during transition FIGURE One signal 2.8 value represents logic and the other logic Three input Since twoeclusive OR signal values gate are assigned to two logic values, there eist two different assignments of signal level to logic value (b) 3-input gate F F Logic value Signal value H Logic value Signal value H (a) Positive logic L L (b) Negative logic FIGURE 2.9 The higher signal level is designated b H and the lower signal level Signal assignment and logic polarit b L Positive logic: Choosing H to represent logic Negative logic: Choosing L to represent logic signal level to logic value, as shown in Fig The higher signal level is designated b H and the lower signal level b L. Choosing the high level H to represent logic defines a positive logic sstem. Choosing the low level L to represent logic defines a negative logic sstem. The terms positive and negative are somewhat misleading, since both sig- Prof. Wangrok Oh(CNU) Digital Logic Gates 43 / 5
44 Digital Logic Gates H L L H H H (a) L Truth L table L Lwith HH and LL H L L H H H (a) LTruth L tablel Lwith HH and LL H L L H H H (a) Truth table with H and L (c) Truth table for positive logic (c) Truth table for positive logic (c) Truth table for positive logic (b) Gate block diagram Section 2.8 Digital Digital Logic Gates 65 gate (b) Gate block diagram Digital gate (b) Gate block diagram (d) Positive logic AND gate (d) Positive logic AND gate (e) Truth table for (f) Negative logic OR gate negative logic FIGURE 2. The small triangles in the inputs and output: Polarit indicator Demonstration of positive and negative logic Positive-logic (e) Truth AND table gate for = Negative-logic (f) Negative OR gate logic OR gate negative logic d e sfigure i g n a t e a 2. polarit indicator, the presence of which along a terminal signifies that Prof. Wangrok Oh(CNU) Digital Logic Gates 44 / 5 gate (d) Positive logic AND gate
45 Digital Logic Gates The conversion from positive logic to negative logic and vice versa is essentiall an operation that changes s to s and s to s in both inputs and output This operation produces the dual of a function Prof. Wangrok Oh(CNU) Digital Logic Gates 45 / 5
46 Integrated Circuits An integrated circuit (IC) is fabricated on a die of a silicon semiconductor crstal called a chip containing the electronic components for constructing digital gates The various gates are interconnected inside the chip to form the required circuit The chip is mounted in a ceramic or plastic container and connections are welded to eternal pins to form the integrated circuit Each IC has a numeric designation printed on the surface of the package for identification Vendors provide data books, catalogs, and Internet websites that contain descriptions and information about the ICs that the manufacture Prof. Wangrok Oh(CNU) Integrated Circuits 46 / 5
47 Integrated Circuits Levels of Integration Small-scale integration (SSI) devices Contain several independent gates in a single package The number of gates is usuall fewer than Medium-scale integration (MSI) devices Have a compleit of approimatel to, gates The usuall perform specific elementar digital operations Eamples: Decoders, adders, and multipleers, registers and counters Large-scale integration (LSI) devices Contain thousands of gates in a single package The include digital sstems such as processors, memor chips, and programmable logic devices Ver large-scale integration (VLSI) devices Contain millions of gates within a single package Eamples are large memor arras and comple microcomputer chips Because of their small sie and low cost, VLSI devices have revolutionied the computer sstem design technolog Prof. Wangrok Oh(CNU) Integrated Circuits 47 / 5
48 Integrated Circuits Digital Logic Families Integrated circuits are classified b the specific circuit technolog The circuit technolog is referred to as a digital logic famil Basic circuit in each technolog is a NAND, NOR or inverter gate The most popular logic families TTL: Transistor-transistor logic 2 ECL: Emitter-coupled logic 3 MOS: Metal-oide semiconductor 4 CMOS: Complementar metal-oide semiconductor TTL is a logic famil that has been in use for 5 ears and is considered to be standard ECL has an advantage in sstems requiring high speed operation MOS is suitable for circuits that need high component densit CMOS is preferable in sstems requiring low power consumption Prof. Wangrok Oh(CNU) Integrated Circuits 48 / 5
49 Integrated Circuits The most important parameters distinguishing logic families Fan-out: Number of standard loads that the output of a tpical gate can drive without impairing its normal operation Fan-in: number of inputs available in a gate Power dissipation: power consumed b the gate that must be available from the power suppl Propagation dela: average transition dela time for a signal to propagate from input to output Noise margin: maimum eternal noise voltage added to an input signal that does not cause an undesirable change in the circuit output Prof. Wangrok Oh(CNU) Integrated Circuits 49 / 5
50 Integrated Circuits Computer Aided Design of VLSI Circuits The design of digital sstems with VLSI circuits containing millions of transistors and gates is an enormous and formidable task Sstems of this compleit are usuall impossible to develop and verif without the assistance of computeraided design (CAD) tools Electronic design automation (EDA) covers all phases of the design of integrated circuits Phsical realiation of a digital circuits Application-specific integrated circuit (ASIC) 2 Field-programmable gate arra (FPGA) 3 Programmable logic device (PLD) 4 Full-custom IC An important development in the design of digital sstems is the use of a hardware description language (HDL) Computer programming language specificall oriented to describing digital hardware Verilog and VHDL Prof. Wangrok Oh(CNU) Integrated Circuits 5 / 5
Chapter 2 Boolean Algebra and Logic Gates
Chapter 2 Boolean Algebra and Logic Gates The most common postulates used to formulate various algebraic structures are: 1. Closure. N={1,2,3,4 }, for any a,b N we obtain a unique c N by the operation
More informationEC-121 Digital Logic Design
EC-121 Digital Logic Design Lecture 2 [Updated on 02-04-18] Boolean Algebra and Logic Gates Dr Hashim Ali Spring 2018 Department of Computer Science and Engineering HITEC University Taxila!1 Overview What
More informationCpE358/CS381. Switching Theory and Logical Design. Class 2
CpE358/CS38 Switching Theor and Logical Design Class 2 CpE358/CS38 Switching Theor and Logical Design Summer- 24 Copright 24 Stevens Institute of Technolog -45 Toda s Material Fundamental concepts of digital
More informationChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates Mathematical methods that simplify binary logics or circuits rely primarily on Boolean algebra. Boolean algebra: a set of elements, a set of operators, and a
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 informationCS 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 informationChapter 2 (Lect 2) Canonical and Standard Forms. Standard Form. Other Logic Operators Logic Gates. Sum of Minterms Product of Maxterms
Chapter 2 (Lect 2) Canonical and Standard Forms Sum of Minterms Product of Maxterms Standard Form Sum of products Product of sums Other Logic Operators Logic Gates Basic and Multiple Inputs Positive and
More informationChapter 2 Boolean Algebra and Logic Gates
CSA051 - Digital Systems 數位系統導論 Chapter 2 Boolean Algebra and Logic Gates 吳俊興國立高雄大學資訊工程學系 Chapter 2. Boolean Algebra and Logic Gates 2-1 Basic Definitions 2-2 Axiomatic Definition of Boolean Algebra 2-3
More informationDigital Design. Digital Design
Principles Of Digital Design Chapter 3 Boolean Algebra and Logic Design Boolean Algebra Logic Gates Digital Design Implementation Technology ASICs Gate Arrays Basic Algebraic Properties A set is a collection
More informationEEA051 - Digital Logic 數位邏輯 吳俊興高雄大學資訊工程學系. September 2004
EEA051 - Digital Logic 數位邏輯 吳俊興高雄大學資訊工程學系 September 2004 Boolean Algebra (formulated by E.V. Huntington, 1904) A set of elements B={0,1} and two binary operators + and Huntington postulates 1. Closure
More informationLogic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 1 Gate Circuits and Boolean Equations
Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part Gate Circuits and Boolean Equations Charles Kime & Thomas Kaminski 28 Pearson Education, Inc. (Hperlinks are active in
More informationChapter 2 Combinational
Computer Engineering 1 (ECE290) Chapter 2 Combinational Logic Circuits Part 1 Gate Circuits and Boolean Equations HOANG Trang Reference: 2008 Pearson Education, Inc. Overview Part 1 Gate Circuits and Boolean
More informationChapter 2. Boolean Algebra and Logic Gates
Chapter 2 Boolean Algebra and Logic Gates Basic Definitions A binary operator defined on a set S of elements is a rule that assigns, to each pair of elements from S, a unique element from S. The most common
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 and Logic Gates
Boolean Algebra and Logic Gates ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2017 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Outlines Basic
More informationLogic 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 informationChap 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 information8. BOOLEAN ALGEBRAS x x
8. BOOLEAN ALGEBRAS 8.1. Definition of a Boolean Algebra There are man sstems of interest to computing scientists that have a common underling structure. It makes sense to describe such a mathematical
More informationCombinational Logic Design Principles
Combinational Logic Design Principles Switching algebra Doru Todinca Department of Computers Politehnica University of Timisoara Outline Introduction Switching algebra Axioms of switching algebra Theorems
More informationBoolean Algebra. The Building Blocks of Digital Logic Design. Section. Section Overview. Binary Operations and Their Representation.
Section 3 Boolean Algebra The Building Blocks of Digital Logic Design Section Overview Binary Operations (AND, OR, NOT), Basic laws, Proof by Perfect Induction, De Morgan s Theorem, Canonical and Standard
More informationChapter 2 Boolean Algebra and Logic Gates
Chapter 2 Boolean Algebra and Logic Gates Huntington Postulates 1. (a) Closure w.r.t. +. (b) Closure w.r.t.. 2. (a) Identity element 0 w.r.t. +. x + 0 = 0 + x = x. (b) Identity element 1 w.r.t.. x 1 =
More informationMC9211 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 informationCS 226: Digital Logic Design
CS 226: Digital Logic Design 0 1 1 I S 0 1 0 S Department of Computer Science and Engineering, Indian Institute of Technology Bombay. 1 of 29 Objectives In this lecture we will introduce: 1. Logic functions
More informationLearning Objectives 10/7/2010. CE 411 Digital System Design. Fundamental of Logic Design. Review the basic concepts of logic circuits. Dr.
/7/ CE 4 Digital ystem Design Dr. Arshad Aziz Fundamental of ogic Design earning Objectives Review the basic concepts of logic circuits Variables and functions Boolean algebra Minterms and materms ogic
More information2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS
CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS What will we learn? 2 Logic functions and circuits Boolean Algebra Logic gates and Synthesis CAD tools and VHDL Read Section 2.9 and 2.0 Terminology 3 Digital
More informationELCT201: DIGITAL LOGIC DESIGN
ELCT2: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 2 Following the slides of Dr. Ahmed H. Madian ذو الحجة 438 ه Winter
More informationSwitches: basic element of physical implementations
Combinational logic Switches Basic logic and truth tables Logic functions Boolean algebra Proofs by re-writing and by perfect induction Winter 200 CSE370 - II - Boolean Algebra Switches: basic element
More informationUniversity of Technology
University of Technology Lecturer: Dr. Sinan Majid Course Title: microprocessors 4 th year معالجات دقيقة المرحلة الرابعة ھندسة الليزر والبصريات االلكترونية Lecture 3 & 4 Boolean Algebra and Logic Gates
More informationChapter 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 informationContents. Chapter 2 Digital Circuits Page 1 of 30
Chapter 2 Digital Circuits Page 1 of 30 Contents Contents... 1 2 Digital Circuits... 2 2.1 Binary Numbers... 2 2.2 Binary Switch... 4 2.3 Basic Logic Operators and Logic Expressions... 5 2.4 Truth Tables...
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 informationCS61c: 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 informationLecture A: Logic Design and Gates
Lecture A: Logic Design and Gates Syllabus My office hours 9.15-10.35am T,Th or gchoi@ece.tamu.edu 333G WERC Text: Brown and Vranesic Fundamentals of Digital Logic,» Buy it.. Or borrow it» Other book:
More informationDigital Circuit And Logic Design I. Lecture 3
Digital Circuit And Logic Design I Lecture 3 Outline Combinational Logic Design Principles (). Introduction 2. Switching algebra 3. Combinational-circuit analysis 4. Combinational-circuit synthesis Panupong
More informationDigital Logic. Lecture 5 - Chapter 2. Outline. Other Logic Gates and their uses. Other Logic Operations. CS 2420 Husain Gholoom - lecturer Page 1
Lecture 5 - Chapter 2 Outline Other Logic Gates and their uses Other Logic Operations CS 2420 Husain Gholoom - lecturer Page 1 Digital logic gates CS 2420 Husain Gholoom - lecturer Page 2 Buffer A buffer
More informationDigital Logic and Design (Course Code: EE222) Lecture 1 5: Digital Electronics Fundamentals. Evolution of Electronic Devices
Indian Institute of Technolog Jodhpur, Year 207 208 Digital Logic and Design (Course Code: EE222) Lecture 5: Digital Electronics Fundamentals Course Instructor: Shree Prakash Tiwari Email: sptiwari@iitj.ac.in
More informationWeek-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 information4 Switching Algebra 4.1 Axioms; Signals and Switching Algebra
4 Switching Algebra 4.1 Axioms; Signals and Switching Algebra To design a digital circuit that will perform a required function, it is necessary to manipulate and combine the various input signals in certain
More informationcontrol in out in out Figure 1. Binary switch: (a) opened or off; (b) closed or on.
Chapter 2 Digital Circuits Page 1 of 18 2. Digital Circuits Our world is an analog world. Measurements that we make of the physical objects around us are never in discrete units but rather in a continuous
More informationBoolean 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 informationChapter 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 informationECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture) Email: abk@ucsd.edu Telephone: 858-822-4884 office, 858-353-0550 cell Office: 3802
More informationUC 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 informationE&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 informationPossible logic functions of two variables
ombinational logic asic logic oolean algebra, proofs by re-writing, proofs by perfect induction logic functions, truth tables, and switches NOT, ND, OR, NND, NOR, OR,..., minimal set Logic realization
More informationII. 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 informationWEEK 2.1 BOOLEAN ALGEBRA
WEEK 2.1 BOOLEAN ALGEBRA 1 Boolean Algebra Boolean algebra was introduced in 1854 by George Boole and in 1938 was shown by C. E. Shannon to be useful for manipulating Boolean logic functions. The postulates
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 information7.1. Unit 7. Minterm and Canonical Sums 2- and 3-Variable Boolean Algebra Theorems DeMorgan's Theorem Simplification using Boolean Algebra
7.1 Unit 7 Minterm and Canonical Sums 2- and 3-Variable Boolean Algebra Theorems DeMorgan's Theorem Simplification using Boolean Algebra CHECKERS / DECODERS 7.2 7.3 Gates Gates can have more than 2 inputs
More informationDigital- or Logic Circuits. Outline Logic Circuits. Logic Voltage Levels. Binary Representation
Outline Logic ircuits Introduction Logic Systems TTL MOS Logic Gates NOT, OR, N NOR, NN, XOR Implementation oolean lgebra ombinatorial ircuits Multipleer emultipleer rithmetic ircuits Simplifying Logic
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 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 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 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 informationE&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 informationMark Redekopp, All rights reserved. Lecture 4 Slides. Boolean Algebra Logic Functions Canonical Sums/Products
Lecture 4 Slides Boolean Algebra Logic Functions Canonical Sums/Products LOGIC FUNCTION REPRESENTATION Logic Functions A logic function maps input combinations to an output value ( 1 or ) 3 possible representations
More informationDigital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.
CS211 Computer Architecture Digital Logic l Topics l Transistors (Design & Types) l Logic Gates l Combinational Circuits l K-Maps Figures & Tables borrowed from:! http://www.allaboutcircuits.com/vol_4/index.html!
More informationENG2410 Digital Design Combinational Logic Circuits
ENG240 Digital Design Combinational Logic Circuits Fall 207 S. Areibi School of Engineering University of Guelph Binary variables Binary Logic Can be 0 or (T or F, low or high) Variables named with single
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 informationChapter 2: Princess Sumaya Univ. Computer Engineering Dept.
hapter 2: Princess Sumaya Univ. omputer Engineering Dept. Basic Definitions Binary Operators AND z = x y = x y z=1 if x=1 AND y=1 OR z = x + y z=1 if x=1 OR y=1 NOT z = x = x z=1 if x=0 Boolean Algebra
More informationCombinational 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 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 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 informationBoolean Algebra and logic gates
Boolean Algebra and logic gates Luis Entrena, Celia López, Mario García, Enrique San Millán Universidad Carlos III de Madrid 1 Outline l Postulates and fundamental properties of Boolean Algebra l Boolean
More informationTextbook: Digital Design, 3 rd. Edition M. Morris Mano
: 25/5/ P-/70 Tetbook: Digital Design, 3 rd. Edition M. Morris Mano Prentice-Hall, Inc. : INSTRUCTOR : CHING-LUNG SU E-mail: kevinsu@yuntech.edu.tw Chapter 3 25/5/ P-2/70 Chapter 3 Gate-Level Minimization
More informationChapter 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 informationImplementation 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 informationLecture 22 Chapters 3 Logic Circuits Part 1
Lecture 22 Chapters 3 Logic Circuits Part 1 LC-3 Data Path Revisited How are the components Seen here implemented? 5-2 Computing Layers Problems Algorithms Language Instruction Set Architecture Microarchitecture
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 informationCh 2. Combinational Logic. II - Combinational Logic Contemporary Logic Design 1
Ch 2. Combinational Logic II - Combinational Logic Contemporary Logic Design 1 Combinational logic Define The kind of digital system whose output behavior depends only on the current inputs memoryless:
More informationLecture 4: More Boolean Algebra
Lecture 4: More 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 ENGIN2
More informationProve 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 informationContents. Chapter 3 Combinational Circuits Page 1 of 36
Chapter 3 Combinational Circuits Page of 36 Contents Combinational Circuits...2 3. Analysis of Combinational Circuits...3 3.. Using a Truth Table...3 3..2 Using a Boolean Function...6 3.2 Synthesis of
More informationBOOLEAN 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 informationDIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 1. LECTURE: COMBINATONAL CIRCUITS BASIC CONCEPTS
DIGITAL TECHNICS Dr. Bálint Pődör Óbuda University, Microelectronics and Technology Institute. LECTURE: COMBINATONAL CIRCUITS BASIC CONCEPTS 26/27. LECTURE: COMBINATONAL CIRCUITS BASIC CONCEPTS. General
More informationof Digital Electronics
26 Digital Electronics 729 Digital Electronics 26.1 Analog and Digital Signals 26.3 Binary Number System 26.5 Decimal to Binary Conversion 26.7 Octal Number System 26.9 Binary-Coded Decimal Code (BCD Code)
More informationCombinatorial Logic Design Principles
Combinatorial Logic Design Principles ECGR2181 Chapter 4 Notes Logic System Design I 4-1 Boolean algebra a.k.a. switching algebra deals with boolean values -- 0, 1 Positive-logic convention analog voltages
More informationDigital electronic systems are designed to process voltage signals which change quickly between two levels. Low time.
DIGITL ELECTRONIC SYSTEMS Digital electronic systems are designed to process voltage signals which change quickly between two levels. High Voltage Low time Fig. 1 digital signal LOGIC GTES The TTL digital
More informationLogic 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 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 informationCOSC3330 Computer Architecture Lecture 2. Combinational Logic
COSC333 Computer rchitecture Lecture 2. Combinational Logic Instructor: Weidong Shi (Larry), PhD Computer Science Department University of Houston Today Combinational Logic oolean lgebra Mux, DeMux, Decoder
More informationCombinational logic. Possible logic functions of two variables. Minimal set of functions. Cost of different logic functions.
Combinational logic Possible logic functions of two variables Logic functions, truth tables, and switches NOT, ND, OR, NND, NOR, OR,... Minimal set xioms and theorems of oolean algebra Proofs by re-writing
More informationStandard & Canonical Forms
1 COE 202- Digital Logic Standard & Canonical Forms Dr. Abdulaziz Y. Barnawi COE Department KFUPM 2 Outline Minterms and Maxterms From truth table to Boolean expression Sum of minterms Product of Maxterms
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 informationSlide 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 informationCHAPTER1: 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 informationCombinational Logic Design
PEN 35 - igital System esign ombinational Logic esign hapter 3 Logic and omputer esign Fundamentals, 4 rd Ed., Mano 2008 Pearson Prentice Hall esign oncepts and utomation top-down design proceeds from
More informationChapter 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. Overview Part 1 Gate
More informationChapter 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 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 informationL2: Combinational Logic Design (Construction and Boolean Algebra)
L2: Combinational Logic Design (Construction and Boolean Algebra) Acknowledgements: Lecture material adapted from Chapter 2 of R. Katz, G. Borriello, Contemporary Logic Design (second edition), Pearson
More informationIntroduction to Quantum Computation
Introduction to Quantum Computation Ioan Burda Introduction to Quantum Computation Copyright 2005 Ioan Burda All rights reserved. Universal Publishers Boca Raton, Florida USA 2005 ISBN: 1-58112- 466-X
More informationThis form sometimes used in logic circuit, example:
Objectives: 1. Deriving of logical expression form truth tables. 2. Logical expression simplification methods: a. Algebraic manipulation. b. Karnaugh map (k-map). 1. Deriving of logical expression from
More informationComputer 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 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 informationSchool of Computer Science and Electrical Engineering 28/05/01. Digital Circuits. Lecture 14. ENG1030 Electrical Physics and Electronics
Digital Circuits 1 Why are we studying digital So that one day you can design something which is better than the... circuits? 2 Why are we studying digital or something better than the... circuits? 3 Why
More informationSection 3: Combinational Logic Design. Department of Electrical Engineering, University of Waterloo. Combinational Logic
Section 3: Combinational Logic Design Major Topics Design Procedure Multilevel circuits Design with XOR gates Adders and Subtractors Binary parallel adder Decoders Encoders Multiplexers Programmed Logic
More informationEx: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.
Boolean Expression Forms: Sum-of-products (SOP) Write an AND term for each input combination that produces a 1 output. Write the input variable if its value is 1; write its complement otherwise. OR the
More information2. Associative Law: A binary operator * on a set S is said to be associated whenever (A*B)*C = A*(B*C) for all A,B,C S.
BOOLEAN ALGEBRA 2.1 Introduction Binary logic deals with variables that have two discrete values: 1 for TRUE and 0 for FALSE. A simple switching circuit containing active elements such as a diode and transistor
More informationCombinational Logic Fundamentals
Topic 3: Combinational Logic Fundamentals In this note we will study combinational logic, which is the part of digital logic that uses Boolean algebra. All the concepts presented in combinational logic
More information