Professional Documents
Culture Documents
DLD LAB Experiment 2 14
DLD LAB Experiment 2 14
Experiment 2
COMBINATIONAL LOGIC
Objectives
After completing this experiment, you will be able to:
- Build a comparator two one-bit binary from logic gates
- Build a detect BCD number circuit
- Build a full adder two one-bit binary from logic gates
- Build a combination circuit that implement a Boolean expression.
Materials Needed
- 2 INPUT-AND GATE: IC 74LS02.
- 2 INPUT-NAND GATE: IC 74LS00.
- 2 INPUT-XOR GATE: IC 74LS86.
- 2 INPUT-OR GATE: IC 74LS32.
- 2 INPUT-NOR GATE: IC 74LS02.
- INVERTER GATE: IC74LS06.
For further investigation:
Materials to be determined by student.
Multisim: Homeworks
On Tuesdays (Group 5: P1; Group 4: P2a; Group 3: P2b: Group 2: P2c; Group 1: P2d)
On Saturdays (Group 5: P1; Group 4: P2a; Group 3: P2b: Group 2: P2c; Group 1: P2d)
Procedures
TN 2_ 2014 1
COMPUTER SCIENCE & ENGINEERING Combinational Logics
- Simplify f expression
f CB
A 00 01 11 10
0
Y AB
C 00 01 11 10
0
- Just only using NAND gates with 2 inputs and then implement the circuit that satisfies the
truth table above.
Hint:
- Build the circuit. These inputs (C, B and A) are driven by three switches.
TN 2_ 2014 3
COMPUTER SCIENCE & ENGINEERING Combinational Logics
- Change the state of three inputs and observe the output values and compare these with the
truth table.
b. Implement the comparator two one-bit binary from logic gates
Given the truth table of the comparator as follows:
Inputs Outputs
A B A=B A<B A>B
0 0 1 0 0
0 1 0 1 0
1 0 0 0 1
1 1 1 0 0
Questions:
- Implement the one-bit comparator (2 inputs and 3 outputs) which are shown above with
condition: just only using NAND and NOR logic gates.
Design the circuit.
TN 2_ 2014 4
COMPUTER SCIENCE & ENGINEERING Combinational Logics
TN 2_ 2014 5
COMPUTER SCIENCE & ENGINEERING Combinational Logics
d. Design the full adder two one-bit binary by IC74LS86, IC 74LS02 and IC 74LS08.
- A full adder are made of three inputs (Cin, A and B) and two outputs (S and Cout).
- Build the truth table
TN 2_ 2014 6
COMPUTER SCIENCE & ENGINEERING Combinational Logics
- Check the practical circuit by changing logic state of the these inputs
TN 2_ 2014 7