Computer Organization
Project Description (Verilog Programming)
Q1: Adder (3pts)
For the 8-bit unsigned ripple carry adder, you should first design a full adder, and then
use a for loop to extend the full adder to an 8-bit ripple carry adder. You only need to
consider integers, instead of floating-point numbers. Besides, you don’t need to
consider overflow.
Example:
Input -> 00001010, 00100011
Output-> 00101101
Q2: Multiplier (5pts)
For the 8-bit unsigned serial multiplier, you should also first design a 1-bit multiplier, and
then use a for loop to extend it to 8-bit. Again, you only need to consider integers, and
you don’t need to consider overflow. Note that the output should be 16-bit.
Example:
Input -> 00000110, 00001011
Output-> 0000000001000010
Created in Master PDF Editor
Bonus (2pts)
Revise the code of the ripple carry adder into a carry-lookahead adder. The
carry-lookahead adder can calculate the carry bit before the full adder’s calculation,
which makes it work faster than the ripple carry adder.
Created in Master PDF Editor
Submission Approach & Grading Criteria
Submission Approach
Implement your logic in the given files (see Table 1 below). Your report should be saved as a
PDF. To submit, put two (2) source code files and one (1) report in the folder named using your
UB personal number. Compress the folder as your_ub_personal_number.zip and submit. TA
will not grade submissions organized with a different hierarchy. Below is an example of
files hierarchy (assuming UB Personal number is 50291111):
50291111.zip
|50291111
|Adder.v
|Multiplier.v
|Bonus.v
|Report.pdf
Grading Criteria
This project will be auto-graded. Please make sure you follow the given input and output
formats properly in order to get all the points. Partial credit may be given if you cannot
implement complete functionality but mention your detailed approach in the report. All the tests
will be based on unseen data.
Table 1: Project Files
Given Files Function Need Submission pts
Adder.v [template] 8-bit unsigned ripple carry
adder
Yes 3pt
Multiplier.v
[template]
8-bit unsigned serial multiplier Yes 5pt
Bonus.v Bonus program implementation Yes 2pt
Created in Master PDF Editor
Report.docx [report
template]