High-Speed Interconnect Board Review in Practice: Local LLMs and Electromagnetic Simulation

    A four-layer carrier board review combining design rule checking, local large language model analysis, and ray-tracing simulation reveals a key lesson: reliable high-speed PCB review depends on building a verifiable evidence chain, not on picking one tool. This article covers input migration verification, root-cause clustering of rule violations, context-budgeting strategies for LLM-assisted report analysis, and the applicability limits of ray-tracing simulation, closing with a fix-and-verify workflow loop.

    1. Review Is About Building an Evidence Chain, Not Picking a Tool

    Reviewing high-speed PCBs typically involves three capabilities: design rule checking (DRC), local large language model analysis, and electromagnetic simulation. The three complement one another, but none can replace the others.

    Rule checking determines whether geometry and connectivity violate established constraints—copper spacing, annular ring sizes, net connectivity, board-edge clearance, and so on. An LLM is well suited to organizing check results, explaining risks, and generating review checklists. Electromagnetic simulation is used to study field distributions and coupling trends under specific excitations, materials, and boundary conditions.

    A genuinely reliable workflow does not hand the same file to three systems and compare whose report is longer. Instead, it answers three questions in sequence:

    1. Is the design data complete and trustworthy?
    2. Do the identified issues come with evidence that is locatable and reproducible?
    3. Are the analysis conclusions within the applicability range of the method itself?

    The case referenced in this article is a four-layer carrier board transitioning a compute module to a high-speed expansion interface. The review record shows that rule checking surfaced many locatable issues, local model integration hit credential configuration and context-length limits, and the ray-tracing simulation results were not yet sufficient to serve as an engineering sign-off basis.

    It should be noted that the available material does not include complete simulation configurations, defect reproduction steps, or fix records. Therefore, this article will not fabricate specific simulation defects, nor will it treat unverified imagery as measured results. The sections below distinguish case facts from recommended verification procedures.

    2. Verify the Input First: Format Conversion Is Not Lossless

    The case board measures approximately 171.71 mm × 100.28 mm, uses a four-layer stackup with a 1.6 mm board thickness, and contains 106 packages, 3,066 trace segments, and 911 vias. This scale already makes manual item-by-item checking difficult—and gives automated inspection clear value.

    But automated checking rests on one premise: the imported design must faithfully represent the original.

    2.1 Do Not Treat “The File Opens” as Migration Success

    Different EDA systems may express pads, copper pours, vias, layer mappings, and rules differently. After conversion, even if the layout looks similar, net attributes can be lost, via types can change, copper layer mappings can be wrong, or connectivity can be corrupted.

    Before running checks, verify the following:

    • The board outline is closed, and the profile and cutouts are correct;
    • The copper layer count, order, and layer name mappings are consistent;
    • Package, pad, trace, and via counts show no unexpected changes;
    • Critical power, ground, and high-speed signal nets are preserved;
    • Differential pair relationships and net classes are intact;
    • Copper pours have been refilled where needed;
    • Mounting hole plating properties and electrical assignment are correct.

    Manufacturing outputs from the original design can serve as an independent reference, but their revision versions must also be verified—do not mix files from different revisions when comparing.

    2.2 Log Environment Issues Separately from Circuit Issues

    During review you may encounter script API changes, plugin initialization failures, missing fonts, and similar problems. These affect the user experience or automation runs but do not amount to circuit defects.

    In particular, when scripts read objects such as vias and pads, confirm whether the required geometric quantities are layer-dependent. If the API requires an explicit layer argument, never rely on implicit defaults.

    A sensible order of operations: first confirm the program loads the design stably, then validate data consistency, and only then run the full rule check. Otherwise, environment failures will contaminate downstream judgments.

    3. Rule Checking: Shift from Violation Counts to Root-Cause Location

    The full-board check in the case record produced 2,080 violations—1,635 errors, 445 warnings—plus 59 unrouted connections.

    These numbers reflect the scale of the check, but they do not equal 2,080 independent defects. A single mounting hole overlapping multiple traces can trigger several spacing or connectivity violations. Without clustering first, reviewers will drown in report volume.

    3.1 Prioritize Issues That Can Cause Hardware Failure

    The most prominent anomaly in the record: a grounded mounting hole region roughly 4.013 mm in diameter overlapping 20 differential trace segments across 8 signal nets, with a worst-case intrusion of approximately 1.7625 mm reported.

    This class of issue should block fabrication. But before declaring a short, verify:

    • Whether the mounting hole is plated;
    • Whether a grounded copper annular ring surrounds the hole;
    • Which copper layers the involved traces occupy;
    • Whether the reported distance refers to the drill boundary, the copper ring boundary, or some other geometric object;
    • Whether the original design and the imported design exhibit the same problem.

    If signal copper is confirmed to make electrical contact with a plated grounded hole barrel or a grounded copper ring, there is a clear short-circuit risk and the board should not proceed to fabrication. If the geometry stems from a conversion anomaly, fix the conversion first and re-run the check.

    3.2 Apply Different Review Methods to Different Violation Types

    The case also recorded 68 dangling vias, 200 unclosed trace endpoints, and 150 zero-width annular ring issues. These cannot be judged as the same class of problem based on their names alone.

    Dangling vias may be invalid leftovers, or they may relate to unrefilled copper pours. Unclosed endpoints may be genuine opens, or they may be tiny coordinate offsets introduced by conversion. Zero annular rings must be evaluated together with hole diameter, pad size, via type, and manufacturing capability.

    Sort issues into three groups:

    • Blocking: confirmed shorts between different nets, opens on critical power rails, drill holes crossing signal copper, etc.;
    • Manufacturing risk: insufficient annular rings, insufficient spacing, insufficient board-edge clearance, etc.;
    • To be verified: isolated copper, dangling vias, unusual structures, and suspected migration artifacts.

    Each record should retain at minimum: issue type, object identifier, net, layer, coordinates, measured value, rule threshold, and evidence source. Only then can you move from “found many problems” to “resolving problems by priority.”

    4. Local LLMs: For Interpretation and Summarization, Not Geometry Adjudication

    The value of a local LLM is not to replace the rule engine by recomputing copper spacing, but to convert large volumes of structured records into review tasks that are easier to execute.

    For example, multiple violations near the same mounting hole can be merged into one root-cause candidate: the mounting hole keep-out zone conflicts with the high-speed fan-out region. The model can then organize the relevant nets, affected objects, and a suggested checking order—but it must not independently declare that all nets are shorted.

    4.1 Validate the Call Chain Before Importing Real Reports

    In the case, model integration failed because the orchestration layer required credentials while the local service itself required no authentication—the request failed at the routing stage. This shows that even local deployments involve multiple configuration layers: application orchestration, request adaptation, and server-side reception are not the same环节… they are not the same step.

    Validate the chain with the shortest possible request first, then test with a small set of check records, and only then feed in batch tasks. Do not submit an entire report before the calls are stable—otherwise routing problems, format problems, and capacity problems become impossible to distinguish.

    4.2 Budget Context for the Complete Request

    Another failure record showed a request of roughly 66,798 tokens exceeding the 65,536-token available context.

    The key is not just compressing the input, but reserving space for the entire interaction:

    The combined total of rule descriptions, check data, conversation history, model output, and safety margin must not exceed the available context.

    A more sound approach is deterministic preprocessing first:

    1. Remove duplicate text and irrelevant display fields;
    2. Cluster by spatial region, object, or net;
    3. Analyze batches separately;
    4. Aggregate batch results into structured summaries;
    5. Cross-check final conclusions against the original records.

    Do not keep only severe issues and discard all other categories entirely. Conversion anomalies sometimes manifest as large volumes of seemingly low-priority records, so at minimum retain category statistics and sampled evidence.

    4.3 Make Model Conclusions Traceable to Original Evidence

    Constrain the model explicitly:

    Analyze only from the given records. Every conclusion must cite an issue ID. Distinguish confirmed violations, risks pending verification, and general recommendations. Do not infer stackup, materials, electrical contact, or manufacturing parameters that were not provided.

    Fix the output format to include: issue ID, evidence, affected objects, probable root cause, recommended action, and verification method.

    Such constraints do not eliminate model errors, but they significantly reduce the risk of “plausible text that cannot be located or verified.”

    5. Ray-Tracing Simulation: Discuss Applicability First, Then Look at Field Plots

    Ray tracing generally belongs to the family of high-frequency approximate methods. Its validity depends on the target dimensions relative to wavelength, the propagation environment, and the reflection, transmission, and diffraction models employed.

    For localized near-fields on PCBs, via structures, return current paths, and complex coupling, never assume ray-based methods will describe the physics accurately. Nor should electromagnetic risk for high-speed signals be judged by clock frequency alone: edge rates, return path discontinuities, and mode conversion matter just as much.

    5.1 Without Input Definitions, Field Plots Have No Clear Meaning

    A minimally interpretable simulation should at least specify:

    • Excitation frequencies or spectrum;
    • Excitation source location, orientation, and amplitude definition;
    • How conductors and dielectrics are modeled;
    • The source of stackup and material parameters;
    • Boundaries and observation regions;
    • Output quantities, units, and normalization method.

    For example, a vividly colored plot might express relative intensity, or some scaled numeric value. Without units and reference conditions, it cannot be used to judge EMC compliance.

    5.2 Validate the Solver Workflow Before Analyzing Complex Boards

    Complex models mix import, unit, coordinate, material, and solver problems together. Start with simple verification cases:

    • Check whether free-space propagation results match the expected behavior of the chosen model;
    • Check the symmetry and trends of simple reflective structures;
    • Change the model’s length units and confirm physical scale has not shifted unexpectedly;
    • Translate or rotate the entire scene and check that results remain reasonably consistent;
    • Increase sampling density and observe whether key metrics converge.

    These tests can expose implementation and configuration problems, but they cannot by themselves prove the accuracy of results for a complex board. Further confidence requires applicable reference solutions, cross-validation with other methods, or measurement support.

    The original record does not disclose details of the simulation defects it mentions, so they can only be treated as observations pending further evidence—not as proof that any method class is universally ineffective.

    5.3 Distinguish “Trend Exploration” from “Engineering Sign-Off”

    Simulation can be used to compare risk trends before and after layout changes, but formal sign-off typically requires more complete models, a validated solver methodology, and correspondence with measurements or trusted reference results.

    A weaker field plot does not necessarily mean lower actual radiation; the excitation, color scale, observation location, or normalization may have changed. Comparative experiments must therefore fix all conditions and report specific observed quantities—never just two pictures side by side.

    6. Build a Fix Loop: Every Change Needs Acceptance Criteria

    The three capabilities should ultimately feed into a single engineering workflow:

    Freeze input version → Verify migration results → Run rule checks → Cluster and triage → Manually confirm root causes → Modify the design → Re-run checks → Simulate and measure as needed.

    Every revision cycle should record the change scope and its acceptance criteria.

    For example, after resolving the mounting-hole/differential-trace conflict, do not merely confirm the original violations are gone—also check whether new spacing issues, differential pair asymmetry, reference plane breaks, or return path detours have been introduced. Resolving a geometric conflict does not automatically restore high-speed signal quality.

    Likewise, after adjusting vias and copper pours, refill the copper regions and re-verify connectivity. Do not assume electrical connectivity is validated just because traces “look connected” on screen.

    7. Conclusion: Credibility Comes from Reproducibility, Not Output Format

    The most valuable takeaway from this kind of board review practice is not how many conclusions a given tool can produce, but how each type of conclusion should be used.

    Rule checking provides locatable geometric and connectivity evidence, but is bounded by input data and rule configuration. Local LLMs improve report organization and risk communication efficiency, but require limited input scale and conclusions that cite original records. Ray tracing serves propagation analysis within its applicability conditions, but a pretty field plot cannot bypass method validation and measurement verification.

    Any effective review result should ultimately answer four questions: Where is the problem? What is the evidence? How is it fixed? And how do you prove the fix works? Only by closing this loop can automated analysis move from “generating reports” to genuinely reducing hardware rework risk.