arXiv:2608.25217cs.AIAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.25217

LLM-Driven, Datasheet-Aware Automated Hardware Compatibility Verification for Early-Stage, Pre-Schematic Embedded System Design

Haotian Qiao, Robert P. Dick

Haotian Qiao and Robert P. Dick

Department of Electrical Engineering and Computer Science

University of Michigan

Ann Arbor, MI, USA

qhaotian@umich.edu, dickrp@umich.edu

Abstract—In current practice, designers manually inspect datasheets and compare specifications of related components to detect embedded-system design errors before prototyping, a labor-intensive and error-prone process. Large language models (LLMs) provide an opportunity to detect incompatibilities through automated information extraction, semantic reasoning, and code generation. However, straightforward LLM-based “upload-and-query” workflows are unreliable for this task for two reasons: long and scattered documentation can lead to property omission, while ad hoc prompts are implicit or ambiguous, resulting in incomplete and inconsistent compatibility verification.

We present an LLM-driven, datasheet-aware framework for early-stage hardware compatibility verification that identifies documentation-level interface incompatibilities based on hardware datasheets and high-level component connectivity descriptions. It does not require, and can therefore be used, before detailed schematic simulation and implementation. We view trustworthy LLM-assisted design automation not as directly generating answers from documents, but as transforming engineering information through traceable verification stages. Given hardware datasheets and high-level component connectivity descriptions, the framework constructs a design graph that captures device connectivity and shared interaction domains, retrieves only the engineering properties required by explicit, domain-oriented verification criteria, and generates deterministic scripts for compatibility evaluation. By decomposing compatibility analysis into modular stages and preserving intermediate results, the framework reduces context overhead, improves transparency and tractability, enables scaling, and avoids reliance on LLMs for numerical computation.

Evaluated on seven embedded-system designs comprising 34 datasheets, our framework achieves 97.5% compatibility-verification accuracy and an 8.6×8.6\times reduction in input context size compared with “upload-and-query” workflows. These results demonstrate the feasibility of LLM-assisted, specification-based hardware compatibility verification at an early design stage, as well as the need for, and substantial benefits of, modular task decomposition, formalized verification criteria, and task-aware compact context construction.

Index Terms—Embedded System Design Automation, LLM-driven Hardware Compatibility Verification

I. INTRODUCTION

Component incompatibilities may remain hidden until hardware–software integration, where diagnosing their root causes becomes difficult [1], [2]. Since design defects discovered late in design can incur substantial rework and increase development time and cost [1], [3], such as PCB respins; industry data reports an average of 2.9 respins per project, with an average cost of $44,000 per respin [4]. Therefore, identification of component incompatibilities before embedded systems proceed to physical implementation or deployment is valuable.

In this paper, hardware compatibility refers specifically to interface-level compatibility, including electrical, communication, power, and operating-environment compatibility required for correct component integration. It does not include software, packaging, or application-specific functional compatibility. Using incompatible hardware or components with conflicting operating environment requirements increases embedded system design effort and cost and may lead to higher in-field failure rates. For example, incompatible voltage levels can prevent reliable communication, supply voltages outside the supported operating range may cause device malfunction or permanent damage, and operating temperatures outside the specified range may lead to unreliable operation or device failure. Undetected hardware incompatibilities may not become apparent until PCB testing or later, where they often require board redesign, component replacement, firmware modification, prototype re-fabrication, and repeated validation. Such design iterations increase engineering cost and extend development schedules by weeks or months.

This paper presents DEVICES (Datasheet Extraction and Verification of Interface Compatibility for Embedded Systems), an automated LLM-driven framework for interface-level compatibility verification of hardware components based on manufacturer documentation before detailed schematic implementation. DEVICES functions at the early architecture design stage, where designers select system hardware components and define high-level connectivity relationships before developing detailed schematics. Using only hardware datasheets and natural-language connectivity descriptions, DEVICES evaluates whether interconnected components satisfy their documented electrical, communication, and environmental compatibility requirements. Once compatibility is confirmed, designers can proceed to schematic-level design and simulation, which require additional effort to determine pin-level schematics, component configurations, and circuit behavior. Therefore, DEVICES serves as an early-stage screening system that identifies documentation-level incompatibilities before investing the design time for detailed hardware design and implementation.

Consider the following example. A designer of an environmental sensor node PCB can use DEVICES to verify the interface compatibility of hardware components, including the micro-controller, temperature and humidity sensors, power modules, and wireless communication modules, by providing their datasheets and high-level connectivity descriptions. Without such automation, designers must manually search through hundreds of pages of datasheets to identify relevant specifications, a tedious and error-prone process that can take hours for each tentative system-level design. DEVICES automates this process, allowing designers to shift their effort from tedious specification inspection to system design. After compatibility verification succeeds, users can proceed to detailed schematic design for simulation and implementation.

Limitations of Existing LLM-Based “Upload-and-Query” Approaches

