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.5, Problem 4.42PP
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, ALU either performs required operation or increments and decrements stack pointer.
- The resultant 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 register file is been written with results.
- It can write up to 2 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:
Combinational circuits and HCL expressions:
- The computational blocks are been constructed by accumulating several logic gates into network.
- The restrictions are been shown below:
- Each of input for logic gate should be connected to any one shown below:
- One of system inputs, that is recognized as primary inputs.
- Output connection for some element in memory.
- Output of some logic gate.
- Outputs obtained from more than two logic gates could not be linked together.
- The wire would be driven to different voltages.
- It can cause malfunction in circuit.
- The network should not have cycles.
- The loops in circuit can cause ambiguity in function
computed by network.
- The loops in circuit can cause ambiguity in function
- Each of input for logic gate should be connected to any one shown below:
- The “HCL” denotes a hardware control language that is used for describing control logic of different processor designs.
Expert Solution & Answer
Trending nowThis is a popular solution!
Students have asked these similar questions
Problem 4.1
A single-phase_full-wave uncontrolled bridge rectifier is supplying a highly
inductive load (L/R ratio is very large), the load current is assumed to be smooth
and ripple -free. If the supply voltage is 220V, 50HZ, and the inductor load
resistance R-22 2, Calculate:
(a)The average output voltage Vae and current I-
(b) The rms value of the output voltage Vorms and current Iprmsr,
(c) The rms value of the diode current Ipm, and the PRV of each diode.
compare your
Problem
1.10: Simplify
F(A, B,C, D) = ACD+
A'B + D'
PROBLEM 21 - 0534:
current as a function of
Write a BASIC program to express
time for the circuit below. Assume
that the switch is closed at
time t = 0 and that the resistance R
%3D
is given as a function of
current by
Let E = 100 volts; L = 2 henries; a =
R = a + bi? .
50 ohms,
b = 25 ohms/amp2 Use the 4th
order Runge-Kutta method.
R.
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
- Thu 30 4:55 O 95% • This is known as flux cutting or motional emf Q2: Figure below shows a conducting sliding bar oscillates over two parallel conducting rails in a sinusoidally varying magnetic field B = az 5cos wt (mT) The position of sliding bar is given by x = 0.35(1-cos wt) (m), and the rails are terminated in a resistance R = 0.2Q. Determine the current i. 0.2 (m) 0.7 (m)- A moving circuit in a time-varying magnetic field Lorentz's force equation F %3Dq(E + и х В) General form of Faraday's law ƏB ·ds + at Ф (ихв):de E' · dl = - C Another form of Faraday's law dø (V) ɛ' = Maxwell's equations An electric field is produced by a time varying magnetic fieldarrow_forward(a) A ssume that five generation unıts with third order cost function (F, (P) = A; P+ B;P+C; P; + D;) are in the circuit. Write a computer program using any arbitrary programming language (MATLAB, C++, C#, Python,.) to calculate economic load dispatch (ELD) using first order gradient method. Note that all parameters and variables should be defined inside the program (at tirst limes) such that units' charactenistics and demand can be changed easily. Neglect grid losses. O using lambda - iteration method.arrow_forward4.25. Use the equations in the book or the computer program of this chapter. Find the radiation efficiency of resonant linear electric dipoles of length (a) I = 1./50 (b) I=1/4 (c)l=1/2 (d)1 =1 Assume that each dipole is made out of copper [o = 5.7 x 107 S/m], has a radius of 10-42, and is operating at f = 10 MHz. Use the computer program Dipole of this chapter to find the radiation resistances.arrow_forward
- 5- Design equation F(A,B,C,D)= (0,1,4,5,7,10,11,15) using 4x1 Mux?arrow_forward7) A bob attached to a cord is moved to the right where its vertical position is 1.05 cm above the equilibrium position and is then given an initial speed of 0.6 m/s. What are the values of the maximum speed and maximum height reached by the bob? (Take g = (a) hmax (b) hmax (c) hmax (d) hmax 9.8 m/s*) 1.87 cm; vmax = 3.44 m/s = 2.89 cm; v. = 0.75 m/s 1.87 cm; vmax = 0.75 m/s = 2.89 cm; v = 3.44 m/sarrow_forwardPROBLEM # 3:21 I Given the Boolean function F(XYZ) = XY'Z + X'Y'Z + XYZ List the truth table. Write the function in SOP summation notation. • Draw the logic diagram of the original function using 2-input gates List the truth table of the simplified function • Draw the logic diagram of the simplified function (using 2-input gates) • Draw the logic diagram of the simplified function using only 2- input NAND gatesarrow_forward
- (ii) (a) What is the smallest d > 0 for which there might be a length 8 perfect d-error correcting code over F7?arrow_forwardProblem 19. Double numerical integration is the application twice of a numerical integration method for single integration, once for the y direc- tion and another for the x direction. Any numerical integration method for single integration can be applied to double integration. Write a C++ program that applies Simpson's 1/3 rule to find the double integral 1-CC %3D3 ry%3+exp(x/5) I sin(x +y)dy) dr. %3D Jy=In(x)arrow_forward(x-) hkt 2 1 m y = e 1+ 4m q 1 + 4m²q+ Write a Python code to plot a graph of y against x for the given range oft values from 0 to 150. Let h = 6.2, m = 5.2, q = 8.6, k = 3.9. Each plot for different t values should be on the same page.arrow_forward
- 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.268arrow_forwardNOSNER Problem 2: Fluid pumping process. PS1 PS2 PS3 Tank Tank B. The process involves pumping fluid from tank A to tank B. Before starting, PS1 must be closed. When the start button is pushed, the pump starts. PS2 and PS3 must be closed 5 s after the pump starts. If either PS2 or PS3 opens, the pump will shut off and will not be able to start again for another 14 s. e of MGr Edtarrow_forwardQ.10/ Design an H-Bridge DC motor driver circuit and explain its principle of operation. Q.11/ Define the function of L298 driver. Aid your definition with schematic diagram.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr