Assignment 4

1 minute read

Due: by the end of the calendar day on Wednesday, October 8, 2025

Circuit Specification

The following truth table describes the behavior of an exactly two detector circuit with four inputs (A, B, C, and D) and one output (E). If exactly two of the inputs are 1, then this circuit should output a 1. Otherwise, it should output a 0.

A B CDE
0 0 000
0 0 010
0 0 100
0 0 111
0 1 000
0 1 011
0 1 101
0 1 110
1 0 000
1 0 011
1 0 101
1 0 110
1 1 001
1 1 010
1 1 100
1 1 110

Assignment

Design a circuit that has the above truth table. Then, implement your design in Logisim and test it with a test vector containing the entire truth table.

Hint

I suggest starting by working out the boolean algebra symbols for the truth table’s sum-of-products like we did in class. Then, draw the circuit that corresponds to your sum-of-products using one stage of ANDs and another of ORs. You do not have to get the circuit in its most simple form - anything that has this truth table will work.

Grading

This is a 4-point assignment. See the rubric from the syllabus.

What to turn in

Take a screenshot of your Logisim circuit and the test vector window showing the pass/fail status of the circuit for every input from the truth table. Your screenshot should look something like this (except this is a different circuit than the one you will make for the assignment):

Example submission screenshot

Where to turn it in

Submit your screenshot image file to the Assignment 4 hand-in form on Blackboard.