potentialpaper

Veri-Sure: Multi-Agent RTL Code Generation with Temporal Tracing, Slicing and Formal Verification

Jiale Liu, Taiyu Zhou, Tianqi Jiang

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose Veri-Sure, a multi-agent framework for more reliable and robust RTL code generation, and VerilogEval-v2-EXT, a benchmark that works toward industrial-level Verilog coding tasks.

Abstract. In the rapidly evolving field of Electronic Design Automation (EDA), the deployment of Large Language Models (LLMs) for Register-Transfer Level (RTL) code generation has emerged as a promising direction. However, because RTL code describes concurrent hardware behavior with strict cycle-level timing and thus differs fundamentally from software code, LLM-based RTL code generation remains bottlenecked by (i) sparse feedback and limited test coverage of simulation-centric evaluation, (ii) regressions and repair hallucinations introduced by whole-file regeneration during debugging, and (iii) semantic drift as intent is reinterpreted across repair iterations and agent handoffs. In this work, we propose Veri-Sure, a multi-agent framework that establishes a design contract to align agents' intent and uses a patching mechanism guided by static dependency slicing to perform precise, localized repairs. By integrating a multi-branch verification pipeline that couples trace-driven temporal analysis with formal checking, Veri-Sure can generate RTL code with better reliability and robustness. We also introduce VerilogEval-v2-EXT, extending the original benchmark with 53 more industrial-grade design tasks and stratified difficulty levels, and show that Veri-Sure achieves state-of-the-art verified-correct RTL code generation performance, surpassing standalone LLMs and prior agentic systems. Code and dataset are available at https://github.com/xyjoey/Veri-Sure.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
30 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper describes a comprehensive system for generating Verilog code from a natural language description. All the reviewers were impressed by the scale of the experiments, and some of them commented on the quality of the writing as well.

Despite all reviewers being positive, the following needs to be clarified in the authors' response.

  1. The questions that the Reviewer msJT has raised.
  2. The paper lacks scholarship. The oldest citation I found in the paper is from 2023, while it deals with an old topic in computing science. The related work section lacks citations beyond the LLM world, particularly in the foundations on which this work stands, including model checking, verification, and automated debugging.
Final justification

During the author-reviewer discussion period, all reviewers agreed that the paper makes important contributions and should be accepted. In particular, reviewer msJT was satisfied with the author responses. The authors also agreed to improve the paper's scholarship by adding related work that predated LLMs, as all papers should. Therefore I recommend the paper be accepted.

Area Chair s3ev · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper describes a comprehensive system for generating Verilog code from a natural language description. All the reviewers were impressed by the scale of the experiments, and some of them commented on the quality of the writing as well.

Despite all reviewers being positive, the following needs to be clarified in the authors' response.

  1. The questions that the Reviewer msJT has raised.
  2. The paper lacks scholarship. The oldest citation I found in the paper is from 2023, while it deals with an old topic in computing science. The related work section lacks citations beyond the LLM world, particularly in the foundations on which this work stands, including model checking, verification, and automated debugging.
Final justification

During the author-reviewer discussion period, all reviewers agreed that the paper makes important contributions and should be accepted. In particular, reviewer msJT was satisfied with the author responses. The authors also agreed to improve the paper's scholarship by adding related work that predated LLMs, as all papers should. Therefore I recommend the paper be accepted.

1 comment
Authors · CommentOpenReview ↗

Response to Meta Review

Dear AC,

Thank you for the positive meta review and for the clear guidance on our rebuttal.

Regarding the points you raised:

  1. We have responded to each of msJT's weaknesses and questions in the corresponding rebuttal, please refer to the post for details.
  2. When writing this paper, we aimed to target the emerging area of multi-agent systems and LLM-based code generation, which is why the citations are recent. However, we agree that the paper would be stronger if it incorporated earlier, non-LLM work on these problems from the broader computer science literature. In the revision, we will add a discussion connecting our design to these lines of work: (i) feedback-driven refinement frameworks, (ii) automated debugging and fault localization, and (iii) formal verification practices in CS and EDA, including bounded model checking, assertion-based verification, and SAT-based equivalence checking. We will revise the Introduction and Related Work to include these citations and briefly state how our work builds on and differs from them.

We hope these clarifications and new results address the concerns raised in the meta review, and we are happy to answer further questions in the discussion period.

