Examlex
Consider a MIPS machine with a 5-stage pipeline with a cycle time of 10ns. Assume that you are executing a program where a fraction, f, of all instructions immediately follow a load upon which they are dependent.
(a) With forwarding enabled what is the total execution time for N instructions, in terms of f ?
(b) Consider a scenario where the MEM stage, along with its pipeline registers, needs 12 ns. There are now two options: add another MEM stage so that there are MEM1 and MEM2 stages or increase the cycle time to 12ns so that the MEM stage fits within the new cycle time and the number of pipeline stages remain unaffected. For a program mix with the above characteristics, when is the first option better than the second. Your answer should be based on the value of f.
(c) Embedded processors have two different memory regions - a faster scratchpad memory and a slower normal memory. Assume that in the 6 stage machine (with MEM1 and MEM2 stages), there is a region of memory that is faster and for which the correct value is obtained at the end of the MEM1 stage itself while the rest of the memory needs both MEM1 and MEM2 stages. For the sake of simplicity assume that there are two load instructions load.fast and load.slow that indicate which memory region is accessed. If 40% of the fraction f mentioned above get their value from the fast memory, how does the answer to the previous question change ?
Attitudes
A settled way of thinking or feeling about someone or something, typically reflected in a person's behavior.
Supervisor
An individual who oversees and directs the work of others, typically reporting to higher levels of management.
Emotions
Represents complex psychological states that involve a subjective experience, a physiological response, and a behavioral or expressive response.
Attitudes
Attitudes are psychological tendencies expressed by evaluating a particular entity with some degree of favor or disfavor.
Q1: The five stages described by L.E. Greiner
Q5: a.Suppose you need to store a list
Q6: What is the output of running class
Q12: Mention two advantages and disadvantages for using
Q23: What needs to be stored in a
Q31: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB4310/.jpg" alt=" " class="answers-bank-image d-block" rel="preload"
Q31: CAD is the acronym for what?
Q46: Identify the type of drawings that are
Q52: What does the abbreviation CNC mean?
Q123: L00001 to L99999