Chapter 4 Flashcards
combinational circuit
consists of logic gates whose outputs are determined from only the present combination of inputs
a combinational circuit performs an operation that can be specified logically either by ___________ or ___________
a set of boolean functions
truth table
design procedure for combinational circuit
- specification
- formulation
- optimization
- verification
specification
label input and output
formulation
derive a truth table or boolean equations that define the relationship between the inputs and outputs
optimization
use k map and draw a logic diagram
verification
use CAD tools to verify the final design with simulation
practical considerations of a combinational circuit
- number of gates
- max allowed delay
- max consumed power
- working conditions
excess-3 code converter
add three to the number
Half adder
addition of two bits, results in two outputs: sum and carry
full adder
addition of three bits to account for carry bit from previous digit, results in two outputs: sum and carry
ripple carry adder
aka binary adder - created by connecting cascading full adders
addition of n-bit numbers needs n full adders
input carry of binary adder ________
is fixed at 0
four-bit adder is an example of a _____________
standard component or modular design
for an n-bit adder, there are ____ gate levels for the carry to get from input to output
2n
binary subtractor basic principal
for unsigned binary numbers, take the 2’s complement of subtrahend and add them together
binary subtractor gate explanation
for A-B:
- each digit of B is xored with an extra input (M) to take 2’s complement before entering the FA
- M is 1 for subtraction, 0 for addition
- M is also the carry input for the first digit
Decoder
- converts binary information from n input lines to a max of 2^n unique output lines
- at any time there will be exactly one output set to 1, the rest are 0