Homework 9
Begin in class on Friday, Apr. 10
You may work with a partner on this assignment.
Each person must submit their own solution either on paper or to the Dropbox.
Breadboard solutions must be presented to the GA or Instructor during office hours.
Due Thursday, Apr. 16 at Midnight (Breadboard solutions are due by the end of office hours on Apr. 16)

1.    Create a JLS diagram for ~A*B + ~C*D (1 point)

Example:  JLS diagram for A*B + C*D

Sample Signal Generator:



Be sure to right click your signal generator and click “Modify” to include the input data below.  Notice that this tests all possible inputs.

A 0 for 50
0 for 50
0 for 50
0 for 50
0 for 50
0 for 50
0 for 50
0 for 50
1 for 50
1 for 50
1 for 50
1 for 50
1 for 50
1 for 50
1 for 50
1 for 50
0
end
B 0 for 50
0 for 50
0 for 50
0 for 50
1 for 50
1 for 50
1 for 50
1 for 50
0 for 50
0 for 50
0 for 50
0 for 50
1 for 50
1 for 50
1 for 50
1 for 50
0
end
C 0 for 50
0 for 50
1 for 50
1 for 50
0 for 50
0 for 50
1 for 50
1 for 50
0 for 50
0 for 50
1 for 50
1 for 50
0 for 50
0 for 50
1 for 50
1 for 50
0
end
D 0 for 50
1 for 50
0 for 50
1 for 50
0 for 50
1 for 50
0 for 50
1 for 50
0 for 50
1 for 50
0 for 50
1 for 50
0 for 50
1 for 50
0 for 50
1 for 50
0
end

Additionally include a Stopper

Stopper 0 for 1000
1
end


Be sure to right click on your inputs and outputs and click “Watch Element”.  Elements that are “watched” will turn light blue.

Click “Simulator”, then click “Show Simulator Window” to make the Simulator Window appear.  Click start to run a simulation.

2.    Find equations for the following diagrams.  Do the two diagrams represent the same equation (1 point)?

a.
 

b.
 


3.    Implement #1 in JLS using NAND gates instead of NOT gates (1 point). 

Example: ~A

 



4.    Using the sum of products rule, find an equation for the Result below.  The sum of products rule states that an equation can be written from a truth table using the sum of the products of the variables for rows that result in a value of 1.  If a variable’s value is 1, use that variable in the product.  If a variable’s value is zero, use the negation of that variable in the product.

Example:

A
B
Result
0
0
0
0
1
1
1
0
1
1
1
0


On the second row, the result is 1, so the product is ~A*B, because A is zero in the second row and B is 1.

On the third row, the result is 1, so the product is A*~B, because A is one, and by is 0.

The sum of the products is ~A*B + A*~B.

Problem:

A
B
C
Result
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
1
1
0
1
1
1
1
0
0
1
1
1
1


5.    Reduce the equation from #4 and implement it in JLS (1 point).

6.    Create physical representations of numbers 3 and 5 on your breadboard and verify the results with the instructor or graduate teaching assistant (5 points).