Question: Task 1 : Implement a multicycle version of the calculator. You only need to implement three instructions - - - load, add, and negate. All

Task 1: Implement a multicycle version of the calculator. You only need to implement three instructions---load, add, and negate.
All the three instructions take 3 stages, ID, EXE and WB to finish. Each stage uses one cycle. All instructions will print some messages at the WB stage to verify the execution is done in the multicycle manner. Table 1 describes what each instruction does at every stage. Your implementation must show that the three instructions are completed in three steps. In particular, it is unacceptable to finish all work in one cycle and then just wait for the displaying of result. In other words, there should be a clear demonstration of the inter-stage registers and how they work in sequence.
\table[[Instruction,ID,EXE,WB],[Load,\table[[Read the value],[from the],[instruction],[word.]],\table[[Extend the value to],[8-bit.]],\table[[Store the value],[to the],[destination],[register.],[Display the],[loaded value.]]],[Add,\table[[Read two],[operands from],[registers]],\table[[Calculate],[operand1+operand00]],\table[[Store the value],[to the],[destination],[register.],[Display the],[result.]]],[Negate,\table[[Read the],[operand.]],\table[[Calculate -],[operand0]],\table[[Store the value],[to the]]]] What to Turn In
For this lab project, submit the final gate-level RTL circuit schematic design that shows the design
of your single cycle datapath. The diagram can be a drawing from software or scanned image of
your drawing on paper or a photo of your drawing. It should be based your design from the
previous lab.
Also turn in all of your source code and the code that tests your implementations. For each
problem, all the source files and the project configuration files must be packed as a single zip file.
The goal is that I can unpack your zip file and type a single command, e.g., "make" to compile
your whole project. In your project report, please also describe your testing methodology. In
particular, describe the instruction sequence (your ISA testbench) that you use to test, whether you
make any changes to your Lab 1 testbench, why the sequence will prove the correctness, and what
is the expected printout if everything runs correctly.
 Task 1: Implement a multicycle version of the calculator. You only

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!