Papers › PCBSchemaGen: Reward-Guided LLM Code Synthesis for Printed Circuit Boards (PCB)...

PCBSchemaGen: Reward-Guided LLM Code Synthesis for Printed Circuit Boards (PCB) Schematic Design with Structured Verification

31 Jan 2026arXiv:2602.00510added by Syntology

Huanghaohe Zou, Peng Han, Emad Nazerian, Mafu Zhang, Zhicheng Guo, Alex Q. Huang

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Most LLM code-synthesis benchmarks rely on unit tests as the reward oracle, but PCB schematic design has none: correctness is defined by structured physical constraints over real IC packages and pin-level assignments, per-task golden references are unavailable, and SPICE simulation does not validate schematic-level correctness. We introduce PCBSchemaGen, a training-free inference-time framework that turns a frozen LLM into a verifiable, repairable PCB schematic generator. The framework induces a domain schema from IC datasheets to ground LLM decoding, pairs it with a deterministic 5-layer continuous-reward verifier with pin-level error localization, and refines candidates through a Thompson Sampling arm-acquiring bandit. We evaluate on 2 PCB benchmarks covering 227 real-IC tasks across 22 unified circuit domains, including a public-schematic-derived suite that serves as a fully held-out generalization test (verifier, KG library, and prompts frozen before any evaluation). Under our framework, an open-weight 31B model (Gemma-4-31B) passes 81.3% of PCBBench tasks on average, and the same framework transfers across both benchmarks with zero verifier code changes; a Circuitron-style inference-time prompting baseline on the same Gemma-4-31B backbone collapses on hard system-level designs. This suggests inference-time refinement under a deterministic structural verifier is a general recipe for reference-free LLM code synthesis in domains without unit-test oracles. Our benchmarks and deterministic verifier are publicly available at https://github.com/HZou9/PCBSchemaGen_v2.

PaperPDFCode Syntology ran

In Syntology For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2602.00510")

Code

Syntology Ran 29 of 37 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 3 ran · honoured contract; 7 ran · violated contract; 19 ran · our draft was wrong.

By repository: found in paper text by Syntology: 37 samples from 1 repository, 29 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

HZou9/PCBSchemaGen_v2 found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

37 samples harvested; 29 ran; 3 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
7ran · violated contract
19ran · our draft was wrong
8unverified

Licence: 37 of the 37 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from HZou9/PCBSchemaGen_v2. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

_bridge_covers_terms HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · violated contract licence not identified · pointer only · fc85b2e0fd990bb8 · report
_bridge_transformer_side HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · b99197236ee5a2a6 · report
_build_passive_net_graph HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · eb397ee675a5fe68 · report
_build_power_graph HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · 1aab859a6a45df36 · report
_check_component_counts HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · fd2b6f25f0fe3847 · report
_check_vbus_decoupling HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · honoured contract licence not identified · pointer only · c376a6edb0659ad9 · report
_count_components HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · acfd970e0b269824 · report
_count_output_caps HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · honoured contract licence not identified · pointer only · 10e6b2dc8d5e0d73 · report
_enumerate_half_bridges HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · 6a2803d46a49b35b · report
_exists_required_tank_path HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · violated contract licence not identified · pointer only · 17789d13143a15bc · report
_extract_inductor_connections HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · be8845d1618f6828 · report
_extract_mosfet_connections HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · b8af8a49159b3241 · report
_extract_transformer_connections HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · 78cd542ec39bcb59 · report
_extract_two_terminal_nets HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · 9824ffa3612c4a37 · report
_find_component_by_ref HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · 91b6229ab93d4621 · report
_infer_bridge_candidates HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · 50e81fc233bb8120 · report
_infer_full_bridge_from_vsw HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong fingerprinted licence not identified · pointer only · c0a14cc7c04b9d3e · report
_infer_half_bridge_on_vsw HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong fingerprinted licence not identified · pointer only · df9e51098db99250 · report
_infer_multi_half_bridges HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong fingerprinted licence not identified · pointer only · 6dc25be375cf8c67 · report
_is_ground_net HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · violated contract licence not identified · pointer only · 73a0e07e5ff0b4df · report
_is_input_supply_net HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · violated contract licence not identified · pointer only · 51eda7dc49c6af07 · report
_is_output_net HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · violated contract licence not identified · pointer only · 03263f293184f7ce · report
_nets_connected HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · violated contract licence not identified · pointer only · 0db4c1f35ef69cb1 · report
_path_exists HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · violated contract licence not identified · pointer only · 31fc5b71cbc5f073 · report
_resolve_named_net HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · bb0e945a58e07436 · report
_select_input_bridge HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · 21ce82503abdd4e9 · report
_verify_4sw_buckboost HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · 0b2be67881fc0a8a · report
_verify_sync_boost HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · 3aa001abaceaa533 · report
_verify_sync_buck HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology ran · honoured contract licence not identified · pointer only · c7b0e1fce8554fcf · report
_infer_other_bridge_connected_to_terms HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology unverified licence not identified · pointer only · 9fabbc46e08f7bd9 · report
_verify_1ph_fullbridge HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology unverified licence not identified · pointer only · 79b9674cc4b5f30c · report
_verify_3ph_inverter HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology unverified licence not identified · pointer only · a5525307225acde8 · report
_verify_dab HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology unverified licence not identified · pointer only · 37a89470e96fee59 · report
_verify_llc HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology unverified licence not identified · pointer only · ce734da4d5b3815d · report
_verify_power_topology HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology unverified licence not identified · pointer only · 25faedb05871df91 · report
_verify_required_components HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology unverified licence not identified · pointer only · d00003382925e026 · report
check_system_topology HZou9/PCBSchemaGen_v2/framework/topo/system_topology_checker.py found in paper text by Syntology unverified licence not identified · pointer only · 42d7cd915b58c56f · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2602.00510, was issued in February 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections