CIS 351

Project 3: Build an ALU

Winter 2021

Combine your adder, adder/subtracter, and comparator from previous projects into a single ALU. Notice that you will not be implementing the ALU described in the textbook. Your ALU will have different operations and op codes.

Your ALU must perform the following 16-bit operations:

Unsigned addition 0
Unsigned subtraction 1
And 2
Or 3
Not 4
Xor 5
lui 6
sltu 7
Signed addition 8
Signed subtraction 9
slt 15

Hints and shortcuts

Grading

This assignment will be scored out of 30 points.

Category Rubric Maximum Score
Correctness
Not attempted 0
Passes some tests 1 point per op
Passes all tests 17
Date 100% correct
Two days early 12
One day early 11
On time 10
One day late 8
(-2 per day) ...
Five or more days late 0
Presentation
Documentation and Neatness 3

Penalties

Deliverables

To submit your project:

  1. Add a text box to your .jls files containing the names of all team members.
  2. When your circuit passes all of my tests, add [Grade Me] to the commit message.

Updated Monday, 28 December 2020, 6:55 PM

W3c Validation