## Description

**Lab ****5 Single NAND/NOR Chip Implementation**

**Introduction**

NAND and NOR are universal gates and are preferred over AND or OR gates in logic design and chip fabrication. In this lab, the student will design, minimize and implement logic function using single NAND/NOR chip, i.e., you only need one chip on the board to build a circuit. Minimizing the number of chips can increase circuit reliability and reduce power consumption and system size.

**Components needed:**__note that 7402 chip has a different layout from 7400 chip.__

1 — 74HC**00** Quad 2-input NAND gate 1 — 74HC**02** Quad 2-input NOR gate

**All NAND Gate Implementation**

You are to build a circuit to implement the following function:

**F = AB + BC’**

- Derive the truth table for the function, and draw the logic diagram using AND, OR and NOT gates:

A B C | AB | BC’ | F |

0 0 0 | 0 | 0 | 0 |

0 0 1 | 0 | 0 | 0 |

0 1 0 | 0 | 1 | 1 |

0 1 1 | 0 | 0 | 0 |

1 0 0 | 0 | 0 | 0 |

1 0 1 | 0 | 0 | 0 |

1 1 0 | 1 | 1 | 1 |

1 1 1 | 1 | 0 | 1 |

- Convert the circuit diagram to
**all NAND gates implementation.**

** **

- Circuit construction on Tinkercad (DO NOT tear down the circuit after you finished this step.)

Based on the diagram in (b), build the circuit using one **7400** chip. DIP switches will be used to supply all three input logic levels A, B and C, and a LED will be used to provide the F output.

- Make a copy of the starter kit from https://www.tinkercad.com/things/19XqriP2dMF and rename the copy as “Lab 5 Single Chip Implementation” on Tinkercad Circuits dashboard.
- Connect the NAND gates according to the logic diagram from Step (b).
- Connect the inputs (A, B, C) to three switches, and the output F to a LED.
- Press “Start Simulation”.
- Apply all eight combinations of logic LOW and HIGH levels to the three gate inputs using the DIP switches. Observe if the circuit outputs match the values in the truth table.

**All NOR Gate Implementation**

** **

- Rewrite the function as the Product of Sums format

**F = AB + BC’ = B(A+C’)**

- Draw the logic diagram using AND, OR and NOT gates:

- Convert the circuit diagram to
**all NOR gates implementation.**

- On Tinkercad, place a
**7402**chip on the breadboard and build the circuit using the diagram (c).__Note that 7402 chip has a different layout from 7400 chip.__

- Connect the NOR gates according to the logic diagram.
- Connect the inputs (A, B, C) to three switches, and the output F to a LED.
- Press “Start Simulation”.
- Apply all eight combinations of logic LOW and HIGH levels to the three gate inputs using the DIP switches. Observe if the circuit outputs match the values in the truth table.

**Homework**: Draw the equivalent purely NAND/NOR gate representation of the function below and build the circuits on Tinkercad using NAND and NORchips, respectively.In the lab report, include the logic diagram with NAND implementation, the diagram with NOR implementation, the Tinkercad screenshot and link.__DO NOT simplify the function or change the fuction to sum-of-product or product-of-sum format!__

F = a(b + c) + bc’

__Submission Instructions:__

__Lab work submission__

- Take screenshots of your circuits with eight input combinations.
- Copy the link of your circuits for sharing.
- On the Blackboard, click on Lab 5. Attach the screenshot from Step 1 and paste the link from Step 2 into the Comments area, then hit the Submit button.

__Lab report submission__

- Lab report is needed for this lab. Please follow the guidelines and sample report on the Blackboard when you are writing your lab reports. Click on
**Lab 5 Report Submission**to submit your report. It is due one week after the lab is done.

0 0 0 = 0

0 0 1 = 0

0 1 0 = 1

0 1 1 = 0

1 0 0 = 0

1 0 1 = 0

1 1 0 = 1

1 1 1 = 1