The invention provides an automatic
circuit design method of a TAGE
branch predictor, which comprises the following steps: constructing a
superscalar front-end simulator comprising a
branch prediction unit, an instruction cache, an instruction
queue and a prediction information cache, and simulating processor front-end behaviors through parameterized configuration; a
time sequence and combinatorial logic decoupling normal form is introduced into the
branch prediction unit, the branch prediction unit is decomposed into a
time sequence component and a combinatorial logic component, the
time sequence component comprises a global historical register, a folding historical register and a multi-stage prediction table, and the combinatorial logic component comprises a
metadata generation unit, a direction prediction unit, a table item updating unit and a historical maintenance unit; obtaining input and output data of the branch prediction unit in the execution process; and based on the input and output data, generating a
hardware description language code of the combinatorial logic component by using an automatic
circuit design algorithm so as to realize automatic
circuit design of the TAGE
branch predictor. Therefore, the design efficiency and the performance of automatically designing the branch prediction component can be improved.