Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
92595157eThis file is pinned to the selected release. Download the original to open it in your design tool.
// Copyright 2019- RSD contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
//
// Branch predictor
//
import BasicTypes::*;
import FetchUnitTypes::*;
`define USE_GSHARE
module BranchPredictor(
NextPCStageIF.BranchPredictor port,
FetchStageIF.BranchPredictor next,
ControllerIF.BranchPredictor ctrl
);
`ifdef USE_GSHARE
Gshare predictor( port, next, ctrl );
`else
Bimodal predictor( port, next );
`endif
endmodule : BranchPredictor