0% found this document useful (0 votes)
272 views4 pages

Lab 6 Combinational Logic and Boolean Simplification

This lab involves combining logic gates to demonstrate equivalent circuits and Boolean simplification. Students will complete four tasks: 1) Build circuits using NAND gates and determine the logic functions from truth tables. 2) Design a circuit with three inputs to output 1 if SW0=1 or if two or more inputs are 1, simplify to only use NAND gates. 3) Build a circuit using NOT, AND2, NOR2 and AND3 gates and fill in its truth table. 4) Simplify the previous circuit and test that it matches the truth table. Pin locations for inputs and outputs are also provided.

Uploaded by

Rabah Amidi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
272 views4 pages

Lab 6 Combinational Logic and Boolean Simplification

This lab involves combining logic gates to demonstrate equivalent circuits and Boolean simplification. Students will complete four tasks: 1) Build circuits using NAND gates and determine the logic functions from truth tables. 2) Design a circuit with three inputs to output 1 if SW0=1 or if two or more inputs are 1, simplify to only use NAND gates. 3) Build a circuit using NOT, AND2, NOR2 and AND3 gates and fill in its truth table. 4) Simplify the previous circuit and test that it matches the truth table. Pin locations for inputs and outputs are also provided.

Uploaded by

Rabah Amidi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Lab 6 Combinational Logic and Boolean Simplification

Introduction:

This lab will involve the interconnection of logic gates to illustrate equivalent gate
arrangements and Boolean simplification.

Refer to the Lab 4 tutorial to create a New Project using New Project Wizard and name it Lab3.

Project Name Lab3


Top-Level Design Entity Lab3

Follow the Lab 4 tutorial on how to wire the circuit and program the DE2 board, wire the circuit
for each task, compile and program the DE2 board. Regarding Inputs/Outputs, place 3 input
pins named SW[0], SW[1] and SW[2] and output pin LEDR[0]. For each task wire the circuit
using the inputs and outputs. Compile and download the program to the DE2 board and test
the program. Pin assignments are found for the inputs and outputs on page 4 (similar to lab 5).

Task 1: Wire the logic circuits below using 2 input “NAND” gates;

Symbol Tool>>Libraries>>Primitives>>Logic>>NAND2. Then test the design and fill in the truth
tables.

According to the truth table, what are the logic functions?

Left Circuit Function: _____________________________

Right Circuit Function: _____________________________

A B Output A B Output
A 0 0 A 0 0
0 1 0 1
out out
1 0 1 0
B 1 1 B 1 1

Left Circuit:

Lab 6 – Combo Logic and Boolean Simplification 1


Right Circuit:

Task 2: Design a three input logic circuit to produce and output of “1” when SW[0] = 1 or if at
least two inputs = 1. Draw the circuit below and fill in a truth table. Simplify completely and
build your circuit with 2-input “NAND” only. SW[0] corresponds to input C, SW[1] corresponds
to input B and SW[2] corresponds to input A.

Symbol Tool>>Libraries>>Primitives>Logic>>NAND2
Hint: Fill in the truth table first:

A B C Output
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1

Lab 6 – Combo Logic and Boolean Simplification 2


Task 3: Wire the following logic circuit using:
Symbol Tool>>Libraries>>Primitives>>Logic>>NOT, AND2, NOR2, AND3

Fill in the following truth table after testing:

A B C Output
0 0 0
A 0 0 1
Output 0 1 0
C
0 1 1
B
1 0 0
1 0 1
1 1 0
1 1 1

Task 4: Simplify the circuit above. Draw the circuit diagram for your circuit. Wire and test it.
See if it follows the truth table above.

Lab 6 – Combo Logic and Boolean Simplification 3


From the Assignments -> Pin Planner menu, enter the following pin locations. Once these
input and output pins are given names in the previous step, they appear on the Node Name list.
To confirm this list of names, refer to the eng.utoledo.edu/~wevans website and the file: DE-2
Pin Assignments.

The Pin Addresses


Added Here

The additional pin assignments for the lab include:

SW[2] Input PIN_AC27


SW[1] Input PIN_AC28
SW[0] Input PIN_AB28

Lab 6 – Combo Logic and Boolean Simplification 4

You might also like