Engineers often repeatedly review hardware documentation and perform manual compatibility verification, a process that is labor-intensive, time-consuming, and error-prone. LLMs have demonstrated strong context-based knowledge retrieval, semantic reasoning, and code generation capabilities. By uploading documentation, engineers can use LLMs for tasks such as compatibility evaluation. However, straight-forward application of state-of-the-art LLMs fails at this task. This paper identifies and overcomes the relevant challenges.

Long and sparse contexts can cause LLMs to overlook distributed engineering information. Automated hardware compatibility evaluation requires reasoning over interactions among many components. The straightforward approach is to provide the LLM with the connectivity description and complete datasheets of all involved components. However, this exceeds the effective context lengths of modern LLM services, which typically preprocess uploaded documents and construct query-dependent contexts through document retrieval or chunk selection. Compatibility-related specifications are often scattered across different sections and may not be retrieved together. Even when the required information is included in the model's context, long and sparse contexts can degrade information utilization and instruction following, as demonstrated by prior studies on long-context reasoning [5] and the "lost-in-the-middle" phenomenon [6], [7], where LLMs tend to use information less effectively when it appears in the middle of long contexts.

When multiple datasheets are considered together, the relevant compatibility information is often distributed across a large and heterogeneous context, making it difficult for LLMs to consistently identify all required engineering properties. In our evaluation, five datasheets generated approximately 223k input tokens, yet GPT-5.4 omitted multiple required engineering properties and compatibility specifications even when verification criteria were provided as semantic anchors to guide the identification of target properties; such omissions became more frequent as additional datasheets were introduced. It remains unclear whether future improvements in LLMs will completely eliminate property omission, as both model capabilities and the scale of LLM-based applications continue to increase. This suggests that increasing context capacity alone may be insufficient for reliable knowledge extraction, particularly as the complexity and breadth of engineering tasks grow. We discuss the implications of future LLM evolution for the scalability and long-term value of DEVICES in Section V.

To address this challenge, we construct a compact, task-specific context by retrieving only the engineering properties required by the target verification criteria and organizing related properties closely within the reasoning context. This property-centric context construction reduces irrelevant and redundant information while preserving the information necessary for compatibility analysis, enabling the verification workload to scale with the number of component interactions rather than the amount of datasheet content. In the evaluation of the same example involving five datasheets and approximately 223k input tokens, DEVICES uses approximately 18k input tokens across six queries corresponding to different compatibility net nodes (see Section III-B), with the maximum context size of any individual query remaining below 46k tokens. This focused context allowed the

LLM to consistently follow the specified verification procedures and evaluate compatibility based solely on the explicitly provided engineering properties.

Ad hoc prompts lack the explicit and complete verification criteria required for reliable compatibility evaluation. Reliable compatibility verification requires domain-specific knowledge to identify the complete verification domains, required engineering properties, and evaluation rules for each device interaction or interface, such as SPI, UART, and I²C. Manually providing such detailed specifications is labor-intensive and requires substantial hardware expertise. Prior works [8]–[10] have shown that real-world users predominantly rely on simple, straightforward natural-language prompts, while systematically structured or engineered prompting strategies remain comparatively uncommon. Consequently, incomplete or ambiguous prompts can cause LLMs to omit required properties or verification procedures, resulting in inconsistent evaluations.

To address this problem, DEVICES formalizes compatibility verification criteria in a structured, domain-oriented way. The required engineering properties, verification procedures, and compatibility rules for each supported interaction or hardware type are defined. The corresponding criteria are automatically selected based on the target connectivity and provided to the LLM, eliminating the need for users to manually construct detailed prompts. This criterion-based design is highly extensible. Supporting a new interaction or hardware type only requires adding its corresponding verification criteria; the underlying framework requires no change. Moreover, because each evaluation query receives only the criteria relevant to the target interaction rather than the complete set of criteria, expanding the supported coverage does not increase the context size of individual evaluations, thereby maintaining verification accuracy as the framework scales.

One-shot LLM processing lacks independently verifiable interfaces between engineering evidence and LLM-generated verification operations. We view trustworthy LLM-assisted design automation not as directly generating answers from documents, but as transforming engineering information through traceable verification stages. The value of intermediate artifacts is therefore not that they provide LLM reasoning traces, but that they establish controllable and verifiable interfaces between LLM-generated operations and externally stored engineering data.

In DEVICES, the LLM generates structured instructions that reference and operate on externally stored properties rather than repeatedly reproducing engineering information. These instructions can be validated against predefined structures, while the underlying properties remain locally maintained and traceable to hardware knowledge graphs and source datasheets. Each stage therefore passes controlled artifacts to the next stage, allowing both the selected engineering data and the operations applied to them to be independently inspected and verified through deterministic local processing. Although a one-shot LLM can be prompted to generate similar intermediate reasoning, such outputs remain model-generated content and cannot provide the same separation between engineering evidence and LLM-generated operations. Our intermediate artifacts instead constrain information flow across stages, providing traceable evidence for compatibility decisions while preserving the LLM's role in semantic retrieval and verification program generation.