Question 1 Simulate GSelect below. At each time T below, index into the GSelect table at...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Question 1 Simulate GSelect below. At each time T below, index into the GSelect table at T using the PC and GHR at T and write the prediction (T or N). Then write the new GHR and new GSelect state at timestamp T+1 given the actual branch outcome. We provide the initial predictor state at Time 0. The GHR is two bits, with the rightmost bit being the newest. The PC hash is PC[2] (e.g., the hash of 0x0004 is 1). Time 0: PC 0x300C, Act.-N Time 1: PC-0x3018, Act.-T GHR 00 01 10 11 0 10 10 10 10 PC[2] 1 10 10 10 10 GHR 00 01 10 11 0 PC[2] 1 1t Time 2: PC 0x300C, Act.-N 0 PC[2] 1 GHR 00 01 10 10 11 Pred: GHR: 01 Pred: GHR: Prod: GHR: Time 3: PC-0x3018, Act.-N Time 1: PC-0x300C, Act.-N GHR GHR 00 01 10 11 00 01 10 11 Time 5: PC 0x3018, Act.-T GHR 00 01 10 11 0 PC[2] 1 0 PC[2] 1 0 PC|2] 1 Pred: GHR: Time 6: PC-0x300C, Act.-N => PC[2] 0 GHR 00 01 10 11 Pred: GHR: Time 7: PC-0x3018, Act.-N GHR PC|2| 00 01 10 11 Pred: GHR: Time 8: PC-0x300C, Act.-N GHR 00 01 10 11 0 PC[2] GHR: Time 11: PC 0x3018, Act.N GHR 00 01 10 11 0 PC[2] 1 Prod: GHR: Pred: GHR: Pred: Time 9: PC-0x3018, Act.-T Time 10: PC=0x300C, Act.-N GHR GHR 00 01 10 11 00 01 10 11 0 0 PC[2] PC[2] 1 1 Pred: GHR: Time 11: PC 0x3018, Act.N GHR 00 01 10 11 Prod: GHR: Pred: GHR: Time 9: PC 0x3018, Act.-T Time 10: PC-0x300C, Act.N GHR GHR 00 01 10 11 00 01 10 11 0 1t PC[2] 1 PC|2] 1 0 PC[2] 1 Pred: GHR: Pred: GHR: Pred: GIR: 3 Question 1 Simulate GSelect below. At each time T below, index into the GSelect table at T using the PC and GHR at T and write the prediction (T or N). Then write the new GHR and new GSelect state at timestamp T+1 given the actual branch outcome. We provide the initial predictor state at Time 0. The GHR is two bits, with the rightmost bit being the newest. The PC hash is PC[2] (e.g., the hash of 0x0004 is 1). Time 0: PC 0x300C, Act.-N Time 1: PC-0x3018, Act.-T GHR 00 01 10 11 0 10 10 10 10 PC[2] 1 10 10 10 10 GHR 00 01 10 11 0 PC[2] 1 1t Time 2: PC 0x300C, Act.-N 0 PC[2] 1 GHR 00 01 10 10 11 Pred: GHR: 01 Pred: GHR: Prod: GHR: Time 3: PC-0x3018, Act.-N Time 1: PC-0x300C, Act.-N GHR GHR 00 01 10 11 00 01 10 11 Time 5: PC 0x3018, Act.-T GHR 00 01 10 11 0 PC[2] 1 0 PC[2] 1 0 PC|2] 1 Pred: GHR: Time 6: PC-0x300C, Act.-N => PC[2] 0 GHR 00 01 10 11 Pred: GHR: Time 7: PC-0x3018, Act.-N GHR PC|2| 00 01 10 11 Pred: GHR: Time 8: PC-0x300C, Act.-N GHR 00 01 10 11 0 PC[2] GHR: Time 11: PC 0x3018, Act.N GHR 00 01 10 11 0 PC[2] 1 Prod: GHR: Pred: GHR: Pred: Time 9: PC-0x3018, Act.-T Time 10: PC=0x300C, Act.-N GHR GHR 00 01 10 11 00 01 10 11 0 0 PC[2] PC[2] 1 1 Pred: GHR: Time 11: PC 0x3018, Act.N GHR 00 01 10 11 Prod: GHR: Pred: GHR: Time 9: PC 0x3018, Act.-T Time 10: PC-0x300C, Act.N GHR GHR 00 01 10 11 00 01 10 11 0 1t PC[2] 1 PC|2] 1 0 PC[2] 1 Pred: GHR: Pred: GHR: Pred: GIR: 3
Expert Answer:
Related Book For
Posted Date:
Students also viewed these accounting questions
-
Consider the group S 3 of Example 8.7 a. Find the cyclic subgroups (p 1 ), (p 2 ), and ( 1 ) of S 3 . b. Find all subgroups, proper and improper, of S 3 and give the subgroup diagram for them. Data...
-
(i) Write down the linear program relaxation for the vertex cover problem and solve the linear program. [6 marks] (ii) Based on the solution of the linear program in (b)(i), derive an integer...
-
Based on the following definitions, which statement is NOT true? int[] 1DArray={1,2,3}; int[][] 2DArray=new int[2][]; 2DArray[0]={4,5}; 2DArray[1]={6,7,8}; public void method1(int[] 1DArray){...}...
-
In Problem 7, if you had to wait 12 years to get the $100,000, would your answer change? All other factors remain the same.
-
Write bond-line formulas for the following: (a) cis-3-Octene (b) trans-2-Hexene (c) 2,4-Dimethyl-2-pentene (d) trans-1-Chlorobut-2-ene (e) 4,5-Dibromo-1-pentene (f)...
-
George Oppenheimer, an agent for Wellington Farms of Massachusetts, Inc., had contacted Mark Kiriakou from the Capital Area Food Bank regarding an order for frozen turkey meat. In an exchange of...
-
Nonmonetary Exchanges During the current year, Marshall Construction trades an old crane that has a book value of $90,000 (original cost $140,000 less accumulated depreciation $50,000) for a new...
-
What is the Federal Budget? Explain the process used by the government to create the budget. How does this process differ from the process described by your interviewee who you interviewed in week...
-
Mid City Products Inc. (MCP), developed standard costs for direct material and direct labor. In 2017, MCP estimated the following standard costs for one of their most popular products. Budgeted...
-
The green egg successfully creates an equilibrium! Due to the weight of two eggs and the seesaw, the thin rod used at the bottom of the seesaw as a pivot shrinks a little bit. If the cross sectional...
-
8. What volume of concentrated HCl (aq) that is 37.0 % HCl, by mass, and has a density of 1.18 g/mL, is required to produce 8.25 L of a solution with a pH of 1.75?
-
For a damped oscillator with a mass of 350 g, a spring constant 58 N/m and a damping coefficient of 77 g/s, what is the ratio of the amplitude of the damped oscillations to the initial amplitude at...
-
Imagine tossing a ball into the air and then catching it. While you are catching a falling ball, does your hand exert a force on it? Select one: a. No b. Yes
-
Suppose that the cost of attending a certain four-year private college (tuition and fees) was $30,000 for the 2017-2018 academic year. The cost will increase 8.2% each academic year. For which...
-
Write a paper on Behavioral Leadership Approaches Describe at least three different types of behavioral leadership approaches. Select a prominent leader and identify their dominant leadership style....
-
A city maintains a solid waste landfill that was 12 percent filled at the end of Year 1 and 26 percent filled at the end of Year 2. During those periods, the government estimated that total closure...
-
Corrosion of high-nickel stainless steel plates was found to occur in a distillation column used at DuPont to separate HCN and water. Sulfuric acid is always added at the top of the column to prevent...
-
Consider the reaction Ak1Dk2U Pure A is fed to a 1.0-dm 3 CSTR where it reacts to form a desired product (D), which can then react further to produce an undesired product (U); both reactions are...
-
The irreversible gas-phase dimerization 2A A2 is carried out at 8.2 atm in a stirred contained-solids reactor to which only pure A is fed. There are 40 g of catalyst in each of the four spinning...
-
The three major inputs into the manufacturing process are direct materials, direct labour and factory overheads. If the costs of any of these are not controlled, they may inflate the cost of...
-
Listed below are selected financial data from the accounting records of Innovative Computers Pty Ltd for the year ended 30 June 2019. Required (a) Prepare an income statement for the year ended 30...
-
Smart Manufacturing Systems Pty Ltd provides the following information. Required (a) Calculate total manufacturing costs for the period ending 30 June 2019. (b) Calculate cost of goods manufactured...
Study smarter with the SolutionInn App