Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What to Turn In For this lab project, submit the final gate - level RTL circuit schematic design that shows the design of your single

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 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]]]]( USE VHDL Language for coding )
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions