HOST AND AUTOMATED CIRCUIT CHECK METHOD

A host and an automated circuit check method are provided. The host includes a storage circuit and a processor. The processor is coupled to the storage circuit and is configured to access code to execute the following steps. Receive circuit check request. The circuit check request includes a circuit layout and check content. Based on the circuit layout and the check content, generate a circuit layout vector and a check content vector. Based on the circuit layout vector and the check content vector, obtain a corresponding component specification vector from a component specification database. The component specification database is built based on a visual retrieval-augmented generation algorithm. Based on the circuit layout vector and the check content vector, obtain a corresponding design rule vector from the design rule database. Based on the circuit layout vector, the component specification vector, and the design rule vector, determine whether the circuit check passes.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefit of U.S. provisional application serial no. 63/808,668, filed on May 20, 2025, and Taiwan application serial no. 115110113, filed on Mar. 18, 2026. The entirety of the above-mentioned patent applications is hereby incorporated by reference herein and made a part of this specification.

TECHNICAL FIELD

The disclosure relates to a host, and in particular to a host and an automated circuit check method.

BACKGROUND

Since the advent of transistors, circuit design has undergone revolutionary development from discrete components to integrated circuits (IC). According to Moore’s Law, the size of transistors continues to reduce in scale, doubling the number of components on a single chip every two years. Moreover, the circuit design is the hardware foundation of all modern technologies (from mobile phones, computers to artificial intelligence, aerospace). However, as process nodes enter the nanoscale, design complexity grows exponentially. Engineers needs to handle routing and power consumption issues of billions of transistors, and overcome physical limitations such as quantum effects, signal integrity, reliability, and electromagnetic interference, so that the modern circuit design becomes an extremely high-complexity engineering spanning various fields including physics, materials science, and computer science.

SUMMARY

The disclosure provides a host and an automated circuit check method.

A host of the disclosure includes a storage circuit and a processor. The processor is coupled to the storage circuit and is configured to access code to execute the following steps. A circuit check request is received. The circuit check request includes a circuit layout and check content. Based on the circuit layout and the check content, a circuit layout vector and a check content vector are generated. Based on the circuit layout vector and the check content vector, a component specification vector corresponding to the circuit layout is obtained from a component specification database. The component specification database is built based on a visual retrieval-augmented generation algorithm. Based on the circuit layout vector and the check content vector, a design rule vector corresponding to the check content is obtained from a design rule database. Based on the circuit layout vector, the component specification vector, and the design rule vector, whether the circuit check passes is determined.

An automated circuit check method of the disclosure includes the following steps. A circuit check request is received via a processor. The circuit check request includes a circuit layout and check content. Based on the circuit layout and the check content, a circuit layout vector and a check content vector are generated via the processor. Based on the circuit layout vector and the check content vector, a component specification vector corresponding to the circuit layout is obtained, via the processor, from a component specification database. The component specification database is built based on a visual retrieval-augmented generation algorithm. Based on the circuit layout vector and the check content vector, a design rule vector corresponding to the check content is obtained, via the processor, from a design rule database. Based on the circuit layout vector, the component specification vector, and the design rule vector, whether the circuit check passes is determined via the processor.

Based on the above, the heterogeneous data may be correctly understood, and the circuit check may be accurately performed to reduce manual work and check costs of circuit design.

To enable the foregoing description to be more comprehensible, the disclosure is described in detail below through embodiments with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic view of a host according to an embodiment of the disclosure.

FIG. 2 is a schematic flowchart of an automated circuit check method according to an embodiment of the disclosure.

FIG. 3 is a schematic flowchart of a building method of a vector database based on a visual retrieval-augmented generation algorithm according to an embodiment of the disclosure.

FIG. 4 is a schematic flowchart of a building method of a component specification database based on a visual retrieval-augmented generation algorithm according to an embodiment of the disclosure.

FIG. 5 is a schematic flowchart of a building method of a design rule database based on a visual retrieval-augmented generation algorithm according to an embodiment of the disclosure.

FIG. 6 is a schematic flowchart of an automated circuit check method according to an embodiment of the disclosure.

FIG. 7 is a schematic flowchart of an automated circuit check method according to an embodiment of the disclosure.

FIG. 8 is a schematic flowchart of an extraction method of a component specification according to an embodiment of the disclosure.

FIG. 9 is a schematic flowchart of an extraction method of a design rule according to an embodiment of the disclosure.

FIG. 10 is a schematic diagram of an automated circuit check scenario according to an embodiment of the disclosure.

DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS

The following description is made with reference to embodiments of the disclosure shown in the accompanying drawings to assist readers in fully understanding the methods, devices, and/or systems set forth herein. Therefore, for persons skilled in the art, various changes, modifications, or equivalent substitutions may be suggested for the systems, devices, and/or methods set forth herein. In addition, descriptions of well-known functions and structures may be omitted for greater clarity and conciseness. Furthermore, where possible, the same reference numerals are used in the drawings and description to refer to the same or similar parts.

Traditional circuit design check often requires professional engineers to spend a large amount of time manually checking circuit diagrams, tables, text, and points, and must confirm wiring one by one. Due to the numerous types of circuit components, the need for professional background for circuit diagram checking, and the excessively high manual check costs of professional personnel, plus the numerous pages of electronic component datasheets for different components, the circuit design check process is time-consuming and prone to omissions or missing information, increasing check costs of circuit design.

In another aspect, processing electronic circuits by using a language model (LM) or retrieval-augmented generation (RAG) technologies often faces various challenges. Specifically, with the rapid development of electronic design automation (EDA) technology, electronic circuit design and check processes are becoming increasingly complex and involve a large amount of heterogeneous data (for example, electronic component datasheets, circuit diagrams, design specifications, and test reports). Traditional LM or RAG technologies mostly rely on manual comparison and static rule engines, thereby easily causing erroneous judgments or missing problems due to inconsistent data formats, unclear semantics, or insufficient rule adaptability.

In the disclosure, to achieve correct understanding of heterogeneous data, the heterogeneous data is converted into homogeneous data by using a vision RAG (V-RAG) algorithm to unify the type of data. Moreover, standardization and vectorization may be performed on the data to unify the format and reduce the amount. Afterwards, whether the circuit check passes is determined by comparing the content that the user wants to check and the content in the database. In this way, the heterogeneous data may be correctly understood, and the circuit check may be accurately performed to reduce manual work and check costs of circuit design.

FIG. 1 is a schematic view of a host according to an embodiment of the disclosure. Referring to FIG. 1, a host 100 includes a storage circuit 102 and a processor 104. The storage circuit 102 is coupled to the processor 104. Moreover, the storage circuit 102 stores a component specification database DB1 and a design rule database DB2. However, the disclosure is not limited thereto.

In an embodiment, the host 100 may be included in a laptop, a tablet, a smartphone, other similar devices, or a combination of these devices. Moreover, the host 100 may adopt public cloud, private cloud, or on-premises deployment methods, thereby implementing the automated circuit check method of the disclosure. However, the disclosure is not limited thereto.

In an embodiment, the storage circuit 102 is one or multiple static or mobile random access memory (RAM), read-only memory (ROM), flash memory, hard disk, or a combination of any other similar devices, which records multiple modules and/or codes executed by the processor 104. However, the disclosure is not limited thereto.

In an embodiment, the processor 104 may be coupled to the storage circuit 102. The processor 104 may be, for example, a general-purpose processor, a special-purpose processor, a conventional processor, a digital signal processor (DSP), multiple microprocessors, one or multiple microprocessors associated with a DSP core, a controller, a microcontroller, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) circuit, any other type of integrated circuit (IC), and a state machine. However, the disclosure is not limited thereto.

In the embodiment of the disclosure, the processor 104 may access modules and/or codes stored in the storage circuit 102, and implement the automated circuit check method provided in the disclosure by cooperating with the component specification database DB1 and the design rule database DB2, which is further described below.

FIG. 2 is a schematic flowchart of an automated circuit check method according to an embodiment of the disclosure. Referring to FIGS. 1 and 2, an automated circuit check method 200 of FIG. 2 is an exemplary implementation of the host 100 of FIG. 1. The automated circuit check method 200 includes steps S210 to S250. However, the disclosure is not limited thereto.

In step S210, the processor 104 of the host 100 may receive a circuit check request. The circuit check request may include a circuit layout and check content. For example, the circuit layout may include a circuit diagram (for example, a circuit design diagram of IC) and a circuit information document (for example, a netlist, a component document (including connectivity, component numbers, etc.), and/or an electronic component datasheet). Moreover, the check content may include, for example: “Please check whether all connections of the IC are correct?”, “Are RX/TX of a component of RJ45 reversed?”, “Are upper and lower bridge resistors of FB of APL5934-1 correct?”, and “Please check net name errors in the file.” However, the disclosure is not limited thereto.

In step S220, the processor 104 may generate a circuit layout vector and a check content vector based on the circuit layout and check content in the circuit check request. For example, the processor 104 may identify the circuit layout and/or check content based on the V-RAG algorithm and/or semantic understanding algorithm, and uniformly convert the circuit layout and/or check content into standardized text (for example, referred to as standardized circuit layout and standardized check content), and then convert the standardized text into vectors (that is, the circuit layout vector and the check content vector), to compress the amount of data. However, the disclosure is not limited thereto.

The V-RAG algorithm is an artificial intelligence (AI) algorithm having multimodal (that is, multiple data types include text, diagrams, etc.) processing capabilities. The V-RAG algorithm enables AI to directly search for information from various data types such as diagrams and tables without limitation to text, and is capable of more accurately understanding and answering questions involving complex diagrams. Moreover, the semantic understanding algorithm may be implemented through large language models (LLM) using techniques commonly used by those skilled in the art, and the disclosure is not limited thereto. In addition, the V-RAG algorithm, the semantic understanding algorithm, and/or the LLM may be disposed in the cloud or locally, and the disclosure is not limited thereto.

In step S230, the processor 104 may obtain a component specification vector corresponding to the circuit layout from the component specification database DB1 in the storage circuit 102 based on the circuit layout vector and the check content vector. The component specification database DB1 may be disposed in the cloud or locally, and the disclosure is not limited thereto. Moreover, the component specification database DB1 is built based on the V-RAG algorithm. For example, the processor 104 may determine an electronic component included in the circuit layout. Moreover, the processor 104 may obtain a component specification vector corresponding to the electronic component from the component specification database DB1 based on the electronic component. That is, the component specification vector may be configured to be a vector indicating the specification of the electronic component included in the circuit layout. However, the disclosure is not limited thereto.

In step S240, the processor 104 may obtain a design rule vector corresponding to the check content from the design rule database DB2 in the storage circuit 102 based on the circuit layout vector and the check content vector. The design rule database DB2 may be disposed in the cloud or locally, and the disclosure is not limited thereto. For example, the processor 104 may determine an electronic component included in the circuit layout. Moreover, the processor 104 may obtain a design rule vector corresponding to the electronic component from the design rule database DB2 based on the electronic component. That is, the design rule vector may be configured to be a vector indicating the rule applicable to the electronic component included in the circuit layout, and the rule indicated by the design rule vector match the check content. However, the disclosure is not limited thereto.

In an embodiment, the design rule may include: differential signal connection rules, active status checking rules, bit swap check rules, pull-up/pull-down resistor checking rules, PCIe design checking rules, pin voltage design checking rules, peripheral circuit design checking rules, level translator design checking rules, I2C design checking rules, general circuit pin checking rules, general USB ESD capacitor checking rules, general EN pin checking rules, LED pin connection to TVS protection unit checking rules, output voltage checking rules, feedback pull-up/pull-down resistor group checking rules when necessary, or various other rules. However, the disclosure is not limited thereto.

In step S250, the processor 104 may determine whether the circuit check passes based on the circuit layout vector, the component specification vector, and the design rule vector. In an embodiment, the processor 104 may compare component specification similarity between the circuit layout vector and the component specification vector to determine whether the circuit check passes. Moreover, the processor 104 may compare design rule similarity between the circuit layout vector and the design rule vector to determine whether the circuit check passes. In an embodiment, the processor 104 may determine the component specification similarity and the design rule similarity based on a K Nearest Neighbor (KNN) algorithm.

That is, the component specification similarity and the design rule similarity must be one hundred percent matched (representing that the circuit components completely conform to the component specifications and the design rules) for the circuit check to be determined as passed. Conversely, the circuit check is determined as not passed. However, the disclosure is not limited thereto.

In this way, the heterogeneous data may be correctly understood, and the circuit check may be accurately performed, thereby reducing manual work and the check costs of circuit design.

To make the above concepts easier to understand, FIGS. 3 - 10 are used for further description in the following.

FIG. 3 is a schematic flowchart of a building method of a vector database based on a visual retrieval-augmented generation algorithm according to an embodiment of the disclosure. Referring to FIGS. 1 - 3, a building method 300 of the vector database based on the V-RAG algorithm in FIG. 3 is an exemplary implementation of the building method of the component specification database DB1 or the design rule database DB2 in FIG. 1 (and step S230 or step S240 in FIG. 2). The building method 300 includes steps S310 to S330. However, the disclosure is not limited thereto.

In step S310, the user may input a heterogeneous data set, and the processor 104 may receive the heterogeneous data set. In an embodiment, the circuit diagram and the circuit information document. The circuit information document may include electronic component datasheets, netlists, component documents, design rule documents, and/or test reports. However, the disclosure is not limited thereto.

Circuit diagrams and circuit information documents usually include text, and further include different types of data such as diagrams, tables, or formulas. That is, circuit diagrams and circuit information documents usually belong to heterogeneous data, rather than homogeneous data of a single type of data.

In step S320, the processor 104 may pre-process the heterogeneous data set including circuit diagrams and circuit information documents based on the V-RAG algorithm, thereby converting different types (for example, diagrams, text, tables, formulas, abbreviated as “diagram-text table-formula”) of data included in the heterogeneous data set into the same type of data. That is, pre-processing may include converting the heterogeneous data set into a homogeneous data set (for example, an diagram data set, a text data set, a table data set, and/or a formula data set) based on the V-RAG algorithm. Moreover, pre-processing may further include performing vectorization on the homogeneous data set to compress the amount of data. In other words, the V-RAG generation algorithm may be trained by converting the heterogeneous data set into the homogeneous data set, thereby improving the identifying capability. However, the disclosure is not limited thereto.

In step S330, the processor 104 may build a vector database based on the vectorized homogeneous data set. The vector database may include the component specification database DB1 and/or the design rule database DB2.

In this way, the vector database may provide correct check standards for the circuit check to save a large amount of manual check time and reduce erroneous judgments or omission problems caused by inconsistent data formats, unclear semantics, or insufficient rule adaptability.

FIG. 4 is a schematic flowchart of a building method of a component specification database based on a visual retrieval-augmented generation algorithm according to an embodiment of the disclosure. Referring to FIGS. 3 and 4, a building method 400 of the component specification database DB1 based on the V-RAG algorithm in FIG. 4 is an exemplary implementation of the building method 300 of the vector database based on the V-RAG algorithm. For understanding, the building method 400 provides a description of building the component specification database DB1, but may be equally applicable to the description of building the design rule database DB2. The building method 400 includes steps S410 to S490. However, the disclosure is not limited thereto.

In step S410, the user may input an electronic component datasheet, and the processor 104 may receive the electronic component datasheet. In step S420, the processor 104 may segment each page of the electronic component datasheet to generate diagrams and text for each page.

In step S430, the processor 104 may identify various heterogeneous data (“diagram-text-table-formula”) in each page of the electronic component datasheet based on the V-RAG algorithm, and perform classification to generate homogeneous data corresponding to each data type. That is, the processor 104 may convert the complete heterogeneous data set into a homogeneous data set based on the V-RAG algorithm.

In addition, in an embodiment, compared to converting the complete heterogeneous data set into the homogeneous data set, the processor 104 may segment the heterogeneous data of the heterogeneous data set based on the V-RAG algorithm and effective information to generate homogeneous data. That is, the processor 104 may identify effective information of the heterogeneous data to reduce computational load. For example, the effective information may include pin connection tables, electronic specification tables, reference circuit diagrams, and/or resistor-capacitor-inductor (RCL) formulas. That is, the effective information may include information related to the electrical properties of the electronic component. In another aspect, ineffective information may include information unrelated to the electrical properties of the electronic component, such as the manufacturer of the electronic component. However, the disclosure is not limited thereto.

When the data of the homogeneous data set is text, in step S440, the processor 104 may generate text of text specifications by using the LLM based on the text-type of homogeneous data set. That is, the text of text specifications is text that represents the text data of the homogeneous data set. Next, in step S450, the processor 104 may generate context data of the text of text specifications based on the text of text specifications. For example, the processor 104 may search for related context based on the data source location of the text of text specifications in the homogeneous data set to generate context data of the text of text specifications.

In another aspect, when the data of the homogeneous data set is not text, in steps S442, S444, and S446, the processor 104 may respectively generate text of various specifications by using LLM based on non-text-type (for example, table, diagram, formula) of homogeneous data sets. Specifically, the processor 104 may respectively generate text of table specifications, text of diagram specifications, and text of formula specifications based on table-type, diagram-type, and formula-type of homogeneous data sets. That is, the text of table specifications, the text of diagram specifications, and the text of formula specifications are text that represents the table data, diagram data, and formula data of the homogeneous data set.

In addition, when the data of the homogeneous data set is not text, in step S452, the processor 104 may extract keywords based on the text of corresponding specifications (that is, the text of table specifications, the text of diagram specifications, and the text of formula specifications). Moreover, in step S450, the processor 104 may search for related context based on the keywords and the data source locations of the text of table specifications, the text of diagram specifications, or the text of formula specifications in the homogeneous data set to generate context data of the text of table specifications, the text of diagram specifications, or the text of formula specifications.

In step S460, the processor 104 may integrate the text of various specifications and the corresponding context data together to generate text blocks of various specifications (for example, text blocks of text specifications, text blocks of table specifications, text blocks of diagram specifications, or text blocks of formula specifications).

In an embodiment, the processor 104 may directly combine the text of various specifications and the corresponding context data to generate text blocks. However, in another embodiment, the processor 104 may integrate the text of various specifications and the corresponding context data together, and further summarize the integrated data to generating text blocks. That is, the text blocks are configured to be summaries of the homogeneous data and the context data. However, the disclosure is not limited thereto.

In step S470, the processor 104 may uniformly convert the text blocks of various specifications to a marked language format to generate standardized data (for example, standardized text, standardized tables, standardized diagrams, and standardized formulas). That is, the standardized data has a marked language format. In an embodiment, the marked language format may be, for example, a Markdown format. However, the disclosure is not limited thereto.

In step S480, the processor 104 may generate vectorized data (for example, vectorized text, vectorized tables, vectorized diagrams, and vectorized formulas) based on the standardized data (that is, standardized text, standardized tables, standardized diagrams, and standardized formulas) to compress the amount of data. Moreover, in step S490, the processor 104 may build the component specification database DB1 based on the vectorized data. That is, the processor 104 may perform vectorization on the standardized data to generate component specification vectors, and store the component specification vectors in the component specification database DB1. In other words, the processor 104 may identify the circuit diagram and the circuit information document based on a V-RAG algorithm to build the component specification database DB1.

In this way, the component specification database DB1 may provide correct verification standards for the circuit check to save a large amount of manual check time and reduce erroneous judgments or omission problems caused by inconsistent data formats, unclear semantics, or insufficient rule adaptability.

FIG. 5 is a schematic flowchart of a building method of a design rule database based on a visual retrieval-augmented generation algorithm according to an embodiment of the disclosure. Referring to FIGS. 3 and 5, a building method 500 of the design rule database DB2 based on the V-RAG algorithm in FIG. 5 is an exemplary implementation of the building method 300 of the vector database based on the V-RAG algorithm. The building method 500 includes steps S510 to S540. However, the disclosure is not limited thereto.

In step S510, the processor 104 may obtain multiple circuit diagrams and multiple circuit information documents, and extract component names of electronic components in each circuit diagram and each circuit information document. Herein, the circuit diagrams and the circuit information documents may be standardized data. That is, the processor 104 may first perform steps S410 to S470 in FIG. 4 to generate standardized data, and then execute step S510 to extract component names of electronic components in the standardized data. However, the disclosure is not limited thereto.

In step S520, the processor 104 may determine component categories of the electronic components based on the component names of the electronic components. In an embodiment, the component categories of the electronic components may include connectors, high-speed networks, ICs, etc. However, the disclosure is not limited thereto.

In step S530, the processor 104 may determine multiple circuit test conditions related to the component categories based on the component categories of the electronic components. In an embodiment, the processor 104 may determine multiple circuit test conditions related to the component categories from a circuit test condition database. Moreover, the processor 104 may select suitable circuit test conditions or expand more circuit test conditions based on user instructions or design requirements. Next, in step S540, the processor 104 may build design rules for each component category based on the determined circuit test conditions. That is, the processor 104 may determine design rules related to the electronic components based on the component categories of the electronic components. Moreover, the processor 104 may build the design rule database DB2 based on the design rules of each component category.

In summary, the processor 104 may respectively generate component design rules corresponding to each of the electronic components based on the electronic components of the component categories. Moreover, the processor 104 may build the design rule database DB2 based on the component design rules.

In an embodiment, the circuit test conditions in the circuit test condition database may be text data (that is, the homogeneous data) that has already undergone standardization processing. In other words, the processor 104 may not need to generate design rules based on the circuit test conditions based on the V-RAG algorithm.

However, in another embodiment, the circuit test conditions in the circuit test condition database are heterogeneous data including the data types that have not yet undergone standardization processing. That is, the processor 104 may identify the circuit test conditions based on the V-RAG algorithm to generate design rules.

In an embodiment, the design rule of the design rule database DB2 may be converted from standardized data (that is, text data, also referred to as standardized design rules) to vectorized data (also referred to as design rule vector) during the building stage. That is, the processor 104 may perform vectorization on the standardized data to generate a design rule vector, and store the design rule vector in the design rule database DB2 to build the design rule database DB2. However, the disclosure is not limited thereto.

For example, in another embodiment, the design rule of the design rule database DB2 may be stored as standardized data (that is, standardized design rules) during the building stage. Moreover, when the design rule of the design rule database DB2 are retrieved, and then vectorized to generate vectorized data (that is, vectorized design rule).

In this way, the design rule database DB2 may provide correct check standards for the circuit check to save a large amount of manual check time and reduce erroneous judgments or omission issues caused by inconsistent data formats, unclear semantics, or insufficient rule adaptability.

After building the component specification database DB1 and the design rule database DB2 is completed, the processor 104 may receive a circuit check request from the user, and determine whether a specific circuit layout conforms to the check content based on the component specification database DB1 and the design rule database DB2. That is, the processor 104 may implement the automated circuit check method 200 based on the component specification database DB1 and the design rule database DB2, which is further described below.

FIG. 6 is a schematic flowchart of an automated circuit check method according to an embodiment of the disclosure. Referring to FIGS. 2 and 6, an automated circuit check method 600 of FIG. 6 is an exemplary implementation of the automated circuit check method 200 of FIG. 2. The automated circuit check method 600 includes steps S610 to S640. Moreover, the automated circuit check method 600 focuses on illustrating the content organization of data and the format standardization of data in the automated circuit check method 200. However, the disclosure is not limited thereto.

In step S610, the user may make a circuit check request. The circuit check request may include inputting heterogeneous data related to the circuit check and the check content. Moreover, the processor 104 may receive the heterogeneous data and the check content. For example, the heterogeneous data related to the circuit check may include a circuit layout. The circuit layout may include a circuit diagram and a circuit information document. The circuit information document may include a netlist, a component document, and/or an electronic component datasheet. However, the disclosure is not limited thereto. In addition, step S610 may further include steps S612 to S614.

In step S612, the processor 104 may identify the received heterogeneous data and generate various types (that is, “diagram-text-table-formula”) of homogeneous data. In step S614, the processor 104 may extract valid content from the homogeneous data (for example, the valid information of step S430).

In step S620, the processor 104 may pre-process the circuit check. Specifically, the processor 104 may determine the circuit layout that needs to be checked based on the heterogeneous data in the circuit check request. Moreover, the processor 104 may determine valid check content and valid design rules based on the circuit layout that needs to be checked and the check content in the circuit check request. For example, the processor 104 may classify the check content to determine check categories. Moreover, the processor 104 may determine related design rules based on the check categories to perform the circuit check.

