Question: 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.
 1. MIPS PC Component Design module PC( cl input rst; //reset

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!