Reviewer DJ6SOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces Veri-Sure, a multi-agent framework for RTL (Verilog) code generation. The framework incorporates an architect agent that produces a JSON design contract from user prompts, a verifier agent that produces a self-checking test bench and a coder agent that generates RTL code conditioned on the specification. When compilation fails, an asserter agent and a boolean proofer agent can provide hints to a debugger agent that performs minimal, localized repairs to the RTL code. Trace-driven temporal analysis is used to help limit edits to only the cone of logic that could influence failing outputs.

The authors also contribute VerilogEval-V2-EXT, an extension of the VerilogEval-2 benchmark suite with 53 new, more challenging tasks in the same format as the original benchmark suite. The authors show that the new tasks are more complex than those of the original set along several axes.

The evaluation section compares Veri-Sure against single-agent simulator feedback baselines along with two multi-agent frameworks (MAGE & VerilogCoder) using recent backbone models. They also compare against both frontier and open weight standalone LLMs. Veri-Sure produces state of the art performance outperforming all other approaches compared. Finally, an ablation study is performed which demonstrates that disabling any component of Veri-Sure degrades performance.

Strengths and weaknesses

The paper is well organized and put together. The authors did a good job describing the design of that is a fairly complex system with multiple components in a limited amount of space.

The evaluation is very comprehensive. The authors have gone out of their way to test a large number of open weight models in standalone and single-agent configuration. The results table is well-formatted and easy to parse

The authors state that frontier models are fairly strong out of the box with GPT 5.2 getting a 59.70% functional pass rate. This is a good justification for the extension of VerilogEval-V2 with harder benchmarks as the authors have done. As frontier LLMs get stronger and the bar for state of the art is raised, there is a need for harder and harder benchmarks. On the flip side, I would have liked to see the authors go even further with their benchmark suite extension, and include more tasks that are clearly out of range of current approaches, to provide some degree of futureproofing. As it is, it seems not that unlikely that a paper submission next year could solve 100% of the problems in VerilogEval-V2-EXT.

The authors have open sourced Veri-Sure and VerilogEval-V2-EXT. The code seems fairly straightforward and I am happy that this is open source. Some criticism that I would have are that some parts could be better commented. For example, some key functions in trace_report.py could use a docstring briefly explaining their purpose and what they output, as it's not always obvious to this outsider.

Another potential area of improvement is that it could make sense to package this in a docker container. The instructions in the repository say "Install Verilator and SymbiYosys", but they do not say which versions to install. However, it's likely that future versions could become incompatible with the code in this repository. Packaging this as a docker container avoids such problems.One

Questions

I was going to ask about token usage and cost, but I see that you already have that covered in Appendix C.3. Well done.

Suggestions: I've pointed to some issues with your open source repository above. I think these issues are relatively minor and easy to address, but I do think that you could improve commenting in your codebase, particularly around key functions and anything that you think might not be obvious to someone not familiar with the codebase. A docker container would also make your submission more futureproof, or failing that, you should document the exact versions of other external dependencies used.

Limitations

Yes

Final justification

Currently maintaining my rating. This paper is more rigorous and of higher quality than all the other papers I've seen in this category.

Formatting concerns

No formatting concerns.

7 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank Reviewer DJ6S for the careful review, the encouraging assessment, and for reading our codebase to give practical suggestions.

Extending the benchmark. We also agree with you that, with newly released frontier LLMs and frameworks, existing benchmark problems are being solved at an unprecedented pace. In a few years, a state-of-the-art LLM might pass all problems just by running in a simple sandbox environment.

Still, two observations make us believe the benchmark will stay useful for a while. First, the remaining headroom is larger than it looks: the best system still fails 10 of the 67 Hard tasks (85.07%), and under a stricter protocol we evaluated during this rebuttal, which is the golden testbench withheld from agents and used only as the final gate, the overall Pass@1 drops to 79.90% (Hard: 65.67%), so the harder "self-verification" problem is far from solved. Second, as frontier models grow more capable but also more expensive, a question of growing practical importance is how far smaller and cheaper models can be pushed by this kind of system. We thank you for noting this important point and we will follow your advice to try to make this benchmark more challenging and useful for evaluating frontier systems.

Docker packaging. In principle, the framework is not version-sensitive, because it drives the tools through stable command-line interfaces. For the record, our experiments used Verilator 5.044, Yosys 0.60 with SymbiYosys v0.60, and Z3 4.15.4 (Python ≥ 3.10). We will document these explicitly in README.

We have now also packaged Veri-Sure as a Docker image together with a compose file. Per the rebuttal policy we cannot post links here, so the Dockerfile and docker-compose.yml will be updated in our code repo later. The image is built on python:3.10-slim with the EDA toolchain and C/C++ toolchain for Verilator. We thank you for this excellent suggestion.

Code comments. We will add docstrings to the key functions in our code, explaining each function's purpose, inputs, and the structure of what it outputs, to help readers better understand them.

Thanks again for your review and suggestions.

Reviewer DJ6S · CommentOpenReview ↗

Improvements

Thank you for your clarifications regarding the difficulty of the benchmark. In my opinion, it's better to make the harder benchmarks very difficult, and even include some aspirational benchmarks in there (e.g. design a whole simple CPU/SoC) given how fast the field and frontier models are progressing. Just ask yourself how likely is it that your current tasks might be fully solved in 3 to 5 years. If you contribute a set of benchmark to the field, it's best to plan for it to be hard enough that it can have as much longevity as possible. That being said, it's good to know that hard Pass@1 is not nearly fully solved, which might give your benchmark some longevity.

We have now also packaged Veri-Sure as a Docker image together with a compose file.

This is the right move to ensure that your results are replicable. Well-done.

Authors · CommentOpenReview ↗

Thank you for the follow-up and again for the thoughtful advice on benchmark longevity.

Following your suggestion, we do plan to incorporate some "aspirational" problems, mainly about system-scale tasks that are clearly beyond current approaches, for example a pipelined CPU core, SOC-style integration blocks, or other control-related tough tasks like a DMA engine or a cache controller. Just like you, we look forward to the day when LLMs can complete such designs fully automatically and we hope our work could contribute towards there.

Reviewer msJTOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors propose a multi-agent system for generating Verilog/RTL from natural language. The framework compiles the specification into a shared design contract so that the agents don't drift on intent. The debug loop is innovative and smart in the way it tackles a smulation failure. Instead of regenerating the whole file, it finds the first diverging cycle, uses static dependency slicing to narrow down the suspect RTL block, and then patches only that block. Two formal helpers (assertion generation for timing, Boolean equivalence for combinational logic) provide diagnostic hints, while the golden testbench is the final accept/reject. The authors also claim to extend VerilogEval-v2 with 53 industrial-style tasks and difficulty labels; with GPT-5.2 it reports 93.3% functional Pass@1, beating the existing MAGE and VerilogCoder.

Strengths and weaknesses

Strengths:

  1. The localized-patching idea is probably their biggest strength. Slicing the failing output back to a small set of suspect blocks and only editing those, is not only sensible but a smart way to avoid full-file regeneration. This is supported by ablations as well.
  2. Trace-driven temporal analysis with the off-by-one alignment check aims multi-cycle bugs that simulation logs usually don't help diagnose. Similarly, failure analysis in the appendix adds significant value to the manuscript.
  3. Baseline coverage and benchmark extension are appreciated.

Weaknesses:

  1. The paper introduces the design contract as the central representation rigorously used by the modules downstream, however, provides no evidence that the contract faithfully captures the original natural-language specification in the first place. Since the assertions, reference models, and formal obligations are all derived from this LLM-generated contract, the framework can verify consistency with the contract rather than correctness with respect to the user's intent. While the paper does acknowledge that the generated formal artifacts are advisory, the reliability of the contract itself is not evaluated (unless I overlooked/misunderstood something). This is a major weakness -- unless explicitly clarified in the rebuttal.
  2. Another major weakness is that the authors evaluate/report the full-pipeline only with two models (GPT-5.2 and DeepSeek-3.2), where the latter at 71.3% is actually lower than single-agent Gemini-3-Pro ($\sim$83.7%) and GLM-4.7 ($\sim$77.0%). So, I can't tell how general the contribution is without seeing the full pipeline on a couple more backbones, especially Gemini-3-Pro and GLM-4.7. Furthermore, their comparison with MAGE and VerilogCoder with backbones (DeepSeek, Gemini-3-Pro and GLM-4.7) should be sufficient to justify the generalization claim.
  3. In lines 251-52: "Following the setting used by MAGE, the golden testbench is provided to the Verifier/Architect as optional context and is also used as the final pass condition.", if I did not overlook something, then I wonder if giving the generation side the test it's going to be graded on risks inflating Pass@1. I'd want to see numbers with the testbench withheld from generation. I understand that this was inherited from MAGE, but can you provide explanation along with results without giving the architect this context?
  4. No variance/seeds. The temperature-0 argument isn't convincing for a multi-agent pipeline with tool feedback. For a benchmark paper I'd expect at least repeated runs on the top systems.
  5. Some of the motivating claims (semantic drift, reduced regressions, fewer repair hallucinations) aren't quantified against the baselines.
Questions
  1. Could you report the full three-way comparison (VERI-SURE, MAGE, VerilogCoder) at a second backbone -- ideally Gemini-3-Pro, your strongest standalone/single-agent model, and if feasible with GLM-4.7 as well?
  2. What is Pass@1 if the golden testbench is withheld from the Architect/Verifier during generation and used only as the final gate?
  3. Is it possible to report average number of repair iterations, and average lines modified per patch versus the whole-file regeneration baselines?
  4. Did/can you try to ablate the Asserter and Boolean Proofer separately? If I did not misunderstand, the formal branch is only ablated jointly, and the Boolean Proofer covers a narrow (latency-0) combinational slice.
  5. Given the formal artifacts are advisory and acceptance is the testbench, what does "verified-correct" convey?
Limitations

Limitations are provided, but:

  1. They are in the appendix, not in the main.
  2. They are not exhaustive.

If the authors cannot convincingly address the highlighted weaknesses, then in case of acceptance, they must expand their Limitations section accordingly.

Final justification

It's a well-executed and an honestly-analyzed system with a useful benchmark. The rebuttal was strong, which resolved the contract-fidelity, generality, testbench-leakage, and edit-locality concerns convincingly, leaving the absent variance as a revision-noted residual. As a result, I have decided to move my initial score from borderline accept to a clear accept with clarity moving from good to excellent.

Formatting concerns

Conclusion closes on page 10 instead of page 9.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank Reviewer msJT for the positive score and the thoughtful and constructive review. We hope the below clarifications and additional experiments can address your concerns.

W1, Reliability of the design contract. This is an excellent point and thanks for pointing this out. We manually examined all 209 contracts from our main run against their natural-language specs, in which we found 12 (5.7%) contracts contain an error, including 10 functional contradictions (K-map derivation, waveform reproduction, and FSM output semantics), 3 hallucinations constraints, and 0 interface errors.

Interestingly, only 3 of these 12 tasks overlap with our true failures in Table 6. The other 9 were still solved because the Debugger obtains information from testbench simulation. We also re-tried the 3 overlapping tasks with the contract removed, and they still fail, which means they are intrinsically hard rather than bottlenecked by contract errors. Overall, we believe the contract brings a net gain and when it errs, the trace-driven debug loop is highly capable of fixing it. We will add this finding to the appendix and reflect this in the expanded Limitations.

W2 & Q1, Comparison on more backbones. Our original design was to evaluate the full pipeline with one strong closed-source model (GPT-5.2) and one weaker open-weight model (DeepSeek-3.2). Following your suggestion, we now present the full three-way comparison on two additional backbone settings. Note that the access to Gemini-3-Pro has been deprecated by Google, so we can no longer run new experiments on it. We therefore adopt the open-weight DeepSeek-3.2 and GLM-4.7 as the backbones as you also suggested.

Method (Func. Pass@1) Easy Medium Hard Overall
DeepSeek-3.2 (standalone) 80.39 64.84 41.79 61.24
DeepSeek-3.2 (single-agent) 84.31 67.03 44.78 64.11
MAGE (w. DS) 90.20 70.33 46.27 67.46
VerilogCoder (w. DS) 86.27 68.13 44.78 65.07
Veri-Sure (w. DS) 90.20 73.63 53.73 71.29
GLM-4.7 (standalone) 90.20 70.33 44.78 66.99
GLM-4.7 (single-agent) 94.12 81.32 58.21 77.03
MAGE (w. GLM) 94.12 87.91 70.15 83.73
VerilogCoder (w. GLM) 96.08 85.71 64.18 81.34
Veri-Sure (w. GLM) 96.08 91.21 77.61 88.04

Veri-Sure also shows superior performance on the two additional backbones, especially on the Hard set. Interestingly, the size of the gain tracks the backbone's ability to act on feedback rather than its standalone RTL knowledge. GLM-4.7, trained for agentic coding, converts even plain simulator logs into +10.04 pp and benefits the most from our structured diagnostics, while DeepSeek-3.2 converts the same logs into only +2.87 pp. Complementing GPT-5.2's results, raw logs give it +1.43 pp overall gain and zero on Hard set, because its residual failures are deep temporal bugs hard to localize. Yet with our framework, it obtains a +15.31 pp over its single-agent loop. We will include these results in our revision.

W3 & Q2, No golden TB. From the behavior we observed, when the golden testbench is available, the Verifier tends to keep its interface/timing conventions and augments it with additional stimuli. We inherited this protocol from MAGE and we believe MAGE adopts it because the natural language spec alone often underdetermines testing conventions. Feeding the golden TB better assesses the design and coding abilities of these frameworks/LLMs rather than their "guessing" abilities of the intents of the problems. When the golden testbench is withheld, the Verifier must synthesize a self-checking testbench from the contract alone, and the golden testbench is used only as the final acceptance gate.

We ran this withheld setting on all 209 tasks, and found that: overall functional Pass@1 is 79.90% (Easy 90.20 / Medium 84.62 / Hard 65.67), versus 93.30% with context, showing a 13.4 pp drop. The drop has two causes, which we observed in the logs: (i) the self-written testbench may under-cover corner cases, so a buggy design passes the repair loop and only fails at the final gate; (ii) the self-written testbench may itself be wrong, in which case the debug loop is misdirected into "fixing" correct code against a faulty gate. Still, Veri-Sure outperforms both standalone GPT-5.2 (76.56%) and the single-agent feedback loop (77.99%), where the latter still consumes golden-testbench simulation feedback, meaning the framework's advantage is not an artifact of seeing the test. We will include these results in our revision.

W4, Variance and repeated runs. We agree with you that making temperature 0 does not make this whole system deterministic. However, due to budget constaints, repeating all compared systems (even the top systems) would incur API costs of thousands of dollars, which is infeasible for us. We also note that the original MAGE and VerilogCoder papers also report single-run numbers without repeated experiments, and our comparison ran every system once under identical conditions. Please accept that within what we can afford, we tried to control the variance as much as possible and we apologize for not being able to provide variance for the data. We will state this explicitly in limitations.

W5, Quantifying motivating claims. For semantic drift: all downstream agents (Verifier, Coder, Asserter, Boolean Proofer) condition on the same linted contract instead of independently re-interpreting the natural-language spec, so drift is structurally confined to contract errors, which we measures at 5.7% as stated in W1. Letting every agent read the raw spec instead (w/o Design Contract) costs −2.9 pp (ablation), which quantifies the drift this mechanism removes. For regressions and repair hallucinations: each localized patch modifies on average 7.9 lines (292 characters), preserving ~90% of the file verbatim, and the rollback rule discards any patch that does not improve the failure signature, so a repair trial can never worsen the design. In terms of baseline, forcing whole-file regeneration at every fix drops Pass@1 from 93.30% to 89.95%, and removing tracing, slicing, and patching together drops it to 82.30% (−11.0 pp, see ablation). We will state this more clearly in the revision.

Q3, Repair iterations and patching. From the statistics of our saved results, 169 of 209 tasks (80.9%) needed zero repair. When averaged over all 209 tasks, Veri-Sure applies 1.14 fixes per task, and 5.97 fixes per repair-needed task. Per fix, a localized patch modifies on average 7.9 lines (292 characters), versus 68.8 lines (1,944 characters) with whole-file regeneration, meaning that each patch touches only ~10% of the content a regeneration rewrites. Replacing our localized patching with whole-file regeneration at every fix drops overall Pass@1 from 93.30% to 89.95% (−3.35 pp), confirming that localized repair contributes to both efficiency and accuracy. We will include the statistics in our revision.

Q4, Ablating Asserter and Boolean Proofer separately. You are understanding this correctly, the Boolean Proofer only targets latency-0 combinational logic while the Asserter covers clock/reset/latency of sequential logic. Given that 10 of our 13 true failures are sequential/timing cases and the Hard subset is dominated by stateful designs, the gain by the formal branch (+3.8 pp overall and 11.9 pp on Hard) is attributable mostly to the Asserter, with the Boolean Proofer contributing on a small set of combinational-arithmetic tasks (for example, the signed-multiplier counterexample in Figure 5). We ran the ablation only on tasks that invoked the formal branch and recomputed the metrics. Our results are: without Asserter, 88.52% overall / 74.63% Hard (−4.78 pp / −10.45 pp); without Boolean Proofer, 92.34% overall / 82.09% Hard (−0.96 pp / −2.99 pp).

Q5, Verified-correct. We use "verified" in its standard EDA sense, that is functional verification, i.e., the design passes the executable testbench. "Verified-correct" simply means every accepted design has passed the golden testbench, and it is unrelated to the formal branch, which we use to aid debugging. We understand the term may be confusing for readers, and we will properly clarify and define this in the revision.

Limitations. Thanks for pointing this out. We firmly believe limitations and failure analyses are important for understanding the decisions and working principles of this kind of modern LLM/Agent systems. We will expand the discussions of limitations and try moving these (or at least part of them) to the main text.

Based on the discussions above, the expanded section will cover: (i) the correctness of contracts, (ii) the dependence on golden testbench, (iii) the absence of repeated runs, (iv) the reliability of LLM-generated formal hints, (v) the current Verilog-only scope of the framework and benchmark.

Formatting issue. We sincerely apologize for this oversight. We will carefully recheck the layout in the revision.

We observe quite a few new interesting results in the rebuttal process and would like to thank you again for the insights. We will incorporate these results and discussions in our revision and do hope they adequately address your concerns.

Reviewer msJT · CommentOpenReview ↗

Response to authors' rebuttal

Thank you. You have sufficiently addressed weaknesses W1, W2, W3, W5 and answered all questions. The remaining concerns: W4 and the strongest-backbone (Gemini-3-Pro) case remains open due to deprecated access (W2/Q1). Since it was a strong rebuttal, I'm raising my score; however, it's conditioned on the camera-ready folding in the ~80% withheld-testbench number alongside 93.30% in the main table, the per-backbone and contract-audit results, expanded main-text limitations, and the non-LLM scholarship the AC requested.

Authors · CommentOpenReview ↗

Thank you very much for the positive response and for raising the score. We truly appreciate the time and effort you put into reviewing our work and your comments have made this paper substantially stronger. We will incorporate the points you mentioned in our revision.

Reviewer eZuxOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper attempts to scale up correctness in Electronic Design Automation (EDA) by producing Register Transfer Levels (RTL) descriptions which are typically written in hardware description languages such as verilog and system verilog by using LLMs. The pipeline looks like Natural Language -> LLM -> RTL description. However general purpose coding models are not sufficient for generating this because they are unable to produce code that respects the required intent, the required protocols, or the hardware constraints. There is also a dearth of training data that would improve the performance of LLMs wrt HDL. The two main contributions are a framework that formalises intent as well as produces localised repairs, and a benchmark that includes several new challenges or tasks.

Strengths and weaknesses

Strengths

  1. Strong Experimental Data and Reproducibility: The data provided in the anonymous github repo is informative, has all the required code, as well as the benchmarking tests which supports reproducibility.
  2. The prompts provided for the agent are informative and helpful for the end-user as well, making the code and the experiments easy to understand and comprehensive.
  3. The new benchmark provided fills a gap in the previous existing benchmark and it will help further research in this direction, not just for Veri-Sure but for other tools in the future as well.

Weaknesses

  1. The pipeline structure is a bit unclear from just reading the paper. The agents all seem to be disjoint and working separately initially but it turns out that it is not structured as the brief description in the beginning makes it out to be.
Questions

How would you address the situations where the patching fails due to the RTL description not having enough information, the structured output misses to add an arithmetic or mathematical assumption, and the boolean proofer cannot produce the correct formal artifact?

Limitations

The authors have addressed the limitations adequately

Final justification

Thank you for clarifying the structure of Veri-Sure. Upon inspecting the run logs, it does indeed address the issues. If the discussion of the three situations is moved to the main text with more detail then it would greatly improve the presentation of the paper. All my concerns have been addressed.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank Reviewer eZux for the positive comments and the questions raised. We address the concerns below.