After the processor 104 completes the circuit check of steps S230 to S250, the processor 104 may post-process the circuit check. Specifically, in step S630, the processor 104 may rewrite the text content of the check results of the circuit check into a unified output format. Moreover, in step S640, the processor 104 may output the data of the check results. In addition, before outputting, the processor 104 may perform error checking on the check results and then output the check results.

In this way, the heterogeneous data may be correctly understood, and the circuit check may be accurately performed to reduce the manual work and the check costs of circuit design.

FIG. 7 is a schematic flowchart of an automated circuit check method according to an embodiment of the disclosure. Referring to FIGS. 2 and 7, an automated circuit check method 700 of FIG. 7 is an exemplary implementation of the automated circuit check method 200 of FIG. 2. The automated circuit check method 700 includes steps S710 to S790. However, the disclosure is not limited thereto.

In steps S710 to S730, the user may input the check content, the circuit diagram, and the circuit information document to enable the processor 104 to perform the circuit check. That is, the processor 104 may receive a circuit check request including the check content, the circuit diagram, and the circuit information document.

In step S740, the processor 104 may extract a component specification from the component specification database DB1 based on the check content, the circuit diagram, and the circuit information document. The extraction method of the component specification is described in conjunction with FIG. 8, and is not elaborated here.

In step S742, the processor 104 may extract a design rule from the design rule database DB2 based on the check content, the circuit diagram, and the circuit information document. The extraction method of the design rule is described in conjunction with FIG. 9, and is not elaborated here.

In step S750, the processor 104 may determine the check results of the circuit check based on the check content, the circuit diagram, the circuit information document, the component specification, and the design rule, and output the check results.

In step S760, the processor 104 may determine whether there are multiple checks. That is, the processor 104 may determine whether the user has input a new circuit check request again. If the determination result is yes, then step S762 is proceeded. In step S762, the processor 104 may receive a new circuit check request. Moreover, in step S764, the processor 104 may output the check results of the new circuit check. In another aspect, if the determination result is no, the processor 104 may proceed to step S770.

In step S770, the processor 104 may integrate the check results of single or multiple circuit checks based on the LM, and output the integration results. The LM may be implemented using techniques well known to persons skilled in the art, and is not elaborated here. In step S780, the user may input feedback, and the processor 104 may receive the feedback. In step S790, the processor 104 may store the feedback and related data of the circuit check for subsequent evaluation and improvement use.

In this way, the heterogeneous data may be correctly understood, and the circuit check may be accurately performed to reduce manual work and the check costs of circuit design.

FIG. 8 is a schematic flowchart of an extraction method of a component specification according to an embodiment of the disclosure. Referring to FIGS. 7 and 8, an extraction method 800 of a component specification of FIG. 8 is an exemplary implementation of step S740 of the automated circuit check method 700 of FIG. 7. The extraction method 800 includes steps S810 to S870. However, the disclosure is not limited thereto.

In step S810, the processor 104 may obtain the check content and the circuit layout in the circuit check request. In step S820, the processor 104 may perform vectorization on the check content and the circuit layout to generate a check content vector and a circuit layout vector. In step S830, the processor 104 may search for vectors related to the check content vector and the circuit layout vector in the vector database. For example, the vector database is the component specification database DB1. Moreover, the processor 104 may search for component specification vectors related to the electronic components from the component specification database DB1 according to the electronic components in the check content or the electronic components of the circuit layout in the circuit check request.

In step S840, the processor 104 may compare the component specification similarity between the circuit layout vector and the component specification vectors. In step S850, the processor 104 may extract one or multiple component specification vectors with component specification similarity greater than a threshold similarity from the component specification database DB1, and sort the one or multiple component specification vectors according to the component specification similarity.

In step S860, the processor 104 may determine whether the number of component specification vectors extracted from the component specification database DB1 is greater than 1. If the determination result is no, the processor 104 proceeds step S862 to perform post-processing of a single result. For example, the processor 104 may extract the component specification vector with the highest component specification similarity to a buffer. In another aspect, if the determination result is yes, the processor 104 proceeds step S864 to perform post-processing of multiple results. For example, the processor 104 may integrate the component specification vectors with component specification similarity greater than the threshold similarity based on the LM, and extract the same to a buffer.

In step S870, the processor 104 outputs the one or multiple component specification vectors greater than the threshold similarity to perform subsequent circuit check.

In this way, component specifications may be correctly extracted, and the circuit check may be accurately performed to reduce manual work and the check costs of circuit design.

FIG. 9 is a schematic flowchart of an extraction method of a design rule according to an embodiment of the disclosure. Referring to FIGS. 7 and 9, an extraction method 900 of a design rule of FIG. 9 is an exemplary implementation of step S742 of the automated circuit check method 700 of FIG. 7. The extraction method 900 includes steps S910 to S980. However, the disclosure is not limited thereto.

In step S910, the processor 104 may obtain a component name of the electronic component in the check content in the circuit check request and/or a component name of the electronic component in the circuit layout. In step S920, the processor 104 may generate description information based on the LM and the component name of the electronic component. The description information may include content related to the electronic component in the check content and/or circuit layout. In step S930, the processor 104 may perform vectorization on the description information to generate a description information vector.

