COMBINATIONAL LOGIC Flashcards
Describe the different types of logic circuits in digital systems
- Combinational
Consists of input variables, logic gates, and output variables.
Outputs at any time determined from only the present
combination of inputs. - Sequential
Employ storage elements in addition to logic gates.
Outputs are a function of present inputs, past inputs,
They are the building blocks of digital systems
Illustrate the block diagram of a combinational circuit and sequential circuits
The diagram of a combinational circuit has logic gates
with no feedback paths or memory elements .
*See notes page 4 for the illustrations
Describe what a functional block is and give examples
Fundamental circuits that are the base building blocks of most larger digital circuits
They are reusable and are common to many systems.
Examples of functional logic circuits
-Decoders
-Encoders
-Code converters
-Multiplexers
Describe where the following functional blocks are used: Multiplexers, Decoders and encoders
Multiplexers
- Selectors for routing data to the processor, memory, I/O
- Multiplexers route the data to the correct bus or port.
Decoders
- Used for selecting things like a bank of memory and then the address within the bank.
- This is also the function needed to ‘decode’ the instruction to determine the operation to perform.
Encoders
- Used in various components such as keyboards.
-Telecommunications and networking for data transfer
What are the steps needed to obtain the output boolean functions from a logic diagram
- Label all gate outputs that are a function of input variables with arbitrary symbols. Determine the Boolean functions for each gate output.
- Label the gates that are a function of input variables and previously labeled gates with other arbitrary symbols. Find the Boolean functions for these gates.
- Repeat the step 2 until the outputs of the circuit are obtained.
- By repeated substitution of previously defined functions, obtain the output Boolean functions in terms of input variables.
*Do example on page 8-10
Detail the steps of the design procedure
i. Specifications: determine the required number of inputs and outputs and assign a symbol to each.
ii. Formulation:
i. Derive the truth table that defines the required relationship between inputs and outputs.
ii. Obtain the simplified Boolean functions for each output as a function of the input variables.
iii. Optimization: Draw the logic diagram and verify the correctness of the design (manually or by simulation).
iv. Technology Mapping: Map the logic diagram to the
implementation technology selected
v. Evaluation: Evaluate the timing and power
Describe the conversion circuit under the specification and formulation steps
A conversion circuit – Inserted between the two systems each using different codes for the same information.
Makes the two systems compatible
For Example: BCD to Excess-3 code converter
BCD code words for digits 0 through 9: 4-bit patterns
0000 to 1001, respectively
Excess-3 code words for digits 0 through 9: 4-bit patterns consisting of 3 (binary 0011) added to each BCD code word
Give an example of the optimization and mapping process
*See page 13 and 14
Describe a half adder and draw its truth table
A combinational circuit that performs the addition of
two bits is called a half adder.
*See notes for truth table
Draw logic gate circuits that implement the half adder
*See PAGE 18
Describe a full adder and draw its truth table
A combinational circuit that performs the addition of three bits(two significant bits and a previous carry) is a full adder.
It has three inputs and two outputs, whereas half adder has only two inputs and two outputs.
The first two inputs are A and B and the third input is an input carry as C-IN.
*See notes for the truth table (20)
Illustrate how a full adder can be implemented in SOP
See page 22
Illustrate the carry look ahead implementation of the full-adder
Full-adder can also implemented with two half adders and one OR gate (Carry Look-Ahead adder).
*See page 23
Describe and illustrate the use of the binary adder
-In a computer, for a multi-bit operation, each bit must be represented by a full adder and must be added
simultaneously. Eg To add two 8-bit numbers, you will need 8 full adders which can be formed by cascading two of the 4-bit blocks.
-The binary adder a called Ripple Carry Adder, because
of the construction with full adders are connected in cascade.
*See notes for illustration- page 27
Describe the issue presented by carry propagation
Because the propagation delay will affect the output signals on different time, signals need to be given enough time to get the precise and stable outputs.
For an n -bit adder, there are 2n gate levels for the carry to propagate from input to output.
Since all other arithmetic operations are implemented by successive additions, the time consumed during the addition process is critical.