Pith. sign in

REVIEW 3 major objections 5 minor 84 references

Learning-based PCB routing can approach mature rule-based routers when agents act through the EDA engine's native operations in a closed loop, fed by design-rule-check feedback, rather than on grid abstractions or one-shot generation.

Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →

T0 review · deepseek-v4-flash

2026-08-04 04:27 UTC pith:OUMEFHAK

load-bearing objection The environment is a genuine contribution, but the zero-shot transfer headline rests on DRC rules partly inferred from the reference routings themselves, so treat the D3 numbers as upper bounds until that is resolved. the 3 major comments →

arxiv 2607.05915 v2 pith:OUMEFHAK submitted 2026-07-07 cs.AI

PCBWorld: A Benchmark Environment for Engine-Grounded PCB Design Automation

classification cs.AI
keywords PCB routingengine-grounded agentsdesign rule checkreinforcement learningtool-using LLMszero-shot transferbenchmark environmentgeometric feasibility reasoning
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved

The pith

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

This paper tries to establish that the right interface determines whether learning-based PCB routing can compete with industry routers. It claims that agents routing a board through an EDA engine's native operations, with the engine's design-rule check after every step, outperform grid-action reinforcement learning and open-loop LLM generation. A compact PPO policy trained only on synthetic boards transfers zero-shot to real open-source boards, reaching a clean-pass rate of 0.86 versus 0.80 for the strongest rule-based router on small boards (0.94 when the engine auto-complete action is removed). Interactive LLM agents that observe each intermediate board also beat plan-and-execute and engine-free modes on clean pass and routing quality. A sympathetic reader would care because it suggests engine-grounded interaction, not bigger models or finer grids, is the bottleneck to clear for automated PCB design.

Core claim

The central claim is that an agent's action space should be the EDA engine's native routing operations, not a cell grid or whole-artifact code generation. The paper builds PCBWorld on the open-source KiCad engine, exposing 58 step-level APIs, and formulates PCB routing as an MDP whose reward is a potential that heavily penalizes design-rule violations. Trained from scratch on synthetic boards, a small Transformer PPO policy achieves Clean Pass 0.86 on 99 small real boards (versus 0.80 for the strongest rule-based baseline) and the authors report 0.94 without the finish action. On medium real boards the same policy trails the rule-based router, and all tested LLM agents score 0 on that split,

What carries the argument

The load-bearing mechanism is the engine-grounded closed loop: every agent action is executed by the EDA engine's native PNS router, and the resulting board state plus DRC feedback re-enter the observation. The reward is a potential Φ(s)=-(f_drv(s)+λ_w·wirelength+λ_v·vias), where f_drv is a concave log penalty counting DRC violations per net, so dense per-step rewards telescope to the terminal reward and share the same optimal policy. On the policy side, a Transformer with an autoregressive pointer head selects coordinates from an engine-provided candidate set, keeping every action syntactically valid and within the engine's routing state machine.

Load-bearing premise

The evaluation assumes that converting each real board into the engine's format faithfully preserves the board's true design rules; the authors relax several DRC checks and, for boards storing no explicit clearance, set the clearance to the minimum spacing found in the board's own reference routing, which makes the reference clean by construction.

What would settle it

Re-run the D3-A and D3-B evaluations with the original, unrelaxed design-rule checks and with no clearance imputed from reference routing; if a synthetic-trained policy's Clean Pass no longer beats or approaches the strongest rule-based router, the zero-shot transfer claim rests on the relaxed evaluator rather than on the learned policy.

Watch this falsifier — get emailed when new claim-graph text bears on it.

If this is right

  • A synthetic-only-trained PPO transfers zero-shot to real small boards, outperforming the strongest rule-based router on Clean Pass (0.86 vs 0.80) and matching it on in-distribution synthetic boards.
  • Interactive tool-using LLM agents that observe intermediate board states beat plan-and-execute and engine-free generation on Clean Pass and potential gain, across all tested models.
  • Removing the engine's auto-complete action from the RL agent's action space improves small-board Clean Pass to 0.94, showing the learned policy, not engine assistance, produces feasible routing.
  • Grid-action RL collapses at finer grid resolutions while API-action PPO stays near perfect, because the decision horizon tracks routed segments rather than cells.
  • Medium real boards remain unsolved: PPO trails the rule-based router and every LLM agent achieves zero Clean Pass on the 10-board medium subset.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • If engine-grounded interaction is the right interface, RL-fine-tuned LLMs on the same environment are the obvious next step; the paper's own compact policy already hints the ceiling is higher than one-shot or open-loop prompting.
  • The benchmark's method-agnostic evaluator could double as a general test of geometric feasibility reasoning for tool-use agents beyond PCB routing, since analogous EDA tasks like placement and schematic layout share the same closed-loop structure.
  • Because the real-board evaluation relaxes several DRC checks and imputes missing clearances from each board's own reference routing, the reported clean-pass numbers are an upper bound on true manufacturability; feeding the routed boards through a stricter manufacturing rule set would test the gap directly.
  • The strong zero-shot transfer at small scale suggests synthetic generators tuned to produce harder, denser boards could extend the approach to medium boards without needing real-board training data.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit.

Referee Report

3 major / 5 minor

Summary. The paper introduces PCBWorld, a KiCad-based engine-grounded environment for PCB routing, together with PCBWorld-Bench, a benchmark with two synthetic generators (D1, D2) and 679 real open-source boards (D3), scored by eight engine-checked metrics. Agents act through 58 KiCad APIs in a closed loop with DRC feedback; wrappers support both RL (PPO/GRPO) and tool-using LLM agents. The main empirical claims are: (i) the KiCad-API action interface outperforms grid-action RL at fine grid resolutions; (ii) interactive LLM routing beats plan-and-execute and engine-free LLM generation; and (iii) a compact PPO policy trained only on synthetic D2 transfers zero-shot to D3-A, reaching Clean Pass 0.86 vs Freerouting's 0.80 and 0.94 without the finish action, thereby 'approaching a rule-based router refined over decades' (§7). On D3-B, Freerouting remains superior, and LLM agents fail entirely.

Significance. If the empirical claims hold, this is a useful step for learning-based PCB routing: it replaces grid abstractions with native-engine operations, provides a method-agnostic engine-checked evaluator, and demonstrates that engine-grounded interaction helps both RL and LLM agents. The strengths I want to credit explicitly: the environment and benchmark are open-source with transparent API catalogs (Appendix C), the dataset pipeline is described in datasheet form (Appendix O), the reward-shaping equivalence is argued from potential-based shaping (§3.2), and the paper includes useful ablations (reward density, finish removal, engine-engagement level, reward-weight controllability). The main empirical comparison is reproducible in principle, and the seed-level standard deviations are reported in Appendix L. However, the real-board transfer claim rests on the D3 design-rule reconstruction, which is the weakest load-bearing point and needs additional evidence before the headline conclusion is accepted.

