Loop Termination Buffer
A SystemVerilog implementation of Loop Termination Buffer, an extension to branch predictor, on BlackParrot processor.
I implemented a branch predictor that predicts the branch pattern \((1^N0)^M\) where \(N\) is the inner loop size and \(M\) is the outer loop size, and successfully integrated to the BlackParrot processor. The work is heavily based on a paper Loop Termination Prediction by Timothy Sherwood and Brad Calder.