Baixe o app para aproveitar ainda mais
Esta é uma pré-visualização de arquivo. Entre para ver o arquivo original
* * Combinational Circuits Western Illinois University Department of Computer Science Prof. Paulo Martins Created by W. Stallings Modified by P. Martins Computer Organization & Architecture 6th Edition * * * * Defining a Combinational Circuit Graphic symbols Truth Table Boolean Equations * * Representation of Combinatorial Circuits Equation Truth Table Circuit * * Basic Identities of Boolean Algebra * * A Boolean Function of three Variables * * Sum of Products (SOP) F = ABC + ABC + ABC * * SOP Implementation * * Karnaugh Maps Is used for simplification Used for representing a Boolean function as a function of a small number of variables (up to six) It is an array of 2eN squares (N = number of input variables) * * K Maps (represent boolean functions) * * Rules for simplification Build Karnaugh Map Among the marked squares (squares with 1), find those that belong to a unique largest block of either 1,2,4 or 8 and circle those blocks Select additional blocks of marked squares that are as large as possible and as few in number as possible. * * Rules for simplification Continue to draw loops around single marked squares, or pairs of adjacent marked squares, or groups of four, eight and so on, in such a way that every marked square belongs to at least one loop. If any isolated 1s remain after the groupings, then each of these is circled as a group of 1s. Any group of 1s that is completely overlapped by other groups can be eliminated * * Use of Karnaugh Maps * * K-Map: ABD * * K – Map: AB * * K-Map: A * * K-Map: D * * K-Map: C * * K-Map: BD * * K-Map: ABD * * K-Map: BCD * * K-Map: BC * * Simplify Equation (A1) * * Karnaugh Map – three variables 00 01 11 10 0 1 A BC * * Truth Table (used to build Map) * * K – Map * * K – Map * * Simplified Equation F = AB + BC * * Simplified Circuit Draw simplified circuit from previous slide Compare with circuit in slide 8 * * Multiplexers * * Application * * Mux Input to Program Counter * * 4-to-1 Multiplexer Truth Table * * Multiplexer Implementation * * Decoders – Definition DECODER (only one output line is “activated” at any Time) * * Decoder Implementation * * Application: Decoding Address Space Used to select RAM IC Used to select memory space inside RAM IC * * Address Decoding * * Demultiplexer DEMUX 2-4 Data line * * Demultiplexer Implementation * * Demultiplexer Data input * * Programmable Logic Array For each particular logic function, the layout of gates have to be designed. That involves cost and time A general-purpose chip can be readily adapted for specific purposes Welcome the “Programmable Logic Array!” * * PLA - Premises Any Boolean Function can be expressed in a sum-of-products (SOP) form * * PLA - Implementation * * Exercise Implement the functions: F = ABC + AB and F = AB + AC using the previous PLA * * PLA - Implementation * * Read Only Memory Combination circuits are “memoryless” ROMs are, however, implemented with combinational circuits ROMs function – Given a set of input lines (addresses), always produces the same output (data lines). Outputs are a function ONLY of the present inputs * * Truth table for ROM X4 X3 X2 X1 Z1 Z2 Z3 Z4 * * 64-Bit ROM 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 Note that Z1 is connected to the last 8 outputs * * Binary Addition Equations * * Binary Addition Truth Tables * * Binary Addition Truth Tables * * 4 bit adder * * Implementation of an Adder * * A 32-Bit Adder 8-bit adder 8-bit adder 8-bit adder 8-bit adder * * References Appendix A - Computer Organization and Architecture - Designing for Performance - William Stallings, 6th Edition. * * Mux – why mux? Buses take space Too many devices to be connected by the bus Bus has to be shared between devices Mux provide a way of sharing lines Intra IC – address and data lines are multiplexed as well because ic have a limited number of pins Multiplexer used to be a woman
Compartilhar