SlideShare uma empresa Scribd logo
1 de 2
Below is the statement that detects forwarding from WB to EX. What is the meaning of each of
the four conditions? If ( MEM/WB.RegWrite==l and MEM/WB.RegisterRd != 0 and
EX/MEM.RegisterRd != ID/EX.RegisterRs and MEM/WB.RegisterRd == ID/EX.RegisterRs)
Solution
Here given that
if ( MEM/WB.RegWrite==1 and
MEM/WB.RegisterRd != 0 and
EX/MEM.RegisterRd != ID/EX.RegisterRs and
MEM/WB.RegisterRd == ID/EX.RegisterRs )
It is the statement used to detect forwarding from WB to EX. And in this condition ForwardA
=01.
The above conditions are MEM/Wb hazard equations used for detecting and handling MEM/WB
hazards for the ALU source. A MEM/WB hazard occur between an instruction in EX stage and
one from two cycles ago.
The above given conditions contains both EX hazards and MEM hazards.The above condition is
obtained when data hazard matches both conditions in EX hazard and MEM hazard, and here
data hazard is treated as EX hazard rather than MEM hazard.
The input control signals of the given forwarding unit are: ID/EX.RegisterRs,
MEM/WB.RegWrite,
MEM/WB.RegisterRd,  EX/MEM.RegisterRd. The output is Forward A
The data hazard EX/MEM.RegisterRd != ID/EX.RegisterRs forwards from EX/MEM pipeline
register to data memory
The data hazard MEM/WB.RegisterRd == ID/EX.RegisterRs forwards from MEM/WB pipeline
register to data memory.
ID/EX.RegisterRs is the ALU operand register numbers in EX stage.
MEM/WB.RegWrite==1 means the RegWrite is set. It enters the WB stage and it is ready to
write. a value to register. MEM means memory and Reg means register.
We forward MEM/WB.RegisterRd != 0 if MEM/WB.RegWrite==1 and Rd != 0

Mais conteúdo relacionado

Mais de danielt47

Based on the information in Atom- Clash of the Titans- please answer t.docx
Based on the information in Atom- Clash of the Titans- please answer t.docxBased on the information in Atom- Clash of the Titans- please answer t.docx
Based on the information in Atom- Clash of the Titans- please answer t.docx
danielt47
 
Boston Scientific faced the challenge of balancing openness and sharin.docx
Boston Scientific faced the challenge of balancing openness and sharin.docxBoston Scientific faced the challenge of balancing openness and sharin.docx
Boston Scientific faced the challenge of balancing openness and sharin.docx
danielt47
 
6a-) When would you add sand to a chromatography column and why- What.docx
6a-) When would you add sand to a chromatography column and why- What.docx6a-) When would you add sand to a chromatography column and why- What.docx
6a-) When would you add sand to a chromatography column and why- What.docx
danielt47
 

Mais de danielt47 (19)

Be sure to answer all parts- Give the Mino acid sequence of an octapep.docx
Be sure to answer all parts- Give the Mino acid sequence of an octapep.docxBe sure to answer all parts- Give the Mino acid sequence of an octapep.docx
Be sure to answer all parts- Give the Mino acid sequence of an octapep.docx
 
Basic naming lab Name Naming Lab Report In lieu of a lab report- pleas.docx
Basic naming lab Name Naming Lab Report In lieu of a lab report- pleas.docxBasic naming lab Name Naming Lab Report In lieu of a lab report- pleas.docx
Basic naming lab Name Naming Lab Report In lieu of a lab report- pleas.docx
 
Based on the information in Atom- Clash of the Titans- please answer t.docx
Based on the information in Atom- Clash of the Titans- please answer t.docxBased on the information in Atom- Clash of the Titans- please answer t.docx
Based on the information in Atom- Clash of the Titans- please answer t.docx
 
Both these questions go togetherSolutionWhen we bring a magnet near a.docx
Both these questions go togetherSolutionWhen we bring a magnet near a.docxBoth these questions go togetherSolutionWhen we bring a magnet near a.docx
Both these questions go togetherSolutionWhen we bring a magnet near a.docx
 
Boston Scientific faced the challenge of balancing openness and sharin.docx
Boston Scientific faced the challenge of balancing openness and sharin.docxBoston Scientific faced the challenge of balancing openness and sharin.docx
Boston Scientific faced the challenge of balancing openness and sharin.docx
 
Based on the information in Atom- Clash of the Titans- please answer t (2).docx
Based on the information in Atom- Clash of the Titans- please answer t (2).docxBased on the information in Atom- Clash of the Titans- please answer t (2).docx
Based on the information in Atom- Clash of the Titans- please answer t (2).docx
 
6-3- (a) In which form does Cd(II) occur mainly in a water of the foll.docx
6-3- (a) In which form does Cd(II) occur mainly in a water of the foll.docx6-3- (a) In which form does Cd(II) occur mainly in a water of the foll.docx
6-3- (a) In which form does Cd(II) occur mainly in a water of the foll.docx
 
6- A solution of an acid- with a general formula HA- contains 0-400 mo.docx
6- A solution of an acid- with a general formula HA- contains 0-400 mo.docx6- A solution of an acid- with a general formula HA- contains 0-400 mo.docx
6- A solution of an acid- with a general formula HA- contains 0-400 mo.docx
 
