{"id":"6dd95035-40f0-4249-8f9f-4ca976772fa8","arxiv_id":"2610.39570","paper_version":1,"verdict":"CONDITIONAL","confidence":"MODERATE","novelty_score":6.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":2,"one_line_summary":"An FPGA-in-the-loop environment for LLM-agent CPU design was 9.6x faster than single-threaded RTL simulation for a long CoreMark run, and its board measurements caught degradation that short diagnostics missed.","lead":"This paper shows a development loop where LLM agents design RISC-V CPU cores and check each candidate on a real FPGA board instead of only in hour-long software simulations. On-board long-run measurements caught a performance bug that short diagnostic runs missed, and the final three-wide out-of-order core reached 5.61 CoreMark/MHz at 130 MHz.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"Per-candidate evaluation cost inside the agent loop is the unverified load-bearing claim: the 9.6x/13.7x ratios come from one first-attempt, mature-flow FPGA measurement, while Table I's in-loop record shows 40 FPGA implementations for 6 candidates.","rationale":"I read the paper as claiming: (1) a controlled per-candidate speed comparison (9.6x CoreMark, 13.7x Embench); (2) a case study where long-run board measurement caught degradation a short diagnostic missed; (3) a final core at 5.61 CoreMark/MHz presented as exceeding published soft cores. The load-bearing assertion connecting them is that board-based long-run evaluation should steer candidate selection because it is faster and strictly more informative.\n\nThe case study is the strongest part and I find no flaw in it: the -2.62%/+10.29% windows are arithmetically consistent with +9.98% over 8,000 iterations, the board and RTL counts agree, the firmware control rules out the firmware confound, and the absorbing-state mechanism (distance-7 prediction blocking retraining while holding a reservation station) is concrete, with the residual gap that the fix was validated at 400-iteration RTL length rather than on the board over the full run.\n\nThe speed comparison is where the central argument is least secure, and it is the headline quantitative claim. Section III explicitly measures each stage once, times only successful runs, and relies on first-attempt timing closure with pre-established settings. Table I's 40 implementation entries for 6 implemented candidates is the only in-loop evidence about real P&R cost, and it points to multiple attempts per candidate. The paper discloses the measurement conditions but never connects them to loop-wide economics, and the classifier found no stated limitations, so this gap is unresolved rather than acknowledged. My proposal is a concrete reconstruction from the repository logs that would settle whether per-candidate FPGA cost is actually below per-candidate RTL cost.\n\nI do not see internal inconsistency, circularity, or invented entities. The NaxRiscv/VexRiscv comparison is confounded by speed grade, memory system, compiler, and scope, but the Table II footnote discloses this and it is secondary to the environment claim, so I do not make it the primary concern. The reader's weakest_assumption identifies exactly the representativeness issue; my pass confirms it and sharpens it with the retry-rate reading of Table I. Since the paper's scoped claims remain defensible and the case study stands, the CONDITIONAL verdict is unchanged.","tokens_in":9455,"tokens_out":18008,"duration_ms":138062,"concrete_test":"From the repository's candidate records and Vivado log timestamps, reconstruct per-candidate wall-clock on both sides: sum all 40 recorded FPGA implementation entries (including resumptions) plus memory updates, programming, and capture, divided by the 6 implemented (or 2 board-evaluated) candidates; likewise sum the 115 RTL simulations plus model builds across 27 candidates. If the FPGA per-candidate mean is not at least 3x below the RTL per-candidate mean, the controlled 9.6x ratio does not represent agent-loop economics and the abstract's speedup framing should be re-scoped to the single-candidate, first-attempt closure case.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The paper's motivating assertion is that FPGA-in-the-loop evaluation is both faster than full RTL simulation and more informative than short diagnostics, so it should steer agent candidate selection. The informativeness pillar holds: the Section IV.C case study is corroborated by two independent board runs, a full-length RTL simulation reproducing the board tick count, a firmware control (Fig. 6, baseline core with modified firmware flat through 300 iterations), and aggregate arithmetic consistent with the per-iteration windows (-2.62% over iterations 2-237, +10.29% from 238 on, weighted over 8,000 iterations approximates the reported +9.98%). The speed pillar is the weak point. Section III measures each stage once, times only successful runs, and reports the FPGA re-implementation \"reused previously established settings and met setup and hold timing on the first attempt\". Table I then records 40 FPGA implementation entries (including checkpoint resumptions) yielding 6 implemented and 2 board-evaluated candidates, so even allowing the table is not a complete census, the loop's own record points away from first-attempt closure. At 15-25 minutes per P&R attempt, plausible retry rates put per-candidate FPGA cost at two to three times the controlled 24.5 minutes, compressing the 9.6x CoreMark ratio toward the low single digits for shorter workloads; the 13.7x Embench figure amortizes one P&R across 18 benchmarks, which does not describe single-candidate agent decisions. The paper states these measurement conditions but not this representativeness gap as a limitation, and the abstract and conclusion (b5, b120) present the ratios unqualified. The case study and final core performance do not depend on the speedup, but the environment's headline advantage does.","agreement_with_reader":"agree"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper presents a human-supervised development environment in which LLM agents edit RISC-V RTL and evaluate candidates on an FPGA board rather than only by long RTL simulation. The authors describe the agent loop, functional checking, a shared candidate record, and an FPGA testbed, and they report a development run that turns a single-cycle RV32I core into a three-wide out-of-order RV32IM core reaching 5.61 CoreMark/MHz at 130.137 MHz. They report that for one frozen candidate running 8,000 CoreMark iterations, FPGA evaluation including implementation was 9.6x faster than single-threaded Verilator simulation, and 13.7x faster for the 18-benchmark Embench-IoT set. The central case study shows a predictor-modified core that improved on a short 10-iteration diagnostic but degraded after iteration 238; per-iteration RTL analysis attributes the step to an absorbing load-wait predictor state, and the authors report a non-absorbing fix and its selection for implementation.","tokens_in":9712,"tokens_out":10300,"duration_ms":83472,"significance":"The long-run degradation case study is the most convincing part of the paper. The transition is localized to iteration 238 in Fig. 6; a baseline core running the modified firmware stays flat through 300 iterations, ruling out firmware as the cause; the aggregate 9.98% increase is consistent with the per-iteration windows; and a full-length RTL simulation reproduced the board tick count. The final core's performance, resource usage, and timing slack are concrete, and the core is compared to published VexRiscv and NaxRiscv figures with an honest note about differing speed grades, memory configurations, compilers, and design scope. If the stated results hold, the environment is a useful step toward closing the loop between LLM-generated RTL changes and physical-board measurements. The main weakness is that the headline speed advantage is measured from a single successful first-attempt implementation, while the paper's own activity record suggests that repeated FPGA implementiations occur inside the loop; this gap needs to be addressed before the speed claim can carry the weight the abstract and conclusion give it.","major_comments":[{"comment":"The 9.6x and 13.7x speedups are computed from one successful implementation pass. Section III states that \"Model build, full-length simulation, FPGA re-implementation, and result capture were each measured once\" and that the FPGA re-implementation \"reused previously established settings and met setup and hold timing on the first attempt.\" Table I records 40 FPGA implementation entries for only 6 implemented candidates and 2 board-evaluated candidates, with 115 RTL simulations across 27 candidates. The controlled measurement therefore characterizes the favorable single-attempt case, not the cost distribution actually experienced in the agent loop, yet the abstract and conclusion present the ratios as the environment's advantage. Please report the number and timing of failed or repeated implementation attempts and the resulting per-candidate cost, or explicitly restrict the speed claim to the single successful implementation measured here.","section":"Section III, Fig. 4, Table I","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The 13.7x Embench figure amortizes one place-and-route across 18 benchmarks, as stated in Section III: \"one FPGA implementation is shared across all 18 benchmarks.\" This is a legitimate batch-throughput comparison, but it does not describe a single-candidate decision in the agent loop, where each candidate would need its own implementation. Please report the per-benchmark or per-candidate Embench cost separately, or qualify each occurrence of the 13.7x ratio as a batch figure; in its current form the conclusion overstates the per-decision advantage.","section":"Section IV.B and Section III (Embench comparison)","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The predictor root-cause analysis is validated only up to a 400-iteration RTL run (\"Clearing the predictor entry instead of storing distance 7 eliminated the abrupt slowdown in a 400-iteration RTL run\"), and Fig. 5(c) shows the non-absorbing fix only as \"selected for implementation.\" The paper never states whether this fix is part of the final accepted core or whether the fixed core passed full-length board acceptance. Since the abstract claims that the board result \"led to RTL-based root-cause analysis and a fix,\" please state the fate of the selected fix and, if it was adopted, report its full-length board result; if it was not adopted, say so and soften the claim accordingly.","section":"Section IV.C and Fig. 5(c)","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"Please copyedit for typos and spacing, including \"sincecubic\" in Section III, \"a Artix-7\" in the abstract, and \"13.7×faster\" in the conclusion.","section":"Global","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The broken axes and separately scaled panels make it difficult to visually compare the absolute durations across the two workloads; please add the numerical durations to the figure or use a consistent scale so the reader can see the 3.91 h versus 24.5 min and 15.05 h versus 65.7 min comparisons directly.","section":"Fig. 4","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Please report the actual board tick counts from the two independent board runs and their agreement, since reproducibility of the board measurement is a key support for the case study.","section":"Section IV.C","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The linked repository currently provides selected conversations and representative RTL snapshots; please provide a stable version or hash of the frozen final RTL, the firmware build recipe, and the exact Vivado version so the 5.61 CoreMark/MHz and the 9.6x timing measurements can be reproduced.","section":"Artifacts","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"The thing worth reading here is the predictor case study. A TAGE-lite/RAS candidate improves a 10-iteration diagnostic and then degrades the 8,000-iteration run by 9.98%, the transition is localized to iteration 238 with per-iteration RTL data, a firmware control stays flat, and the absorbing load-wait predictor state is concrete and the fix direction plausible. That is a real, well-controlled example of short evaluations misleading agent selection, and I do not see it in the cited prior work. The paper earns credit for reproducing the board tick count in full-length RTL simulation and for using two independent board runs before rejection.\n\nThe speedup pillar is softer than the abstract implies. The 9.6x and 13.7x ratios are single measurements of successful runs, with the FPGA implementation explicitly reusing established settings and meeting timing on the first attempt. The paper states those conditions in Section III, which is honest, but it never flags the representativeness gap. Table I shows 40 FPGA implementation entries producing 6 implemented and 2 board-evaluated candidates in the recorded loop, so a retry-heavy stream of candidate changes could put per-candidate FPGA cost at two to three times the controlled 24.5 minutes. The 13.7x Embench figure amortizes one place-and-route across 18 benchmarks, which does not describe per-candidate agent decisions. The case study stands on its own; the headline advantage of the environment is what softens.\n\nTwo smaller points. The 'exceeds published soft cores' framing is stronger than the Table II footnote conditions allow: speed grade -1 versus -3, different memory, compiler, and design scope. And the fix is validated at 400-iteration RTL length, not on the board. Reproducibility is partial by design: selected conversations and representative RTL snapshots, not the full harness. The GitHub link is at least concrete.\n\nThere is no circularity problem: performance numbers come from external benchmarks and external published cores, and the speedup is a wall-clock comparison of two evaluation paths. No invented entities. The main weakness is that the motivating claim has two pillars, the speed pillar is a point estimate without error bars or retry accounting, and the paper presents the ratios in the abstract without that caveat.\n\nThis paper deserves a serious referee. The case study is a genuine contribution to LLM-for-hardware evaluation methodology, and the timing claims are worth having an expert scrutinize rather than dismissing. I would send it to review with a request that the speedup claims be scoped more carefully, and I would cite it for the case study specifically.","headline":"A genuinely useful case study of FPGA-in-the-loop agent-driven CPU development, with a convincing long-run degradation diagnosis; the headline speedup numbers are honest but thinner than the summary suggests.","tokens_in":10488,"tokens_out":1292,"duration_ms":10631},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"This paper claims FPGA-board evaluation of LLM-generated CPU candidates is faster than full RTL simulation and more faithful than short diagnostic runs, demonstrated by a single-cycle RV32I core grown into a three-wide out-of-order…","keywords":["LLM agents","RISC-V","FPGA-in-the-loop","out-of-order core","CPU microarchitecture","CoreMark","RTL simulation","predictor absorbing state"],"falsifier":"A reader could settle the speedup claim by timing the same frozen RTL and firmware on a candidate whose changes force a fresh place-and-route that does not close timing on the first attempt, or by shrinking the workload until fixed implementation overhead dominates: if per-candidate FPGA wall-clock then meets or exceeds RTL simulation, the 9.6× and 13.7× results are specific to the measured conditions. The diagnostic claim is settled separately by rerunning the unfixed predictor core on the board: the absorbing-state explanation predicts the iteration-238 step reproduces across independent runs, so a run where the step appears earlier, later, or not at all would show that account to be incomplete.","tokens_in":10743,"feed_emoji":"⏱️","tokens_out":11225,"duration_ms":88666,"temperature":0.7,"pith_summary":"The paper is trying to establish that long-run measurement on a physical FPGA board, rather than RTL simulation or short diagnostic runs, should be the evaluation primitive inside LLM-agent-based CPU design. For identical RTL and firmware, FPGA evaluation including implementation took 24.5 minutes versus 3.91 hours of single-threaded Verilator simulation over 8,000 CoreMark iterations (9.6×), and 65.7 minutes versus 15.05 hours for 18 Embench benchmarks (13.7×). The paper also argues the board is strictly more informative than a short diagnostic: a predictor-modified candidate that improved in a 10-iteration run degraded by 9.98% over the full 8,000 iterations, entering a persistent slow state at iteration 238 that was traced to an absorbing load-wait predictor entry. This environment carried a human-supervised single-cycle RV32I core to a three-wide out-of-order RV32IM core that reaches 5.61 CoreMark/MHz at 130 MHz on an Artix-7, above the published VexRiscv and NaxRiscv figures. The claim matters because evaluation cost and misleading short signals are the two obstacles that most slow down agent-driven hardware development.","feed_headline":"Board-level evaluation beats RTL simulation 9.6x for LLM-built CPUs","feed_subtitle":"A 3-wide OoO RV32IM core reaches 5.61 CoreMark/MHz, and a long board run caught a degradation short runs missed.","key_machinery":"The argument is carried by the FPGA-in-the-loop evaluation loop: agents edit RTL in a separate worktree, a functional gate (lint, directed tests, and per-retired-instruction comparison against a reference model) runs first, and Vivado place-and-route plus an on-board CoreMark run at 130 MHz returns cycle counts and CRCs over UART that feed the orchestrator–worker task loop through a shared candidate record. The concrete object that does the diagnostic work is an absorbing state in the load-wait predictor: a load replay writes a distance-7 prediction that makes the load wait for older stores to commit, which prevents further replay and retraining while keeping a memory reservation station occupied, and the persistent degraded mode only appears after iteration 238. The fix that carries the paper's repair claim clears the predictor entry rather than storing distance 7, eliminating the abrupt slowdown in a 400-iteration run.","core_discovery":"On its own terms, the paper's central claim is that physical-board measurement should steer candidate selection in LLM-agent CPU development, and that it can do so at lower wall-clock cost than full RTL simulation. The evidence is a development run that started from a single-cycle RV32I core and ended at a three-wide out-of-order RV32IM core with register renaming, register-move aliasing, and a two-way BTB, reaching 730.6 iterations/s, IPC 1.60, and 5.61 CoreMark/MHz at 130.137 MHz on an Artix-7 FPGA. The evaluation-time result is that the same candidate running 8,000 CoreMark iterations costs 3.91 hours in single-threaded RTL simulation against 24.5 minutes for FPGA evaluation including implementation, a 9.6× speedup, with a 13.7× speedup over 18 Embench benchmarks. The diagnostic result is the predictor case study: a TAGE-lite plus return-address-stack candidate used 2.62% fewer cycles over iterations 2–237, then entered a persistent slower state at iteration 238, costing 10.29% more cycles thereafter and 9.98% more overall, so a short 10-iteration run would have endorsed a change that the full run rejects. Board measurement triggered RTL state tracing that identified the cause as an absorbing load-wait predictor state and led to a fix that clears the predictor entry instead of storing distance 7.","pith_inferences":["The iteration-238 transition is a concrete instance of a general failure mode: any learned predictor whose state can block its own correction will hide behind short benchmarks, so the absorbing-state diagnosis deserves a routine check across other predictors and schedulers.","The 9.6× and 13.7× figures are single measurements on one host under favorable conditions, and the recorded activity (40 FPGA implementations for only 6 FPGA-evaluated candidates) shows that per-candidate FPGA cost inside a real loop is lumpy; a candidate stream that repeatedly fails timing closure would shrink both ratios.","The paper does not run the controlled A/B that would isolate the environment's contribution, namely the same microarchitecture task with RTL-simulation-only evaluation versus FPGA-in-the-loop evaluation, leaving the size of the advantage task-dependent.","Because final acceptance required matching UART output across a full-length simulation and two independent board runs, the authors treat board and simulation results as functionally interchangeable; if that holds generally, board runs could absorb part of verification, not just performance evaluation."],"forward_implications":["Agents can iterate on CPU microarchitecture using long-run performance signal at board speed: for these workloads, per-candidate FPGA evaluation including implementation is cheaper in wall-clock than full RTL simulation.","Short diagnostic runs are not a safe surrogate for full evaluation, because predictor and scheduler state can require hundreds of iterations to saturate, as the iteration-238 transition shows.","An absorbing predictor state can be fixed without adding state, by clearing the pathological entry instead of storing it, which keeps the fix within the same design budget.","A competitive soft core can emerge from the agent flow: 5.61 CoreMark/MHz at 130 MHz surpasses the published VexRiscv and NaxRiscv figures, at a reported cost of 30,344 LUTs.","The same FPGA flow supplies timing feedback (a −0.291 ns setup violation led to separating register-move substitution data into a LUTRAM with a ready bit), so implementation and performance feedback can coexist in one loop."],"supporting_citations":[{"why":"Prior work that already puts FPGA place-and-route inside an agent loop but evaluates CoreMark on Verilator with an Fmax multiplier, never programming a board; it defines the contrast the paper's environment is built against.","marker":"[8]"},{"why":"FireSim: establishes FPGA execution as an accepted cycle-exact evaluation path, which this paper extends to feeding long-run board results back to LLM agents.","marker":"[9]"},{"why":"CoreMark: the workload; 8,000 iterations gives a 10.95 s measured interval that satisfies CoreMark's 10-second minimum runtime and defines both evaluation-time comparisons.","marker":"[16]"},{"why":"VexRiscv: the published soft core whose 2.57 CoreMark/MHz is the lower baseline the final design must exceed.","marker":"[17]"},{"why":"NaxRiscv: the published soft core whose 5.02 CoreMark/MHz the final design exceeds by 12 percent.","marker":"[18]"},{"why":"Embench-IoT 1.0: the second workload, used for the 13.7x timing comparison and the final core's 1.759 geometric-mean frequency-normalized score.","marker":"[19]"}],"fun_headline_variants":["FPGA-in-the-loop beats RTL simulation 9.6x for LLM-built CPU","Board run catches CPU slowdown that short diagnostic missed","LLM agents build out-of-order RV32IM core with FPGA guidance","FPGA evaluation steers LLM CPU design 9.6x faster than sim","Long board run exposed CPU degradation short test endorsed"],"cache_read_input_tokens":0,"weakest_assumption_plain":"Both speedup ratios come from a single controlled timing comparison in which the FPGA re-implementation reused previously established settings and met timing on the first attempt, and the argument assumes that this one-shot cost reflects how evaluation time accumulates inside the agent loop, where the recorded activity shows 40 FPGA implementations for only 6 candidates.","fun_headline_variants_meta":{"raw":{"variants":["FPGA-in-the-loop beats RTL simulation 9.6x for LLM-built CPU","Board run catches CPU slowdown that short diagnostic missed","LLM agents build out-of-order RV32IM core with FPGA guidance","FPGA evaluation steers LLM CPU design 9.6x faster than sim","Long board run exposed CPU degradation short test endorsed"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000101,"raw_usage":{"cost":0.0001012102,"is_byok":false,"cost_details":{"upstream_inference_cost":0.0001012102,"upstream_inference_prompt_cost":2.95022e-05,"upstream_inference_completions_cost":7.1708e-05},"total_tokens":1519,"prompt_tokens":1125,"completion_tokens":394,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":1001,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":313}},"tokens_in":1125,"tokens_out":394,"cost_source":"openrouter_usage","duration_ms":5303,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":313,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-30T06:02:17.623847+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"A reader could settle the speedup claim by timing the same frozen RTL and firmware on a candidate whose changes force a fresh place-and-route that does not close timing on the first attempt, or by shrinking the workload until fixed implementation overhead dominates: if per-candidate FPGA wall-clock then meets or exceeds RTL simulation, the 9.6× and 13.7× results are specific to the measured conditions. The diagnostic claim is settled separately by rerunning the unfixed predictor core on the board: the absorbing-state explanation predicts the iteration-238 step reproduces across independent runs, so a run where the step appears earlier, later, or not at all would show that account to be incomplete.","supporting_citations":[{"cited_title":"HWE Bench: An Unbounded Benchmark for LLM Hardware Development on RISC-V,","cited_arxiv_id":null,"evidence_quote":"Prior work that already puts FPGA place-and-route inside an agent loop but evaluates CoreMark on Verilator with an Fmax multiplier, never programming a board; it defines the contrast the paper's environment is built against."},{"cited_title":"FireSim: FPGA- Accelerated cycle-exact scale-out system simulation in the public cloud,","cited_arxiv_id":null,"evidence_quote":"FireSim: establishes FPGA execution as an accepted cycle-exact evaluation path, which this paper extends to feeding long-run board results back to LLM agents."},{"cited_title":"CoreMark,","cited_arxiv_id":null,"evidence_quote":"CoreMark: the workload; 8,000 iterations gives a 10.95 s measured interval that satisfies CoreMark's 10-second minimum runtime and defines both evaluation-time comparisons."},{"cited_title":null,"cited_arxiv_id":null,"evidence_quote":"VexRiscv: the published soft core whose 2.57 CoreMark/MHz is the lower baseline the final design must exceed."},{"cited_title":"NaxRiscv: Performance and area,","cited_arxiv_id":null,"evidence_quote":"NaxRiscv: the published soft core whose 5.02 CoreMark/MHz the final design exceeds by 12 percent."},{"cited_title":"VexRiscv: Area usage and maximal frequency,","cited_arxiv_id":null,"evidence_quote":"Embench-IoT 1.0: the second workload, used for the 13.7x timing comparison and the final core's 1.759 geometric-mean frequency-normalized score."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}