Assignment 6
Assignment
Create a 32-bit ALU that allows for adding, subtracting, and, or, not, xor, and slt (and any other operations you’d like to support). You are welcome to use any of the components that Logisim has built in (like multiplexers - but also the Adder, Subtractor, and Comparator).
Grading
This is an 8-point assignment. See the rubric from the syllabus. For this assignment, you can get up to 5 points for turning in a working version of the 4-bit ALU we worked on in class that included adding, and, or, not, and xor. You can get 1 more point for each of the following:
- Make it 32 bits
- Get subtraction working using the same circuitry as addition (it can be either the adder you made or the built in Adder - just make it work for both addition and subtraction rather than using the Subtractor or a second copy of the Adder)
- Get slt working using the same circuitry as addition/subtraction (not just the Comparator)
What to turn in
Make a document in Word, Google Docs, etc., and paste in screen shots of Logisim that show your circuit designs (so that the whole design is visible) with input/output pin values showing that that they are working correctly for each of the different operations. Provide text with each image explaining what’s being shown. For example, something along the lines of “the following screen shot shows the op set to “0100” which is my ALU’s opcode for substraction, and you can see that A has the value 30, B has the value 5, and the output pin shows the correct result of 25.”
Where to turn it in
Submit your document of images to the Assignment 6 hand-in form on Blackboard.