a) Under the "Project" menu, select "Add Circuit..." and create a new circuit named "CMPS290_Circuit1". This will create a blank sheet where you can enter your circuit. The "iDoc circuit should output according to the following formula. It should have three input pins (labeled P, Q, and R) and one output pin (labeled X).
X = ¬R • ((¬P)•(¬Q) + P•Q)
b) Create a new circuit named "CMPS290_Circuit2" this circuit should output according to the following truth table. It should have three inputs (X, Y, and Z) and one output (I). The circuit is named "singleton" because it outputs a one when exactly one single value among the inputs is a one.
- X Y Z | I
- 0 0 0 |0
- 0 0 1 | 1
- 0 1 0 | 1
- 0 1 1 | 0
- 1 0 0 | 1
- 1 0 1 | 0
- 1 1 0 | 0
1 1 1 | 0
c) Create a third circuit, named "CMPS290_Circuit3". This circuit should have two inputs (A, B, and S) and one output (V).
When input S is zero, the output V should match the input A, and when the input S is one, the output V should match the input B. In other words, output V should be a one only if either (a) S is zero and A is one, or (b) S is one and B is one.
The circuit is named "selector" since the S input is basically "selecting" one of the other two inputs to be "connected to" or "used as" the single output.