Tasks
Instructions
Implement a 1-bit ALU whose operations are sum,and,or,xor
  • Click on components on the left side to add them to the circuit board.
  • Drag and drop components to move them around, connect them using wires by dragging your cursor from one endpoint to another.
  • You can delete components by right clicking on them and selecting the delete option.
  • You can set the input bits, which are by default 1, to any values of your choice for testing, by clicking on them. Each click toggles the bit between 1 and 0.
  • A single output point can drive several inputs: drag a new wire from an output point that is already connected to connect it to another component. A wire can be dragged from an output point to an input point, or the other way round.
  • To delete a wire, right click on it and select the delete option.
  • Click on the "Simulate" button after setting the input bits as per your choice. This will simulate the circuit you built for the input bits set and will change the output bit values accordingly, for you to test your circuit.
  • Click on the "Submit" button to submit the circuit once you think you have built the required circuit.
  • Clicking on "Submit" will display a "Success" or "Failure" message in the Observations Section according to the correctness of your circuit. It will also display a Truth Table verifying your circuit for all the combinations of the inputs. The truth table is shown only when every component is connected. Cout is checked only when the addition is selected (S1S0 = 00), so it is shown as x for the other operations.
Here S1,S0 are select lines with S1 being MSB and S0 being LSB.
Components
AND
OR
XOR
Observations