Question: The following branch prediction algorithm has been suggested: Predict that the branch will be taken if the previous two branches were taken; predict not taken

The following branch prediction algorithm has been suggested: Predict that the branch will be taken if the previous two branches were taken; predict not taken otherwise. The system has one input Z. If Z = 1, the current branch is taken, not taken otherwise. The output X = 1 predicts that the branch should be taken, not taken otherwise. Design such a finite state machine. You may use any gates and flip-flops.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!