DESIGN ELEMENTS AVAILABLE 1 Two input mux. Both the inputs are 6 bits wide. The output...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
DESIGN ELEMENTS AVAILABLE 1 Two input mux. Both the inputs are 6 bits wide. The output is also 6 bits wide, A single bit control signal for selcting between the two inputs 2 2-4 input, single output AND gate. Any input or output can be bubbled (inverted) 3 2-4 input, single output OR gate. Any input or output can be bubbled (inverted) 4 A special function, GT, with two 32-bit inputs (A, B) each and a single bit output. The output is high if A is greater than B 4 A special function, EQ with two 32-bit inputs (A, B) each and a single bit output. The output is high if A is equal to B PROBLEM STATEMENT (The revenge of the angry architect) The architect was very angry with the micro architect. Why? Because the microarchitect would not let him put in his favourite instruction in the ISA. A single instruction which could do quick sort! So he was very angry. He decided to take his revenge and came up with some very strange encoding for certain instruction which the microarhitect had to implement no matter what The branch instructions are shown above QUESTIONS 1- Using just the bits from the Instruction encoding draw the logic to extract the RS1 and RS2 fields supplying them on two 5 bit busses called rs1 and rs2 When we only have RS1 specified in the instruction rs2 has the address 0 on it. 2- Using just the bits from the Instruction encoding draw the logic to extract the address Addr Concate the higher bits pf the PC to the most significant side of the Addr to create a complete 32-bit address. 3- Using just the bits from the instruction and two 32 bit busses coming in create the logic which generates 1 output which is a 1 if the branch is true and 0 if the branch is 1 Th etwo 32 bit busess have RS1 and RS2. For the instruction which only uses RS1 the RS2 bus has a zero on it 4- Use only the design elements available and write the equations and draw out the logic for each of the cases 1-3 using the minimum amount of design elements. INSTRUCTION SET 9000 Opcode 0 0 0 1 0 1 1 1 1 0 1 0 0 1 0 1 0 1 1 0 1 0 1 1 1 0 0 0 1 1 0 0 0 1 1 1 1 0 1 0 0 0 0 0 0 0 1 1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 Opcode Addr[6:0] Addr[2:0] Addr[12:10] FMT 0 1 0 000 BEQZ 000 BNEZ 0 1 0 BLEZ BGEZ BGTZ BLTZ BGT BLE 11 0 1 1 0 011 01 1 Opcode RS1 INST Addr[6:0] Opcode RS1, Addr RS1, Addr RS1, Addr RS1, Addr RS1, Addr RS1, Addr RS1, RS2, Addr RS1, RS2, Addr Addr[6:3] RS2 FMT FMT FMT FMT Addr[16:7] Addr[11:7] RS1 Addr[4:0] RS1 Opcode 4 3 2 1 0 RS1 0 Addr[16:12] Addr[16:7] Addr[9:5] 0 Branch addr PC[31:17] concat Addr[16:0] Branch addr = PC[31:17] concat Addr[16:0] Branch addr PC[31:17] concat Addr[16:0] Branch addr Branch addr PC[31:17] concat Addr[16:0] PC[31:17] concat Addr[16:0] PC[31:17] concat Addr[16:0] Branch addr Branch addr = PC[31:13] concat Addr[12:0] Branch addr = PC[31:13] concat Addr[12:0] DESIGN ELEMENTS AVAILABLE 1 Two input mux. Both the inputs are 6 bits wide. The output is also 6 bits wide, A single bit control signal for selcting between the two inputs 2 2-4 input, single output AND gate. Any input or output can be bubbled (inverted) 3 2-4 input, single output OR gate. Any input or output can be bubbled (inverted) 4 A special function, GT, with two 32-bit inputs (A, B) each and a single bit output. The output is high if A is greater than B 4 A special function, EQ with two 32-bit inputs (A, B) each and a single bit output. The output is high if A is equal to B PROBLEM STATEMENT (The revenge of the angry architect) The architect was very angry with the micro architect. Why? Because the microarchitect would not let him put in his favourite instruction in the ISA. A single instruction which could do quick sort! So he was very angry. He decided to take his revenge and came up with some very strange encoding for certain instruction which the microarhitect had to implement no matter what The branch instructions are shown above QUESTIONS 1- Using just the bits from the Instruction encoding draw the logic to extract the RS1 and RS2 fields supplying them on two 5 bit busses called rs1 and rs2 When we only have RS1 specified in the instruction rs2 has the address 0 on it. 2- Using just the bits from the Instruction encoding draw the logic to extract the address Addr Concate the higher bits pf the PC to the most significant side of the Addr to create a complete 32-bit address. 3- Using just the bits from the instruction and two 32 bit busses coming in create the logic which generates 1 output which is a 1 if the branch is true and 0 if the branch is 1 Th etwo 32 bit busess have RS1 and RS2. For the instruction which only uses RS1 the RS2 bus has a zero on it 4- Use only the design elements available and write the equations and draw out the logic for each of the cases 1-3 using the minimum amount of design elements. INSTRUCTION SET 9000 Opcode 0 0 0 1 0 1 1 1 1 0 1 0 0 1 0 1 0 1 1 0 1 0 1 1 1 0 0 0 1 1 0 0 0 1 1 1 1 0 1 0 0 0 0 0 0 0 1 1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 Opcode Addr[6:0] Addr[2:0] Addr[12:10] FMT 0 1 0 000 BEQZ 000 BNEZ 0 1 0 BLEZ BGEZ BGTZ BLTZ BGT BLE 11 0 1 1 0 011 01 1 Opcode RS1 INST Addr[6:0] Opcode RS1, Addr RS1, Addr RS1, Addr RS1, Addr RS1, Addr RS1, Addr RS1, RS2, Addr RS1, RS2, Addr Addr[6:3] RS2 FMT FMT FMT FMT Addr[16:7] Addr[11:7] RS1 Addr[4:0] RS1 Opcode 4 3 2 1 0 RS1 0 Addr[16:12] Addr[16:7] Addr[9:5] 0 Branch addr PC[31:17] concat Addr[16:0] Branch addr = PC[31:17] concat Addr[16:0] Branch addr PC[31:17] concat Addr[16:0] Branch addr Branch addr PC[31:17] concat Addr[16:0] PC[31:17] concat Addr[16:0] PC[31:17] concat Addr[16:0] Branch addr Branch addr = PC[31:13] concat Addr[12:0] Branch addr = PC[31:13] concat Addr[12:0]
Expert Answer:
Answer rating: 100% (QA)
Answer 1 Using the bits from the Instruction encoding the logic to extract the RS1 and RS2 fields and supply them on two 5 bit busses called rs1 and r... View the full answer
Related Book For
Posted Date:
Students also viewed these electrical engineering questions
-
4 cubed + 10 X 20 + 8 squared 23
-
Below is a partial balance sheet of WOU Berhad The company declared a 2 for 1 stock split. i) Calculate the new par value. ii) Calculate the new numbers of share outstanding. Common stock (RM 2)...
-
5 / 4 + 9 / 2x = 3 / 8 x 1 / 4
-
Determine the x-and y-intercepts on the graph of the equation. Graph the equation. y=-1.5x + 15
-
In how many ways can a family of four (mother, father, and two children) be seated at a round table, with eight other people, so that the parents are seated next to each other and there is one child...
-
Evaluate each limit and justify your answer. lim tan Vi - 2
-
A large company has the opportunity to select one of seven projects-A, B, C, D, E, F, G-or choose the null (donothing) alternative. Each project requires a single initial investment as shown in the...
-
Colter Company prepares monthly cash budgets. Relevant data from operating budgets for 2014 are: All sales are on account. Collections are expected to be 50% in the month of sale, 30% in the first...
-
Problem 4. Suppose that A in an m x n matrix and b is a vector in R. Let a = (a1,..., am) be a vector in Rm. Carefully prove that the following two statements are equivalent: There is a vector x R"...
-
John Parsons (123-45-6781) and George Smith (123-45-6782) are 70% and 30% owners, respectively, of Premium, Inc. (11-1111111), a candy company located at 1005 16th Street, Cut and Shoot, TX 77303....
-
a) Compute the integral f f(x) dx using 5 point composite rectangle, trapezoid and Simpson rules for the following function: f(x) = x cos(x), a = 0, b) Estimate error using a posteriori error...
-
Describe the social group and the group's dynamics, including a summary of factors that contribute to the group's dynamics of racial minorities and veterans.
-
A $1.000 par value bond with a 100% coupon rate (semiannual interest) matures in 6 years and currently sells for $977.62. What is the bond's yield to maturity and bond equivalent yield?
-
Gary, a cashier working at Wally World (a local discount center), died his hair green for Halloween. Customer Del entered Wally World, selected his purchase--some dynamite--and was about to check...
-
Reward for leaders in customer service Winning companies display an authentic commitment towards their customers and are ethically honourable, writes Lynette Dicey Business Day 17 Nov 2022 The Ask...
-
Sample Size -probability - Calculate the Sample Size 30 and Execute your Sampling Assume there were no limitations on the project, describe what Sampling Design you would use for this project and the...
-
Share the titles of and the places you found the five sources you will use in your essay, for example, "Title of Article" from Title of Journal . Explain why they're credible, how do they relate to...
-
Eleni Cabinet Company sold 2,200 cabinets during 2011 at $160 per cabinet. Its beginning inventory on January 1 was 130 cabinets at $56. Purchases made during the year were as follows: February . 225...
-
The number of electric cars (in thousands) in use in the United States for various years is 4.5, 5.2, 7.0, 8.7, and 10.4. Let n be the number of electric cars (in thousands) in use. Use points on a...
-
The Internal Revenue Service (IRS) standard mileage rate is a way of computing an automobile expense deduction on a tax return. Mileage rates for businesses are provided in Table 36 for various...
-
Explain what law was used in each step to rearrange terms of a + b + c as follows: a + b + c = (a + b) + c = (b + a) + c = b + (a + c) = b + (c + a) = (b + c) + a = b + c + a
-
Let \(p(t, x)=(2 \pi t)^{-d / 2} \exp \left(-|x|^{2} /(2 t)ight), x \in \mathbb{R}^{d}, t>0\), be the transition density of a \(d\)-dimensional Brownian motion. a) Show that \(p(t, x)\) is a solution...
-
Let \(\left(B_{t}ight)_{t \geqslant 0}\) be a \(\mathrm{BM}^{d}\). Find all \(c \in \mathbb{R}\) such that \(\mathbb{E} e^{c\left|B_{t}ight|}\) and \(\mathbb{E} e^{c\left|B_{t}ight|^{2}}\) are finite.
-
Let \(\left(X_{t}, \mathscr{F}_{t}ight)_{t \geqslant 0}\) be a martingale and denote by \(\mathscr{F}_{t}^{*}\) be the completion of \(\mathscr{F}_{t}\) (completion means to add all subsets of...
Study smarter with the SolutionInn App