Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . MIPS PC Component Design module PC ( cl input rst; / / reset pc to 3 2 ' h 0 0 0 0

1. MIPS PC Component Design
module PC( cl
input rst; //reset pc to 32'h0000_3000
input PCWr;
input [31:2] NPC;
output [31:2] PC;
...
...
endmodule
2. MIPS NPC Component Design
module NPC( PC, NPCOp, IMM, NPC );
input [31:2] PC;
input [1:0] NPCOp; // PLUS4(2'b00), BRANCH(2'b01), JUMP(2'b10)
input [25:0] IMM;
output [31:2] NPC;
...
...
endmodule
3. MIPS Extender Component Design
module EXT( Imm16, EXTOp, Imm32);
input [15:0] Imm16;
input [1:0] EXTOp; // EXT_ZERO(2b00), EXT_SIGNED(2b01), EXT_HIGHPOS(2b10)
output [31:0] Imm32;
...
...
endmodule
4.MIPS ALU Component Design
module alu (A, B, ALUOp, C, Zero);
input [31:0] A, B;
input [1:0] ALUOp; // ALUOp_ADDU(2'b00), ALUOp_SUBU(2'b01), ALUOp_OR (2'b10)
output [31:0] C;
output Zero;
...Single-Cycle Processor Datapath
...
endmodule
SEE THE ABOVE MODELS AND THE PICTURE AND GIVE RESULTS FOR THE FOLLOWING
Q.A) Basic specification of four components.
Q.B) Explanation of design with block diagrams.
Q. C) Provide Test bench design of this.
Q. D) Provide Test results: input data & waveform.
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

Students also viewed these Databases questions