major comments (3)
  1. [Appendix O.4 / Table 3] The D3 evaluation depends on the KiCad-9 reconstruction of each board's original design rules. Appendix O.4 states that the compatibility pass relaxes annular width, copper-edge clearance, hole clearance, and non-routing checks, and that 'when a board stores no explicit clearance value, the clearance is instead set to the minimum spacing observed among its own routed traces.' This makes the reference solution clean by construction and scores all methods against potentially looser rules than the source board's true manufacturing rules. The load-bearing D3-A numbers in Table 3 (PPO CP 0.86 vs Freerouting 0.80, PPO w/o finish 0.94) and the §7 'approaching rule-based routers' claim therefore may be inflated. The paper does not report how many of the evaluated D3-A/D3-B boards lack explicit clearance, how the inferred clearance compares with the original rule, or whether PPO's traces exploit
  2. [§3.2 vs §4.3] The potential Φ used to train the RL policy is also the benchmark's Pot. metric and the criterion for best-of-five rollout selection. Specifically, §3.2 defines the reward as Φ(s_T) − Φ(s_0), and §4.3 defines Pot. as ΔΦ and selects the rollout maximizing ΔΦ. Thus PPO is trained and selected on the same objective it is later scored with, which makes its Pot. and selected-rollout CP partly an alignment effect rather than an independent quality measure. This does not invalidate CP as an engine-checked threshold, but it should be disclosed and controlled: report rollouts selected on an independent criterion (e.g., wirelength/vias or a separately defined potential) and move the @1 results of Appendix L, Table 22, into the main comparison.
  3. [Table 3 / Appendix L, Table 21] The central transfer comparison on D3-A rests on a small margin (PPO CP 0.86 ± 0.03 vs Freerouting 0.80 ± 0.01 over 4 seeds). No statistical test or board-level paired comparison is reported, and the D3-B subset contains only 10 boards. Given that the D3-B conclusion (Freerouting beats PPO on larger boards) and the D3-A conclusion (PPO beats Freerouting) are both drawn from these numbers, the authors should report confidence intervals or paired tests and state how many D3-A boards drive the margin. This is not a request for a new experimental family, but the current reporting is too thin for a headline quantitative claim.
minor comments (5)
  1. [§4.3] The definition of CP is clear, but the relationship between the '38 checks' mentioned in the reward paragraph, the 28 routing-relevant codes in Appendix F, and the 35 stock error-level checks is confusing. Please reconcile the counts explicitly in one place.
  2. [Appendix O.5] The D3-B evaluation subset of 10 boards is deterministic and documented, but the choice of 'lower-median board of each bin' deserves a sentence on robustness: a single quantile choice can change the reported CP/Pot. substantially. Since only 10 boards are used, a small sensitivity to the selection rule would strengthen the claim.
  3. [Figure 6 / Table 23] The D1 result is strong, but the warped vertical axis in Figure 6 makes small differences at the top of the range hard to read. The underlying Table 23 with exact values is more informative; consider presenting the table in the main text or making the axis distortion clearer.
  4. [Appendix H.1 / M.1] The LLM prompt includes very detailed routing guidelines, including a specific layer-change detour pattern. Since the same prompt is used across all LLM models, this is fair, but the paper should note explicitly that prompt engineering is part of the evaluated method and that different prompt designs could change the interactive-vs-open-loop ranking.
  5. [Appendix K.4 / K.5] The D1 training-curve endpoints and display clipping are documented, which is good. However, the phrase 'cropped axes' in Table 17 could mislead readers into thinking the final reported routability values are clipped; please reword to clarify that clipping applies only to diagnostic validation plots.

Circularity Check

2 steps flagged

D3 evaluation clearance is read off each board's own reference routing, making the reference clean by construction; the Pot. metric also equals the RL training potential ΔΦ.

specific steps
  1. self definitional [Appendix O.4 (Preprocessing); §4.2 (D3 dataset); Table 3 Reference row]
    "KiCad-9 floor constraints for annular width, copper-edge clearance, and hole clearance are relaxed to match earlier-version board compatibility. ... when a board stores no explicit clearance value, the clearance is instead set to the minimum spacing observed among its own routed traces. — §4.2: retain only boards that remain fully connected and DRV-free after conversion."

    For each no-explicit-clearance D3 board, the evaluation clearance is defined as the minimum spacing measured in that board's own reference routing. The reference's traces therefore satisfy the clearance rule by definition, and its DRV-free status (the §4.2 retention filter behind the Reference CP=1.00 in Table 3) is guaranteed by construction, not demonstrated. The rule that certifies the reference is read off the reference itself, while O.4 also relaxes annular-width, copper-edge, and hole-clearance floors in the same pass, so the claim that D3 preserves the boards' own 'design-rule settings' is self-referential for these boards. All zero-shot D3-A/D3-B CP numbers in Table 3 are scored under this bar, and the paper does not report how many D3-A boards lack explicit clearance; looser-than-

  2. self definitional [§3.2 (Reward); §4.3 and Appendix I (Evaluation Metrics)]
    "we define a potential function Φ(𝑠) that measures the board quality, Φ(𝑠)=−[𝑓drv(𝑠)+𝜆𝑤ℓ(𝑠)+𝜆𝑣𝑛via(𝑠)] ... The MDP's reward is the terminal reward ... 𝑟𝑇 =Φ(𝑠𝑇)−Φ(𝑠0) at termination. — Appendix I: Potential Gain (Pot.↑). Our central routing-quality measure is the potential gain from the bare-board state ... ΔΦ(𝑠𝑏,𝑖)=Φ(𝑠𝑏,𝑖)−Φ(𝑠𝑏,0)."

    The RL policies (PPO, GRPO, PPO-terminal) are trained to maximize Φ, since the per-step reward telescopes to r_T = Φ(s_T) − Φ(s_0), and the benchmark's Pot. metric is defined as exactly this same ΔΦ. Moreover, the @5 protocol selects each board's single rollout as 'the rollout with the largest potential gain' (Appendix I), so RL's Pot. score and its best-of-five selection are taken on the agent's own training objective, while the LLM and rule-based rows are scored on a potential they do not optimize. The identity Pot. = RL reward holds by construction; it is bounded (CP is the primary, engine-checked metric, and Freerouting still leads Pot. on D3-A), but the RL rows' Pot. comparisons and rollout selection are self-referential.

full rationale

The paper's central comparative claims are not derived from the benchmark's own definitions: (i) the D1 grid-scale result (PPO keeps routability at grid resolutions where A2C and Sable collapse) is an empirical scaling comparison on matched instances; (ii) the interactive > plan-and-execute > engine-free ordering for LLM agents is measured on engine-checked CP/DRV with a stated mechanism (closed-loop engine feedback); (iii) the D2→D3 zero-shot transfer is a genuine train-on-synthetic/evaluate-on-real protocol. There are essentially no author self-citations; references to Jumanji, Sable, PCBench, Freerouting, KiCad, and Ng et al.'s potential-based shaping are external and correct, and the shaping equivalence is a standard theorem, not a load-bearing self-citation. Two genuinely self-referential constructions do exist. First (the load-bearing one): Appendix O.4 relaxes DRC floors and, for boards storing no explicit clearance, defines the evaluation clearance as the minimum spacing in that board's own reference routing. This makes the reference clean by construction, guarantees the 'fully connected and DRV-free' retention filter for those boards, and sets the Reference CP=1.00 tautologically; all zero-shot D3 CP numbers are scored under this self-referential bar, and the paper does not quantify how many evaluation boards lack explicit clearance. The methods-vs-methods comparison still uses one common evaluator, so PPO's 0.86-vs-Freerouting 0.80 margin is not forced by the construction, but the absolute level and the 'approaches a rule-based router refined over decades' claim rest on a rule partly read off the reference. Second (minor): the Pot. metric is literally the ΔΦ that RL optimizes, and @5 selection uses the same ΔΦ, so RL's secondary metric and rollout choice are its own training objective; this is disclosed and does not force the headline ordering (Freerouting beats PPO on D3-A Pot.). Overall: partial circularity — the reference-clean claim and the Pot. metric reduce by construction, while the core interaction and transfer comparisons retain independent empirical content; the honest score is 5, not higher, because no step forces the headline relative outcome and the circular construction is documented in the manuscript itself.

Axiom & Free-Parameter Ledger

4 free parameters · 7 axioms · 0 invented entities

No new physical entities are postulated; the novel objects here are software artifacts (the nested state dictionary, token streams, benchmark datasets), not new forces, particles, dimensions, or conserved quantities. The free parameters are the reward-shaping constants and the D3 clearance heuristic; the axioms are dominated by domain assumptions about KiCad as a ground-truth router/checker and about synthetic-to-real transfer.

free parameters (4)
  • reward weights λ_w, λ_v = λ_w = 0.002, λ_v = 0.1 (default)
    Hand-chosen trade-off between wirelength and via count in the potential Φ; reported PPO policies are trained with these defaults (Appendix G, Table 15). A 3×3 sweep shows controllability, but the main results depend on the default choice.
  • DRC penalty hyperparameters (s_agg, s_pn, o) = (3, 1, 2)
    Chosen shape of the concave DRV penalty in Eq. (3) (Appendix G); sets the breadth-vs-depth 3:1 weighting and the log-knee offset that defines the training signal near zero DRVs.
  • D3 default clearance = min spacing among the board's own routed traces (when no explicit clearance stored)
    Appendix O.4: for boards without an explicit clearance value the benchmark sets clearance to the minimum spacing observed in the reference routing, so DRC feasibility is defined by the reference geometry itself.
  • LLM step budget T = 200
    Per-episode step limit for LLM agents (Appendix M.1); affects whether LLM agents can complete boards. The RL horizon is 256 (Table 15).
axioms (7)
  • domain assumption KiCad's PNS router and DRC engine correctly implement PCB routing semantics and error detection.
    The environment's validity rests on the unmodified C++ engine (L1, Appendix B); agent actions are executed and scored by the engine without Python-side verification.
  • domain assumption The 38 error-level DRC checks (35 stock errors plus DANGLING_VIA/DANGLING_TRACK/NET_CONFLICT promoted from warnings) are an adequate geometric-feasibility criterion.
    Appendix F defines the counting convention used for both reward and evaluation; the promotion of three warning codes is the authors' modeling choice.
  • domain assumption Relaxing non-routing and floor DRC checks in the D3 compatibility pass preserves the boards' true design intent.
    Appendix O.4: annular width, copper-edge clearance, and hole clearance constraints are relaxed to KiCad-9 compatibility; if these are genuine manufacturing rules, the evaluation is permissive.
  • ad hoc to paper The minimum-spacing clearance proxy recovers the intended design rule for boards with no explicit clearance.
    Appendix O.4: clearance is set from reference-trace spacing; no independent evidence that this equals the board's original rule.
  • domain assumption Synthetic D2 gridless boards are a sufficient training distribution for zero-shot transfer to D3 real boards.
    The central transfer claim assumes D2 difficulty/geometry (4-6 nets, 8-21 pads, 2 layers) overlaps D3-A; the paper itself notes the limit on larger D3-B boards.
  • standard math Potential-based reward shaping equivalence (per-step vs terminal reward) holds at γ=0.995.
    §3.2 invokes Ng et al. [40]; Appendix K.2 notes the telescoping holds 'approximately' because training uses γ=0.995, not 1.
  • domain assumption The engine-provided candidate-point discretization does not exclude near-optimal routes.
    §3.2/H.2: RL selects only from pad centers, track/via endpoints, and an 8-way 0.5 mm offset grid; this restricts the RL policy's reachable geometry.

pith-pipeline@v1.3.0-alltime-deepseek · 47679 in / 18584 out tokens · 168144 ms · 2026-08-04T04:27:05.339551+00:00 · methodology

0 comments
read the original abstract

PCB routing is the task of connecting the nets of a board with copper traces under strict design rules, yet learning-based methods still lag behind rule-based routers. We introduce PCBWorld, an open-source engine-grounded PCB routing environment built on KiCad, an electronic design automation (EDA) engine. As a human engineer does, agents in PCBWorld interactively route a board through the engine's native operations, guided by its Design Rule Check (DRC) feedback. The environment supports both RL and tool-using LLM agents. Alongside the environment, PCBWorld-Bench provides three board datasets in the native .kicad_pcb format, two controllable synthetic generators and 679 real open-source boards. It scores any completed board with eight engine-checked evaluation metrics, regardless of the routing method. In our experiments, agents in PCBWorld consistently outperformed grid-action RL policies and open-loop LLM baselines, and an RL policy trained only on synthetic boards transferred zero-shot to real boards, approaching rule-based routers.

Figures

Figures reproduced from arXiv: 2607.05915 by Han-Seul Jeong, HyungSeok Song, Junseok Park, Seohui Bae, Soonyoung Lee, Won-Seok Choi, Youngjoon Park.

Figure 2
Figure 2. Figure 2: Core concepts of PCB routing. Pads belonging to the [PITH_FULL_IMAGE:figures/full_fig_p002_2.png] view at source ↗
Figure 1
Figure 1. Figure 1: Overview of PCBWorld and PCBWorld-Bench. Agents invoke the KiCad engine’s native API and condition each step on engine-computed feedback. this limit [5, 38], but unlike in language, vision, and games, they are not yet competitive even with rule-based routers. We attribute this limitation to how the routing problem is mod￾eled. Existing RL formulations either cast routing as cell-by-cell movement on a grid,… view at source ↗
Figure 3
Figure 3. Figure 3: Two Gym wrappers communicate with the shared engine through a unified state dictionary, which they re-encode [PITH_FULL_IMAGE:figures/full_fig_p004_3.png] view at source ↗
Figure 4
Figure 4. Figure 4: Example Action of PCBWorld. An example of make_line, where the routing_mode argument alters routing behavior through the KiCad routing engine, resulting in substantially different trace geometries across walkaround, push_n_shove, and mark_as_obstacles. reuse those of Equation (1), and 𝑓𝑑 is a monotone-increasing, con￾cave penalty that assigns a large marginal cost to the first violation on each net. On PCB… view at source ↗
Figure 3
Figure 3. Figure 3: Gym Wrappers. Two Gym wrappers communicate with the shared engine through a unified state dictionary, which [PITH_FULL_IMAGE:figures/full_fig_p003_3.png] view at source ↗
Figure 5
Figure 5. Figure 5: Example boards from PCBWorld-Bench. Repre￾sentative examples from the three board types, synthetic grid-based boards (D1), synthetic gridless boards (D2), and real-world open-source boards (D3). can add new .kicad_pcb boards as evaluation instances or define new metrics from any quantity the KiCad engine can compute. 4.2 Board Datasets [PITH_FULL_IMAGE:figures/full_fig_p005_5.png] view at source ↗
Figure 6
Figure 6. Figure 6: Simulation Results of Synthetic Grid-based Boards [PITH_FULL_IMAGE:figures/full_fig_p006_6.png] view at source ↗
Figure 6
Figure 6. Figure 6: Simulation Results of Synthetic Grid-based Boards [PITH_FULL_IMAGE:figures/full_fig_p005_6.png] view at source ↗
Figure 7
Figure 7. Figure 7: Engine engagement in the LLM agent across interactive, plan-only, and engine-free modes. Table 20 in Appendix L [PITH_FULL_IMAGE:figures/full_fig_p007_7.png] view at source ↗
Figure 8
Figure 8. Figure 8: Examples of routed boards (D3-A). Wire traces in different colors (red and blue) represent wire segments on distinct [PITH_FULL_IMAGE:figures/full_fig_p009_8.png] view at source ↗
Figure 9
Figure 9. Figure 9: Reward weight sweep (3×3 factorial). Bars show marginal means with error bars. Wirelength: left axis (or￾ange); via count: right axis (teal). robustness by accumulating the model’s intermediate thoughts, but also enables explainable reasoning behind the final action. In prac￾tice, by analyzing the model’s <think></think> blocks in routing tasks with PCBWorld, we identify several key observations, which are… view at source ↗
Figure 8
Figure 8. Figure 8: Engine engagement in the LLM agent on D2 and D3-A across interactive, plan-and-execute, and engine-free modes. [PITH_FULL_IMAGE:figures/full_fig_p007_8.png] view at source ↗
Figure 10
Figure 10. Figure 10: PCBWorld architecture. A reinforcement-learning view of the proposed environment. Three policy classes, a rule-based router as a deterministic baseline, an RL Agent built on a from-scratch Transformer, and an LLM Agent that issues tool calls, share a single Gymnasium environment through the standard action 𝑎𝑡 and the state 𝑠𝑡 , reward 𝑟𝑡 signals. Inside the environment, our contribution spans L4 (the Gymn… view at source ↗
Figure 9
Figure 9. Figure 9: Reward weight sweep (3×3 factorial). Bars show marginal means with error bars. Wirelength: left axis (or￾ange); via count: right axis (teal). Controllability through penalty weights. We test whether the policy responds to fine-grained routing objectives by sweeping the wirelength weight 𝜆𝑤 ∈ {0, 0.001, 0.002} and the via weight 𝜆𝑣 ∈ {0, 0.05, 0.1} in a 3×3 factorial design ( [PITH_FULL_IMAGE:figures/full_… view at source ↗
Figure 11
Figure 11. Figure 11: Virtual move versus physical commit. Within a routing session, [PITH_FULL_IMAGE:figures/full_fig_p016_11.png] view at source ↗
Figure 10
Figure 10. Figure 10: PCBWorld architecture. A reinforcement-learning view of the proposed environment. Three classes of routing methods, a scripted rule-based baseline, an RL agent built on a from-scratch Transformer, and an LLM agent that issues tool calls, share a single Gymnasium environment through the standard action 𝑎𝑡 and the state 𝑠𝑡 , reward 𝑟𝑡 signals. Inside the environment, our contribution spans L4 (the Gymnasium… view at source ↗
Figure 12
Figure 12. Figure 12: Session termination modes. Three distinct primitives close an open routing session. [PITH_FULL_IMAGE:figures/full_fig_p017_12.png] view at source ↗
Figure 11
Figure 11. Figure 11: Virtual move versus physical commit. Within a routing session, [PITH_FULL_IMAGE:figures/full_fig_p014_11.png] view at source ↗
Figure 13
Figure 13. Figure 13: Corner posture control. When two endpoints are joined by an L-shape, the router must choose between leaving the [PITH_FULL_IMAGE:figures/full_fig_p017_13.png] view at source ↗
Figure 12
Figure 12. Figure 12: Session termination modes. Three distinct primitives close an open routing session. [PITH_FULL_IMAGE:figures/full_fig_p014_12.png] view at source ↗
Figure 14
Figure 14. Figure 14: Via placement and layer transition. In a multilayer board, electrical connections between different layers are mediated [PITH_FULL_IMAGE:figures/full_fig_p017_14.png] view at source ↗
Figure 13
Figure 13. Figure 13: Corner posture control. When two endpoints are joined by an L-shape, the PNS router must choose between leaving [PITH_FULL_IMAGE:figures/full_fig_p015_13.png] view at source ↗
Figure 15
Figure 15. Figure 15: Obstacle interaction policies. set_routing_mode chooses one of three policies for interacting with existing copper. MarkObstacles performs collision detection and aborts trace generation when a clearance constraint would be violated. Shove pushes neighbouring tracks aside to dynamically clear space for the new path. Walkaround preserves the existing copper geometry and searches for an optimal detour aroun… view at source ↗
Figure 14
Figure 14. Figure 14: Via placement and layer transition. In a multilayer board, electrical connections between different layers are mediated [PITH_FULL_IMAGE:figures/full_fig_p015_14.png] view at source ↗
Figure 16
Figure 16. Figure 16: Trace corner geometry. set_corner_mode controls the angular format at trace corners. The industry-standard 45◦ miter, MITERED_45, is optimized to minimize signal loss and avoid manufacturing defects. The 90◦ rectilinear corner, MITERED_ 90, is reserved for cases that require special geometric alignment [PITH_FULL_IMAGE:figures/full_fig_p018_16.png] view at source ↗
Figure 15
Figure 15. Figure 15: Obstacle interaction policies. set_routing_mode chooses one of three policies for interacting with existing copper. mark_as_obstacles performs collision detection and aborts trace generation when a clearance constraint would be violated. push_n_shove pushes neighboring tracks aside to dynamically clear space for the new path. walkaround preserves the existing copper geometry and searches for an optimal de… view at source ↗
Figure 17
Figure 17. Figure 17: Trace width control. set_track_width explicitly sets the physical conductor width. Width is the key parameter that determines characteristic impedance and current-carrying capacity, distinguishing wide power traces that carry large currents from thin signal traces that carry fine signals. F Design Rule Check Catalog F.1 DRC Catalog and Severity Mapping Source of truth. KiCad enumerates every Design Rule C… view at source ↗
Figure 16
Figure 16. Figure 16: Trace corner geometry. set_corner_mode controls the angular format at trace corners. The industry-standard 45◦ miter, MITERED_45, is optimized to minimize signal loss and avoid manufacturing defects. The 90◦ rectilinear corner, MITERED_ 90, is reserved for cases that require special geometric alignment. 15 [PITH_FULL_IMAGE:figures/full_fig_p015_16.png] view at source ↗
Figure 18
Figure 18. Figure 18: Via geometry and reset. The outer diameter and inner drill of a via are adjusted individually and independently of [PITH_FULL_IMAGE:figures/full_fig_p019_18.png] view at source ↗
Figure 17
Figure 17. Figure 17: Trace width control. set_track_width explicitly sets the physical conductor width. Width is the key parameter that determines characteristic impedance and current-carrying capacity, distinguishing wide power traces that carry large currents from thin signal traces that carry fine signals [PITH_FULL_IMAGE:figures/full_fig_p016_17.png] view at source ↗
Figure 19
Figure 19. Figure 19: Trace drag-to-modify. Pulling the midpoint of an already committed trace allows its geometry to be reshaped flexibly. [PITH_FULL_IMAGE:figures/full_fig_p019_19.png] view at source ↗
Figure 18
Figure 18. Figure 18: Via geometry and reset. The outer diameter and inner drill of a via are adjusted individually and independently of [PITH_FULL_IMAGE:figures/full_fig_p016_18.png] view at source ↗
Figure 20
Figure 20. Figure 20: Track deletion methods. A track object can be identified and removed by two complementary logical approaches. [PITH_FULL_IMAGE:figures/full_fig_p019_20.png] view at source ↗
Figure 19
Figure 19. Figure 19: Trace drag-to-modify. Pulling the midpoint of an already committed trace allows its geometry to be reshaped flexibly. [PITH_FULL_IMAGE:figures/full_fig_p016_19.png] view at source ↗
Figure 21
Figure 21. Figure 21: Via deletion methods. By the same logic as track removal, the vertical connection object is selectively removed either [PITH_FULL_IMAGE:figures/full_fig_p020_21.png] view at source ↗
Figure 20
Figure 20. Figure 20: Track deletion methods. A track object can be identified and removed by two complementary logical approaches. [PITH_FULL_IMAGE:figures/full_fig_p017_20.png] view at source ↗
Figure 22
Figure 22. Figure 22: D1 grid-size scalability training-time validation diagnostics. Columns separate PPO, Jumanji A2C, and SABLE runs; [PITH_FULL_IMAGE:figures/full_fig_p029_22.png] view at source ↗
Figure 21
Figure 21. Figure 21: Via deletion methods. By the same logic as track removal, the vertical connection object is selectively removed either [PITH_FULL_IMAGE:figures/full_fig_p017_21.png] view at source ↗
Figure 23
Figure 23. Figure 23: PPO/GRPO training-time validation diagnostics. Columns correspond to PPO, GRPO, and PPO (terminal); rows show [PITH_FULL_IMAGE:figures/full_fig_p033_23.png] view at source ↗
Figure 22
Figure 22. Figure 22: D1 grid-size scalability training-time validation diagnostics. Columns separate PPO, A2C (Jumanji), and Sable runs; [PITH_FULL_IMAGE:figures/full_fig_p028_22.png] view at source ↗
Figure 24
Figure 24. Figure 24: Full prompt template for the PCBWorld agent. M.2 Baselines Engine-free (open-loop) generation. An LLM directly generates a complete KiCad board file (.kicad_pcb) from the initial board state. You are an expert PCB routing engineer using KiCad PCB format. Your task is to generate valid PCB routing (tracks and vias) for a given KiCad PCB board. ## Instructions - Analyze the given PCB layout, including compo… view at source ↗
Figure 25
Figure 25. Figure 25: Full prompt template for the engine-free (open-loop) generation. [PITH_FULL_IMAGE:figures/full_fig_p036_25.png] view at source ↗
Figure 26
Figure 26. Figure 26: Full prompt template for the plan-only (open-loop) generation. [PITH_FULL_IMAGE:figures/full_fig_p038_26.png] view at source ↗
Figure 27
Figure 27. Figure 27: Case Study 1 (0018_hy_adapter). In our current action design, determining the routing priority of nets is critically important. Although different nets were selected for different reasons, we observe that routing succeeds when a particular net (net 3) is selected first, whereas it fails when another net (net 4) is selected first. 39 [PITH_FULL_IMAGE:figures/full_fig_p039_27.png] view at source ↗
Figure 28
Figure 28. Figure 28: Case Study 2 (0100_smt-zvs-driver_IH10-mc). Failure case (top) and success case (bottom). Since the action space does not include direct editing of pre-existing tracks, once congestion is encountered, the agent repeatedly attempts rerouting through alternative paths. In contrast, proactively anticipating congestion and initiating routing from a different region enables more effective routing with fewer st… view at source ↗
Figure 27
Figure 27. Figure 27: Examples of routed boards (D3-A). Full version of the main-text Figure 7, showing all three boards. Red and blue [PITH_FULL_IMAGE:figures/full_fig_p038_27.png] view at source ↗
Figure 28
Figure 28. Figure 28: Case Study 1 (0018_hy_adapter). In this action design, determining the routing priority of nets is critically important. Although different nets were selected for different reasons, we observe that routing succeeds when a particular net (net 3) is selected first, whereas it fails when another net (net 4) is selected first. 39 [PITH_FULL_IMAGE:figures/full_fig_p039_28.png] view at source ↗
Figure 29
Figure 29. Figure 29: Case Study 2 (0100_smt-zvs-driver_IH10-mc). Failure case (top) and success case (bottom). Since the action space does not include direct editing of pre-existing tracks, once congestion is encountered, the agent repeatedly attempts rerouting through alternative paths. In contrast, proactively anticipating congestion and initiating routing from a different region enables more effective routing with fewer st… view at source ↗
Figure 30
Figure 30. Figure 30: Pad-count distribution of the 679 curated D3 boards, stacked by split (log-scaled horizontal axis). The dashed line [PITH_FULL_IMAGE:figures/full_fig_p042_30.png] view at source ↗
Figure 31
Figure 31. Figure 31: Pad-count distribution of the two-layer D3-B and D3-C pools from which the evaluation subsets are drawn, with the [PITH_FULL_IMAGE:figures/full_fig_p043_31.png] view at source ↗

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

84 extracted references · 1 canonical work pages

  1. [1]

    Altium. 2026. Altium Designer: The Industry’s Leading PCB Design Software. https://www.altium.com/altium-designer

  2. [2]

    Akshay Badagabettu, Sai Sravan Yarlagadda, and Amir Barati Farimani. 2024. Query2CAD: Generating CAD models using natural language queries. arXiv preprint arXiv:2406.00144. doi:10.48550/arXiv.2406.00144

  3. [3]

    Brian Benchoff. 2025. OrthoRoute: A GPU-accelerated PCB autorouter for KiCad. https://github.com/bbenchoff/OrthoRoute

  4. [4]

    Jason Blocklove, Shailja Thakur, Benjamin Tan, Hammond Pearce, Siddharth Garg, and Ramesh Karri. 2025. Automatically Improving LLM-based Verilog Generation using EDA Tool Feedback.ACM Transactions on Design Automation of Electronic Systems30, 6 (2025), 1–26. doi:10.1145/3723876

  5. [5]

    Clément Bonnet, Daniel Luo, Donal John Byrne, Shikha Surana, Sasha Abramowitz, Paul Duckworth, Vincent Coyette, Laurence Illing Midgley, Elshadai Tegegn, Tristan Kalloniatis, Omayma Mahjoub, Matthew Macfarlane, An- dries Petrus Smit, Nathan Grinsztajn, Raphael Boige, Cemlyn Neil Waters, Mo- hamed Ali Mimouni, Ulrich Armel Mbou Sob, Ruan John de Kock, Sidd...

  6. [6]

    Cadence Design Systems. 2026. Allegro X Design Platform: PCB and System Design. https://www.cadence.com/en_US/home/tools/pcb-design-and-analysis/ allegro-x-design-platform.html

  7. [7]

    Turner, Po-Hsuan Wei, Keren Zhu, David Z

    Hao Chen, Kai-Chieh Hsu, Walker J. Turner, Po-Hsuan Wei, Keren Zhu, David Z. Pan, and Haoxing Ren. 2023. Reinforcement Learning Guided Detailed Rout- ing for Custom Circuits. InProceedings of the 2023 International Symposium on Physical Design (ISPD). 26–34. doi:10.1145/3569052.3571874

  8. [8]

    Jiarui Chen, Yujing Zhou, Qinghai Liu, and Xinhong Zhang. 2023. A Novel Global Routing Algorithm for Printed Circuit Boards Based on Triangular Grid. Electronics12, 24 (2023), 4942. doi:10.3390/electronics12244942

  9. [9]

    Kanzhi Cheng, Qiushi Sun, Yougang Chu, Fangzhi Xu, Yantao Li, Jianbing Zhang, and Zhiyong Wu. 2024. SeeClick: Harnessing GUI Grounding for Advanced Visual GUI Agents. InProceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, Bangkok, Thailand, 9313–9332. do...

  10. [10]

    Coombs, Jr

    Clyde F. Coombs, Jr. and Happy T. Holden (Eds.). 2016.Printed Circuits Handbook (7 ed.). McGraw Hill. https://www.mheducation.com/highered/mhp/product/ printed-circuits-handbook-seventh-edition.html

  11. [11]

    W. A. Dees, Jr. and P. G. Karger. 1982. Automated rip-up and reroute techniques. InProceedings of the 19th Design Automation Conference (DAC). 432–439. doi:10. 1145/800263.809241

  12. [12]

    Freerouting Project. 2026. Freerouting: Open-source PCB Autorouter. https: //github.com/freerouting/freerouting

  13. [13]

    Timnit Gebru, Jamie Morgenstern, Briana Vecchione, Jennifer Wortman Vaughan, Hanna Wallach, Hal Daumé III, and Kate Crawford. 2021. Datasheets for datasets. Commun. ACM64, 12 (2021), 86–92. doi:10.1145/3458723

  14. [14]

    Yandong Guan, Xilin Wang, XiMing Xing, Jing Zhang, Dong Xu, and Qian Yu

  15. [15]

    Andy Haas. 2026. KiCad Routing Tools. https://github.com/drandyhaas/ KiCadRoutingTools

  16. [16]

    2024.Towards Automated PCB Routing: Leveraging Machine Learning and Heuristic Techniques

    Youbiao He. 2024.Towards Automated PCB Routing: Leveraging Machine Learning and Heuristic Techniques. Ph. D. Dissertation. Iowa State University. doi:10.31274/ td-20240617-74

  17. [17]

    Youbiao He, Jacob Frieden, Hebi Li, Roba Abbajabal, Ge Luo, and Forrest Sheng Bao. 2024. PCBench: A Dataset for Printed Circuit Board Routing. https: //github.com/PCBench/PCBench DAC 2024 work-in-progress poster

  18. [18]

    Youbiao He, Hebi Li, Jin Tian, and Forrest Sheng Bao. 2022. Circuit Routing Using Monte Carlo Tree Search and Deep Reinforcement Learning. In2022 International Symposium on VLSI Design, Automation and Test (VLSI-DAT). 1–5. doi:10.1109/VLSI-DAT54769.2022.9768074

  19. [19]

    Chia-Tung Ho, Haoxing Ren, and Brucek Khailany. 2025. VerilogCoder: Au- tonomous Verilog Coding Agents with Graph-based Planning and Abstract Syntax Tree (AST)-based Waveform Tracing Tool. InProceedings of the AAAI Conference on Artificial Intelligence (AAAI), Vol. 39. 300–307. doi:10.1609/aaai. v39i1.32007

  20. [20]

    Wenyi Hong, Weihan Wang, Qingsong Lv, Jiazheng Xu, Wenmeng Yu, Junhui Ji, Yan Wang, Zihan Wang, Yuxiao Dong, Ming Ding, and Jie Tang. 2024. CogA- gent: A Visual Language Model for GUI Agents. InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). 14281–14290. doi:10.1109/CVPR52733.2024.01354

  21. [21]

    IPC. 2003. IPC-2221A-2003: Generic Standard on Printed Board Design. https: //webstore.ansi.org/standards/ipc/ipc2221a2003 Association Connecting Elec- tronics Industries

  22. [22]

    Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik R

    Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik R. Narasimhan. 2024. SWE-bench: Can Language Models Resolve Real-world Github Issues?. InInternational Conference on Learning Rep- resentations (ICLR). https://openreview.net/forum?id=VTF8yNQM66

  23. [23]

    R. S. Khandpur. 2006.Printed Circuit Boards: Design, Fabrication, Assembly and Testing. McGraw-Hill. https://search.worldcat.org/title/62032512

  24. [24]

    KiCad Project. 2026. KiCad API Python Bindings. https://docs.kicad.org/kicad- python-main/

  25. [25]

    KiCad Project. 2026. KiCad EDA Suite. https://www.kicad.org

  26. [26]

    C. Y. Lee. 1961. An Algorithm for Path Connections and Its Applications.IRE Transactions on Electronic ComputersEC-10, 3 (1961), 346–365. doi:10.1109/TEC. 1961.5219222

  27. [27]

    Haiyun Li, Jixin Zhang, Ning Xu, and Mingyu Liu. 2023. FanoutNet: A Neu- ralized PCB Fanout Automation Method Using Deep Reinforcement Learning. InProceedings of the AAAI Conference on Artificial Intelligence (AAAI), Vol. 37. 8554–8561. doi:10.1609/aaai.v37i7.26030

  28. [28]

    Jindong Li, Lianrong Chen, Bin Yang, Jiadong Zhu, Ying Wang, Yuzhe Ma, and Menglin Yang. 2026. PCB-Bench: Benchmarking LLMs for Printed Circuit Board Placement and Routing. InThe Fourteenth International Conference on Learning Representations (ICLR). https://openreview.net/forum?id=Q5QLu7XTWx

  29. [29]

    Xingang Li, Yuewan Sun, and Zhenghui Sha. 2025. LLM4CAD: Multimodal Large Language Models for Three-Dimensional Computer-Aided Design Generation. Journal of Computing and Information Science in Engineering25, 2 (2025), 021005. doi:10.1115/1.4067085

  30. [30]

    Haiguang Liao, Qingyi Dong, Xuliang Dong, Wentai Zhang, Wangyang Zhang, Weiyi Qi, Elias Fallon, and Levent Burak Kara. 2020. Attention Routing: Track- Assignment Detailed Routing Using Attention-Based Reinforcement Learning. InProceedings of the ASME International Design Engineering Technical Confer- ences and Computers and Information in Engineering Conf...

  31. [31]

    Haiguang Liao, Wentai Zhang, Xuliang Dong, Barnabás Póczos, Kenji Shimada, and Levent Burak Kara. 2020. A Deep Reinforcement Learning Approach for Global Routing.Journal of Mechanical Design142, 6 (2020), 061701. doi:10.1115/ 1.4045044

  32. [32]

    Yin-Chi Liao, Sheng-Xin Pan, and Po-Jui Chiang. 2026. Automation of PCB Au- torouting via World-Model Reinforcement Learning and Freerouting Integration. Expert Systems with Applications311 (2026), 131424. doi:10.1016/j.eswa.2026. 131424

  33. [33]

    Ting-Chou Lin, Devon Merrill, Yen-Yi Wu, Chester Holtz, and Chung-Kuan Cheng. 2021. A Unified Printed Circuit Board Routing Algorithm With Com- plicated Constraints and Differential Pairs. InProceedings of the 26th Asia and South Pacific Design Automation Conference (ASP-DAC). 170–175. doi:10.1145/ 3394885.3431568

  34. [34]

    Ralph Linsker. 1984. An iterative-improvement penalty-function-driven wire routing system.IBM Journal of Research and Development28, 5 (1984), 613–624. doi:10.1147/RD.285.0613

  35. [35]

    Linux Foundation. 2019. KiCad Joins Linux Foundation to Advance Electronic De- sign Automation. https://www.linuxfoundation.org/press/press-release/kicad- joins-linux-foundation-to-advance-electronic-design-automation Press release

  36. [36]

    Suthar, Varun Tej, Walker Turner, Kaizhe Xu, and Haoxing Ren

    Mingjie Liu, Teodor-Dumitru Ene, Robert Kirby, Chris Cheng, Nathaniel Pinck- ney, Rongjian Liang, Jonah Alben, Himyanshu Anand, Sanmitra Banerjee, Ismet Bayraktaroglu, Bonita Bhaskaran, Bryan Catanzaro, Arjun Chaudhuri, Sharon Clay, Bill Dally, Laura Dang, Parikshit Deshpande, Siddhanth Dhodhi, Sameer Halepete, Eric Hill, Jiashang Hu, Sumit Jain, Ankit Ji...

  37. [37]

    Mingjie Liu, Nathaniel Pinckney, Brucek Khailany, and Haoxing Ren. 2023. In- vited Paper: VerilogEval: Evaluating Large Language Models for Verilog Code Generation. In2023 IEEE/ACM International Conference on Computer Aided Design (ICCAD). 1–8. doi:10.1109/ICCAD57390.2023.10323812

  38. [38]

    Omayma Mahjoub, Sasha Abramowitz, Ruan John De Kock, Wiem Khlifi, Simon Verster Du Toit, Jemma Daniel, Louay Ben Nessir, Louise Beyers, Juan Claude Formanek, Liam Clark, and Arnu Pretorius. 2025. Sable: A Per- formant, Efficient and Scalable Sequence Model for MARL. InProceedings of the 42nd International Conference on Machine Learning (ICML). 42579–42614...

  39. [39]

    Larry McMurchie and Carl Ebeling. 1995. PathFinder: a negotiation-based performance-driven router for FPGAs. InProceedings of the 1995 ACM Third International Symposium on Field-Programmable Gate Arrays (FPGA95). ACM, 111–117. doi:10.1145/201310.201328

  40. [40]

    Ng, Daishi Harada, and Stuart Russell

    Andrew Y. Ng, Daishi Harada, and Stuart Russell. 1999. Policy invariance under reward transformations: Theory and application to reward shaping. InPro- ceedings of the Sixteenth International Conference on Machine Learning (ICML). 278–287. https://dl.acm.org/doi/10.5555/645528.657613

  41. [41]

    OpenAI. 2026. Introducing GPT-5.4. https://openai.com/index/introducing-gpt- 5-4/ 9 KDD Workshop on Agentic AI ’26, August 9–13, 2026, Jeju, Republic of Korea Song et al

  42. [42]

    OpenAI. 2026. Introducing GPT-5.4 mini and nano. https://openai.com/index/ introducing-gpt-5-4-mini-and-nano/

  43. [43]

    Patil, Huanzhi Mao, Fanjia Yan, Charlie Cheng-Jie Ji, Vishnu Suresh, Ion Stoica, and Joseph E

    Shishir G. Patil, Huanzhi Mao, Fanjia Yan, Charlie Cheng-Jie Ji, Vishnu Suresh, Ion Stoica, and Joseph E. Gonzalez. 2025. The Berkeley Function Calling Leaderboard (BFCL): From Tool Use to Agentic Evaluation of Large Language Models. In Proceedings of the 42nd International Conference on Machine Learning (ICML). 48371–48392. https://proceedings.mlr.press/...

  44. [44]

    Dacheng Qi, Chenyu Wang, Jingwei Xu, Tianzhe Chu, Zibo Zhao, Wen Liu, Wenrui Ding, Yi Ma, and Shenghua Gao. 2026. Pointer-CAD: Unifying B-Rep and Command Sequences via Pointer-based Edges & Faces Selection. InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). 17377–17387. https://openaccess.thecvf.com/content/CVPR202...

  45. [45]

    Yujia Qin, Shihao Liang, Yining Ye, Kunlun Zhu, Lan Yan, Yaxi Lu, Yankai Lin, Xin Cong, Xiangru Tang, Bill Qian, Sihan Zhao, Lauren Hong, Runchu Tian, Ruobing Xie, Jie Zhou, Mark Gerstein, Dahai Li, Zhiyuan Liu, and Maosong Sun. 2024. ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs. InInternational Conference on Learning Repre...

  46. [46]

    Qwen Team. 2026. Qwen3.5: Towards Native Multimodal Agents. https://qwen. ai/blog?id=qwen3.5

  47. [47]

    John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov

  48. [48]

    Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. 2024. DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models. arXiv preprint arXiv:2402.03300. doi:10.48550/arXiv.2402.03300

  49. [49]

    Chhabria, and Austin Rovinski

    Utsav Sharma, Bing-Yue Wu, Sai Rahul Dhanvi Kankipati, Vidya A. Chhabria, and Austin Rovinski. 2024. OpenROAD-Assistant: An Open-Source Large Lan- guage Model for Physical Design Tasks. InProceedings of the 2024 ACM/IEEE International Symposium on Machine Learning for CAD (MLCAD). 1–7. doi:10. 1145/3670474.3685960

  50. [50]

    Sherwani

    Naveed A. Sherwani. 1999.Algorithms for VLSI Physical Design Automation(3rd ed.). Kluwer Academic Publishers. doi:10.1007/b116436

  51. [51]

    Yunda Tsai, Mingjie Liu, and Haoxing Ren. 2024. RTLFixer: Automatically Fixing RTL Syntax Errors with Large Language Model. InProceedings of the 61st ACM/IEEE Design Automation Conference (DAC). 1–6. doi:10.1145/3649329. 3657353

  52. [52]

    Liang Wang, Heng Meng, Zekai Xiang, Jin Liu, Pingyi Zhou, Litao Chen, and Yongqiang Tang. 2026. Text2CAD-Bench: A Benchmark for LLM-based Text- to-Parametric CAD Generation. arXiv preprint arXiv:2605.18430. doi:10.48550/ arXiv.2605.18430

  53. [53]

    Siyu Wang, Cailian Chen, Xinyi Le, Qimin Xu, Lei Xu, Yanzhou Zhang, and Jie Yang. 2025. CAD-GPT: Synthesising CAD Construction Sequence with Spatial Reasoning-Enhanced Multimodal LLMs. InProceedings of the AAAI Conference on Artificial Intelligence (AAAI), Vol. 39. 7880–7888. doi:10.1609/aaai.v39i8.32849

  54. [54]

    Haoyuan Wu, Zhuolun He, Xinyun Zhang, Xufeng Yao, Su Zheng, Haisheng Zheng, and Bei Yu. 2024. ChatEDA: A Large Language Model Powered Au- tonomous Agent for EDA.IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems43, 10 (2024), 3184–3197. doi:10.1109/TCAD.2024. 3383347

  55. [55]

    Rundi Wu, Chang Xiao, and Changxi Zheng. 2021. DeepCAD: A Deep Generative Network for Computer-Aided Design Models. InProceedings of the IEEE/CVF International Conference on Computer Vision (ICCV). 6752–6762. doi:10.1109/ ICCV48922.2021.00670

  56. [56]

    Tianbao Xie, Danyang Zhang, Jixuan Chen, Xiaochuan Li, Siheng Zhao, Ruisheng Cao, Toh Jing Hua, Zhoujun Cheng, Dongchan Shin, Fangyu Lei, Yitao Liu, Yiheng Xu, Shuyan Zhou, Silvio Savarese, Caiming Xiong, Victor Zhong, and Tao Yu

  57. [57]

    Ke Xu, Jialin Sun, Yuchen Hu, Xinwei Fang, Weiwei Shan, Xi Wang, and Zhe Jiang

  58. [58]

    Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press

    John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. 2024. SWE-agent: Agent-Computer Inter- faces Enable Automated Software Engineering. InAdvances in Neural Information Processing Systems (NeurIPS), Vol. 37. 50528–50652. doi:10.52202/079017-1601

  59. [59]

    Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik Narasimhan. 2025. 𝜏- bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains. InThe Thirteenth International Conference on Learning Representations (ICLR)

  60. [60]

    Narasimhan, and Yuan Cao

    Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R. Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing Reasoning and Acting in Language Models. InInternational Conference on Learning Representations (ICLR). https://openreview.net/forum?id=WE_vluYUL-X

  61. [61]

    InProceedings of the 43rd IEEE/ACM International Conference on Computer-Aided Design (ICCAD)

    MEIC: Re-thinking RTL Debug Automation Using LLMs. InProceedings of the 43rd IEEE/ACM International Conference on Computer-Aided Design (ICCAD). 1–9. doi:10.1145/3676536.3676801

  62. [62]

    Zhanwen Zhou, Hankz Hankui Zhuo, Jinghua Zhou, and Wushao Wen. 2025. Transformer-based Reinforcement Learning for Net Ordering in Detailed Routing. InProceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence (IJCAI). 9492–9500. doi:10.24963/ijcai.2025/1055

  63. [63]

    place a via here

    Huanghaohe Zou, Peng Han, Emad Nazerian, Mafu Zhang, Zhicheng Guo, and Alex Q. Huang. 2026. PCBSchemaGen: Reward-Guided LLM Code Synthesis for Printed Circuit Boards (PCB) Schematic Design with Structured Verification. arXiv preprint arXiv:2602.00510v2. doi:10.48550/arXiv.2602.00510 10 PCBWorld: A Benchmark Environment for Engine-Grounded PCB Design Autom...

  64. [65]

    Zhanwen Zhou, Hankz Hankui Zhuo, Xiaowu Zhang, and Qiyuan Deng. 2023. XRoute Environment: A Novel Reinforcement Learning Environment for Routing. arXiv preprint arXiv:2305.13823. doi:10.48550/arXiv.2305.13823

  65. [68]

    Complete all connections (reduce unconnected points to zero)

  66. [69]

    Avoid DRC violations (no crossing other nets, respect clearance)

  67. [70]

    Minimize total wirelength. # Routing Guidelines - Targets are the (point ...) entries in routing_geometry; the final segment must land on the target pad's (x, y) while the cursor is on that pad's layer (points carry no layer -- look up the pad in board_static or the nearby tracks). - Use exact coordinates from the observation (pad positions, point targets...

  68. [71]

    start_route 0.0 0.0 1

  69. [72]

    make_via 0.0 0.5 w # offset off the source pad, then cross to layer 2

  70. [73]

    start_route 0.0 0.5 2 # re-enter routing on the new layer

  71. [74]

    make_via 10.0 9.5 w # STOP before the target's (x, y) and cross back

  72. [75]

    start_route 10.0 9.5 1 # re-enter routing on the target pad's layer

  73. [76]

    no via on pad

    make_line 10.0 10.0 w # final segment lands on the pad, on its own layer ## Do NOT draw or end on a pad from the wrong layer 34 PCBWorld: A Benchmark Environment for Engine-Grounded PCB Design Automation KDD Workshop on Agentic AI ’26, August 9–13, 2026, Jeju, Republic of Korea Never let`make_line`or`make_via`reach the target pad's exact (x, y) while the ...

  74. [77]

    dy == 0 (East / West -- 0, horizontal)

  75. [78]

    dx == 0 (North / South -- 90, vertical)

  76. [79]

    dx == dy (and both nonzero) (NE / SW -- 45, diagonal)

  77. [80]

    Anything else is forbidden

    dx == -dy (and both nonzero) (NW / SE -- 135, diagonal) Equivalently, every segment is horizontal, vertical, or a 45-degree diagonal where |dx| == |dy|. Anything else is forbidden. 35 KDD Workshop on Agentic AI ’26, August 9–13, 2026, Jeju, Republic of Korea Song et al. ### How to handle non-octilinear paths If the natural route between two pads is at an ...

  78. [81]

    36 PCBWorld: A Benchmark Environment for Engine-Grounded PCB Design Automation KDD Workshop on Agentic AI ’26, August 9–13, 2026, Jeju, Republic of Korea

    If the first pad has tag`1`-> use 1. 36 PCBWorld: A Benchmark Environment for Engine-Grounded PCB Design Automation KDD Workshop on Agentic AI ’26, August 9–13, 2026, Jeju, Republic of Korea

  79. [82]

    If the first pad has tag`2`-> use 2

  80. [83]

    (This avoids an unnecessary via.)

    If the first pad has tag`th`and at least one other pad of this net has tag`1`or`2`-> use that other pad's layer. (This avoids an unnecessary via.)

Showing first 80 references.