Campus users should disconnect from VPN to access senior theses, as there is a temporary disruption affecting VPN.
 

Publication:

Generating Formal Property-Based Specifications for Hardware Designs from Informal Documents using Large Language Models

datacite.rightsrestricted
dc.contributor.advisorMalik, Sharad
dc.contributor.authorLin, Annie
dc.date.accessioned2025-08-12T13:57:31Z
dc.date.available2025-08-12T13:57:31Z
dc.date.issued2025-04-14
dc.description.abstractThis work aims to explore the possibility of using large language models (LLMs) to generate formal property-based specifications for hardware designs, from informal protocol documentation. Formal property verification (FPV) offers an exhaustive approach to ensure design correctness but requires significant expertise and effort. This work explores the potential of leveraging large language models (LLMs) to generate formal property-based specifications, specifically SystemVerilog Assertions (SVA), from informal documentation. We focus on deriving natural language (NL) properties from hardware waveforms using LLMs like GPT-4o, o3-mini, and o1. Initial experiments highlight both the promise and challenges of this approach, including issues of waveform misinterpretation and inaccuracies in generated properties. To address these limitations, the improved methodology incorporates SAT-based generation and LLM-filtering to improve the accuracy and comprehensiveness of the generated properties. A satisfiability (SAT) solver approach is proposed to systematically generate and validate NL properties. A LLM based approach is used, in conjunction, to filter out the essential properties using textual documentation. This research lays the groundwork for automating the generation of formal specifications from informal documentation, to enhance the accessibility and efficiency of FPV for hardware verification. Future work will refine these methodologies and validate their effectiveness in generating correct and meaningful assertions.
dc.identifier.urihttps://theses-dissertations.princeton.edu/handle/88435/dsp01ws859k13c
dc.language.isoen_US
dc.titleGenerating Formal Property-Based Specifications for Hardware Designs from Informal Documents using Large Language Models
dc.typePrinceton University Senior Theses
dspace.entity.typePublication
dspace.workflow.startDateTime2025-04-15T03:15:15.050Z
pu.contributor.authorid920293459
pu.date.classyear2025
pu.departmentElectrical and Computer Engineering

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
ECE_498_Thesis_Paper.pdf
Size:
1.38 MB
Format:
Adobe Portable Document Format
Download

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
100 B
Format:
Item-specific license agreed to upon submission
Description:
Download