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:

Load Memory,Reg ;load register from memory
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?

Reference no: EM13140012

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?

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd