Abstract:
Large language models (LLMs) are capable of creating small programs including those in hardware description languages. However, there are no guarantees on the correctness...Show MoreMetadata
Abstract:
Large language models (LLMs) are capable of creating small programs including those in hardware description languages. However, there are no guarantees on the correctness of such generated programs. Our approach seeks to create correct-by-construction hardware designs using LLMs by employing formal verification to verify the designs and by using counterex-amples to guide the synthesis of such hardware designs in a counterexample-guided refinement loop. Grammar-constrained decoding is used to ensure that the generated code always satisfies the grammar of the hardware description language. We demonstrate the capability of our automated synthesis approach by generating a multiplier using LLMs and their assurance artifacts using model checking. Our approach provides a step in the direction of high-assurance synthesis of hardware artifacts using LLMs and formal methods.
Date of Conference: 15-18 July 2024
Date Added to IEEE Xplore: 18 September 2024
ISBN Information: