318 views
0 votes
0 votes

When shall we assume structural hazard?Like if nothing is mentioned if data and instruction are fetched via single port,can we assume 'MA' (memory access stage) and 'IF' (instruction fetch) stage can be operated in parallel?Please let me know with ref to this question for example.IF and MA are done in parallel,is it always the case if nothing is told?

https://gateoverflow.in/102565/operand-forwarding-in-pipeline

1 Answer

0 votes
0 votes
structural hazard will occures when there is restriction/unavalibility of resources.....

so structural hazard are in single port memory ...because we can't perform operand fetch and  Write back (SUCH MEMORY RELATED OPERATIONS)in parallel.in short

ALL THOSE PARALLEL TASK WITH RESPECT TO MEMORY CAN'T BE DONE...

so in question if they said that single port memory is there then there will be STRUCTURAL HAZARD...

if not then we can say that there is proper arrengement done to fetch multiple memory operations at same time...

Related questions

0 votes
0 votes
1 answer
1
vaishali jhalani asked Nov 27, 2016
587 views
Can we completely remove structural hazards..if we have separate intruction memory and data memory?
0 votes
0 votes
1 answer
2
3 votes
3 votes
2 answers
3
gauravkc asked Jan 24, 2018
1,145 views
R1 <- R1+R2R2 <- R3*R4R3 <- R4-R1R2 <- R3+R4Can someone point out hazards. Thanks :)