Can Language Models Follow a Hardware Specification Revision? Evidence from RISC-V, Verilog and VHDL
An assistant reviewing a design across revisions must identify both changed rules and rules that remain valid. We measure whether it gets both editions right for each case. Across 16 new RISC-V and Verilog families, filtering to the requested edition and pooling over two answer positions solved 5/16 changes at 1.5B, tying the mixed-evidence baseline. Four executable RISC-V rules agreed with Spike and QEMU on 1,044 edition-specific outputs. We then screened 3,142 externally authored VHDL-93 files with GHDL and NVC under the 1993 and 2008 standards. Of 3,030 files on which both tools agreed and the original 1993 label matched, 46 changed acceptance. On a separately fixed 27-file challenge from two projects, reversing the printed edition order with answer letters fixed reversed the predicted change direction on 27/27 files at 1.5B and 24/27 at 7B. The older-first 7B format correctly directed 7/11 changes but raised false alarms on 15/16 stable files. The archive includes every scored response, both compiler judgments, three tested portability repairs and an Inspect AI task for evaluating other assistants.
Authors
- Yujia Liu
- Feilian Huang
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.5281/zenodo.24548235
- Primary Topic
- Software Engineering Research
- Type
- preprint