Logic Circuits

Total Page:16

File Type:pdf, Size:1020Kb

Logic Circuits 1.2 A logic circuit is a circuit with MAE113 Discrete Techniques for Computing • one or more inputs, each of which is Prof. Wilfrid Hodges either live (1) or dead (0) at any given time; Mathematics room 156 [email protected] • an output, which is either live (1) or dead (0) depending on which of the inputs are live. Course web site http://www.maths.qmul.ac.uk/∼wilfrid/dtc/ We use variables p, q, r etc. for the inputs and output. A variable whose values are 0 or 1 is called a boolean. We often read 1 as T (for True) and 0 as F (for False). 1 3 1.1 Logic circuits 1.3 Syllabus George Boole Logic: Truth tables, T/F and 1/0 notation, introduced boolean variables gates, logic formulas and around 1850 their simplifications 2 4 1.4 1.6 Example Example The following table describes one logic circuit with r = p ∨ q inputs p and q and output r: For the following truth table we write , and we read ∨ as ‘or’. pqr pqr 111 111 100 101 010 011 000 000 This is the truth table of the logic circuit. 5 7 1.5 A logic circuit with this truth table is called 1.7 an AND gate and is written ✘ We write ✘ ✘ p p AND r ✙ OR r q q ✙ ✙ The value of r is a function of the values of p and q; for a logic circuit with boolean formula p ∨ q, ∧ for AND gates we write r = p q (or sometimes pq), and we call the circuit an OR gate. and we call p ∧ q the boolean formula of the circuit. Think of ∧ as short for And. 6 8 1.10 1.8 pqr(p ∧ q) ∨ r We can join two or more logic circuits to make a new one: TTTTTT ✘ TTF TTF p AND TFTTFT q ✙ ✘ ✘ TFFTFF OR s FTTFTT r ✙ ✙ FTF FTF The formula is s =(p ∧ q) ∨ r. FFTFFT FFFFFF 9 11 1.9 The truth table for (p ∧ q) ∨ r: 1.11 pqr(p ∧ q) ∨ r pqr(p ∧ q) ∨ r TTT TTTTTT T TTF TTF TTT F TFT TFTTFF T TFF TFFTFF F FTT FTTFFT T FTF FTF FFT F FFT FFTFFF T FFF FFFFFF F 10 12 1.12 pqr(p ∧ q) ∨ r 1.14 TTTTTTTT TTF TTTTF • Put enough brackets in the formula to make clear in TFTTFFTT what order the columns are calculated. The columns inside the most brackets are calculated first. TFFTFFFF • ⇑ FTTFFTTT The last column calculated (shown with ) FTF FFTFF is the output column of the truth table. It is the output of any logic circuit with this boolean FFTFFFTT formula. FFFFFFFF ⇑ 13 15 1.15 Another truth table for you to calculate 1.13 ∨ ∧ ∨ Writing truth tables: pqr(p r) (q r) TTT • Under the letters, the lefthand column changes slowest, TTF the righthand fastest. TFT • T comes above F . TFF (Some people do the opposite; this is OK as long as you are consistent.) FTT FTF • If there are n letters then you need 2n rows of Ts and Fs. FFT FFF 14 16 1.16 The truth tables for 1.18 (p ∧ q) ∨ r, We say that two logic circuits are equivalent if they have (p ∨ r) ∧ (q ∨ r) equivalent boolean formulas. We can check equivalence of two logic circuits have the same output column. by finding their boolean formulas So we say that these two boolean formulas are equivalent, and showing that these formulas are equivalent. and that they have the same truth table. This is often more efficient than checking the 2n possible We express the same by writing input values, where there are n inputs. (p ∧ q) ∨ r ≡ (p ∨ r) ∧ (q ∨ r) 17 19 1.19 1.17 A NOT gate has the truth table A logic circuit with the formula (p ∨ r) ∧ (q ∨ r): p ✘ ✘ T F p OR F T r t ✙ ✙ ✘ and is written AND ✙ ✘ ✘ p ❅❅ ❤ q OR ✙ ✙ Its formula is written ¬p, or sometimes p, and called the negation of p. (Don’t write p¬ instead of p.) 18 20 1.20 More truth tables to calculate: 1.22 pqp ∧ q ¬ (¬ p ∨¬q) There are two more De Morgan’s laws: TT p ∨ q ≡¬(¬p ∧¬q), TF ¬(p ∨ q) ≡¬p ∧¬q. FT FF 21 23 1.23 1.21 Two more boolean laws: This proves that p ∧ (q ∧ r) ≡ (p ∧ q) ∧ r, p ∧ q ≡¬(¬p ∨¬q). p ∨ (q ∨ r) ≡ (p ∨ q) ∨ r. Now putting ¬ in front of a formula reverses the Ts One can check these by truth tables. and the Fs. So ¬¬ cancels out, and the equivalence above tells us Because of them we often write for example ¬(p ∧ q) ≡¬p ∨¬q. p ∧ q ∧ r ∧ s (or pqrs) without brackets. A formula consisting of smaller formulas These equivalences are known as De Morgan’s laws. joined by ∧ is called a conjunction. 22 24 1.24 1.26 For a similar reason we write we often write for example A literal is a single letter or the negation of a single letter. Example: p, q, ¬r, r are literals. p ∨ q ∨ r ∨ s p ∧ q and q are not literals. without brackets. A minterm is a conjunction of literals. This formula is called the disjunction of p, q, r and s. (NB The Schaum book gets this definition wrong.) 25 27 1.27 1.25 Suppose we have a truth table for the inputs p1,... ,pn, Also one can check the equivalences and the output is 1 in just one row, say row R. For each i from 1 to n,put p ∧ q ≡ q ∧ p, p ∨ q ≡ q ∨ p. pi if pi is True in row R, pi = pi if pi is False in row R. So in a conjunction or a disjunction of formulas, the order of the formulas doesn’t make any difference to the Then the truth table is the truth table of the minterm truth table. p1 ...pn. 26 28 1.28 1.30 Next, suppose the truth table has the same inputs Consequence 1: Every boolean formula is equivalent but has 1s in the rows R1, ... , Rk. to a disjunction of one or more minterms. For each row Rj, let Mj be the minterm we calculated (A formula that is a disjunction of one or more minterms in 1.27 for row Rj. is sometimes said to be in disjunctive normal form.) Then the truth table is the truth table of Consequence 2: Every logic circuit is equivalent to a logic circuit where all the NOT gates are at the left, ∨ ∨ M1 ... Mk. the AND gates in the middle and the OR gates at the right. 29 31 1.31 Example. Suppose given the truth table 1.29 pqr Finally suppose the truth table has 0 in every row. (1) T T T F Then it’s the truth table of the minterm (2) T T F T p1p1. (3) T F T F (4) T F F F We’ve proved: (5) F T T F Every truth table is the truth table of a disjunction of (6) F T F T oneormoreminterms. (7) F F T F (8) F F F T 30 32 1.32 1.34 The truth table has T in rows (2), (6), (8). Another for you: find a disjunction of minterms that has the truth table The minterm for row (2) is pqr . pq The minterm for row (6) is p qr . 111 The minterm for row (8) is p q r . 100 So the truth table is the truth table of 010 pqr ∨ pqr ∨ pqr. 001 33 35 1.35 1.33 We introduce two symbols to represent the truth tables in Oneforyoutodo:find a disjunction of minterms 1.33 and 1.34, that has the truth table → (called ‘arrow’ or ‘if ... then’) and ↔ (called ‘double arrow’ or ‘if and only if’). pq 111 pqp → q p ↔ q 100 11 1 1 011 10 0 0 001 01 1 0 00 1 1 34 36 1.36 1.38 → ↔ The symbols and are useful for writing down Consider the formula conditions, ∨ when we use the letters p, q etc. for true or false statements. p qr p q r. E.g. if p says ‘Light A is on’ Because order doesn’t matter in conjunctions, this is and q says ‘The oil needs filling up’, then equivalent to p → q (pr)q ∨ (pr)q. expresses ‘If light A is on then the oil needs filling up’. Using truth tables, this is equivalent to (When boolean formulas are thought of as making (pr) ∧ (q ∨ q). statements, we call them propositions.) 37 39 1.37 1.39 Simplification of formulas Now q ∨ q always has the value T, so It’s often important to bring logic circuits or boolean we can leave it out and the formula is equivalent to formulas to as simple a form as possible. p r. There are various techniques. We consider one that uses the disjunctive normal form. If two of the minterms are the same except that ONE LETTER, p p p For more information, including the technique of say , appears as in one and in the other, then we can leave out Karnaugh maps, see Chapter 8 ‘Simplification of logic the letter and so get just one minterm in place of two. circuits’ in the Schaum book. (DON’T USE THIS TO DROP TWO LETTERS AT ONCE.) 38 40 1.40 Example (Exam 2003): Simplify the expression pqr ∨ pqr ∨ pqr ∨ pqr ∨ pqr.
Recommended publications
  • Digital IC Listing
    BELS Digital IC Report Package BELS Unit PartName Type Location ID # Price Type CMOS 74HC00, Quad 2-Input NAND Gate DIP-14 3 - A 500 0.24 74HCT00, Quad 2-Input NAND Gate DIP-14 3 - A 501 0.36 74HC02, Quad 2 Input NOR DIP-14 3 - A 417 0.24 74HC04, Hex Inverter, buffered DIP-14 3 - A 418 0.24 74HC04, Hex Inverter (buffered) DIP-14 3 - A 511 0.24 74HCT04, Hex Inverter (Open Collector) DIP-14 3 - A 512 0.36 74HC08, Quad 2 Input AND Gate DIP-14 3 - A 408 0.24 74HC10, Triple 3-Input NAND DIP-14 3 - A 419 0.31 74HC32, Quad OR DIP-14 3 - B 409 0.24 74HC32, Quad 2-Input OR Gates DIP-14 3 - B 543 0.24 74HC138, 3-line to 8-line decoder / demultiplexer DIP-16 3 - C 603 1.05 74HCT139, Dual 2-line to 4-line decoders / demultiplexers DIP-16 3 - C 605 0.86 74HC154, 4-16 line decoder/demulitplexer, 0.3 wide DIP - Small none 445 1.49 74HC154W, 4-16 line decoder/demultiplexer, 0.6wide DIP none 446 1.86 74HC190, Synchronous 4-Bit Up/Down Decade and Binary Counters DIP-16 3 - D 637 74HCT240, Octal Buffers and Line Drivers w/ 3-State outputs DIP-20 3 - D 643 1.04 74HC244, Octal Buffers And Line Drivers w/ 3-State outputs DIP-20 3 - D 647 1.43 74HCT245, Octal Bus Transceivers w/ 3-State outputs DIP-20 3 - D 649 1.13 74HCT273, Octal D-Type Flip-Flops w/ Clear DIP-20 3 - D 658 1.35 74HCT373, Octal Transparent D-Type Latches w/ 3-State outputs DIP-20 3 - E 666 1.35 74HCT377, Octal D-Type Flip-Flops w/ Clock Enable DIP-20 3 - E 669 1.50 74HCT573, Octal Transparent D-Type Latches w/ 3-State outputs DIP-20 3 - E 674 0.88 Type CMOS CD4000 Series CD4001, Quad 2-input
    [Show full text]
  • Hardware Abstract the Logic Gates References Results Transistors Through the Years Acknowledgements
    The Practical Applications of Logic Gates in Computer Science Courses Presenters: Arash Mahmoudian, Ashley Moser Sponsored by Prof. Heda Samimi ABSTRACT THE LOGIC GATES Logic gates are binary operators used to simulate electronic gates for design of circuits virtually before building them with-real components. These gates are used as an instrumental foundation for digital computers; They help the user control a computer or similar device by controlling the decision making for the hardware. A gate takes in OR GATE AND GATE NOT GATE an input, then it produces an algorithm as to how The OR gate is a logic gate with at least two An AND gate is a consists of at least two A NOT gate, also known as an inverter, has to handle the output. This process prevents the inputs and only one output that performs what inputs and one output that performs what is just a single input with rather simple behavior. user from having to include a microprocessor for is known as logical disjunction, meaning that known as logical conjunction, meaning that A NOT gate performs what is known as logical negation, which means that if its input is true, decision this making. Six of the logic gates used the output of this gate is true when any of its the output of this gate is false if one or more of inputs are true. If all the inputs are false, the an AND gate's inputs are false. Otherwise, if then the output will be false. Likewise, are: the OR gate, AND gate, NOT gate, XOR gate, output of the gate will also be false.
    [Show full text]
  • Solving Logic Problems with a Twist
    Transformations Volume 6 Issue 1 Winter 2020 Article 6 11-30-2020 Solving Logic Problems with a Twist Angie Su Nova Southeastern University, [email protected] Bhagi Phuel Chloe Johnson Dylan Mandolini Shawlyn Fleming Follow this and additional works at: https://nsuworks.nova.edu/transformations Part of the Science and Mathematics Education Commons, and the Teacher Education and Professional Development Commons Recommended Citation Su, Angie; Bhagi Phuel; Chloe Johnson; Dylan Mandolini; and Shawlyn Fleming (2020) "Solving Logic Problems with a Twist," Transformations: Vol. 6 : Iss. 1 , Article 6. Available at: https://nsuworks.nova.edu/transformations/vol6/iss1/6 This Article is brought to you for free and open access by the Abraham S. Fischler College of Education at NSUWorks. It has been accepted for inclusion in Transformations by an authorized editor of NSUWorks. For more information, please contact [email protected]. Solving Logic Problems with a Twist Cover Page Footnote This article was originally published in the Dimensions Journal, A publication of the Florida Council of Teachers of Mathematics Journal. This article is available in Transformations: https://nsuworks.nova.edu/transformations/vol6/iss1/6 Su, Hui Fang Huang, Bhagi Phuel, Chloe Johnson, Dylan Mandolini, and Shawlyn Fleming Solving Logic Problems with a Twist Solving Logic Problems with a Twist Hui Fang Huang Su, Bhagi Phuel, Chloe Johnson, Dylan Mandolini, and Shawlyn Fleming Review of Symbolic Logic Aristotle, Greek philosopher and scientist, was a pupil of Plato and asserted that any logical argument is reducible to two premises and a conclusion (Gullberg, 1997). According to classical (Aristotelian) logic, arguments are governed by three fundamental laws: the principle of identity, the principle of the excluded middle, and the principle of contradiction.
    [Show full text]
  • Designing Combinational Logic Gates in Cmos
    CHAPTER 6 DESIGNING COMBINATIONAL LOGIC GATES IN CMOS In-depth discussion of logic families in CMOS—static and dynamic, pass-transistor, nonra- tioed and ratioed logic n Optimizing a logic gate for area, speed, energy, or robustness n Low-power and high-performance circuit-design techniques 6.1 Introduction 6.3.2 Speed and Power Dissipation of Dynamic Logic 6.2 Static CMOS Design 6.3.3 Issues in Dynamic Design 6.2.1 Complementary CMOS 6.3.4 Cascading Dynamic Gates 6.5 Leakage in Low Voltage Systems 6.2.2 Ratioed Logic 6.4 Perspective: How to Choose a Logic Style 6.2.3 Pass-Transistor Logic 6.6 Summary 6.3 Dynamic CMOS Design 6.7 To Probe Further 6.3.1 Dynamic Logic: Basic Principles 6.8 Exercises and Design Problems 197 198 DESIGNING COMBINATIONAL LOGIC GATES IN CMOS Chapter 6 6.1Introduction The design considerations for a simple inverter circuit were presented in the previous chapter. In this chapter, the design of the inverter will be extended to address the synthesis of arbitrary digital gates such as NOR, NAND and XOR. The focus will be on combina- tional logic (or non-regenerative) circuits that have the property that at any point in time, the output of the circuit is related to its current input signals by some Boolean expression (assuming that the transients through the logic gates have settled). No intentional connec- tion between outputs and inputs is present. In another class of circuits, known as sequential or regenerative circuits —to be dis- cussed in a later chapter—, the output is not only a function of the current input data, but also of previous values of the input signals (Figure 6.1).
    [Show full text]
  • Class 10: CMOS Gate Design
    Class 10: CMOS Gate Design Topics: 1. Exclusive OR Implementation 2. Exclusive OR Carry Circuit 3. PMOS Carry Circuit Equivalent 4. CMOS Full-Adder 5. NAND, NOR Gate Considerations 6. Logic Example 7. Logic Negation 8. Mapping Logic ‘0’ 9. Equivalent Circuits 10. Fan-In and Fan-Out 11. Rise Delay Time 12. Rise Delay Time 13. Rise Delay Time 14. Fall Delay Time 15. Equal Delays Joseph A. Elias, PhD 1 Class 10: CMOS Gate Design Exclusive OR Design (Martin c4.5) 3-input XOR Truth Table Similar to how one derives a 2-input XOR (Martin, p.183) using (a’+b’)=(ab)’ (a’b’)=(a+b)’ a XOR b = a’b + ab’ = a’a + a’b + ab’ + bb’ = a’(a+b) + b’(a+b) = (a’+b’)(a+b) = (ab)’(a+b) = (ab + (a’b’) )’ = (ab + (a + b)’ )’ Joseph A. Elias, PhD 2 Class 10: CMOS Gate Design Exclusive OR Carry Circuit (Martin c4.5) NMOS realization PMOS equivalent •A in parallel with B •A in series with B •A||B in series with C •AB in parallel with C •AB in parallel with (A||B)C •A||B in series with (AB)||C Vout = Joseph A. Elias, PhD 3 Class 10: CMOS Gate Design PMOS Carry Circuit Equivalent (Martin c4.5) •Martin indicates equivalency between these circuits •Is this true? (AB+C)(A+B) = (A+B)C + (AB) ABA + ABB + AC + BC = AC +BC +AB AB + AB + AC + BC = AC + BC + AB AB + AC + BC = AB + AC + BC equivalent Joseph A. Elias, PhD 4 Class 10: CMOS Gate Design CMOS Full-Adder (Martin c4.5) Sum: (A+B+C) Carry + ABC Carry: (A+B)C + AB Joseph A.
    [Show full text]
  • –Not –And –Or –Xor –Nand –Nor
    Gates Six types of gates –NOT –AND –OR –XOR –NAND –NOR 1 NOT Gate A NOT gate accepts one input signal (0 or 1) and returns the complementary (opposite) signal as output 2 AND Gate An AND gate accepts two input signals If both are 1, the output is 1; otherwise, the output is 0 3 OR Gate An OR gate accepts two input signals If both are 0, the output is 0; otherwise, the output is 1 4 XOR Gate An XOR gate accepts two input signals If both are the same, the output is 0; otherwise, the output is 1 5 XOR Gate Note the difference between the XOR gate and the OR gate; they differ only in one input situation When both input signals are 1, the OR gate produces a 1 and the XOR produces a 0 XOR is called the exclusive OR because its output is 1 if (and only if): • either one input or the other is 1, • excluding the case that they both are 6 NAND Gate The NAND (“NOT of AND”) gate accepts two input signals If both are 1, the output is 0; otherwise, the output is 1 NOR Gate The NOR (“NOT of OR”) gate accepts two inputs If both are 0, the output is 1; otherwise, the output is 0 8 AND OR XOR NAND NOR 9 Review of Gate Processing Gate Behavior NOT Inverts its single input AND Produces 1 if all input values are 1 OR Produces 0 if all input values are 0 XOR Produces 0 if both input values are the same NAND Produces 0 if all input values are 1 NOR Produces 1 if all input values are 0 10 Combinational Circuits Gates are combined into circuits by using the output of one gate as the input for another This same circuit using a Boolean expression is AB + AC 11 Combinational Circuits Three inputs require eight rows to describe all possible input combinations 12 Combinational Circuits Consider the following Boolean expression A(B + C) Does this truth table look familiar? Compare it with previous table 13.
    [Show full text]
  • Combinational Logic Circuits
    CHAPTER 4 COMBINATIONAL LOGIC CIRCUITS ■ OUTLINE 4-1 Sum-of-Products Form 4-10 Troubleshooting Digital 4-2 Simplifying Logic Circuits Systems 4-3 Algebraic Simplification 4-11 Internal Digital IC Faults 4-4 Designing Combinational 4-12 External Faults Logic Circuits 4-13 Troubleshooting Prototyped 4-5 Karnaugh Map Method Circuits 4-6 Exclusive-OR and 4-14 Programmable Logic Devices Exclusive-NOR Circuits 4-15 Representing Data in HDL 4-7 Parity Generator and Checker 4-16 Truth Tables Using HDL 4-8 Enable/Disable Circuits 4-17 Decision Control Structures 4-9 Basic Characteristics of in HDL Digital ICs M04_WIDM0130_12_SE_C04.indd 136 1/8/16 8:38 PM ■ CHAPTER OUTCOMES Upon completion of this chapter, you will be able to: ■■ Convert a logic expression into a sum-of-products expression. ■■ Perform the necessary steps to reduce a sum-of-products expression to its simplest form. ■■ Use Boolean algebra and the Karnaugh map as tools to simplify and design logic circuits. ■■ Explain the operation of both exclusive-OR and exclusive-NOR circuits. ■■ Design simple logic circuits without the help of a truth table. ■■ Describe how to implement enable circuits. ■■ Cite the basic characteristics of TTL and CMOS digital ICs. ■■ Use the basic troubleshooting rules of digital systems. ■■ Deduce from observed results the faults of malfunctioning combina- tional logic circuits. ■■ Describe the fundamental idea of programmable logic devices (PLDs). ■■ Describe the steps involved in programming a PLD to perform a simple combinational logic function. ■■ Describe hierarchical design methods. ■■ Identify proper data types for single-bit, bit array, and numeric value variables.
    [Show full text]
  • Design and Simulation of V&Pl Submodules Using Nand And
    DESIGN AND SIMULATION OF V&PL SUBMODULES USING NAND AND NOR GATE H.Hasim, Syirrazie CS Instrumentation and Automation Center, Technical Support Division, Malaysia Nuclear Agensi 43000, Bangi, Kajang, Selangor Abstract Digital Integarted Circuit(IC) design is an alternative to current analog IC design. Both have vise verse advan- tages and disadvantages. This paper investigate and compare sub-modules of voting and protecting logic (V&PL) using only two input either NAND gate(74LS00) or NOR gate (74LS02). On the previous research, V&PL sub- module are mixed of six input NOR gate, 2 input AND gate, and Inverter. The result show a complexity of circuity and difficulty of finding six input NOR gate. We extend this analysis by comparable of less complexity of PMOS and NMOS used in NAND and NOR gate as V&PL sub-module, less time propagation delay, with high frequency and less total nombor of transistor used. Kanaugh map minimizer, logisim, and LTSpice used to design and develop of V&PL sub-module Complementary Metal Oxide Semiconductor(CMOS) NAND and NOR gate.Result show that, propagation delay of NAND gate is less with high frequency than NOR gate. Keywords: CMOS, NOR gate, NAND gate, Voting and Protecting Logic(V&PL) 1 Introduction One of the key challenges in IC design is making used of transistor. Transistor can be either biasing and funtion as amplifier or operated in saturated and cut-off region. To be digitalize, transistor will operated in saturated and cut-off region. The saturated region is when the flat or staedy-state amount of voltage throught out of time while in cut-off region it is approximately zeros volt.
    [Show full text]
  • Logic Families
    Logic Families PDF generated using the open source mwlib toolkit. See http://code.pediapress.com/ for more information. PDF generated at: Mon, 11 Aug 2014 22:42:35 UTC Contents Articles Logic family 1 Resistor–transistor logic 7 Diode–transistor logic 10 Emitter-coupled logic 11 Gunning transceiver logic 16 Transistor–transistor logic 16 PMOS logic 23 NMOS logic 24 CMOS 25 BiCMOS 33 Integrated injection logic 34 7400 series 35 List of 7400 series integrated circuits 41 4000 series 62 List of 4000 series integrated circuits 69 References Article Sources and Contributors 75 Image Sources, Licenses and Contributors 76 Article Licenses License 77 Logic family 1 Logic family In computer engineering, a logic family may refer to one of two related concepts. A logic family of monolithic digital integrated circuit devices is a group of electronic logic gates constructed using one of several different designs, usually with compatible logic levels and power supply characteristics within a family. Many logic families were produced as individual components, each containing one or a few related basic logical functions, which could be used as "building-blocks" to create systems or as so-called "glue" to interconnect more complex integrated circuits. A "logic family" may also refer to a set of techniques used to implement logic within VLSI integrated circuits such as central processors, memories, or other complex functions. Some such logic families use static techniques to minimize design complexity. Other such logic families, such as domino logic, use clocked dynamic techniques to minimize size, power consumption, and delay. Before the widespread use of integrated circuits, various solid-state and vacuum-tube logic systems were used but these were never as standardized and interoperable as the integrated-circuit devices.
    [Show full text]
  • To Study and Verify the Truth Tables of AND, OR, NOT, NAND, NOR, EXOR Logic Gates Components
    Experiment No.1 Aim: To study and verify the Truth Tables of AND, OR, NOT, NAND, NOR, EXOR logic gates Components: IC 7400, 7402, 7404,7408,7432,7486 Apparatus: Prototyping board (breadboard), DC Power Supply, Connecting Wires Theory: AND, AND, OR and NOT gates are basic gates. XOR and XNOR are universal gates. Basically logic gates are electronic circuits because they are made up of number of electronic devices and components. Inputs and outputs of logic gates can occur only in two levels. These two levels are term HIGH and LOW, or TRUE and FALSE, or ON AND off, OR SIMPLY 1 AND 0. A table which lists all possible combinations of input variables and the corresponding outputs is called a „truth table‟. It shows how the logic circuit‟s output responds to various combinations of logic levels at the inputs. AND GATE:- An AND gate has two or more inputs but only one output. The output assumes the logic 1 state only when each one of its inputs is at logic 1 state. The output assumes logic 0 state even if one of its input is at logic 0 state. AND gate is also called an „all or nothing‟ gate. The logic symbol & truth table of two input AND gate are shown in figure 1.a & 1.b respectively. The symbol for AND operation is „.‟. With input variables A & B the Boolean expression for output can be written as; X = A.B Logic symbol: Truth table: Input Output 1 A 3 A B X 2 X B 0 0 0 X = AB 0 1 0 1 0 0 1 1 1 Fig.1.a Fig.1.b Pin diagram of IC74LS08: .
    [Show full text]
  • How to Select Little Logic
    Application Report SCYA049A–April 2010–Revised July 2016 How to Select Little Logic Samuel Lin................................................................................................... Standard Linear and Logic ABSTRACT TI Little Logic devices are logic-gate devices assembled in a small single-, dual-, or triple- gate package. Little Logic devices are widely used in portable equipment, such as mobile phones, MP3 players, and notebook computers. Little Logic devices are also used in desktop computers and telecommunications. Little Logic gates are common components for easy PC board routing, schematic design, and bug fixes that add without taking up significant space. Little Logic devices are offered in several product categories that meet specific requirements of low and ultra-low voltage, and low power. This application report discusses critical characteristics, features, and applications of TI’s newest Little Logic family and package offerings. Contents 1 Introduction ................................................................................................................... 2 2 Little Logic Product Families ............................................................................................... 4 3 Key Concerns in Little Logic Selection .................................................................................. 15 4 System Applications of Little Logic Gates............................................................................... 23 5 Little Logic Package Options/Trend.....................................................................................
    [Show full text]
  • LOGIC GATES  a Logic Gate Is an Elementary Building Block of a Digital Circuit
    LOGIC GATES A Logic Gate is an elementary building block of a digital circuit. Most Logic Gates have two inputs and one output. At any given moment, every terminal is one of the two binary conditions LOW (0) or HIGH (1) represented by different voltage levels. In most logic gates, low state is approximately zero volt (0 V), while the high state is approximately five volts positive (+5 V). Basic logic circuits with one or more inputs and only one output are known as gates Representing Logic Functions There are several ways of representing logic functions Symbol to represents the gates Truth tale Boolean algebra Logic expression of symbol: input variables are A, B and the output variable is Y, then the logic expression for particular gate. Truth Table: Truth table is table, which represents all the possible values of logical variable/statements along with all the possible results of given combinations of values. Boolean algebra: it is Boolean expression for particular gate. Basically logic gates are OR gate, AND gate, NOT gate, NOR gate, NAND gate and XOR gate. OR – GATE OR gate symbol is Boolean expression is A+B (“A or’ d with B”) Logic expression: Input variable are A,B and the output variable is Y, then the logic expression for OR gate is Y = A+B. Circuit diagram: Truth table: Input (A) Input (B) Output (Y= A+B) 0 0 0 0 1 1 1 0 1 1 1 1 This circuit will give high output (1), if any input is high (1) , otherwise the output is low (0) AND – GATE OR gate symbol is Boolean expression is A+B (“A and with B”) Logic expression: Input variable are A, B and the output variable is Y, then the logic expression for OR gate is Y = A.B.
    [Show full text]