Read address Read register 1 ALUSrc ALU operation Read data 1 |MemWrite Read register 2 Registers Read Write register | MemtoReg Zero ALU ALU result Instruction Read Address data Instruction data 2 memory Write data Write Data RegWrite data memory 32 MemRead 16 Sign- extend

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Using the Figure 4.11 in the text (also shown in slide 26 of lecture on Feb 24th, and below), trace the execution of the instructions for the next TWO cycles, by indicating what are the values on the busses (wires), or registers that correspond to the following entries in the table:

  • For clarity, please show your answer in Hexadecimal system the way the PC value is shown for the 'Current Clock Cycle' in the table
  • If an entry is a 'don't care' for that cycle you have to indicate it as "DONT CARE", as shown below also
Net/Register/Control Current Clock Cycle (Show in Hex) Next Clock Cycle (Show in Hex)
Contents of PC 0X00000014  
Read Register 1 value (input)    
Read Register 2 value (input)    
Write Register value (input)    
Write Data value of 'Registers' block (input)    
Read data 1 (output)    
Read data 2 (output)    
Input to the Sign-extend (16 bit value) DONT CARE  
Output of the Sign-extend (32 bit value)    
Address input to the Data Memory    
Value of the Write Data input to Data Memory    

 

 

PCSrc
Add
ALU
Add result
Shift
left 2
Read
register 1
Read
register 2
Registers Read
Read
address
ALUSrc
4ALU operation
Read
| MemWrite
data 1
| MemtoReg
Zero
ALU ALU
result
Instruction
Read
Write
register
Write
Address
M
data 2
data
Instruction
memory
data
Write
data memory
Data
RegWrite
16
32
MemRead
Sign-
extend
FIGURE 4.11 The simple datapath for the core MIPS architecture combines the elements required by different
instruction classes. The components come from Figures 4.6, 4.9, and 4.10. This datapath can execute the basic instructions (load-store
word, ALU operations, and branches) in a single clock cycle. Just one additional multiplexor is needed to integrate branches. The support for
jumps will be added later.
CS3339 Dr. Joshi, Texas State University
26
Transcribed Image Text:PCSrc Add ALU Add result Shift left 2 Read register 1 Read register 2 Registers Read Read address ALUSrc 4ALU operation Read | MemWrite data 1 | MemtoReg Zero ALU ALU result Instruction Read Write register Write Address M data 2 data Instruction memory data Write data memory Data RegWrite 16 32 MemRead Sign- extend FIGURE 4.11 The simple datapath for the core MIPS architecture combines the elements required by different instruction classes. The components come from Figures 4.6, 4.9, and 4.10. This datapath can execute the basic instructions (load-store word, ALU operations, and branches) in a single clock cycle. Just one additional multiplexor is needed to integrate branches. The support for jumps will be added later. CS3339 Dr. Joshi, Texas State University 26
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY