PCB Design Review Workflow: Format Conversion, AI-Assisted DRC, and EMI Ray-Tracing Validation

    This case study follows the review of a four-layer, high-speed adapter board through EDA format conversion, full-board design rule checking, local LLM-assisted analysis, and EMI ray-tracing validation. It examines migration and plugin compatibility issues, the significance of 2,080 reported rule violations, and practical challenges in deploying a 14B-parameter model to analyze DRC reports. The results highlight why traceable rule checks and physical simulation—not AI-generated layout suggestions—must guide rework and sign-off decisions.

    Engineering Context and Project Goals

    The board reviewed in this project was an adapter carrier designed to connect a data-center-class compute module to a standard motherboard slot interface. It measured 171.71 mm × 100.28 mm and used a four-layer stackup with a finished thickness of 1.6 mm. The layout contained 106 component footprints, 3,066 track segments, and 911 vias, with signal rates in the typical PCIe Gen3/Gen4 range.

    The original design was created in the Standard edition of a cloud-based EDA platform. Subsequent review and simulation required moving the project into a mainstream open-source EDA toolchain.

    The goal went beyond producing a routable board or generating manufacturing files. The project set out to test an end-to-end review workflow:

    • Could design data move between toolchains without losing important information?
    • Could rule checks identify actionable defects at specific board coordinates?
    • Could AI-assisted analysis meaningfully support engineering decisions?
    • Could simulation cross-check the findings of static rule checks?

    The Hidden Cost of Format Conversion

    Standard and Professional Editions Offer Different Export Paths

    The first mistake was underestimating the differences in import and export capabilities between software editions.

    The initial plan was to export from the Standard edition through its Altium export path, then use a third-party converter to produce the target format. Testing showed that this route was both cumbersome and lossy. Across the two conversion stages, important constraints—including differential-pair rules, impedance-control parameters, and via attributes—were irreversibly lost.

    A more effective route was to use the platform’s Professional edition, which provided a direct export interface for the target open-source format. A single conversion preserved most physical and electrical properties.

    The broader lesson is to verify native conversion options before starting a migration. A workflow built around “Standard edition → intermediate format → second conversion” may simply be taking the wrong path. If a direct export route exists, even downloading a larger application package can be less costly than spending days repairing conversion errors.

    Three Common Import and Environment Problems

    Once the design reached the target toolchain, three recurring issues emerged.

    1. Layer-aware access to via properties

    The newer tool version required an explicit layer argument when accessing physical properties such as via width. Plugins or scripts using the older, layer-independent access pattern could trigger an assertion and terminate the process.

    This was an API compatibility problem, not evidence of corrupted design data. The fix was to update the property-access calls to pass layer information explicitly and handle active-layer and internal-layer via queries separately.

    This distinction matters in automation that iterates over every via. A via in an asymmetric position within the stackup can exercise an access path that the original script did not anticipate.

    2. Plugin registration failures

    The updated plugin framework used a validation-before-registration loading sequence. Some older plugins triggered a null-pointer assertion involving PgmOrNull() during initialization.

    The underlying issue was a change in when plugin entry points were called. A practical debugging strategy was to load the plugin manually in command-line mode, verify that its basic operations worked, and then restore GUI autoloading incrementally.

    3. Missing fonts and environment dependencies

    The imported project also referenced fonts that were not available in the target environment. Opening a schematic or PCB could therefore produce intermittent missing-font warnings.

    Although these warnings did not directly damage the core design data, they could interrupt automated drawing generation. The practical remedies were to install commonly used complete font sets in the environment image or replace the referenced fonts throughout the design files.

    Full-Board DRC: Quantified Findings

    Scale and Distribution of Violations

    After stabilizing the import and runtime environment, I ran a full-board design rule check. The reported findings included:

    Category Reported count
    Total rule violations 2,080
    Error-level violations 1,635
    Warning-level violations 445
    Unconnected-net issues 59
    Dangling vias 68
    Unconnected track endpoints 200
    Zero-width annular-ring findings 150

    The board could generate manufacturing files, but these results showed that it was far from ready for sign-off.

    Importantly, these were not model predictions or experience-based estimates. The rule engine evaluated the actual layout against configured thresholds. Each finding could be traced to a specific physical location on the board.

    The Most Serious Defect: A Mounting Hole Intersecting Differential Routing

    One particularly serious finding involved a three-dimensional physical conflict. A grounded mounting hole with a diameter of 4.013 mm intersected 20 high-speed differential track segments.

    The coordinate-based calculation reported a maximum signed clearance of −1.7625 mm. The negative value indicated overlap rather than proximity: the routed copper extended into the hole-wall region. In the multilayer cross-section, the affected routing also suffered a disruption to its reference-plane continuity.

    The affected signal nets were listed as TX6±, TX7±, RX10±, and RX11±—eight individual nets across four differential pairs. The review identified unintended connections to ground in this region.

    This was not a marginal clearance issue. If manufactured as represented in the reviewed data, the board would be expected to fail electrical testing because of those unintended shorts, putting the assembled batch at risk of rejection.

    Why Coordinate-Level DRC Matters for Rework

    The main value of these results was traceability. Each violation included layer and coordinate information, allowing the reviewer to jump directly to the affected location.

    Rework could therefore move from a broad visual search to targeted corrections. In a real engineering iteration, that shift—from general suspicion to precise, reproducible evidence—is critical to controlling rework costs.

    Deploying and Troubleshooting AI-Assisted Review

    Local LLM Inference Architecture

    To classify the DRC report and identify recurring patterns in its JSON output, I deployed a local large language model inference service.

    The setup used:

    • An open-source, instruction-tuned model in the 14B-parameter class
    • A local service listening on port 8083
    • A host GPU with 32 GB of VRAM
    • Reported GPU memory usage of 22.8 GB

    The 14B model was a compromise between analysis quality and available hardware.

    In this workflow, smaller 7B models frequently produced off-target answers when interpreting multiple report files and nested JSON structures. A 70B model would have required a multi-GPU deployment that the environment could not support. The 14B model fit the single-GPU setup and delivered practically useful results for semantic decomposition and pattern grouping.

    These observations describe this deployment, rather than a general performance ranking of model sizes.

    Two Common Infrastructure Failures

    The main deployment failures occurred outside the model itself: in routing configuration and context management.

    Missing credentials for the provider route

    The local inference endpoint did not require authentication, but the calling framework required credentials for its provider-routing layer. Requests failed with:

    no credential for provider route

    The workaround was to provide a placeholder key through an environment variable. This satisfied the framework’s routing logic and allowed requests to reach the local inference service.

    The issue was a mismatch between the endpoint’s authentication requirements and the framework’s credential configuration. The framework applied the same credential requirement to this local route as it did to other provider routes.

    Context-window overflow

    Passing the entire DRC JSON report into a single request exceeded the available context window. The input included all 2,080 violations, 59 unconnected-net issues, and detailed via and track records.

    The service reported a request size of 66,798 tokens against an available context window of 65,536 tokens.

    The practical response was not simply to seek a model with a larger context window. Instead, the report was divided by violation category. Grounded-hole conflicts could be analyzed separately from dangling vias, for example.

    This category-based slicing reduced context pressure and gave the model a more focused problem to analyze.

    Validating the AI Review Against Physical Evidence

    After classifying and interpreting the DRC report, the model produced a prioritized rework list. Some recommendations translated into direct engineering actions. Others were visually persuasive layout suggestions that were not suitable as sign-off evidence.

    Validating those outputs was an essential part of the workflow.

    I used an EMI ray-tracing simulation tool to examine regions the model had classified as high risk. The simulation supported the concern identified by static DRC around the via-to-track conflict and its short-circuit risk. However, it did not fully support the model’s optimistic assessment of some proposed layout changes: the simulated radiated emissions in those regions remained above the limits used in the analysis.

    The comparison exposed three important boundaries.

    1. DRC Does Not Establish Electrical Performance

    DRC checks the layout against configured rules and can expose connectivity or geometric defects. Passing those checks alone does not establish acceptable signal integrity or EMI performance.

    2. AI Layout Suggestions Need Physical Support

    The model’s spatial reasoning was not sufficient to justify every proposed compromise. A plausible-looking routing or geometry suggestion did not necessarily have adequate electromagnetic support.

    3. Rule Checks and Simulation Serve Different Roles

    Static rule checks and physical simulation provided complementary evidence. DRC made defects traceable to specific objects and coordinates; simulation examined electrical and emissions behavior in the affected regions.

    Neither AI-generated diagrams nor a single analysis tool could replace that combined review.

    Conclusions and Engineering Recommendations

    This adapter-board review produced several practical lessons.

    Treat Data Integrity as the Main Migration Cost

    The largest cost of moving between EDA toolchains was not the software installation itself. It was preserving design information and correcting compatibility problems after conversion.

    Confirm native export paths early, and account for API, plugin, and font dependencies before relying on automated review.

    Use Quantified DRC Results to Drive Rework

    Rule-check findings provided the most reliable starting point for corrections because they were measurable, coordinate-specific, and physically inspectable.

    Manufacturing-file generation was not evidence that the board was ready for release.

    Keep the LLM in an Advisory Role

    The local model was useful for grouping violations, interpreting report content, and prioritizing review tasks. Its recommendations still required engineering verification.

    AI output should not be treated as sign-off evidence, particularly when it proposes geometric changes without physical validation.

    Match Model Size and Input Structure to Available Resources

    In this resource-constrained environment, a 14B-parameter model combined with category-based input slicing offered a workable balance between analysis quality and deployment cost.

    Breaking a large report into focused subsets also proved more useful than treating the entire JSON file as a single reasoning task.

    The resulting review process follows three stages:

    1. Rule-based checking to identify traceable layout and connectivity defects.
    2. AI-assisted classification to organize findings and support prioritization.
    3. Physical simulation validation to test the relevant electrical and EMI implications.

    Rework decisions should rest on quantified, traceable, and verifiable evidence—not on the visual appeal of an AI-generated layout suggestion. Combining these three stages provides a more dependable engineering review process than relying on any one tool or model alone.