Title :
Using rewriting rules and positive equality to formally verify wide-issue out-of-order microprocessors with a reorder buffer
Author :
Velev, Miroslav N.
Author_Institution :
Dept. of Electr. & Comput. Eng., Carnegie Mellon Univ., Pittsburgh, PA, USA
Abstract :
Rewriting rules and positive equality are combined in an automatic way in order to formally verify out-of-order processors that have a Reorder Buffer and can issue/retire multiple instructions per clock cycle. Only register-register instructions are implemented, and can be executed out-of-order as soon as their data operands can be either read from the Register File, or forwarded as results of instructions ahead in program order in the Reorder Buffer. The verification is based on the Burch and Dill correctness criterion. Rewriting rules are used to prove the correct execution of instructions that are initially in the Reorder Buffer and to remove them from the correctness formula. Positive Equality is then employed to prove the correct execution of newly fetched instructions. The rewriting rules resulted in up to 5 orders of magnitude speedup, compared to using Positive Equality alone. That made it possible to formally verify processors with up to 1,500 instructions in the Reorder Buffer and issue/retire widths of up to 128 instructions per clock cycle
Keywords :
buffer circuits; clocks; formal verification; instruction sets; logic CAD; microprocessor chips; Burch and Dill correctness criterion; clock cycle; correctness formula; data operands; magnitude speedup; multiple instructions; positive equality; register-register instructions; reorder buffer; rewriting rules; wide-issue out-of-order microprocessors; Clocks; Commutation; Computer aided instruction; Contracts; Encoding; Formal verification; Logic design; Microprocessors; Out of order; Registers;
Conference_Titel :
Design, Automation and Test in Europe Conference and Exhibition, 2002. Proceedings
Conference_Location :
Paris
Print_ISBN :
0-7695-1471-5
DOI :
10.1109/DATE.2002.998246