Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this project, you will simulate a simple processor with 8 16-bit general-purpose registers: RO through R7 using Verilog HDL Language. There is also one

image text in transcribed

image text in transcribed

image text in transcribed

In this project, you will simulate a simple processor with 8 16-bit general-purpose registers: RO through R7 using Verilog HDL Language. There is also one special-purpose 16-bit register, which is the program counter (PC). All instructions are 16 bits. There are three instruction formats, F1, F2, F3 as shown below: Instruc on Format F1 format Rt Rd 4-bit opcode (Op), 3-bit register numbers (Rs, Rt, and Rd). Rs and Rt specify the two source register numbers, and Rd specifies the destination register number F2 format Rs Immediate 4-bit opcode (Op), 3-bit register number (Rs and Rt), and 6-bit signed immediate constant. Rs specifies a source register number, and Rt can be a second source or a destination register number. The immediate constant is only 6 bits because of the fixed-size nature of the instruction. The size of the immediate constant is suitable for our uses. The 6-bit immediate constant is signed (and sign-extended) for all F1 instructions F3 format Immediate 4-bit opcode (Op) and 12-bit immediate constant. A 12-bit immediate constant is used for J (jump), JAL (jump-and-link) and LUI (load upper immediate) instructions. In this project, you will simulate a simple processor with 8 16-bit general-purpose registers: RO through R7 using Verilog HDL Language. There is also one special-purpose 16-bit register, which is the program counter (PC). All instructions are 16 bits. There are three instruction formats, F1, F2, F3 as shown below: Instruc on Format F1 format Rt Rd 4-bit opcode (Op), 3-bit register numbers (Rs, Rt, and Rd). Rs and Rt specify the two source register numbers, and Rd specifies the destination register number F2 format Rs Immediate 4-bit opcode (Op), 3-bit register number (Rs and Rt), and 6-bit signed immediate constant. Rs specifies a source register number, and Rt can be a second source or a destination register number. The immediate constant is only 6 bits because of the fixed-size nature of the instruction. The size of the immediate constant is suitable for our uses. The 6-bit immediate constant is signed (and sign-extended) for all F1 instructions F3 format Immediate 4-bit opcode (Op) and 12-bit immediate constant. A 12-bit immediate constant is used for J (jump), JAL (jump-and-link) and LUI (load upper immediate) instructions

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

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago