The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
second question in the pdf
After the instruction fetch, the instruction goes through the micro-op conversion stage, a Decode
stage where dependencies are analyzed, two Regread stages where input operands are read from
the register file. After this, an instruction takes one of three possible paths:
1. Integer adds (Int-adds) go through the stages labeled "IntALU" and 2 "Regwrite" stages.
2. Loads/stores go through the stages labeled "IntALU", "Datamem", "Datamem",
"Regwrite", and "Regwrite".
3. Floating-point adds (FP-adds) go through the stages labeled "FPALU1", "FPALU2",
"FPALU3", "Regwrite", and "Regwrite".
Assume that the register file has an infinite number of write ports so stalls are never introduced
because of structural hazards. How many stall cycles are introduced between the following pairs
of successive instructions (i) for a processor with no register bypassing and (ii) for a processor
with full bypassing?
a. Int-add, followed by a dependent Int-add
b. FP-add, followed by a dependent load
c. Load, providing the address for a store
d. Load, providing the data for a store
e. FP-add, providing the data for a store
Â
1/2CALIFORNIASTATEUNIVERSITY,FULLERTONComputer EngineeringEGCP 520 – Advanced Computer Architecture (Fall 2016)Homework no 4 (Due date: October 26, 2016 midnight (11:55 pm))1.(16 Points) PipeliningAn unpipelined processor takes 8 ns to work on one instruction. It then takes 0.2 ns to latch itsresults into latches. I was able to convert the circuits into 8 sequential pipeline stages. The stageshave the following lengths: 0.8ns; 1.2ns; 0.7ns; 1.4ns; 0.8ns; 0.4ns; 1.4ns; 1.3ns. Answer thefollowing, assuming that there are no stalls in the pipeline.Show your work to receive full credit.a.What are the cycle times in both processors (in nano-seconds)?b.What are the clock speeds in both processors (in MHz)?c.What are the IPCs in both processors?d.How long does it take to finish one instruction in both processors (in nano-seconds)?e.What is the speedup provided by the 8-stage pipeline?f.If I was able to build a magical 1000-stage pipeline, where each stage took an equalamount of time, what speedup would I get?