DLD Lab

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

International University

School of Computer Science and Engineering

Digital Logic Design Laboratory


IT099IU

Lab Title

Submitted by
[Nguyễn Trung Anh – ITITWE2122]
[Đỗ Phú Thành – ITITWE22129]
II. Procedure
Notes:
If you use the simulation software, remember to capture your simulated circuits.
If you use the DLD kit, take a photo of your setup.
1. Investigate Logic Gates
Implement the basic logic gates by using simulation software or DLD kit.
a. NOT gate
- One input of NOT gate wire up to a switch.
- Output wire up to led-display
- Toggle switch to change input logic level.
- Get the results and write down the truth table of NOT gate.

A Y= NOT A
LOW 1
HIGH 0
b. AND gate
- Two inputs of AND gate wire up to switches.
- Output wire up to led-display
- Toggle switches to change input logic level.
- Get the results and write down the truth table of AND gate.

A B Y=AB
LOW LOW 0
LOW HIGH 0
HIGH LOW 0
HIGH HIGH 1
c.
OR gate
- Two inputs of OR gate wire up to switches.
- Output wire up to led-display
- Toggle switches to change input logic level.
- Get the results and write down the truth table of OR gate.

A B Y=A+B
LOW LOW 0
LOW HIGH 1
HIGH LOW 1
HIGH HIGH 1
d. XOR gate
- Two inputs of XOR gate wire up to switches.
- Output wire up to led-display
- Toggle switches to change input logic level.
- Get the results and write down the truth table of XOR gate.

A B Y= A⊕B
LOW LOW 0
HIGH LOW 1
LOW HIGH 1
HIGH HIGH 0
e. NAND gate
- Two inputs of NAND gate wire up to switches.
- Output wire up to led-display
- Toggle switches to change input logic level.
- Get the results and write down the truth table of NAND gate.

A B Y = NOT AB
LOW LOW 1
LOW HIGH 1
HIGH LOW 1
HIGH HIGH 0
f. NOR gate
- Two inputs of NOR gate wire up to switches.
- Output wire up to led-display
- Toggle switches to change input logic level.
- Get the results and write down the truth table of NOR gate

A B Y = A NOR B
LOW LOW 1
LOW HIGH 0
HIGH LOW 0
HIGH HIGH 0
2. Changing gate method
Using universal gate (NAND & NOR gate) to derive other logic gates.
a. Using NAND to make other logic gates
- Implement the circuit for Figure 1a
- Output wire up to a LED
- Toggle switches to change input logic level.
- Write down the truth tables. Which logic gate corresponds to the circuit?
- Do the same steps for Figure 1b, 1c, 1d.
2.1a.

A F
HIGH 0
LOW 1
A B F
LOW LOW 0
HIGH LOW 0
LOW HIGH 0
HIGH HIGH 1

2.1d.

A B F
LOW LOW 1
LOW HIGH 0
HIGH LOW 0
HIGH HIGH 0

You might also like