6- What are the differences between objects and abstract data typesSol.docx
6- What are the differences between objects and abstract data typesSol.docx6- What are the differences between objects and abstract data typesSol.docx
6- What are the differences between objects and abstract data typesSol.docx
 
6- What do the bubbles in boiling water principally c a- air b- O2 (e.docx
6- What do the bubbles in boiling water principally c a- air b- O2 (e.docx6- What do the bubbles in boiling water principally c a- air b- O2 (e.docx
6- What do the bubbles in boiling water principally c a- air b- O2 (e.docx
 
6- Both solutions and colloids are mixtures- Differentiate between the.docx
6- Both solutions and colloids are mixtures- Differentiate between the.docx6- Both solutions and colloids are mixtures- Differentiate between the.docx
6- Both solutions and colloids are mixtures- Differentiate between the.docx
 
6)- The Town of Elmwood applied for a competitive grant from the state.docx
6)- The Town of Elmwood applied for a competitive grant from the state.docx6)- The Town of Elmwood applied for a competitive grant from the state.docx
6)- The Town of Elmwood applied for a competitive grant from the state.docx
 
500 men are arranged in an array of 10 rows and 50 columns according t.docx
500 men are arranged in an array of 10 rows and 50 columns according t.docx500 men are arranged in an array of 10 rows and 50 columns according t.docx
500 men are arranged in an array of 10 rows and 50 columns according t.docx
 
7- There are many optical phenomena in the sky- To name 3- rainbows- s.docx
7- There are many optical phenomena in the sky- To name 3- rainbows- s.docx7- There are many optical phenomena in the sky- To name 3- rainbows- s.docx
7- There are many optical phenomena in the sky- To name 3- rainbows- s.docx
 
7- Eric owns five activities- He elects not to group them together as.docx
7- Eric owns five activities- He elects not to group them together as.docx7- Eric owns five activities- He elects not to group them together as.docx
7- Eric owns five activities- He elects not to group them together as.docx
 
7- A dilute solution of which acid is most likely to produce a reducti.docx
7- A dilute solution of which acid is most likely to produce a reducti.docx7- A dilute solution of which acid is most likely to produce a reducti.docx
7- A dilute solution of which acid is most likely to produce a reducti.docx
 
7- (TCO 1) Identify four skills that a manager needs in order to perfo.docx
7- (TCO 1) Identify four skills that a manager needs in order to perfo.docx7- (TCO 1) Identify four skills that a manager needs in order to perfo.docx
7- (TCO 1) Identify four skills that a manager needs in order to perfo.docx
 
7 At 20 c (293 K) the vapor pressure of water is 0-0231 atm- What is t.docx
7 At 20 c (293 K) the vapor pressure of water is 0-0231 atm- What is t.docx7 At 20 c (293 K) the vapor pressure of water is 0-0231 atm- What is t.docx
7 At 20 c (293 K) the vapor pressure of water is 0-0231 atm- What is t.docx
 
6a-) When would you add sand to a chromatography column and why- What.docx
6a-) When would you add sand to a chromatography column and why- What.docx6a-) When would you add sand to a chromatography column and why- What.docx
6a-) When would you add sand to a chromatography column and why- What.docx
 

Último

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Último (20)

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 

Below is the statement that detects forwarding from WB to EX- What is.docx

  • 1. Below is the statement that detects forwarding from WB to EX. What is the meaning of each of the four conditions? If ( MEM/WB.RegWrite==l and MEM/WB.RegisterRd != 0 and EX/MEM.RegisterRd != ID/EX.RegisterRs and MEM/WB.RegisterRd == ID/EX.RegisterRs) Solution Here given that if ( MEM/WB.RegWrite==1 and MEM/WB.RegisterRd != 0 and EX/MEM.RegisterRd != ID/EX.RegisterRs and MEM/WB.RegisterRd == ID/EX.RegisterRs ) It is the statement used to detect forwarding from WB to EX. And in this condition ForwardA =01. The above conditions are MEM/Wb hazard equations used for detecting and handling MEM/WB hazards for the ALU source. A MEM/WB hazard occur between an instruction in EX stage and one from two cycles ago. The above given conditions contains both EX hazards and MEM hazards.The above condition is obtained when data hazard matches both conditions in EX hazard and MEM hazard, and here data hazard is treated as EX hazard rather than MEM hazard. The input control signals of the given forwarding unit are: ID/EX.RegisterRs, MEM/WB.RegWrite, MEM/WB.RegisterRd,  EX/MEM.RegisterRd. The output is Forward A The data hazard EX/MEM.RegisterRd != ID/EX.RegisterRs forwards from EX/MEM pipeline register to data memory
  • 2. The data hazard MEM/WB.RegisterRd == ID/EX.RegisterRs forwards from MEM/WB pipeline register to data memory. ID/EX.RegisterRs is the ALU operand register numbers in EX stage. MEM/WB.RegWrite==1 means the RegWrite is set. It enters the WB stage and it is ready to write. a value to register. MEM means memory and Reg means register. We forward MEM/WB.RegisterRd != 0 if MEM/WB.RegWrite==1 and Rd != 0