In step S940, the processor 104 may obtain the design rule database DB2 from external sources. In an embodiment, the design rule database DB2 may be a general circuit check rule database. In another embodiment, the design rule database DB2 may be a database established using FIG. 5. However, the disclosure is not limited thereto. In step S950, the processor 104 may perform vectorization the design rules in the design rule database DB2 to generate multiple design rule vectors.

In step S960, the processor 104 may compare the design rule similarity between the check content vector and the design rule vectors. In step S970, the processor 104 may determine whether there are one or multiple design rule vectors greater than the threshold similarity among the design rule vectors. If the determination result is yes, the processor 104 proceeds step S980. In step S980, the processor 104 may output the one or multiple design rule vectors greater than the threshold similarity to perform subsequent circuit check.

In this way, the design rules may be correctly extracted, and the circuit check may be accurately performed to reduce reliance on manual work and the check costs of circuit design.

FIG. 10 is a schematic diagram of an automated circuit check scenario according to an embodiment of the disclosure. Referring to FIGS. 1 -10, an automated circuit check scenario 1000 of FIG. 10 is an exemplary implementation of the system architecture of the automated circuit check method 200 of the disclosure. The automated circuit check scenario 1000 includes offline establishment 1010 and online test 1020. The offline establishment 1010 may correspond to FIGS. 3 -5, and the online test 1020 may correspond to FIGS. 6 -9. However, the disclosure is not limited thereto.

In the offline establishment 1010, the processor 104 may adopt the manner as shown in FIGS. 3 - 5 to build a vector database 1012. The vector database 1012 may include the component specification database DB1 and/or the design rule database DB2.

In the online test 1020, the processor 104 may receive a user input 1022. The user input 1022 may include a circuit check request. Subsequently, the processor 104 may activate an electronic design language model retrieval agent 1024 based on the code stored in the storage circuit 102 to implement the automated circuit check method 200 of the disclosure. The electronic design language model retrieval agent 1024 may perform the following functions: circuit diagram component pre-processing, circuit diagram text structure extraction, electronic component data sheet semantic retrieval, circuit rule extraction, artificial intelligence (AI) agent information processing and generation, one-click dedicated circuit agent question and answer, and circuit check result output. That is, the electronic design language model retrieval agent 1024 may cooperate with the vector database 1012 to determine whether the specific circuit layout conforms to the check content based on the circuit check request in the user input 1022 to output the check results of the circuit check.

In addition, the electronic design language model retrieval agent 1024 may provide the check results of the circuit check to a feedback mechanism 1026. The feedback mechanism 1026 may include a conversational user interface and input opinions and evaluation. That is, the feedback mechanism 1026 may receive user input opinions via the conversational user interface and evaluate the circuit check.

Finally, the online test 1020 further includes data storage 1028. The data storage 1028 may receive the circuit check request from the user input 1022 and the feedback information from the feedback mechanism 1026. That is, the data storage 1028 may store the feedback information and store the system data generated or required in operating the automated circuit check method 200.

In this way, through the collaborative cooperation of two stages, the heterogeneous data may be correctly understood, and the circuit check may be accurately performed to reduce manual work and the check costs of circuit design.

In summary, the host and automated circuit check method of the disclosure converts the heterogeneous data into homogeneous data by using V-RAG algorithm to unify the type of data. Moreover, the data may undergo standardization and vectorization to unify the format and reduce the amount. Subsequently, by comparing the content that the user wants to check and the content in the database, whether the circuit check passes may be determined. In this way, the heterogeneous data may be correctly understood, and the circuit check may be accurately performed to reduce manual work and reduce the check costs of circuit design.

For persons skilled in the art, changes may be made to the aforementioned embodiments without departing from the broad inventive concept of the disclosure. Therefore, it should be understood that the disclosure disclosed herein is not limited to the specific embodiments disclosed, and is intended to cover modifications within the spirit and scope of the disclosure.

Claims

1. A host, comprising:

a storage circuit, configured to store a code; and
a processor, coupled to the storage circuit and configured to access the code to execute: receiving a circuit check request, wherein the circuit check request comprises a circuit layout and check content; based on the circuit layout and the check content, generating a circuit layout vector and a check content vector; based on the circuit layout vector and the check content vector, obtaining a component specification vector corresponding to the circuit layout from a component specification database, wherein the component specification database is built based on a visual retrieval-augmented generation algorithm; based on the circuit layout vector and the check content vector, obtaining a design rule vector corresponding to the check content from a design rule database; and based on the circuit layout vector, the component specification vector, and the design rule vector, determining whether the circuit check passes.

2. The host according to claim 1, wherein the processor is further configured to access the code to execute:

comparing a component specification similarity between the circuit layout vector and the component specification vector to determine whether the circuit check passes.

3. The host according to claim 1, wherein the processor is further configured to access the code to execute:

comparing a design rule similarity between the circuit layout vector and the design rule vector to determine whether the circuit check passes.

4. The host according to claim 1, wherein the processor is further configured to access the code to execute:

determining an electronic component comprised in the circuit layout;
based on the electronic component, obtaining the component specification vector corresponding to the electronic component from the component specification database; and
based on the electronic component, obtaining the design rule vector corresponding to the electronic component from the design rule database.

5. The host according to claim 1, wherein the processor is further configured to access the code to execute:

based on the visual retrieval-augmented generation algorithm, identifying the circuit layout to generate a standardized circuit layout; and
performing vectorization the standardized circuit layout to generate the circuit layout vector.

6. The host according to claim 1, wherein the processor is further configured to access the code to execute:

based on a semantic understanding algorithm, identifying the check content to generate standardized check content; and
performing vectorization the standardized check content to generate the check content vector.

7. The host according to claim 1, wherein the processor is further configured to access the code to execute:

based on the visual retrieval-augmented generation algorithm, identifying a circuit diagram and a circuit information document to build the component specification database.

8. The host according to claim 1, wherein the processor is further configured to access the code to execute:

based on a plurality of electronic components of a plurality of component categories, respectively generating a component design rule corresponding to each of the plurality of electronic components; and
based on the component design rule, building the design rule database.

9. The host according to claim 1, wherein the processor is further configured to access the code to execute:

based on the visual retrieval-augmented generation algorithm, identifying a heterogeneous data set to generate a homogeneous data set to build the component specification database or the design rule database,
wherein the heterogeneous data set comprises a circuit diagram, an electronic component data sheet, a design rule document, and/or a test report, and
the homogeneous data set comprises a diagram data set, a text data set, a table data set, and/or a formula data set.

10. The host according to claim 9, wherein the processor is further configured to access the code to execute:

based on the visual retrieval-augmented generation algorithm and effective information, segmenting heterogeneous data in the heterogeneous data set to generate homogeneous data, wherein the effective information comprises a pin table, an electronic specification table, a reference circuit diagram, and/or a resistance-capacitance-inductance (RCL) formula.

11. The host according to claim 10, wherein the processor is further configured to access the code to execute:

based on context of the homogeneous data, obtaining context data; and
converting the homogeneous data and the context data to generate a text block.

12. The host according to claim 11, wherein the processor is further configured to access the code to execute:

converting the text block to standardized data, wherein the standardized data is configured to have a marked language format.

13. The host according to claim 12, wherein the processor is further configured to access the code to execute:

performing vectorization on the standardized data to generate a component specification vector, and storing the component specification vector to the component specification database.

14. The host according to claim 12, wherein the processor is further configured to access the code to execute:

performing vectorization the standardized data to generate a design rule vector, and storing the design rule vector to the design rule database.

15. The host according to claim 12, wherein the processor is further configured to access the code to execute:

extracting a component name of an electronic component in the standardized data;
based on the component name, determining a component category of the electronic component;
based on the component category, determining a design rule related to the electronic component; and
performing vectorization on the standardized data to generate a design rule vector, and storing the design rule vector to the design rule database.

16. An automated circuit check method, comprising:

receiving, via a processor, a circuit check request, wherein the circuit check request comprises a circuit layout and check content;
generating, via the processor, a circuit layout vector and a check content vector based on the circuit layout and the check content;
obtaining, via the processor, a component specification vector corresponding to the circuit layout from a component specification database based on the circuit layout vector and the check content vector, wherein the component specification database is built based on a visual retrieval-augmented generation algorithm;
obtaining, via the processor, a design rule vector corresponding to the check content from a design rule database based on the circuit layout vector and the check content vector; and
determining, via the processor, whether the circuit check passes based on the circuit layout vector, the component specification vector, and the design rule vector.

17. The automated circuit check method according to claim 16, wherein comparing a component specification similarity between the circuit layout vector and the component specification vector to determine whether the circuit check passes.

18. The automated circuit check method according to claim 16, wherein comparing a design rule similarity between the circuit layout vector and the design rule vector to determine whether the circuit check passes.

19. The automated circuit check method according to claim 16, wherein determining an electronic component comprised in the circuit layout; based on the electronic component, obtaining the component specification vector corresponding to the electronic component from the component specification database; and based on the electronic component, obtaining the design rule vector corresponding to the electronic component from the design rule database.

20. The automated circuit check method according to claim 16, wherein based on the visual retrieval-augmented generation algorithm, identifying the circuit layout to generate a standardized circuit layout; and performing vectorization the standardized circuit layout to generate the circuit layout vector.

Patent History
Publication number: 20260377616
Type: Application
Filed: May 19, 2026
Publication Date: Nov 26, 2026
Applicant: Industrial Technology Research Institute (Hsinchu)
Inventors: Hsiao-Wei Liu (Hsinchu County), Yung-Sheng Chang (Hsinchu County), Yu-Ying Lan (Hsinchu City), Wei Chian Kew (Hsinchu City), Teng-Chieh Yang (Hsinchu County), Ming-Ji Dai (Hsinchu City)
Application Number: 19/682,375
Classifications
International Classification: G06F 30/33 (20200101);