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){...}...
-
Brittany (from Problem 46) is now 18 years old (five years have passed), and she wants to get married instead of going to college. Your parents have accumulated the necessary funds for her education....
-
Aguilera Acoustics, Inc. (AAI), projects unit sales for a new seven-octave voice emulation implant as follows: Year Unit Sales 1............................93,000 2...........................105,000...
-
What is meant by the term fact pleading?
-
Each year, ratings are compiled concerning the performance of new cars during the first 90 days of use. Suppose that the cars have been categorized according to whether a car needs warranty-related...
-
Question 1 (30 points) A 3D infinite quantum well is a very simple model for an atom. Suppose that two cubic 3D infinite quantum wells, with cube dimension L, are joined to form one parallelepiped...
-
You have worked hard over the last three years to save up enough money for a down payment on your first home. After meeting with your lender, you are faced with two loan options. Both loans are 30...
-
Use integration to obtain an expression for the time interval needed for the water surface in the bucket in Problem 71 (or Example 18. 9) to drain down to the level of the hole. You can't ignore...
-
Water leaks out of a small hole in the side of a bucket. The hole is a distance \(d\) below the surface of the water, and the diameter of the hole is much smaller than the diameter of the bucket....
-
Two horizontal cylindrical pipes are connected together, and a viscous liquid undergoes laminar flow through them. The first pipe has radius \(R_{1}\) and length \(\ell_{1}\), and the second has...
-
Drops of an oil that has a mass density of \(700 \mathrm{~kg} / \mathrm{m}^{3}\) are released from a broken undersea oil pipe that is \(1000 \mathrm{~m}\) below the ocean surface. (a) If the drops...
-
A blood vessel has a diameter of \(3.20 \mathrm{~mm}\) because it is partially clogged by cholesterol. You want to remove enough cholesterol to double the volume flow rate of the blood through the...
-
The Luna Veterinary Group LLC is considering expanding their veterinary practice by opening a second office in a nearby town and has hired a new veterinarian, Rachael Bosco, DVM, to run the new...
-
If a process has a six-sigma capability, what is the process capability index? a. 1 b. 2 c. 6 d. 12
-
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...
-
Justify: "The violation of the Kelvin-Planck statement is nothing but the violation of the Clausius statement".
-
Calculate the change in entropy for the conversion of \(1 \mathrm{~mol}\) of ice to liquid at \(273 \mathrm{~K}\) and \(1 \mathrm{~atm}\). The latent heat of fusion is \(6500 \mathrm{~J} /...
-
Determine the change in entropy when \(200 \mathrm{~g}\) of ice at \(0^{\circ} \mathrm{C}\) is converted into water at the same temperature, given that latent heat of ice \(=80 \mathrm{cal} /...
Study smarter with the SolutionInn App