Fetch Module
Misprediction recovery
- If recovering from a mispredicted ‘branch taken’ case, then when reissuing the instruction packet, should replace the branch in the instruction packet with a NOP since we know that the branch will not be taken
- If recovering from a mispredicted ‘branch not taken’ the instruction packet will be the BTA packet
Should debug code by trying a static prediction scheme first (always taken). Once this is working, then work on dynamic branch prediction.