Você está na página 1de 4

Standard Combinational Blocks/Functions.

Block / Function Symbols / Truth Table / Equations Details


Decoder. Outputs can be active at LOW or at HIGH level.
It activates its outputs Decoders can have an Enable input.
depending on the code at its
inputs. Binary decoders have M outputs and N inputs (code
inputs), being
Two of the he most used N
M=2
decoders are:

Binary decoders. Used for


selecting or activating one
Each output corresponds to one possible input
N
from 2 outputs (where N is combination. Therefore, a binary decoder is
the number of inputs). considered a fixed AND matrix, containing all possible
products for a given number of inputs.
The numbered output which
corresponds to the binary
code value at the input is
activated

BCD to 7-segment decoders. BCD- 7 segments decoder can be used with common
Used for displaying numbers anode (active LOW outputs) or common cathode 7
segment displays (active HIGH outputs)

Input Test allows to display an 8 and check that all


segments are OK

RBI input allows to turn-off (blank) the display


Block / Function Symbols / Truth Table / Equations Details
Encoder. 74(LS)147 is a BCD encoder
It performs the opposite 74(LS)148 is a binary encoder, with M inputs and N
function of a decoder. code outputs, being
Generates a code to identify N
M=2
an active (or highest priority
active) input
Notice in the truth-table, how some inputs have
highest priority than others (7th is the highest, 0th the
lowest)

Indicating outputs EO and GS are used for showing the


state of the encoder and for cascading (to connect
several encoders together to codify more inputs).
Multiplexer (MUX). Each data input can be a bit or a bus of n bits, and
It is a data selector. It can be output will be respectively a bit or a bus of n bits.
represented as an electronic
switch that connects one of MUXes have M data inputs and N the number of bits
the M inputs to the output. for selection (SEL), being
The control inputs N
M=2
SEL(SELECTION) determine
which input is selected (or
connected) to the output

MUX can also be used as a truth table, setting data


entry values to match desired output values for each
combination.
Look at the truth table on the left, it is straightforward
to change values D0, D1, D2 and D3 to any desired
values.
Block / Function Symbols / Truth Table / Equations Details
Demultiplexer (DEMUX) DEMUXes have M data outputs and N bits for selection
It performs the opposite (SEL), being
function of a MUX. It can be N
M=2
considered a switch with one
input and M outputs
Each data output can be a bit or a bus of n bits, then
The control inputs
each input will be respectively a bit or a bus of n bits.
SEL(SELECTION) determine
which output is selected (or
connected) to the input

Adders. Carry – indicates that an addition or subtraction of


They perform the addition unsigned numbers, need more digits. It should be
and subtraction of two considered the most significant bit.
numbers. Can accept a carry Overflow – indicates that an addition or subtraction of
input. Can indicate a carry signed numbers is beyond the possible range of
output and overflow. representation and that the result has no meaning.

These circuits are used as Adders can use a ripple carry circuit (slow, but simple)
components in multiplication to obtain the sum and produce carry output signal or
and division circuits. they can use a look-ahead carry circuit (faster, but
more complex).

Basic addition circuits for one bit numbers are Half-


Adder and Full-Adder.

Signed numbers use 2’s complement format for


representation of negative numbers.
Comparators. They compare
(normally) two unsigned XNOR gates are the basic circuits for detecting if two
binary numbers, indicating binary numbers, of one bit (digit), are equal or not.
their relationship (equal,
greater or smaller).

ALU. The Arithmetic-Logic


Unit is a combinational It is a basic building block in Processors.
circuit that performs
arithmetic and bit a bit logic Carry – indicates that an addition or subtraction of
operations on the two binary unsigned numbers, need more digits. It should be
numbers. It can accept a considered the most significant bit.
carry input. ALU indicates
carry and overflow Overflow – indicates that an addition or subtraction of
conditions. unsigned numbers is beyond the possible range of
representation and that the result has no meaning

Parity generators and The output ODD produces a 1, if the number of inputs
detectors. at 1 is odd.

These circuits are used in The output EVEN produces a 1, if the number of inputs
basic memory and data at 1 is even.
transmission protection
circuits.

Você também pode gostar