W1, Pipeline structure. We agree that this should have been stated more clearly, and we apologize for the confusion. Veri-Sure is best understood as one structured workflow in which agents cooperate by passing typed artifacts rather than free-form messages.

In the main flow, the Architect first compiles the prompt into a JSON contract, which a linter validates (on lint errors, the Architect is re-invoked with the error report). The linted contract is then passed to the Verifier, which writes the self-checking testbench, and to the Coder, which writes the RTL, both of which conditioned on the same contract to keep the interpretations aligned. The design then enters compile-and-simulate, and if all checks pass, the flow terminates and a correct code piece is saved.

Only on failure does the pipeline enter the debug loop. The Debugger calls trace-driven temporal analysis and static dependency slicing tools to convert the raw failure into a trace report plus a small suspect-block set. The Asserter and Boolean Proofer auxiliarily try to find assertion violations and counterexamples, which are injected into the Debugger's prompt. The Debugger Agent edits code in this loop until no mismatch happens anymore.

We will revise related sections to make this clearer.

Q1, Failure modes. We believe this is an important part for this kind of work and have partilly covered the failure modes in Appendix C.1 and C.2. Regarding your questions, all three situations you describe do occur in our run logs and here are the analyses:

(a) Patching fails because the RTL description does not carry enough information. This is actually our primary failure mode. 10 of the 13 true failures in Table 6 are sequential/timing cases (including ambiguous FSM transition timing, pulse alignment, and similar), where localization is typically correct but the repair budget runs out before a fully correct patch is found. This is usually due to a poor definition in the problem description (Prob117_circuit9, Prob145_circuit8) or agent's failure to infer the actual intent of the problem description. Thus in our framework, patches that do not improve the failure signature (tf,m)(t_f, m) are rolled back, so iteration cannot degrade the design, and when the budget is exhausted, the task is marked failed.

(b) The structured contract misses an arithmetic or mathematical assumption. This is precisely the "hard combinational arithmetic" class in Table 6 (3/13 failures). For example, in FP16/FP32 addition, the contract summary under-specifies normalization, rounding, and subnormal corner cases, which is stated as a limitation in Table 7. Importantly, the framework is robust to such contract imperfections because the trace report (based on deterministic algorithms) is derived from simulation against the golden testbench rather than from the contract, so diagnosis does not collapse when the contract is incomplete or even wrong.

To verify this quantitatively, we manually examined all 209 contracts from our main run against their natural-language specs, and found 12 (5.7%) contracts containing an error, including 10 functional contradictions (K-map derivation, waveform reproduction, and FSM output semantics), 3 hallucinated constraints, and 0 interface errors. Interestingly, only 3 of these 12 tasks overlap with the true failures in Table 6. The other 9 were still solved, because the Debugger obtains ground-truth information from testbench simulation and overrides the faulty contract. We also re-tried the 3 overlapping tasks with the contract removed, and they still fail, which means they are intrinsically hard rather than bottlenecked by contract errors. Overall, when the contract misses or errs on an assumption, the trace-driven debug loop is highly capable of repairing around it. We will add this finding to the appendix.

(c) The Boolean Proofer cannot produce a correct formal artifact. Quantitatively, across a full-benchmark run, the Proofer was invoked 30 times, 4 of which aborted on errors, like SMT timeout, unsupported constructs in the synthesized spec model, or an UNKNOWN solver status. As we have stated in W1 that the Proofer is auxiliary, the errors won't affect the Debugger. Also in our ablation, removing the formal branch entirely still yields 89.47% overall versus 93.30%, suggesting that they mainly accelerate diagnosis on Hard tasks (+11.9 pp).

We firmly believe limitations and failure analyses are important for understanding the decisions and working principles of modern LLM/Agent systems. We will expand these discussions and try moving these (or at least part of them) to the main text. Thanks again for the review.

Reviewer eZux · CommentOpenReview ↗

Thank you for clarifying the structure of Veri-Sure. Upon inspecting the run logs, it does indeed address the issues. If the discussion of the three situations is moved to the main text with more detail then it would greatly improve the presentation of the paper. All my concerns have been addressed.

Authors · CommentOpenReview ↗

We thank you very much for your positive assessment and are glad to see that we’ve successfully addressed your concerns. We’ll move related discussions to the main text according to your suggestions and would like to thank you again for your time and effort in reviewing our paper.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…