Assignment 8
.pdf
keyboard_arrow_up
School
University of Illinois, Urbana Champaign *
*We aren’t endorsed by this school
Course
230
Subject
Electrical Engineering
Date
Dec 6, 2023
Type
Pages
2
Uploaded by PrivateWalrus3275
CSE/EEE 230
–
Assignment 8
Important:
This is an individual assignment. Please do not collaborate.
Make sure to follow the academic integrity policies. Using work done by someone else will be
considered a violation of the academic integrity and will result in a report to the Dean's office.
Your work should not match with anything found online.
Copying any part of this assignment, and providing them to another person or posting them on
the Internet without a permission of the instructor will be a violation of its copyright.
http://www.asu.edu/copyright/
No late submissions will be accepted.
Show all the steps to receive full credit.
There are 2 questions. The score will be scaled down to a total of 3 points.
Make sure to segment your document
for the 3 questions.
The following MIPS Code is executed using the MIPS pipeline architecture. Include all iterations
of the loop.
Start:
addiu $s1, $0, 0x1234
addi $s0, $0, 0x122C
Loop:
lb $t1, 0($s0)
sb $t1, 2($s0)
nor $t2, $t1, $t1
sb $t2, 0($s0)
addi $s0, $s0, 4
bne $s0, $s1, Loop
Exit:
addi $s0, $0, 0x122C
Question 1: Pipeline - For the above code, write the Pipeline Implementation by resolving all the
three hazards. (20 points). Consider the following assumptions: (structural, data and control
hazards are resolved using hardware)
•
There is separate instruction and data memory access.
•
Register read and write can happen within the same clock cycle.
•
There is Forwarding unit.
Show data forwarding between the correct stages
, wherever
necessary.
•
There is
Hazard detection Unit and a 2-bit Prediction Unit along with Branch Target
Buffer
, i.e., resolution for control hazards using all the hardware modifications discussed.
•
There is Hazard detection Unit to detect mispredictions and flush if necessary.
•
The
2-bit
branch prediction scheme is used with initial prediction being
weakly Not Taken
.
•
There is Branch target Buffer (BTB) containing target address for the branch instruction.
•
Use
stall
if an instruction is delayed after fetch.
•
Use
nop
if an instruction is delayed before fetch.
Question 2: Exception Handling: Show the pipeline implementation, including exception
handling and all iterations of the loop. (10 points) For hazard resolution:
•
There is separate instruction and data memory access.
•
Register read and write can happen within the same clock cycle.
•
There is Forwarding unit.
Show data forwarding between the correct stages
, wherever
necessary.
•
There is
Hazard detection Unit, a static Prediction Unit along with Branch Target Buffer
.
•
There is Hazard detection Unit to detect mispredictions and flush if necessary.
•
The
static
branch prediction scheme always predict Not Taken Path.
•
There is Branch target Buffer (BTB) containing target address for the branch and jump
instructions.
•
Use
stall
if an instruction is delayed after fetch.
•
Use
nop
if an instruction is delayed before fetch.
For the following MIPS Code, assume that an Arithmetic Overflow Exception Occurs at the
“sub” instruction.
Start:
addi $t9, $0, 1
addi $t8, $0, 32
addiu $s1, $s0, 1
Loop:
slt $t0, $s1, $s0
bne $t0, $0, Exit
lbu $t1, 0($s0)
sub $t1, $t1, $t8
sb $t1, 0($s0)
add $s0, $s0, $t9
j Loop
Exit:
addi $s0, $s1, -1
Consider the following Exception Routine:
Routine: sw $k0, 1008($0)
sw $k1, 1012($0)
Return
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Can you finish the Background including a synopsis of the relevant information of this this example "electrical maintenance and repair" And please cite an article or paraphrase of author. Thank you!
The electrical wiring and electrical devices in the houses that are installed may have failure so the inspection is designed to definitely perform the clear capabilities. These electrical devices are...
arrow_forward
Is it required to use a PMMC instrument in an Instrument
transformer based measurement system?
a. No, not required
b. Yes,required
c. Can't be said
d. It is optional
arrow_forward
08:32 ☑
< Block Test Assign...
96%
Q :
4. Solutions to this assignment should be submitted via Google Classroom by the due date.
5. No late submissions will be accepted.
6. A cover page should accompany your submission.
7. You will be penalized if you fail to adhere to instructions.
MARK ALLOCATION
Question
Question 1
Question 2
Marks
15
10
Question 1
a) Determine Thévenin's equivalent circuit for the circuit shown in Figure 1. given that, is the
load of interest.
1000
480 F
[15]
Question 2
10/45° V
1 kHz
33002
ли
22002
Figure 1
ZL
75 mH
Given the circuit of an ideal OPAMP, as shown in Figure 2, determine the output voltage phasor
V
[10]
V 2.50/30.0° V
f=1.00 kHz
1.00 ΚΩ
Figure 2
470 nF
OV
2/3
3/3
arrow_forward
Help I'm stuck on this homework question and my teachers are complete idiots
arrow_forward
For answers in acronyms use all CAPITAL Letters. For short answer capitalized the first letter of each word/words unless indicated in the questions. For numeric value with unit, 1 space in between.
arrow_forward
a)Among the main causes of electrical failure involves Electro-Static-Discharge (ESD). Please recommend such ESD prevention methods.
b)Without opening or removing from the package, you are required to describe the techniques used to check the internal condition of a device.
c)Referring to the working principles of X-ray and Micro Acoustics (AMI), you are required to deduce the inspection techniques for both the equipment.
d)Please explain how to distinguish the types of defects that can be detected using X-Rays and AMI.
arrow_forward
Note:-
• Do not provide handwritten solution. Maintain accuracy and quality in your answer. Take care of plagiarism.
• Answer completely.
• You will get up vote for sure.
arrow_forward
Note:Please do not handwritten.
arrow_forward
Please answer in typing format with explanation
arrow_forward
Test 2: Modified true or false:Shade letter A if the first statement is True, Shade Letter B if the second
statement is True, Shade C if both statement is true, Shade D if both statements are false.
1. The passing general average rating shall be seventy percent (70%) with no grade below fifty
percent (50%) in any subjects.
Mathematics, such as: algebra, trigonometry, analytic geometry, differential calculus, integral
calculus, differential equations, complex numbers, probability and statistics, advanced
engineering mathematics including matrices, power series, Fourier analysis, Laplace transforms,
and others. The weight is twenty-five percent (25%).
2. All applications for oral examinations for professional electrical engineer and written
examinations for registered electrical engineer and registered master electrician shall be subject
to payment of fees prescribed by the Commission.
The members of the Board shall hold office for a term of three (3) years from the date of
appointment…
arrow_forward
KINDLY ANSWER THESE THREE QUESTIONS. THANK YOU AND PLEASE PROVIDE EXPLANATION
arrow_forward
4. What is the objective of a task risk analysis?
a. To control the risks associated with the work.
b. To prepare for the proper execution of the work.
c. To eliminate all risks.
5. Who should you notify right away about an accident?
a. The immediate supervisor.
b. The government's Health and Safety Inspection Service.
c. The medical department.
6. What is an example of safe behavior at the workplace?
a. Speaking to others about unsafe actions.
b. Never using hazardous substances.
c. Always wearing hearing protection.
7. What is the best way to avoid tripping at the workplace?
a. Make sure the floor is uneven.
b. Have the floor cleaned extra often.
c. Make sure the workplace is tidy.
arrow_forward
Describe what a maintenance work order in electrical engineering should contain.
Don't copy it from other sources..
arrow_forward
Schedule of Loads and Basic Calculation
— Create a tabulated load schedule of your home.
arrow_forward
As an electrical and electronic engineer, your manager has asked you to write a report for the attention of new employees, listing and describing the operation of safety devices that are commonly found offices and other industrial situations. The report should include all of the details in the task below.
Task
For the following application, list two electrical safety devices that can be used, and describe their operation:A office building lights made up of led bulbs
arrow_forward
Write short note on the below mentioned questions, Each question carries one mark.
Students has to answer the questions typewritten in the word (.docx) format.
Figures / Diagrams, equations and solving of problems should be written by hand. Take a picture of
it and attach it inside the word file.
a) High Voltages are preferred for Transmission of Electricity. Why?
b) Why Generation Voltage Levels are low in the range of 11 kV/ 33 kV etc?
C) Why ACSR Conductors are preferred over Copper Conductors?
d) Overhead Transmission Lines are preferred for Transmission of Power for Long Distances, why?
e) Alternating Current is preferred over Direct Current in Power System, Why?
f) Write the Installed Generation Capacity of Sultanate of Oman with current energy share of Conventional and
Non-Conventional Energy Sources.
g) Why the Capacitance effect is neglected in Short Transmission Line.
h) Distinguish between Lumped or Distributed elements in a Transmission Line.
arrow_forward
2b) You are designing electronic circuit component for the Highway Authority to be used for vehicular traffic management at a junction because your best friend was knocked down at the junction due to lack of traffic management. What type of materials would you used?
arrow_forward
The subject is Power Electronics and Smart Power System
Please send the answer by typing i don't want any handretten.
Also, don't copy past from net as plagiarism will be counted.
arrow_forward
Note:Please do not handwritten. Also, please write a lot of information in your own words.
arrow_forward
Please send the answer by typing only. I don't want handwritten.
The subject is about Renewable Energy ( Fossil Fuels)
7. What are the advantages and disadvantages of Fossil Fuels?
arrow_forward
The subject is: Energy Conversion and Storage
Please send the answer by typing ONLY. I don't want any handwritten.
Also, don't copy-paste from the net, as plagiarism will be counted.
Q-1) Explain any two energy conversion methods in detail with merits and demerits.
arrow_forward
Note: Please do not handwritten.
arrow_forward
Please no plagiarism and must be in your own
words (400 Words)
LIST THE BENEFITS OF RENEWABLE ENERGY (RE)
PROGRAMS FOR A COUNTRY.
arrow_forward
5. Can an MCB provide personal protection from electrocution? Explain.
arrow_forward
can you help me with this decoding a carbon resistor? thanksDecoding a Carbon Resistor
Resistor No.
Color Coded
Color Coded Value
Actual Resistance Value
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
arrow_forward
Could you answer this question in details and giving examples if possible. Thanks a lot.
- Explain what is CAN BUS.
This question is related with the Embedded system ( Electrical electronic engineering)
arrow_forward
Q) In measurement system, which of
1 point
the following static characteristics are
desirable? *
Accuracy.
Sensitivity.
Resolution.
arrow_forward
Give examples of 3 sensors and 3 actuators which can be used in your smart house. Label the sensors and actuators, include also which part of the house will you install the sensors and actuators.
arrow_forward
Please send the answer by typing only. I don't want handwritten.
The subject is about Renewable Energy ( Fossil Fuels)
What is called Fossil Fuels and what are the main 3 types of Fossil Fuels?
arrow_forward
Paragraph
Styles
Editing
1. In Solar PV modules,
energy is converted to
energy.
2. Choose the type of output voltage of a Solar PV module [AC/ DC].
3.The PV cell is made of
Material?
arrow_forward
Could you answer this question in details and giving examples if possible. Thanks a lot.
Explain meaning of Embedded System and subparts.
This question is related with the Embedded system ( Electrical electronic engineering)
arrow_forward
The following is a series of questions pertaining to the NSPE Code of Ethics. Please indicate whether the statements are true or false. These questions are provided by the NSPE.
Note: This ethics test is intended solely to test individual knowledge of the specific language contained in the NSPE Code of Ethics and is not intended to measure individual knowledge of engineering ethics or the ethics of individual engineers or engineering students.
Engineers shall not intentionally falsify their qualifications or activelypermit written misrepresentation of their or their associate’s qualifications.Engineers may accept credit for previous work performed where the work was performed during the period the engineer was employed by theprevious employer. Brochures or other presentations incident to the solicitation of employment shall specifically indicate the work performed and the dates the engineer was employed by the firm.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,
Related Questions
- Can you finish the Background including a synopsis of the relevant information of this this example "electrical maintenance and repair" And please cite an article or paraphrase of author. Thank you! The electrical wiring and electrical devices in the houses that are installed may have failure so the inspection is designed to definitely perform the clear capabilities. These electrical devices are...arrow_forwardIs it required to use a PMMC instrument in an Instrument transformer based measurement system? a. No, not required b. Yes,required c. Can't be said d. It is optionalarrow_forward08:32 ☑ < Block Test Assign... 96% Q : 4. Solutions to this assignment should be submitted via Google Classroom by the due date. 5. No late submissions will be accepted. 6. A cover page should accompany your submission. 7. You will be penalized if you fail to adhere to instructions. MARK ALLOCATION Question Question 1 Question 2 Marks 15 10 Question 1 a) Determine Thévenin's equivalent circuit for the circuit shown in Figure 1. given that, is the load of interest. 1000 480 F [15] Question 2 10/45° V 1 kHz 33002 ли 22002 Figure 1 ZL 75 mH Given the circuit of an ideal OPAMP, as shown in Figure 2, determine the output voltage phasor V [10] V 2.50/30.0° V f=1.00 kHz 1.00 ΚΩ Figure 2 470 nF OV 2/3 3/3arrow_forward
- Help I'm stuck on this homework question and my teachers are complete idiotsarrow_forwardFor answers in acronyms use all CAPITAL Letters. For short answer capitalized the first letter of each word/words unless indicated in the questions. For numeric value with unit, 1 space in between.arrow_forwarda)Among the main causes of electrical failure involves Electro-Static-Discharge (ESD). Please recommend such ESD prevention methods. b)Without opening or removing from the package, you are required to describe the techniques used to check the internal condition of a device. c)Referring to the working principles of X-ray and Micro Acoustics (AMI), you are required to deduce the inspection techniques for both the equipment. d)Please explain how to distinguish the types of defects that can be detected using X-Rays and AMI.arrow_forward
- Test 2: Modified true or false:Shade letter A if the first statement is True, Shade Letter B if the second statement is True, Shade C if both statement is true, Shade D if both statements are false. 1. The passing general average rating shall be seventy percent (70%) with no grade below fifty percent (50%) in any subjects. Mathematics, such as: algebra, trigonometry, analytic geometry, differential calculus, integral calculus, differential equations, complex numbers, probability and statistics, advanced engineering mathematics including matrices, power series, Fourier analysis, Laplace transforms, and others. The weight is twenty-five percent (25%). 2. All applications for oral examinations for professional electrical engineer and written examinations for registered electrical engineer and registered master electrician shall be subject to payment of fees prescribed by the Commission. The members of the Board shall hold office for a term of three (3) years from the date of appointment…arrow_forwardKINDLY ANSWER THESE THREE QUESTIONS. THANK YOU AND PLEASE PROVIDE EXPLANATIONarrow_forward4. What is the objective of a task risk analysis? a. To control the risks associated with the work. b. To prepare for the proper execution of the work. c. To eliminate all risks. 5. Who should you notify right away about an accident? a. The immediate supervisor. b. The government's Health and Safety Inspection Service. c. The medical department. 6. What is an example of safe behavior at the workplace? a. Speaking to others about unsafe actions. b. Never using hazardous substances. c. Always wearing hearing protection. 7. What is the best way to avoid tripping at the workplace? a. Make sure the floor is uneven. b. Have the floor cleaned extra often. c. Make sure the workplace is tidy.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Introductory Circuit Analysis (13th Edition)Electrical EngineeringISBN:9780133923605Author:Robert L. BoylestadPublisher:PEARSONDelmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage LearningProgrammable Logic ControllersElectrical EngineeringISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
- Fundamentals of Electric CircuitsElectrical EngineeringISBN:9780078028229Author:Charles K Alexander, Matthew SadikuPublisher:McGraw-Hill EducationElectric Circuits. (11th Edition)Electrical EngineeringISBN:9780134746968Author:James W. Nilsson, Susan RiedelPublisher:PEARSONEngineering ElectromagneticsElectrical EngineeringISBN:9780078028151Author:Hayt, William H. (william Hart), Jr, BUCK, John A.Publisher:Mcgraw-hill Education,
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,