针对三操作数预测算法中的预测误差,提出了纠错方案.依据前导1预测的流程以及预编码规则,设计了纠错模块的预编码规则,完成了其整体结构设计,采用硬件描述语言VHDL进行编程,并通过QuartusⅡ进行仿真验证,得到了相应的RTL级电路,最后对仿真结果进行了分析.仿真结果表明,设计完成的算法结构能够有效地完成前导1预测纠错的功能.
In this paper, we propose an error correction scheme based on the prediction error of the three operation number prediction algorithm. According to the process of leading-one prediction and pre-encoding rules, designing a error-correcting module pre-encoding, and completing the overall structure of the error-correcting module, using hardware description language VHDL to program some function module to optimize the design process , and use Quartus Ⅱ tools to perform comprehensive validation, received the RTL-level hardware circuits, and last the results are analyzed and verified. Simulation results show that the designed algorithm structure can effectively complete the Leading-one prediction correcting function.