### Explain a certain cache has an access time

Assignment Help Electrical Engineering
##### Reference no: EM13140012

Memory : key informaiton

Question 1

(a) A certain cache has an access time of 2 nanoseconds and a hit percentage of 95%. If the main memory access time is 8 nanoseconds, what is the average access time for a read operation?

(b) Suppose that the code for a program fits entirely in a cache. There is a very long set of instructions contained in a loop in the program. Compare execution time of the massive loop while the cache is loading, and execution time of the massive loop once the cache has finished loading. Bear in mind that the cache fills during a miss with a small chunk of main memory, not just one word.

Question 2

To answer these questions, use the following instruction set:

Store Reg,Memory ;store register into memory
Add Rega,Regb ;add memory value to register: Regb = Rega + Regb value
Sub Rega,Regb ;subtract memory value from register: Regb = Rega - Regb value
Mul Rega,Regb ;multiply register and memory value: Regb = Rega * Regb value
Div Rega,Regb ;divide register by memory value: Regb = Rega / Regb value

Where Memory is a memory address (such as A, B, C, or some other name) and Reg can be one of two processor registers R0 and R1.

(a) Write a program that can evaluate the following expression: A / ( (B x C) - (D x E ) + (F / G) ). The result must be in R0 at the end of the code.

(b) Now rewrite your program for (a) assuming the processor now has four registers R0, R1, R2, and R3.

(c) Compare the execution times of your code answers to (a) and (b).

Question 4

(a) The address bus of a processor has 24 address lines, A0 through A23. How many memory locations may be accessed by the processor?

(b) For the same processor, The starting address of a RAM chip is E8C00016 and the last address of the RAM chip is E8DFFF16 . How many locations are in the RAM chip? Which address lines go to the RAM chip and which address lines go to the address decoder that enables the RAM chip?

#### Questions Cloud

 Protestant denomination decline in contemporary : What are the principal reasons for the proportional decline of Protestant denominations in contemporary America? Difference between reaction rate and enzyme concentration : what is the meaning of the proportionality between reaction rate and enzyme concentration, in terms of how the enzyme acts? Brief the case of state vs. stark : brief the case of State vs. Stark What is minimum level of earnings before interest and taxes : This new debt will be used to repurchase shares of the outstanding stock. The restructuring is expected to increase the earnings per share. What is minimum level of earnings before interest and taxes that the firm is expecting? Ignore taxes? Explain a certain cache has an access time : A certain cache has an access time of 2 nanoseconds and a hit percentage of 95%. If the main memory access time is 8 nanoseconds, what is the average access time for a read operation? What was the advantage to sellers : In the chapter we mention how prices can vary in a tourist trap. Which market, St. Louis or Chicago, was more likely to behave like a tourist trap? Explain. Examining concepts in world religions : The doctrine of the "separation of church and state" has been very significant for American political thought. How do politics and government influence religion? How does religion influence politics and government? What possible explanations may be made for deviation : According to the beer Lambert law, there should be a linear relationship between enzyme concentration and reaction rate. what possible explanations may be made for deviation from the linear relationship at higher enzyme concentration. How many molecules of cholesterol are present : A typical deposit of cholesterol, C27H46O, in an artery has a mass of 3.90 mg. How many molecules of cholesterol are present in this deposit?

### Write a Review

#### Binary number operation

Using 4-bit numbers to save space, multiply 3ten  x 4ten in binary.

#### Compare a lumped element model of a lossless transmission

Compare a lumped element model of a lossless transmission line (single L and C) with the distributed model. Use the following values for the transmission line in this comparative analysis.

#### Modify the state diagram branching conditions

Modify the state diagram branching conditions in the diagrams below as needed to ensure the sum and exclusion rules are obeyed in each case.

Analysis of link budget DTH QPSK Satellite link, A direct-to-home satellite television system uses a geostationary satellite in orbit above the equator at a longitude of 109 degrees west.

#### Find out the minimum signal to noise ratio

Determine the minimum signal to noise ratio (s/n) in dB required in each communication channel to achieve a data rate of 270 kbps?

#### Explain what will the new mean and variance

Maximum Likelihood to get the above parameters i.e. u0 and var. Now from these 999 points, I take one point out (lets call it i) and add a new point (lets call it j). What will the new mean and variance be?

#### Explain system interrupt services

The 8086 Microprocessor Operating Systems and System Interrupt services, Please help me write a program that will display the hex code for any key, or key combination, that is pressed on the keyboard.

#### Step-down transformer

Step-down transformer

#### Find out the voltage level required

A microwave system requires a +4-dBm audio level to provide 100% modulation. Determine the voltage level required if this is a 600 ohm audio system.

#### Stereotaxic neurosurgery for electrode implant

Utilizing the rat stereotaxic atlas in the course materials, devise a surgical plan for implanting a Michigan type array

#### Calculate the expression for the voltage

Hand calculate the expression for the voltage and current of the capacitor and plot these equations by using MATLAB and calculate the time constants of each circuit and point out this time constants at your voltage graphs.

#### Define what is the maximum symbol rate

What is the maximum symbol rate for this link and the number of bits per symbol? What format would you recommend for the transmitted current pulses on this baseband link?