Computer Systems: A Programmer's Perspective (3rd Edition)
3rd Edition
ISBN: 9780134092669
Author: Bryant, Randal E. Bryant, David R. O'Hallaron, David R., Randal E.; O'Hallaron, Bryant/O'hallaron
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
Chapter 4.4, Problem 4.29PP
A.
Program Plan Intro
Processing stages:
- The processing of an instruction has number of operations.
- The operations are organized into particular sequence of stages.
- It attempts to follow a uniform sequence for all instructions.
- The description of stages are shown below:
- Fetch:
- It uses program counter “PC” as memory address to read instruction bytes from memory.
- The 4-bit portions “icode” and “ifun” of specifier byte is extracted from instruction.
- It fetches “valC” that denotes an 8-byte constant.
- It computes “valP” that denotes value of “PC” plus length of fetched instruction.
- Decode:
- The register file is been read with two operands.
- It gives values “valA” and “valB” for operands.
- It reads registers with instruction fields “rA” and “rB”.
- Execute:
- In this stage the ALU either performs required operation or increments and decrements stack pointer.
- The resulting value is termed as “valE”.
- The condition codes are evaluated and destination register is updated based on condition.
- It determines whether branch should be taken or not in a jump instruction.
- Memory:
- The data is been written to memory or read from memory in this stage.
- The value that is read is determined as “valM”.
- Write back:
- The results are been written to register file.
- It can write up to two results.
- PC update:
- The program counter “PC” denotes memory address to read bytes of instruction from memory.
- It is used to set next instruction’s address.
- Fetch:
B.
Program Plan Intro
Processing stages:
- The processing of an instruction has number of operations.
- The operations are organized into particular sequence of stages.
- It attempts to follow a uniform sequence for all instructions.
- The description of stages are shown below:
- Fetch:
- It uses program counter “PC” as memory address to read instruction bytes from memory.
- The 4-bit portions “icode” and “ifun” of specifier byte is extracted from instruction.
- It fetches “valC” that denotes an 8-byte constant.
- It computes “valP” that denotes value of “PC” plus length of fetched instruction.
- Decode:
- The register file is been read with two operands.
- It gives values “valA” and “valB” for operands.
- It reads registers with instruction fields “rA” and “rB”.
- Execute:
- In this stage the ALU either performs required operation or increments and decrements stack pointer.
- The resulting value is termed as “valE”.
- The condition codes are evaluated and destination register is updated based on condition.
- It determines whether branch should be taken or not in a jump instruction.
- Memory:
- The data is been written to memory or read from memory in this stage.
- The value that is read is determined as “valM”.
- Write back:
- The results are been written to register file.
- It can write up to two results.
- PC update:
- The program counter “PC” denotes memory address to read bytes of instruction from memory.
- It is used to set next instruction’s address.
- Fetch:
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
(d) Consider a synchronous circuit with a critical path consisting of 10 logic gates,
and for which the minimum logic gate delay guaranteeing a stable output is 5
milliseconds. What is the maximum clock frequency for this circuit? Justify your
answer by explaining the purpose of the clock in a synchronous circuit. Provide
an explanation of how you determined a suitable clock frequency for the circuit.
Ex) A standard two-junction thermocouple configuration is being used to measure the
temperature in a wind tunnel. The reference junction is held at a constant temperature
of 10 °C. We have only a thermocouple table referenced to 0 °C. Determine the output
voltage when the measuring junction is exposed to an air temperature of 100 °C.
Junction Temperature (°C)
Output Voltage (mV)
10
0.507
20
1.019
30
1.536
40
2.058
50
2.585
60
3.115
70
3.649
80
4.186
90
4.725
100
5.268
Please provide solutions
Chapter 4 Solutions
Computer Systems: A Programmer's Perspective (3rd Edition)
Ch. 4.1 - Prob. 4.1PPCh. 4.1 - Prob. 4.2PPCh. 4.1 - Prob. 4.3PPCh. 4.1 - Prob. 4.4PPCh. 4.1 - Prob. 4.5PPCh. 4.1 - Prob. 4.6PPCh. 4.1 - Prob. 4.7PPCh. 4.1 - Prob. 4.8PPCh. 4.2 - Practice Problem 4.9 (solution page 484) Write an...Ch. 4.2 - Prob. 4.10PP
Ch. 4.2 - Prob. 4.11PPCh. 4.2 - Prob. 4.12PPCh. 4.3 - Prob. 4.13PPCh. 4.3 - Prob. 4.14PPCh. 4.3 - Prob. 4.15PPCh. 4.3 - Prob. 4.16PPCh. 4.3 - Prob. 4.17PPCh. 4.3 - Prob. 4.18PPCh. 4.3 - Prob. 4.19PPCh. 4.3 - Prob. 4.20PPCh. 4.3 - Prob. 4.21PPCh. 4.3 - Prob. 4.22PPCh. 4.3 - Prob. 4.23PPCh. 4.3 - Prob. 4.24PPCh. 4.3 - Prob. 4.25PPCh. 4.3 - Prob. 4.26PPCh. 4.3 - Prob. 4.27PPCh. 4.4 - Prob. 4.28PPCh. 4.4 - Prob. 4.29PPCh. 4.5 - Prob. 4.30PPCh. 4.5 - Prob. 4.31PPCh. 4.5 - Prob. 4.32PPCh. 4.5 - Prob. 4.33PPCh. 4.5 - Prob. 4.34PPCh. 4.5 - Prob. 4.35PPCh. 4.5 - Prob. 4.36PPCh. 4.5 - Prob. 4.37PPCh. 4.5 - Prob. 4.38PPCh. 4.5 - Prob. 4.39PPCh. 4.5 - Prob. 4.40PPCh. 4.5 - Prob. 4.41PPCh. 4.5 - Prob. 4.42PPCh. 4.5 - Prob. 4.43PPCh. 4.5 - Prob. 4.44PPCh. 4 - Prob. 4.45HWCh. 4 - Prob. 4.46HWCh. 4 - Prob. 4.47HWCh. 4 - Prob. 4.48HWCh. 4 - Modify the code you wrote for Problem 4.47 to...Ch. 4 - In Section 3.6.8, we saw that a common way to...Ch. 4 - Prob. 4.51HWCh. 4 - The file seq-full.hcl contains the HCL description...Ch. 4 - Prob. 4.53HWCh. 4 - The file pie=full. hcl contains a copy of the PIPE...Ch. 4 - Prob. 4.55HWCh. 4 - Prob. 4.56HWCh. 4 - Prob. 4.57HWCh. 4 - Our pipelined design is a bit unrealistic in that...Ch. 4 - Prob. 4.59HW
Knowledge Booster
Similar questions
- 3. a) Consider a counter circuit that contains eight JK FFs wired in the arrangement Q-Q6 Q5Q4Q3Q2QQO (i) Determine the counter's MOD number. (ii) Determine the output frequency in KHz when the input clock frequency is 16 MHz. (iii) What is the range of counting states for this counter? (iv) Assume a starting state (count) of 01100111. What will be the counter's state after 1345 pulses?arrow_forwardsolve for the capacitor (Filter) values of the Half-wave Design a half-wave rectifier with a filter for the following conditions: a) The peak input voltage is 10 V. Input frequency is 60 Hz. b)Use virtual diode (VON = 0.7 V). c)The minimum output voltage should be at least 90% of the maximum output voltage. d)The load resistance may vary from 1.5 k ohm to 2.5 k ohm. Instructions: ~ Vomax = 10 - 0.7 = 9.3 V; Vomin = 0.9xVomax; angleV = Vomax- Vomin~ fin =60Hz; fp =60Hz.~ Use the smallest value of load resistance (1.5 k ohm) to calculate the capacitor value.~ Use the above calculated capacitor value (same value) to build 2 circuits (half-waverectifier with a filter), with load resistance of 1.5 kohm and 2.5 kohm, respectively.~ Note: The same capacitor value is applied to the load resistance of 1.5 kohm and 2.5 kohm,respectively.arrow_forwardComputer engineeringarrow_forward
- Q2(a) Classify different types of hazards that could occur in digital logic system. (b) Given a function, F (W, X, Y, Z) = Σ (2, 3, 5, 7, 8, 10, 12, 13, 14, 15) (i) Classify the type of hazard that occurs in the function and compute the free hazard function. (ii) Sketch a hazard-free combinational logic circuit by using NAND gate only.arrow_forwarda) Obtain the simplified Boolean expression in SOP form for the function F(abcd) = 0,1,2,4,6,7,8,9,10,11 using Karnaugh map. b) Draw the circuit for the Boolean expression obtained in a) above. c) the propagation delay in each gate is 10 ns, what will be the total propagation delay for the logic circuit obtained in b) above?arrow_forwardI need answer within 20 minutes please please with my best wishesarrow_forward
- Problem #03] Determine which of the logic circuits below are equivalent. I B (a) B (c) 18 노 D Di D X -X B B (b) I D 190 (d)arrow_forward(b) The seady-state current I flowing in a circuit that conatins a resistance R=5, capacitance C=10, and inducatance L=4 in sriers in given by: E I = 2 1 R2 + (2πωL - πωC ) Where E=2 and w= 2 are the input voltage and angular freguency respectively. Compute the value of I use C programm.arrow_forwardsubject DLD plzz solve urgent with complete detail .. thanks...arrow_forward
- Problem 2 Use the Karnaugh map method to design a transistor-level circuit that generates the function F described in the following truth table. The transistor level circuit you design must have the minimum possible number of transistors. You must show your work. C AFarrow_forward6. Given the function F = [I(0, 1, 4, 6, 7,8,9) + Md(5, 10, 11,12) a. [10] Write the equation for F in reduced SOP form b. [10] Draw the circuit using AND gates, OR gates and INVERTERS. 0 c. [10] Draw the circuit using only NAND gates and INVERTERS.arrow_forwardd) Develop a logic circuit with four input variables that will only produce a HIGH (1)output when 3 inputs variables are HIGH (1). Implement this circuit using NAND gates only. [5marks]arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education