Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . MIPS PC Component Design module PC ( cl input rst; / / reset pc to 3 2 ' h 0 0 0 0
MIPS PC Component Design module PC cl input rst; reset pc to h input PCWr; input : NPC; output : PC; endmodule MIPS NPC Component Design module NPC PC NPCOp, IMM, NPC ; input : PC; input : NPCOp; PLUSb BRANCHb JUMPb input : IMM; output : NPC; endmodule MIPS Extender Component Design module EXT Imm EXTOp, Imm; input : Imm; input : EXTOp; EXTZEROb EXTSIGNEDb EXTHIGHPOSb output : Imm; endmodule MIPS ALU Component Design module alu A B ALUOp, C Zero; input : A B; input : ALUOp; ALUOpADDUb ALUOpSUBUb ALUOpOR b output : C; output Zero; SingleCycle Processor Datapath endmodule SEE THE ABOVE MODELS AND THE PICTURE AND GIVE RESULTS FOR THE FOLLOWING QA Basic specification of four components. QB Explanation of design with block diagrams. Q C Provide Test bench design of this. Q D Provide Test results: input data & waveform.
MIPS PC Component Design
module PC cl
input rst; reset pc to h
input PCWr;
input : NPC;
output : PC;
endmodule
MIPS NPC Component Design
module NPC PC NPCOp, IMM, NPC ;
input : PC;
input : NPCOp; PLUSb BRANCHb JUMPb
input : IMM;
output : NPC;
endmodule
MIPS Extender Component Design
module EXT Imm EXTOp, Imm;
input : Imm;
input : EXTOp; EXTZEROb EXTSIGNEDb EXTHIGHPOSb
output : Imm;
endmodule
MIPS ALU Component Design
module alu A B ALUOp, C Zero;
input : A B;
input : ALUOp; ALUOpADDUb ALUOpSUBUb ALUOpOR b
output : C;
output Zero;
SingleCycle Processor Datapath
endmodule
SEE THE ABOVE MODELS AND THE PICTURE AND GIVE RESULTS FOR THE FOLLOWING
QA Basic specification of four components.
QB Explanation of design with block diagrams.
Q C Provide Test bench design of this.
Q D Provide Test results: input data & waveform.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started