WO2021258363A1 - Circuit reliability analysis method and apparatus, storage medium, and electronic equipment - Google Patents

Circuit reliability analysis method and apparatus, storage medium, and electronic equipment Download PDF

Info

Publication number
WO2021258363A1
WO2021258363A1 PCT/CN2020/098225 CN2020098225W WO2021258363A1 WO 2021258363 A1 WO2021258363 A1 WO 2021258363A1 CN 2020098225 W CN2020098225 W CN 2020098225W WO 2021258363 A1 WO2021258363 A1 WO 2021258363A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit diagram
reliability analysis
diagram
parameters
adjacency matrix
Prior art date
Application number
PCT/CN2020/098225
Other languages
French (fr)
Chinese (zh)
Inventor
湛灿辉
杨超
刘长泽
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2020/098225 priority Critical patent/WO2021258363A1/en
Publication of WO2021258363A1 publication Critical patent/WO2021258363A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]

Definitions

  • This application relates to the technical field of circuit analysis, and in particular to a circuit reliability analysis method, device, storage medium, program product, chip, and electronic equipment.
  • the analysis of circuit reliability refers to the analysis of the reliability of the performance of the circuit, such as analyzing the performance parameters of each device in the circuit, and obtaining the degradation rate and/or failure rate of the circuit.
  • a circuit reliability analysis method includes: receiving input excitation and circuit diagrams, simulating the excitation and circuit diagrams through a simulator, and outputting analysis results of the circuit diagrams, such as outputting circuit reliability results reports.
  • embodiments of the present application provide a circuit reliability analysis method, device, storage medium, program product, chip, and electronic equipment.
  • the embodiments of the present application provide a method for analyzing circuit reliability, and the method includes:
  • the reliability analysis result of the circuit diagram is generated.
  • the inventive concept of this application is to generate a reliability analysis model based on the sample circuit diagram and the neural network model in advance, and perform reliability analysis on the circuit diagram in combination with the reliability analysis model.
  • the embodiments of the present application analyze the reliability of the circuit diagram in combination with the topology diagram and the reliability analysis model, there is no need for manual input excitation, therefore, it can avoid the use of the integrated circuit simulator in the related technology ( Simulation Program for Integrated Circuits Emphasis, Spice) is a waste of human resources when performing reliability analysis, and the analysis results are easily affected by human factors (such as incentives being missed by the staff, etc.), which can save costs and improve reliability
  • the analysis is automated and intelligent, and the accuracy of the analysis results is improved; on the other hand, the integrated circuit simulator is based on the number of layers of the circuit diagram, which divides the circuit diagram into multiple modules for simulation. Therefore, it may cause low efficiency and top-level simulation.
  • the embodiment of the present application can fully cover the components of the circuit diagram and the connection relationship between the components, thereby realizing reliability analysis
  • the completeness and accuracy of the reliability analysis can improve the efficiency of reliability analysis.
  • the generating the reliability analysis result of the circuit diagram according to the topology diagram and the preset reliability analysis model includes:
  • the analysis result is generated according to the adjacency matrix, the feature vector, and the reliability analysis model.
  • the adjacency matrix can be used to determine the neighbor relationship between the nodes in the topology, and the feature vector can reflect the design parameters of the device. Therefore, the adjacency matrix and the feature vector are used as the input of the reliability analysis model Features, can get higher accuracy analysis results.
  • the generating the analysis result according to the adjacency matrix, the eigenvector, and the reliability analysis model includes:
  • the analysis result is generated.
  • the edges in the topology diagram are directed edges, and the direction of the edges is determined based on the design parameters of the device.
  • the direction of the side is introduced, and by introducing the direction of the side, the connection relationship between the devices can be more clearly reflected, and the accuracy of the reliability analysis can be improved.
  • the generating an adjacency matrix according to the topological graph includes:
  • the adjacency matrix is constructed based on the attribute information, wherein one device corresponds to one adjacency matrix, or one type of pin corresponds to one adjacency matrix.
  • the number of devices or the types of pins are considered, and the adjacency matrix is constructed according to the number of devices or the types of pins, which can realize the completeness and integrity of the circuit diagram analysis. Comprehensiveness, so as to achieve the technical effect of improving the accuracy of reliability analysis.
  • the generating the analysis result according to the adjacency matrix, the eigenvector, and the reliability analysis model includes:
  • the analysis result is generated according to each adjacency matrix, the feature vector, the reliability analysis model, and the preset weight of each adjacency matrix.
  • the method further includes:
  • the reliability analysis model is generated according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the preset neural network model, and the simulation parameters.
  • the generating the reliability analysis model based on the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the preset neural network model, and the simulation parameters includes:
  • the parameters of the neural network model are iterated according to the test values and the simulation parameters to generate the reliability analysis model.
  • the accuracy of the reliability analysis model can be improved, thereby improving the accuracy of the analysis result.
  • the iterating on the parameters of the neural network model according to the test values and the simulation parameters, and generating the reliability analysis model includes:
  • the parameters of the neural network model are iterated according to the loss function including the penalty term to generate the reliability analysis model.
  • the constructing the topology diagram of the circuit diagram includes:
  • the topology diagram is constructed according to the circuit netlist.
  • the embodiments of the present application also provide a circuit reliability analysis device, the device including:
  • the acquisition module is used to acquire the circuit diagram to be analyzed
  • the first construction module is used to construct the topology diagram of the circuit diagram, wherein the nodes in the topology diagram are used for characterization, each device in the circuit diagram, the edges in the topology diagram are used for characterization, and each Connection lines between devices;
  • the first generating module is used to generate the reliability analysis result of the circuit diagram according to the topology diagram and the preset reliability analysis model.
  • the first generation module is configured to generate an adjacency matrix according to the topology map, determine the respective eigenvectors of each device according to the design parameters of each device, and determine the respective eigenvectors of each device according to the adjacency matrix, the The feature vector and the reliability analysis model generate the analysis result.
  • the first generation module is configured to perform information fusion processing on each of the nodes according to the adjacency matrix and the feature vector, and generate information based on the fusion processing information and the reliability analysis model The results of the analysis.
  • the edges in the topology diagram are directed edges, and the direction of the edges is determined based on the design parameters of the device.
  • the first generation module is used to determine the attribute information of the device in the topology diagram, where the attribute information is used to characterize the number of the device or the pin of the device
  • the adjacency matrix is constructed based on the attribute information, wherein one device corresponds to one adjacency matrix, or one type of pin corresponds to one adjacency matrix.
  • the first generating module is configured to generate the analysis result according to each of the adjacency matrix, the eigenvector, the reliability analysis model, and preset weights of each of the adjacency matrices .
  • the device further includes:
  • the second building module is used to build the topology diagram of the sample circuit diagram
  • the determining module is used to determine the design parameters of each device in the sample circuit diagram
  • An acquisition module for acquiring the simulation parameters of each device in the sample circuit diagram obtained by the simulator
  • the second generation module is configured to generate the reliability analysis model according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the preset neural network model, and the simulation parameters.
  • the second generation module is configured to generate test values according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the simulation parameters and the neural network model, The parameters of the neural network model are iterated according to the test values and the simulation parameters to generate the reliability analysis model.
  • the second generation module is configured to determine a loss function according to the test value and the simulation parameters, and determine the norm of the parameters of the neural network model as the penalty term of the loss function , Iterating the parameters of the neural network model according to the loss function including the penalty term to generate the reliability analysis model.
  • the first construction module is used to generate a circuit netlist of the circuit diagram, and construct the topology diagram according to the circuit netlist.
  • the embodiments of the present application also provide a computer storage medium having computer instructions stored on the computer storage medium.
  • the computer instructions are executed by a processor, any one of the foregoing The method described in the embodiment is executed.
  • the embodiments of the present application also provide a computer program product, which when the computer program product runs on a processor, causes the method described in any of the foregoing embodiments to be executed.
  • the embodiments of the present application also provide an electronic device, including:
  • At least one processor At least one processor
  • a memory communicatively connected with the at least one processor; wherein,
  • the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the method described in any of the foregoing embodiments is executed.
  • the embodiments of the present application also provide a chip, including:
  • Input interface used to obtain the circuit diagram to be analyzed
  • a logic circuit is used to execute the method described in any of the above embodiments to obtain an analysis result of the reliability of the circuit diagram;
  • the output interface is used to output the reliability analysis result of the circuit diagram.
  • FIG. 1 is a schematic flowchart of a circuit reliability analysis method according to an embodiment of the application
  • FIG. 2 is a schematic diagram of a circuit diagram of an embodiment of the application
  • FIG. 3 is a schematic diagram of a topology diagram of an embodiment of the application.
  • FIG. 4 is a schematic flowchart of a circuit reliability analysis method according to another embodiment of the application.
  • FIG. 5 is a schematic diagram of a circuit netlist generated based on the circuit diagram shown in FIG. 2;
  • Fig. 6 is a schematic diagram of an adjacency matrix according to an embodiment of the application.
  • FIG. 7 is a schematic diagram of a feature vector according to an embodiment of the application.
  • FIG. 8 is a schematic flowchart of a circuit reliability analysis method according to another embodiment of the application.
  • FIG. 9 is a schematic diagram of a topological diagram including the direction of edges according to an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a method for generating a reliability analysis model according to an embodiment of the application
  • FIG. 11 is a schematic diagram of a circuit reliability analysis device according to an embodiment of the application.
  • FIG. 12 is a schematic diagram of a circuit reliability analysis device according to another embodiment of the application.
  • FIG. 13 is a block diagram of an electronic device according to an embodiment of the application.
  • FIG. 14 is a schematic diagram of a chip according to an embodiment of the application.
  • the embodiments of the present application provide a method for analyzing circuit reliability.
  • FIG. 1 is a schematic flowchart of a circuit reliability analysis method according to an embodiment of the application.
  • the method includes:
  • the execution subject of the embodiments of the present application may be a circuit reliability analysis device (hereinafter referred to as the analysis device), and the analysis device may be a computer, a server, a processor, a chip, a terminal device, and the like.
  • the analysis device may be a computer, a server, a processor, a chip, a terminal device, and the like.
  • S102 Construct a topological diagram of a circuit diagram, where nodes in the topological diagram can be used for characterization, each device in the circuit diagram, edges in the topological diagram can be used for characterization, and a connection line between each device.
  • FIG. 2 is a circuit diagram of an embodiment of the application
  • FIG. 3 is a topology diagram of an embodiment of the application.
  • the circuit diagram includes 4 MOS (metal oxide semiconductor) tubes, which are marked as M1, M2, M3, and M4; each MOS tube is connected by a connecting line Net, and the connecting lines are marked as N1, N2, and N3. , N4 and N5; Vdd can be used for characterization, the power supply is the working voltage provided by the circuit diagram; Vss can be used for characterization, the common ground terminal voltage of the circuit diagram; Is can be used for characterization, the signal source of the circuit diagram.
  • MOS metal oxide semiconductor
  • the topology diagram shown in FIG. 3 is constructed.
  • the analysis device can construct nodes based on MOS transistors, and construct connections between nodes and nodes based on the connecting lines between MOS transistors, and then a topology diagram including nodes and edges (that is, connections between nodes and nodes) can be obtained.
  • one pin of M1 is connected to two pins of M3 respectively through N2. Therefore, in Figure 3, there are two connecting lines between node M1 and node M2, and both are marked as N2; In the same way, a pin of M2 is connected to M4 through N3, then in Fig. 3, there is a connection line between node M2 and node M4, which is marked as N3, and so on, and will not be repeated here.
  • the reliability analysis result (hereinafter referred to as the analysis result) can be used to characterize the degradation rate and/or failure rate of the circuit in the circuit diagram.
  • the reliability analysis model can be used for characterization, and is a network model used to analyze the reliability of the circuit.
  • the reliability analysis model can be generated based on a sample circuit diagram and a preset neural network model.
  • the number of sample circuit diagrams can be selected based on requirements, historical records, experiments, etc., and the embodiment of the present application does not limit the number of sample circuit diagrams.
  • the demand can be used for characterization.
  • the demand for the reliability of the analysis result is preset in the analysis device, and the analysis device can select a relatively large number of sample circuit diagrams for the relatively high reliability requirements to improve the reliability.
  • the accuracy of the analysis model improves the reliability of the analysis results; conversely, the analysis device can select a relatively small number of sample circuit diagrams for relatively low reliability requirements.
  • the analysis device Based on historical records, the analysis device knows that when the number of sample circuit diagrams is within a certain number interval, the accuracy of the reliability analysis model is relatively high and can meet the preset analysis needs, then the analysis device can select the number of sample circuit diagrams based on the number interval .
  • a number of quantitative intervals are preset in the analysis device.
  • the analysis device selects the sample circuit diagrams of each quantity interval, generates the reliability analysis model of the test stage based on each quantity interval, and selects the number of the sample circuit diagrams based on the accuracy of the reliability analysis model of each test stage.
  • the neural network model can be any one of a convolutional neural network model, a recurrent neural network model, a deep neural network model, and a feedforward neural network model.
  • the embodiment of the application does not limit the type of neural network, and the embodiment of the application can also select the neural network model based on needs, experience, and experiment. For the selection principle, please refer to the above example, which will not be repeated here. .
  • an embodiment of the present application provides a circuit reliability analysis method.
  • the method includes: obtaining a circuit diagram to be analyzed, and constructing a topological diagram of the circuit diagram.
  • the nodes in the topological diagram can be used for characterization.
  • the edges in the topology diagram can be used to characterize each device, the connection line between each device, according to the topology diagram and the preset reliability analysis model, generate the reliability analysis result of the circuit diagram.
  • the example is to analyze the reliability of the circuit diagram by combining the topology diagram and the reliability analysis model without manual input excitation. Therefore, it can avoid the reliability analysis through the integrated circuit simulator (Simulation Program for Integrated Circuits Emphasis, Spice) in the related technology.
  • the integrated circuit simulator is based on the number of layers of the circuit diagram and divides the circuit diagram into multiple modules for simulation. Therefore, it may cause problems such as low efficiency, inability to complete the simulation at the top level, and missing parts of the circuit of each module interface.
  • the topology diagram of the circuit diagram in the embodiment of the present application, it is possible to achieve a comprehensive coverage of the various components of the circuit diagram and the connection relationship between the components, thereby achieving the completeness and accuracy of the reliability analysis, and improving the reliability analysis. efficient.
  • FIG. 4 is a schematic flowchart of a circuit reliability analysis method according to another embodiment of the application.
  • the method includes:
  • S201 can refer to S101, which will not be repeated here.
  • S202 Construct a topological diagram of the circuit diagram, where nodes in the topological diagram are used for characterization, each device in the circuit diagram, edges in the topological diagram are used for characterization, and connecting lines between the devices.
  • S202 may include:
  • the circuit netlist can be used to characterize and describe the text of the connecting lines of each device, and/or the text of the parameters of each device.
  • FIG. 5 is a schematic diagram of a circuit netlist generated based on the circuit diagram shown in FIG. 2.
  • the circuit netlist exemplarily shows the connection lines of each device.
  • the analysis device can determine that the gate and drain of M3 are connected to other devices through N2. For example, the drain of M3 is connected to M1 through N2, and the gate of M3 is connected to N2 through N2. M4 is connected, and the substrate and source of M3 are both connected to Vdd through N4. Therefore, the analysis device can generate the text of (N2N2N4N4) as shown in FIG. 5 with the connection line connected to M3.
  • the circuit netlist generated by the analysis device also exemplarily shows the parameters of each device.
  • Is means that Is is a current source
  • the circuit netlist can be used to characterize the text of the connection lines of each device, and/or the text of the parameters of each device. Therefore, when the analysis device generates the circuit netlist, each node can be generated according to each device. , And construct the edge between each node according to the connecting line of each device, thereby generating the topological graph.
  • S203 Generate an adjacency matrix according to the topological graph.
  • the adjacency matrix can be used to characterize the matrix of adjacent relationships between nodes. In other words, through the adjacency matrix, the connection relationship between the nodes can be determined.
  • the adjacency matrix shown in FIG. 6 can be generated according to the topology diagram shown in FIG. 3.
  • each number is used to represent the number of connecting lines between each device. For example, there is one connection line between M1 and M2, two connection lines between M1 and M3, and so on.
  • S204 Determine the respective feature vector of each device according to the design parameters of each device.
  • the design parameters can be used for characterization, parameters related to the shape of the device and/or parameters related to the performance of the device.
  • the parameters related to the shape of the device may include the shape dimensions of the device, such as length, width, and height, etc.; the parameters related to the performance of the device may include the resistance and power of the device, and so on.
  • the characteristic vector of each device in FIG. 2 can be determined according to the design parameters of each device in FIG. 2. For details, please refer to FIG. 7.
  • std core can be used to characterize the standard parameters of the device (based on industry standards); IO core can be used to characterize the parameters of the IO interface of the device; Dio can be used to characterize the stroboscopic parameters of the device; R It can be used to characterize the resistance of the device; C can be used to characterize the capacitance of the device; V can be used to characterize the voltage of the device.
  • the feature vector of M1 is a value formed by combining the standard parameters of M1, the parameters of the IO interface, the de-flickering parameters, the resistance, the capacitance, and the voltage in sequence, and so on, which will not be repeated here.
  • S205 Generate an analysis result according to the adjacency matrix, eigenvector, and reliability analysis model.
  • S205 may include:
  • S2051 Perform information fusion processing on each node according to the adjacency matrix and the feature vector.
  • the information fusion processing can be used for characterization.
  • the analysis device fuses the information of the nodes adjacent to the node (hereinafter referred to as the adjacent node), and combines the information of the fused adjacent node with the node.
  • the information is fused, that is, the information after fusion processing includes not only the information of the node itself, but also the information of neighboring nodes.
  • M2, M3, M4, and Is are all adjacent nodes of M1, and the analysis device uses matrix multiplication to multiply the first row of the adjacency matrix shown in Figure 6 by the eigenvector in Figure 7, then The feature vectors of M1's neighboring nodes M2, M3, M4 and Is are merged into a feature vector, which can be used to characterize the information of M1's neighboring nodes, and then the neighboring node information and M1 information are fused Processing, and so on, will not be repeated here.
  • the circuit structure may be a multi-layer circuit structure.
  • the analysis device can perform information fusion processing on nodes between different layers through Equation 1, Equation 1:
  • F (l) is the eigenvector of each device output by the lth layer
  • A is the adjacency matrix of the 1-1 layer
  • F (l-1) is the eigenvector of each device output by the 1-1 layer
  • W (l) is the preset model parameter, W (l) can be the sum of squares of the reliability index of each sample circuit diagram generated by the integrated circuit simulator
  • CONCAT() is the splicing operation
  • CONCAT(AF (l-1) , F (l-1) ) can represent the splicing process of AF (l-1) and F (l-1) , that is, take the union of AF (l-1) and F (l-1)
  • is the activation function , Can mean that (CONCAT(AF (l-1) , F (l-1) )W (l) ) is non-linear processing.
  • S2052 Generate an analysis result according to the information after the fusion processing and the reliability analysis model.
  • the analysis result can be used to characterize the degradation rate and/or failure rate of the circuit.
  • the analysis device can input the fusion processed information into the reliability analysis model, and based on the reliability analysis model Generate the degradation rate and/or failure rate of the circuit as shown in FIG. 2.
  • the reliability analysis model is generated based on the sample circuit diagram and the preset neural network model, that is, the reliability analysis model may be a neural network model for analyzing the reliability of the circuit.
  • the reliability analysis model includes multiple neurons. Neurons can store information, can also act as information transmitters, and can also act as information processors. Each neuron includes parameters such as connection weights. In the embodiment of the present application, the analysis device may calculate the fusion processed information based on each neuron, so as to generate the degradation rate and/or failure rate of each device.
  • each neuron can perform multiplication calculation on parameters such as the fusion processed information and connection weight, and generate the degradation rate and/or failure rate of each device.
  • FIG. 8 is a schematic flowchart of a circuit reliability analysis method according to another embodiment of the application.
  • the method includes:
  • S302 Construct a topological diagram of the circuit diagram, where nodes in the topological diagram are used for characterization, each device in the circuit diagram, edges in the topological diagram are used for characterization, connecting lines between the devices, and edges in the topological diagram are The pointing side, the direction of the side is determined based on the design parameters of the device.
  • the edges in the topology diagram are oriented edges, and the orientation of the edges can be used to reflect the input impedance of each device.
  • the direction of the side can be determined based on the direction of current and voltage.
  • the direction of the side can also be determined based on other design parameters, which will not be listed here.
  • FIG. 9 a schematic diagram of a topological diagram including the direction of edges as shown in FIG. 9 can be obtained.
  • Fig. 9 exemplarily shows the direction of the edges of the node M4 and the nodes M1 and M3, respectively.
  • S303 Determine the attribute information of the device in the topology map, where the attribute information can be used to characterize the number of the device or the type of the pin of the device.
  • the types of pins may include drain, source, and gate.
  • the reliability of the circuit diagram can be analyzed based on the number of devices or the types of pins.
  • S304 Construct an adjacency matrix based on the attribute information, where one device corresponds to one adjacency matrix, or one type of pin corresponds to one adjacency matrix.
  • the principle of constructing the adjacency matrix can be referred to the above example, which will not be repeated here.
  • S305 Generate an analysis result according to each adjacency matrix, eigenvector, reliability analysis model, and preset weights of each adjacency matrix.
  • the analysis device considers the quantity of each device or the type of each pin, there are multiple adjacency matrices obtained.
  • the analysis device is configured for each adjacency matrix
  • the weight, and the weight can be set based on requirements, historical records, experiments, etc., and the specific setting method can be referred to the above example, which will not be repeated here.
  • F (l) is the eigenvector of each device output by the lth layer
  • a i is the adjacency matrix of the i-th topological graph of the l-1 layer
  • w i is the weight of A i
  • F (l-1) Is the feature vector of each device output from the l-1 layer
  • W (l) is the preset model parameter
  • CONCAT() is the splicing operation
  • is the activation function.
  • FIG. 10 is a schematic flowchart of a method for generating a reliability analysis model according to an embodiment of the application.
  • the method includes:
  • the method of constructing the topology diagram of the sample circuit diagram can refer to the above-mentioned example, which will not be repeated here.
  • S3 Collect the simulation parameters of each device in the sample circuit diagram obtained by the simulator.
  • simulation parameters can be used for characterization, degradation rate and/or failure rate.
  • the simulator may be the integrated circuit simulator in the above example.
  • S4 Generate a reliability analysis model based on the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the neural network model and the simulation parameters.
  • S4 may include:
  • S41 Generate test values according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the simulation parameters and the neural network model.
  • S42 may include:
  • S421 Determine the loss function according to the test value and the simulation parameter.
  • S422 Determine the norm of the parameters of the neural network model as the penalty term of the loss function.
  • the embodiments of the present application also provide a circuit reliability analysis device, which is used to perform the method described in any of the above embodiments, for example, it is used to perform Figure 1, Figure 4, The method shown in any one of the embodiments in FIG. 8 and FIG. 10.
  • FIG. 11 is a schematic diagram of a circuit reliability analysis device according to an embodiment of the application.
  • the device includes:
  • the obtaining module 11 is used to obtain the circuit diagram to be analyzed
  • the first construction module 12 is used to construct the topological diagram of the circuit diagram, where nodes in the topological diagram are used for characterization, each device in the circuit diagram, edges in the topological diagram are used for characterization, and each The connecting wires between the devices;
  • the first generating module 13 is configured to generate the reliability analysis result of the circuit diagram according to the topology diagram and the preset reliability analysis model, wherein the reliability analysis model is based on the sample circuit diagram and the preset nerve analysis model. Generated by the network model.
  • the first generating module 13 is configured to generate an adjacency matrix according to the topology map, determine the respective eigenvectors of each device according to the design parameters of each device, and determine the respective eigenvectors of each device according to the adjacency matrix and the The feature vector and the reliability analysis model are used to generate the analysis result.
  • the first generating module 13 is configured to perform information fusion processing on each of the nodes according to the adjacency matrix and the feature vector, and according to the information after the fusion processing and the reliability analysis model, Generate the analysis results.
  • the edges in the topology diagram are directed edges, and the direction of the edges is determined based on the design parameters of the device.
  • the first generating module 13 is used to determine the attribute information of the device in the topology map, where the attribute information is used to characterize the quantity of the device or the management of the device.
  • the type of pins is used to construct the adjacency matrix based on the attribute information, wherein one device corresponds to one adjacency matrix, or one type of pin corresponds to one adjacency matrix.
  • the first generating module 13 is configured to generate the analysis according to the adjacency matrix, the eigenvector, the reliability analysis model, and the preset weight of each adjacency matrix. result.
  • the device further includes:
  • the second construction module 14 is used to construct the topology diagram of the sample circuit diagram
  • the determining module 15 is used to determine the design parameters of each device in the sample circuit diagram
  • the collection module 16 is used to collect the simulation parameters of each device in the sample circuit diagram obtained by the simulator;
  • the second generation module 17 is configured to generate the reliability analysis model according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the neural network model, and the simulation parameters.
  • the second generating module 17 is configured to generate test values according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the simulation parameters and the neural network model, and The test value and the simulation parameter iterate the parameters of the neural network model to generate the reliability analysis model.
  • the second generation module 17 is configured to determine a loss function according to the test value and the simulation parameters, and determine the norm of the parameters of the neural network model as the penalty term of the loss function, The parameters of the neural network model are iterated according to the loss function including the penalty term to generate the reliability analysis model.
  • the first construction module 14 is configured to generate a circuit netlist of the circuit diagram, and construct the topology diagram according to the circuit netlist.
  • the embodiments of the present application also provide a computer storage medium having computer instructions stored on the computer storage medium.
  • the computer instructions are executed by a processor, any one of the foregoing The method described in the embodiment is executed, and the method shown in any one of the embodiments in FIG. 1, FIG. 4, FIG. 8 and FIG. 10 is executed.
  • the embodiments of the present application also provide a computer program product.
  • the computer program product runs on a processor, the method described in any of the above embodiments is executed, such as The method shown in any one of the embodiments in FIG. 1, FIG. 4, FIG. 8, and FIG. 10 is executed.
  • the embodiments of the present application also provide an electronic device, including:
  • At least one processor At least one processor
  • a memory communicatively connected with the at least one processor; wherein,
  • the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the method described in any of the foregoing embodiments is executed, as shown in FIG. 1, FIG. 4, and FIG. The method shown in any one of the embodiments in FIG. 8 and FIG. 10 is executed.
  • FIG. 13 is a block diagram of an electronic device according to an embodiment of the application.
  • the electronic device is intended to mean various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
  • Electronic devices can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the application described and/or required herein.
  • the electronic device includes: one or more processors 101, a memory 102, and interfaces for connecting various components, including a high-speed interface and a low-speed interface.
  • the various components are connected to each other using different buses, and can be installed on a common motherboard or installed in other ways as needed.
  • the processor may process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input/output device (such as a display device coupled to an interface).
  • an external input/output device such as a display device coupled to an interface.
  • multiple processors and/or multiple buses can be used with multiple memories and multiple memories.
  • multiple electronic devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system).
  • a processor 101 is taken as an example.
  • the memory 102 is a non-transitory computer-readable storage medium provided by this application.
  • the memory stores instructions executable by at least one processor, so that the at least one processor executes the circuit reliability analysis method provided by this application.
  • the non-transitory computer-readable storage medium of the present application stores computer instructions, and the computer instructions are used to make a computer execute the circuit reliability analysis method provided by the present application.
  • the memory 102 can be used to store non-transitory software programs, non-transitory computer executable programs, and modules.
  • the processor 101 executes various functional applications and data processing of the server by running non-transitory software programs, instructions, and modules stored in the memory 102, that is, realizing the circuit reliability analysis method in the foregoing method embodiment.
  • the memory 102 may include a storage program area and a storage data area.
  • the storage program area may store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the electronic device, and the like.
  • the memory 102 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices.
  • the memory 102 may optionally include memories remotely provided with respect to the processor 101, and these remote memories may be connected to the electronic device via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the electronic device may further include: an input device 103 and an output device 104.
  • the processor 101, the memory 102, the input device 103, and the output device 104 may be connected by a bus or in other ways. In FIG. 13, the connection by a bus is taken as an example.
  • the input device 103 can receive input digital or character information, and generate key signal input related to the user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more Input devices such as mouse buttons, trackballs, joysticks, etc.
  • the output device 104 may include a display device, an auxiliary lighting device (for example, LED), a tactile feedback device (for example, a vibration motor), and the like.
  • the display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be a touch screen.
  • the input device 103 may be used to input circuit diagrams
  • the output device 104 may be used to output analysis results.
  • Various implementations of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: being implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, the programmable processor It can be a dedicated or general-purpose programmable processor that can receive data and instructions from the storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device. An output device.
  • machine-readable medium and “computer-readable medium” refer to any computer program product, device, and/or device used to provide machine instructions and/or data to a programmable processor ( For example, magnetic disks, optical disks, memory, programmable logic devices (PLD)), including machine-readable media that receive machine instructions as machine-readable signals.
  • machine-readable signal refers to any signal used to provide machine instructions and/or data to a programmable processor.
  • the systems and techniques described here can be implemented on a computer that has: a display device for displaying information to the user (for example, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) ); and a keyboard and a pointing device (for example, a mouse or a trackball) through which the user can provide input to the computer.
  • a display device for displaying information to the user
  • LCD liquid crystal display
  • keyboard and a pointing device for example, a mouse or a trackball
  • Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (for example, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, voice input, or tactile input) to receive input from the user.
  • the systems and technologies described herein can be implemented in a computing system that includes back-end components (for example, as a data server), or a computing system that includes middleware components (for example, an application server), or a computing system that includes front-end components (for example, A user computer with a graphical user interface or a web browser through which the user can interact with the implementation of the system and technology described herein), or includes such back-end components, middleware components, Or any combination of front-end components in a computing system.
  • the components of the system can be connected to each other through any form or medium of digital data communication (for example, a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.
  • the computer system can include clients and servers.
  • the client and server are generally far away from each other and usually interact through a communication network.
  • the relationship between the client and the server is generated through computer programs that run on the corresponding computers and have a client-server relationship with each other.
  • the embodiment of the present application also provides a chip.
  • FIG. 14 is a schematic diagram of a chip according to an embodiment of the application.
  • the chip includes:
  • the input interface 21 is used to obtain the circuit diagram to be analyzed.
  • the logic circuit 22 is used to execute the method described in any of the above embodiments, such as executing the method shown in any of the embodiments in FIG. 1, FIG. 4, FIG. 8, and FIG. 10, to obtain an analysis of the reliability of the circuit diagram result.
  • the output interface 23 is used to output the analysis result of the reliability of the circuit diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The embodiments of the present application provide a circuit reliability analysis method and apparatus, a storage medium, a program product, a chip, and electronic equipment. The method comprises: obtaining a circuit diagram to be analyzed; building a topology map of the circuit diagram, wherein nodes in the topology map can used for representing devices in the circuit diagram, and edges in the topology map can be used for representing connecting wires between the devices; and generating a reliability analysis result of the circuit diagram according to the topology map and a preset reliability analysis model. On the one hand, the method can avoid the analysis result being easily affected by human factors (such as incentives being missed by the staff), thereby improving the automation and intelligence of reliability analysis. On the other hand, the method can achieve full coverage of all devices of the circuit diagram and the connection relation between the devices, thereby realizing the integrity and accuracy of reliability analysis, and can improve the efficiency of reliability analysis.

Description

电路可靠性的分析方法、装置、存储介质及电子设备Circuit reliability analysis method, device, storage medium and electronic equipment 技术领域Technical field
本申请涉及电路分析技术领域,尤其涉及一种电路可靠性的分析方法、装置、存储介质、程序产品、芯片及电子设备。This application relates to the technical field of circuit analysis, and in particular to a circuit reliability analysis method, device, storage medium, program product, chip, and electronic equipment.
背景技术Background technique
电路可靠性的分析是指对电路的性能的可靠性进行分析,如对电路中各器件的性能参数等进行分析,得到电路的退化率和/或失效率等。The analysis of circuit reliability refers to the analysis of the reliability of the performance of the circuit, such as analyzing the performance parameters of each device in the circuit, and obtaining the degradation rate and/or failure rate of the circuit.
在现有技术中,电路可靠性的分析方法包括:接收输入的激励和电路图,通过仿真器对激励和电路图进行仿真,输出对电路图的分析结果,如输出电路可靠性的结果报告。In the prior art, a circuit reliability analysis method includes: receiving input excitation and circuit diagrams, simulating the excitation and circuit diagrams through a simulator, and outputting analysis results of the circuit diagrams, such as outputting circuit reliability results reports.
然而,发明人发现现有技术至少存在以下问题:由于需要人工输入激励,因此,容易造成分析结果受到人为因素地影响,且存在效率偏低和可靠性偏低的弊端。However, the inventor found that the prior art has at least the following problems: due to the need for manual input excitation, it is easy to cause the analysis result to be affected by human factors, and there are disadvantages of low efficiency and low reliability.
发明内容Summary of the invention
为解决上述技术问题,本申请实施例提供了一种电路可靠性的分析方法、装置、存储介质、程序产品、芯片及电子设备。In order to solve the foregoing technical problems, embodiments of the present application provide a circuit reliability analysis method, device, storage medium, program product, chip, and electronic equipment.
根据本申请实施例的一个方面,本申请实施例提供了一种电路可靠性的分析方法,所述方法包括:According to one aspect of the embodiments of the present application, the embodiments of the present application provide a method for analyzing circuit reliability, and the method includes:
获取待分析的电路图;Obtain the circuit diagram to be analyzed;
构建所述电路图的拓扑图,其中,所述拓扑图中的节点用于表征,所述电路图中的各器件,所述拓扑图中的边用于表征,各所述器件之间的连接线;Constructing a topology diagram of the circuit diagram, where nodes in the topology diagram are used for characterization, each device in the circuit diagram, edges in the topology diagram are used for characterization, and connecting lines between the devices;
根据所述拓扑图和预设的可靠性分析模型,生成所述电路图的可靠性的分析结果。According to the topology diagram and the preset reliability analysis model, the reliability analysis result of the circuit diagram is generated.
也就是说,本申请的发明构思为:预先基于样本电路图和神经网络模型生成可靠性分析模型,结合可靠性分析模型对电路图进行可靠性分析。That is to say, the inventive concept of this application is to generate a reliability analysis model based on the sample circuit diagram and the neural network model in advance, and perform reliability analysis on the circuit diagram in combination with the reliability analysis model.
在本申请实施例中,一方面,由于本申请实施例是结合拓扑图和可靠性分析模型对电路图的可靠性进行分析,无需人工输入激励,因此,可以避免通过相关技术中集成电路仿真器(Simulation Program for Integrated Circuits Emphasis,Spice)进行可靠性分析时,造成的浪费人力资源,且分析结果容易受到人为因素的影响(如激励被工作人员遗漏等)等问题,从而可以节约成本,提高可靠性分析的自动化和智能化,且提高分析结果的准确性;另一方面,集成电路仿真器是基于电路图的层数,将电路图划分为多个模块分别进行仿真,因此,可能造成效率偏低、顶层无法完成仿真及各模块接口的部分电路被遗漏等问题,而本申请实施例通过构建电路图的拓扑图,可以实现全面覆盖电路图的各器件,以及各器件之间的连接关系,从而实现可靠性分析的完整性和准确性,且可以提高可靠性分析的效率。In the embodiments of the present application, on the one hand, because the embodiments of the present application analyze the reliability of the circuit diagram in combination with the topology diagram and the reliability analysis model, there is no need for manual input excitation, therefore, it can avoid the use of the integrated circuit simulator in the related technology ( Simulation Program for Integrated Circuits Emphasis, Spice) is a waste of human resources when performing reliability analysis, and the analysis results are easily affected by human factors (such as incentives being missed by the staff, etc.), which can save costs and improve reliability The analysis is automated and intelligent, and the accuracy of the analysis results is improved; on the other hand, the integrated circuit simulator is based on the number of layers of the circuit diagram, which divides the circuit diagram into multiple modules for simulation. Therefore, it may cause low efficiency and top-level simulation. The simulation cannot be completed and the partial circuit of each module interface is missed. However, by constructing the topological diagram of the circuit diagram, the embodiment of the present application can fully cover the components of the circuit diagram and the connection relationship between the components, thereby realizing reliability analysis The completeness and accuracy of the reliability analysis can improve the efficiency of reliability analysis.
在一些实施例中,所述根据所述拓扑图和预设的可靠性分析模型,生成所述电路 图的可靠性的分析结果包括:In some embodiments, the generating the reliability analysis result of the circuit diagram according to the topology diagram and the preset reliability analysis model includes:
根据所述拓扑图生成邻接矩阵;Generating an adjacency matrix according to the topological graph;
根据各所述器件的设计参数确定各所述器件各自的特征向量;Determine the respective characteristic vector of each of the devices according to the design parameters of each of the devices;
根据所述邻接矩阵、所述特征向量以及所述可靠性分析模型,生成所述分析结果。The analysis result is generated according to the adjacency matrix, the feature vector, and the reliability analysis model.
在本申请实施例中,通过邻接矩阵可以确定拓扑图中各节点之间的相邻关系,而通过特征向量可以体现器件的设计参数,因此,将邻接矩阵和特征向量作为可靠性分析模型的输入特征,可以得到准确性较高的分析结果。In the embodiment of this application, the adjacency matrix can be used to determine the neighbor relationship between the nodes in the topology, and the feature vector can reflect the design parameters of the device. Therefore, the adjacency matrix and the feature vector are used as the input of the reliability analysis model Features, can get higher accuracy analysis results.
在一些实施例中,所述根据所述邻接矩阵、所述特征向量以及所述可靠性分析模型,生成所述分析结果包括:In some embodiments, the generating the analysis result according to the adjacency matrix, the eigenvector, and the reliability analysis model includes:
根据所述邻接矩阵和所述特征向量对各所述节点进行信息融合处理;Performing information fusion processing on each of the nodes according to the adjacency matrix and the feature vector;
根据融合处理后的信息和所述可靠性分析模型,生成所述分析结果。According to the information after the fusion processing and the reliability analysis model, the analysis result is generated.
在本申请实施例中,通过对各节点进行信息融合处理,在得到相邻节点的信息的同时,仍然保持节点本身的信息,因此,可以实现两种信息(即相邻节点的信息和节点本身的信息)之间的关联性和独立性,进而实现提高分析结果的准确性和可靠性的技术效果。In the embodiment of this application, by performing information fusion processing on each node, while obtaining the information of the neighboring node, the information of the node itself is still maintained. Therefore, two types of information (ie, the information of the neighboring node and the node itself) can be realized. The correlation and independence between the information), and then achieve the technical effect of improving the accuracy and reliability of the analysis results.
在一些实施例中,所述拓扑图中的边为有指向的边,且边的指向是基于所述器件的设计参数确定的。In some embodiments, the edges in the topology diagram are directed edges, and the direction of the edges is determined based on the design parameters of the device.
也就是说,在本申请实施例中,引入了边的指向,而通过引入边的指向,可以更加清楚地体现各器件之间的连接关系,进而可以提高可靠性分析的准确性。That is to say, in the embodiment of the present application, the direction of the side is introduced, and by introducing the direction of the side, the connection relationship between the devices can be more clearly reflected, and the accuracy of the reliability analysis can be improved.
在一些实施例中,所述根据所述拓扑图生成邻接矩阵包括:In some embodiments, the generating an adjacency matrix according to the topological graph includes:
确定所述拓扑图中所述器件的属性信息,其中,所述属性信息用于表征,所述器件的数量或所述器件的管脚的类型;Determining the attribute information of the device in the topology diagram, where the attribute information is used to characterize the number of the device or the type of pin of the device;
基于所述属性信息,构建所述邻接矩阵,其中,一个所述器件对应一个所述邻接矩阵,或者,一种类型的管脚对应一个所述邻接矩阵。The adjacency matrix is constructed based on the attribute information, wherein one device corresponds to one adjacency matrix, or one type of pin corresponds to one adjacency matrix.
在本申请实施例中,在进行可靠性的分析时,对各器件的数量或者管脚的类型进行考虑,根据器件的数量或者管脚的类型构建邻接矩阵,可以实现对电路图分析的完整性和全面性,从而实现提高可靠性分析的准确性的技术效果。In the embodiment of the present application, when performing reliability analysis, the number of devices or the types of pins are considered, and the adjacency matrix is constructed according to the number of devices or the types of pins, which can realize the completeness and integrity of the circuit diagram analysis. Comprehensiveness, so as to achieve the technical effect of improving the accuracy of reliability analysis.
在一些实施例中,所述根据所述邻接矩阵、所述特征向量以及所述可靠性分析模型,生成所述分析结果包括:In some embodiments, the generating the analysis result according to the adjacency matrix, the eigenvector, and the reliability analysis model includes:
根据各所述邻接矩阵、所述特征向量、所述可靠性分析模型以及预设的各所述邻接矩阵的权重,生成所述分析结果。The analysis result is generated according to each adjacency matrix, the feature vector, the reliability analysis model, and the preset weight of each adjacency matrix.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
构建样本电路图的拓扑图;Construct the topology diagram of the sample circuit diagram;
确定所述样本电路图中各器件的设计参数;Determine the design parameters of each device in the sample circuit diagram;
采集由仿真器得到的所述样本电路图中各器件的仿真参数;Collecting simulation parameters of each device in the sample circuit diagram obtained by the simulator;
根据所述样本电路图的拓扑图、所述样本电路图中各器件的设计参数、预设的神经网络模型及所述仿真参数,生成所述可靠性分析模型。The reliability analysis model is generated according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the preset neural network model, and the simulation parameters.
在一些实施例中,所述根据所述样本电路图的拓扑图、所述样本电路图中各器件的设计参数、预设的神经网络模型及所述仿真参数,生成所述可靠性分析模型包括:In some embodiments, the generating the reliability analysis model based on the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the preset neural network model, and the simulation parameters includes:
根据所述样本电路图的拓扑图、所述样本电路图中各器件的设计参数、所述仿真参数及所述神经网络模型,生成测试值;Generate test values according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the simulation parameters and the neural network model;
根据所述测试值和所述仿真参数对所述神经网络模型的参数进行迭代,生成所述可靠性分析模型。The parameters of the neural network model are iterated according to the test values and the simulation parameters to generate the reliability analysis model.
在本申请实施例中,通过对神经网络模型的参数进行迭代,可以提高可靠性分析模型的精度,从而提高分析结果的精度。In the embodiment of the present application, by iterating the parameters of the neural network model, the accuracy of the reliability analysis model can be improved, thereby improving the accuracy of the analysis result.
在一些实施例中,所述根据所述测试值和所述仿真参数对所述神经网络模型的参数进行迭代,生成所述可靠性分析模型包括:In some embodiments, the iterating on the parameters of the neural network model according to the test values and the simulation parameters, and generating the reliability analysis model includes:
根据所述测试值和所述仿真参数确定损失函数;Determining a loss function according to the test value and the simulation parameter;
将所述神经网络模型的参数的范数,确定为所述损失函数的惩罚项;Determining the norm of the parameters of the neural network model as a penalty term of the loss function;
根据包括所述惩罚项的损失函数对所述神经网络模型的参数进行迭代,生成所述可靠性分析模型。The parameters of the neural network model are iterated according to the loss function including the penalty term to generate the reliability analysis model.
在一些实施例中,所述构建所述电路图的拓扑图包括:In some embodiments, the constructing the topology diagram of the circuit diagram includes:
生成所述电路图的电路网表;Generating the circuit netlist of the circuit diagram;
根据所述电路网表构建所述拓扑图。The topology diagram is constructed according to the circuit netlist.
根据本申请实施例的另一个方面,本申请实施例还提供了一种电路可靠性的分析装置,所述装置包括:According to another aspect of the embodiments of the present application, the embodiments of the present application also provide a circuit reliability analysis device, the device including:
获取模块,用于获取待分析的电路图;The acquisition module is used to acquire the circuit diagram to be analyzed;
第一构建模块,用于构建所述电路图的拓扑图,其中,所述拓扑图中的节点用于表征,所述电路图中的各器件,所述拓扑图中的边用于表征,各所述器件之间的连接线;The first construction module is used to construct the topology diagram of the circuit diagram, wherein the nodes in the topology diagram are used for characterization, each device in the circuit diagram, the edges in the topology diagram are used for characterization, and each Connection lines between devices;
第一生成模块,用于根据所述拓扑图和预设的可靠性分析模型,生成所述电路图的可靠性的分析结果。The first generating module is used to generate the reliability analysis result of the circuit diagram according to the topology diagram and the preset reliability analysis model.
在一些实施例中,所述第一生成模块用于,根据所述拓扑图生成邻接矩阵,根据各所述器件的设计参数确定各所述器件各自的特征向量,根据所述邻接矩阵、所述特征向量以及所述可靠性分析模型,生成所述分析结果。In some embodiments, the first generation module is configured to generate an adjacency matrix according to the topology map, determine the respective eigenvectors of each device according to the design parameters of each device, and determine the respective eigenvectors of each device according to the adjacency matrix, the The feature vector and the reliability analysis model generate the analysis result.
在一些实施例中,所述第一生成模块用于,根据所述邻接矩阵和所述特征向量对各所述节点进行信息融合处理,根据融合处理后的信息和所述可靠性分析模型,生成所述分析结果。In some embodiments, the first generation module is configured to perform information fusion processing on each of the nodes according to the adjacency matrix and the feature vector, and generate information based on the fusion processing information and the reliability analysis model The results of the analysis.
在一些实施例中,所述拓扑图中的边为有指向的边,且边的指向是基于所述器件的设计参数确定的。In some embodiments, the edges in the topology diagram are directed edges, and the direction of the edges is determined based on the design parameters of the device.
在一些实施例中,所述第一生成模块用于,确定所述拓扑图中所述器件的属性信息,其中,所述属性信息用于表征,所述器件的数量或所述器件的管脚的类型,基于所述属性信息,构建所述邻接矩阵,其中,一个所述器件对应一个所述邻接矩阵,或者,一种类型的管脚对应一个所述邻接矩阵。In some embodiments, the first generation module is used to determine the attribute information of the device in the topology diagram, where the attribute information is used to characterize the number of the device or the pin of the device The adjacency matrix is constructed based on the attribute information, wherein one device corresponds to one adjacency matrix, or one type of pin corresponds to one adjacency matrix.
在一些实施例中,所述第一生成模块用于,根据各所述邻接矩阵、所述特征向量、所述可靠性分析模型以及预设的各所述邻接矩阵的权重,生成所述分析结果。In some embodiments, the first generating module is configured to generate the analysis result according to each of the adjacency matrix, the eigenvector, the reliability analysis model, and preset weights of each of the adjacency matrices .
在一些实施例中,所述装置还包括:In some embodiments, the device further includes:
第二构建模块,用于构建样本电路图的拓扑图;The second building module is used to build the topology diagram of the sample circuit diagram;
确定模块,用于确定所述样本电路图中各器件的设计参数;The determining module is used to determine the design parameters of each device in the sample circuit diagram;
采集模块,用于采集由仿真器得到的所述样本电路图中各器件的仿真参数;An acquisition module for acquiring the simulation parameters of each device in the sample circuit diagram obtained by the simulator;
第二生成模块,用于根据所述样本电路图的拓扑图、所述样本电路图中各器件的设计参数、预设的神经网络模型及所述仿真参数,生成所述可靠性分析模型。The second generation module is configured to generate the reliability analysis model according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the preset neural network model, and the simulation parameters.
在一些实施例中,所述第二生成模块用于,根据所述样本电路图的拓扑图、所述样本电路图中各器件的设计参数、所述仿真参数及所述神经网络模型,生成测试值,根据所述测试值和所述仿真参数对所述神经网络模型的参数进行迭代,生成所述可靠性分析模型。In some embodiments, the second generation module is configured to generate test values according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the simulation parameters and the neural network model, The parameters of the neural network model are iterated according to the test values and the simulation parameters to generate the reliability analysis model.
在一些实施例中,所述第二生成模块用于,根据所述测试值和所述仿真参数确定损失函数,将所述神经网络模型的参数的范数,确定为所述损失函数的惩罚项,根据包括所述惩罚项的损失函数对所述神经网络模型的参数进行迭代,生成所述可靠性分析模型。In some embodiments, the second generation module is configured to determine a loss function according to the test value and the simulation parameters, and determine the norm of the parameters of the neural network model as the penalty term of the loss function , Iterating the parameters of the neural network model according to the loss function including the penalty term to generate the reliability analysis model.
在一些实施例中,所述第一构建模块用于,生成所述电路图的电路网表,根据所述电路网表构建所述拓扑图。In some embodiments, the first construction module is used to generate a circuit netlist of the circuit diagram, and construct the topology diagram according to the circuit netlist.
根据本申请实施例的另一个方面,本申请实施例还提供了一种计算机存储介质,所述计算机存储介质上存储有计算机指令,当所述计算机指令在被处理器运行时,使得上述任一实施例所述的方法被执行。According to another aspect of the embodiments of the present application, the embodiments of the present application also provide a computer storage medium having computer instructions stored on the computer storage medium. When the computer instructions are executed by a processor, any one of the foregoing The method described in the embodiment is executed.
根据本申请实施例的另一个方面,本申请实施例还提供了一种计算机程序产品,当所述计算机程序产品在处理器上运行时,使得上述任一实施例所述的方法被执行。According to another aspect of the embodiments of the present application, the embodiments of the present application also provide a computer program product, which when the computer program product runs on a processor, causes the method described in any of the foregoing embodiments to be executed.
根据本申请实施例的另一个方面,本申请实施例还提供了一种电子设备,包括:According to another aspect of the embodiments of the present application, the embodiments of the present application also provide an electronic device, including:
至少一个处理器;以及At least one processor; and
与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,使得上述任一实施例所述的方法被执行。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the method described in any of the foregoing embodiments is executed.
根据本申请实施例的另一个方面,本申请实施例还提供了一种芯片,包括:According to another aspect of the embodiments of the present application, the embodiments of the present application also provide a chip, including:
输入接口,用于获取待分析的电路图;Input interface, used to obtain the circuit diagram to be analyzed;
逻辑电路,用于执行如上任一实施例所述的方法,得到所述电路图的可靠性的分析结果;A logic circuit is used to execute the method described in any of the above embodiments to obtain an analysis result of the reliability of the circuit diagram;
输出接口,用于输出所述电路图的可靠性的分析结果。The output interface is used to output the reliability analysis result of the circuit diagram.
附图说明Description of the drawings
附图用于更好地理解本申请实施例,不构成对本申请的限定。其中,The drawings are used to better understand the embodiments of the present application, and do not constitute a limitation to the present application. in,
图1为本申请一个实施例的电路可靠性的分析方法的流程示意图;FIG. 1 is a schematic flowchart of a circuit reliability analysis method according to an embodiment of the application;
图2为本申请实施例的电路图的示意图;FIG. 2 is a schematic diagram of a circuit diagram of an embodiment of the application;
图3为本申请实施例的拓扑图的示意图;FIG. 3 is a schematic diagram of a topology diagram of an embodiment of the application;
图4为本申请另一实施例的电路可靠性的分析方法的流程示意图;4 is a schematic flowchart of a circuit reliability analysis method according to another embodiment of the application;
图5为基于图2所示的电路图生成的电路网表的示意图;FIG. 5 is a schematic diagram of a circuit netlist generated based on the circuit diagram shown in FIG. 2;
图6为本申请实施例的邻接矩阵的示意图;Fig. 6 is a schematic diagram of an adjacency matrix according to an embodiment of the application;
图7为本申请实施例的特征向量的示意图;FIG. 7 is a schematic diagram of a feature vector according to an embodiment of the application;
图8为本申请另一实施例的电路可靠性的分析方法的流程示意图;8 is a schematic flowchart of a circuit reliability analysis method according to another embodiment of the application;
图9为本申请实施例的包括边的指向的拓扑图的示意图;FIG. 9 is a schematic diagram of a topological diagram including the direction of edges according to an embodiment of the present application;
图10为本申请实施例的生成可靠性分析模型的方法的流程示意图;10 is a schematic flowchart of a method for generating a reliability analysis model according to an embodiment of the application;
图11为本申请一个实施例的电路可靠性的分析装置的示意图;FIG. 11 is a schematic diagram of a circuit reliability analysis device according to an embodiment of the application;
图12为本申请另一实施例的电路可靠性的分析装置的示意图;FIG. 12 is a schematic diagram of a circuit reliability analysis device according to another embodiment of the application;
图13为本申请实施例的电子设备的框图;FIG. 13 is a block diagram of an electronic device according to an embodiment of the application;
图14为本申请实施例的芯片的示意图。FIG. 14 is a schematic diagram of a chip according to an embodiment of the application.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the application as detailed in the appended claims.
下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
根据本申请实施例的一个方面,本申请实施例提供了一种电路可靠性的分析方法。According to one aspect of the embodiments of the present application, the embodiments of the present application provide a method for analyzing circuit reliability.
请参阅图1,图1为本申请一个实施例的电路可靠性的分析方法的流程示意图。Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a circuit reliability analysis method according to an embodiment of the application.
如图1所示,该方法包括:As shown in Figure 1, the method includes:
S101:获取待分析的电路图。S101: Obtain a circuit diagram to be analyzed.
其中,本申请实施例的执行主体可以为电路可靠性的分析装置(下文简称分析装置),且分析装置可以为计算机、服务器、处理器、芯片及终端设备等。Among them, the execution subject of the embodiments of the present application may be a circuit reliability analysis device (hereinafter referred to as the analysis device), and the analysis device may be a computer, a server, a processor, a chip, a terminal device, and the like.
S102:构建电路图的拓扑图,其中,拓扑图中的节点可以用于表征,电路图中的各器件,拓扑图中的边可以用于表征,各器件之间的连接线。S102: Construct a topological diagram of a circuit diagram, where nodes in the topological diagram can be used for characterization, each device in the circuit diagram, edges in the topological diagram can be used for characterization, and a connection line between each device.
现结合图2和图3对本申请实施例的构建拓扑图进行详细阐述,其中,图2为本申请实施例的电路图,图3为本申请实施例的拓扑图。The construction topology diagram of the embodiment of the present application will now be described in detail with reference to FIG. 2 and FIG. 3, wherein FIG. 2 is a circuit diagram of an embodiment of the application, and FIG. 3 is a topology diagram of an embodiment of the application.
如图2所示,电路图包括4个MOS(metal oxide semiconductor)管,分别标记为M1、M2、M3及M4;各MOS管之间通过连接线Net连接,连接线分别标记为N1、N2、N3、N4及N5;Vdd可以用于表征,电源为电路图提供的工作电压;Vss可以用于表征,电路图的公共接地端电压;Is可以用于表征,电路图的信号源。As shown in Figure 2, the circuit diagram includes 4 MOS (metal oxide semiconductor) tubes, which are marked as M1, M2, M3, and M4; each MOS tube is connected by a connecting line Net, and the connecting lines are marked as N1, N2, and N3. , N4 and N5; Vdd can be used for characterization, the power supply is the working voltage provided by the circuit diagram; Vss can be used for characterization, the common ground terminal voltage of the circuit diagram; Is can be used for characterization, the signal source of the circuit diagram.
根据图2中的MOS管和各MOS管之间的连接线构建如图3所示的拓扑图。According to the connection lines between the MOS tube and each MOS tube in FIG. 2, the topology diagram shown in FIG. 3 is constructed.
具体地,分析装置可以根据MOS管构建节点,根据各MOS管之间的连接线构建节点与节点的连线,则可以得到包括节点和边(即节点与节点的连线)的拓扑图。Specifically, the analysis device can construct nodes based on MOS transistors, and construct connections between nodes and nodes based on the connecting lines between MOS transistors, and then a topology diagram including nodes and edges (that is, connections between nodes and nodes) can be obtained.
例如,基于图2可知,M1的一个管脚通过N2分别与M3的两个管脚连接,因此,在图3中,节点M1和节点M2之间有两条连接线,且均标记为N2;同理,M2的一个管脚通过N3与M4连接,则在图3中,节点M2和节点M4之间有一条连接线,且标记为N3,以此类推,此处不再一一赘述。For example, based on Figure 2, one pin of M1 is connected to two pins of M3 respectively through N2. Therefore, in Figure 3, there are two connecting lines between node M1 and node M2, and both are marked as N2; In the same way, a pin of M2 is connected to M4 through N3, then in Fig. 3, there is a connection line between node M2 and node M4, which is marked as N3, and so on, and will not be repeated here.
在本申请实施例中,通过构建电路图的拓扑图,且拓扑图全面覆盖了电路图的各 器件,以及各器件之间的连接关系,因此,可以实现后续可靠性分析的完整性和准确性的技术效果。In the embodiment of the present application, by constructing a topological diagram of the circuit diagram, and the topological diagram fully covers the various components of the circuit diagram and the connection relationship between the components, therefore, the completeness and accuracy of the subsequent reliability analysis can be achieved. Effect.
S103:根据拓扑图和预设的可靠性分析模型,生成电路图的可靠性的分析结果。S103: Generate a reliability analysis result of the circuit diagram according to the topology diagram and the preset reliability analysis model.
其中,可靠性的分析结果(下文简称分析结果)可以用于表征,电路图中的电路的退化率和/或失效率等。Among them, the reliability analysis result (hereinafter referred to as the analysis result) can be used to characterize the degradation rate and/or failure rate of the circuit in the circuit diagram.
可靠性分析模型可以用于表征,用于对电路的可靠性进行分析的网络模型,在一些实施例中,可靠性分析模型可以基于样本电路图和预设的神经网络模型生成。The reliability analysis model can be used for characterization, and is a network model used to analyze the reliability of the circuit. In some embodiments, the reliability analysis model can be generated based on a sample circuit diagram and a preset neural network model.
其中,样本电路图的数量可以基于需求、历史记录和试验等进行选择,本申请实施例对样本电路图的数量不做限定。Among them, the number of sample circuit diagrams can be selected based on requirements, historical records, experiments, etc., and the embodiment of the present application does not limit the number of sample circuit diagrams.
现以样本电路图的数量基于需求进行选择为例,进行如下阐述:Taking the number of sample circuit diagrams based on demand as an example, the following explanations are made:
其中,需求可以用于表征,预先设置于分析装置中的对分析结果的可靠性的需求,则分析装置针对可靠性相对较高的需求,可以选择相对较多数量的样本电路图,以提高可靠性分析模型的准确性,从而提高分析结果的可靠性;反之,分析装置针对可靠性相对较低的需求,可以选择相对较少数量的样本电路图。Among them, the demand can be used for characterization. The demand for the reliability of the analysis result is preset in the analysis device, and the analysis device can select a relatively large number of sample circuit diagrams for the relatively high reliability requirements to improve the reliability. The accuracy of the analysis model improves the reliability of the analysis results; conversely, the analysis device can select a relatively small number of sample circuit diagrams for relatively low reliability requirements.
现以样本电路图的数量基于历史记录进行选择为例,进行如下阐述:Taking the number of sample circuit diagrams based on historical records as an example, the following explanations are made:
分析装置基于历史记录可知,样本电路图的数量为某数量区间时,可靠性分析模型的准确性相对比较高,能够满足预设的分析需求,则分析装置可以基于该数量区间的选择样本电路图的数量。Based on historical records, the analysis device knows that when the number of sample circuit diagrams is within a certain number interval, the accuracy of the reliability analysis model is relatively high and can meet the preset analysis needs, then the analysis device can select the number of sample circuit diagrams based on the number interval .
现以样本电路图的数量基于试验进行选择为例,进行如下阐述:Taking the number of sample circuit diagrams based on experiments as an example, the following explanations are made:
在试验阶段,分析装置中预先设置多个数量区间。分析装置选择各数量区间的样本电路图,基于各数量区间,分别生成试验阶段的可靠性分析模型,基于各试验阶段的可靠性分析模型的准确度,选择样本电路图的数量。In the test phase, a number of quantitative intervals are preset in the analysis device. The analysis device selects the sample circuit diagrams of each quantity interval, generates the reliability analysis model of the test stage based on each quantity interval, and selects the number of the sample circuit diagrams based on the accuracy of the reliability analysis model of each test stage.
值得说明地是,上述示例只是用于示范性地说明,选择样本电路图的数量的可能实现方式,而不能理解为对本申请实施例的限定。It is worth noting that the above examples are only used to illustrate possible implementations of selecting the number of sample circuit diagrams, and should not be understood as a limitation of the embodiments of the present application.
其中,神经网络模型可以为卷积神经网络模型、循环神经网络模型、深度神经网络模型及前馈神经网络模型等中的任意一种。同理,本申请实施例对神经网络的类型不做限定,且本申请实施例也可以基于需求、经验和试验等对神经网络模型进行选择,其选择原理可以参见上述示例,此处不再赘述。Among them, the neural network model can be any one of a convolutional neural network model, a recurrent neural network model, a deep neural network model, and a feedforward neural network model. In the same way, the embodiment of the application does not limit the type of neural network, and the embodiment of the application can also select the neural network model based on needs, experience, and experiment. For the selection principle, please refer to the above example, which will not be repeated here. .
基于上述分析可知,本申请实施例提供了一种电路可靠性的分析方法,该方法包括:获取待分析的电路图,构建电路图的拓扑图,其中,拓扑图中的节点可以用于表征,电路图中的各器件,拓扑图中的边可以用于表征,各器件之间的连接线,根据拓扑图和预设的可靠性分析模型,生成电路图的可靠性的分析结果,一方面,由于本申请实施例是结合拓扑图和可靠性分析模型对电路图的可靠性进行分析,无需人工输入激励,因此,可以避免通过相关技术中集成电路仿真器(Simulation Program for Integrated Circuits Emphasis,Spice)进行可靠性分析时,造成的浪费人力资源,且分析结果容易受到人为因素的影响(如激励被工作人员遗漏等)等问题,从而可以节约成本,提高可靠性分析的自动化和智能化,且提高分析结果的准确性;另一方面,集成电路仿真器是基于电路图的层数,将电路图划分为多个模块分别进行仿真,因此,可能造成效率偏低、顶层无法完成仿真及各模块接口的部分电路被遗漏等问题,而本 申请实施例通过构建电路图的拓扑图,可以实现全面覆盖电路图的各器件,以及各器件之间的连接关系,从而实现可靠性分析的完整性和准确性,且可以提高可靠性分析的效率。Based on the above analysis, it can be seen that an embodiment of the present application provides a circuit reliability analysis method. The method includes: obtaining a circuit diagram to be analyzed, and constructing a topological diagram of the circuit diagram. The nodes in the topological diagram can be used for characterization. The edges in the topology diagram can be used to characterize each device, the connection line between each device, according to the topology diagram and the preset reliability analysis model, generate the reliability analysis result of the circuit diagram. On the one hand, due to the implementation of this application The example is to analyze the reliability of the circuit diagram by combining the topology diagram and the reliability analysis model without manual input excitation. Therefore, it can avoid the reliability analysis through the integrated circuit simulator (Simulation Program for Integrated Circuits Emphasis, Spice) in the related technology. , Resulting in a waste of human resources, and analysis results are easily affected by human factors (such as incentives missed by staff, etc.), which can save costs, improve the automation and intelligence of reliability analysis, and improve the accuracy of analysis results ; On the other hand, the integrated circuit simulator is based on the number of layers of the circuit diagram and divides the circuit diagram into multiple modules for simulation. Therefore, it may cause problems such as low efficiency, inability to complete the simulation at the top level, and missing parts of the circuit of each module interface. However, by constructing the topology diagram of the circuit diagram in the embodiment of the present application, it is possible to achieve a comprehensive coverage of the various components of the circuit diagram and the connection relationship between the components, thereby achieving the completeness and accuracy of the reliability analysis, and improving the reliability analysis. efficient.
为了使读者更加清楚地理解如何生成分析结果,现结合图4对本申请实施例的电路可靠性的分析方法进行详细地阐述。其中,图4为本申请另一实施例的电路可靠性的分析方法的流程示意图。In order to enable the reader to understand more clearly how to generate the analysis result, the circuit reliability analysis method of the embodiment of the present application will now be described in detail with reference to FIG. 4. 4 is a schematic flowchart of a circuit reliability analysis method according to another embodiment of the application.
如图4所示,该方法包括:As shown in Figure 4, the method includes:
S201:获取待分析的电路图。S201: Obtain a circuit diagram to be analyzed.
其中,关于S201的描述可以参见S101,此处不再赘述。Among them, the description of S201 can refer to S101, which will not be repeated here.
S202:构建电路图的拓扑图,其中,拓扑图中的节点用于表征,电路图中的各器件,拓扑图中的边用于表征,各器件之间的连接线。S202: Construct a topological diagram of the circuit diagram, where nodes in the topological diagram are used for characterization, each device in the circuit diagram, edges in the topological diagram are used for characterization, and connecting lines between the devices.
其中,关于S202的描述可以参见S102,此处不再赘述。For the description of S202, refer to S102, which will not be repeated here.
在一些实施例中,S202可以包括:In some embodiments, S202 may include:
S2021:生成电路图的电路网表。S2021: Generate the circuit netlist of the circuit diagram.
其中,电路网表可以用于表征,描述各器件的连接线的文本,和/或,各器件的参数的文本。Among them, the circuit netlist can be used to characterize and describe the text of the connecting lines of each device, and/or the text of the parameters of each device.
请参阅图5,图5为基于图2所示的电路图生成的电路网表的示意图。Please refer to FIG. 5. FIG. 5 is a schematic diagram of a circuit netlist generated based on the circuit diagram shown in FIG. 2.
一方面,如图5所示,电路网表中示范性地展示了各器件的连接线。On the one hand, as shown in Figure 5, the circuit netlist exemplarily shows the connection lines of each device.
例如,以M3为例,结合图2可知,分析装置可以确定M3的栅极和漏极均为通过N2与其他器件连接,如M3的漏极通过N2与M1连接,M3的栅极通过N2与M4连接,且M3的衬底和源极均通过N4与Vdd连接,因此,分析装置可以生成如图5所示的,与M3连接的连接线包括(N2N2N4N4)的文本。For example, taking M3 as an example, in conjunction with Figure 2, it can be seen that the analysis device can determine that the gate and drain of M3 are connected to other devices through N2. For example, the drain of M3 is connected to M1 through N2, and the gate of M3 is connected to N2 through N2. M4 is connected, and the substrate and source of M3 are both connected to Vdd through N4. Therefore, the analysis device can generate the text of (N2N2N4N4) as shown in FIG. 5 with the connection line connected to M3.
另一方面,如图5所示,分析装置生成的电路网表中还示范性地展示了各器件的参数。On the other hand, as shown in FIG. 5, the circuit netlist generated by the analysis device also exemplarily shows the parameters of each device.
例如,以M3为例,M3的参数可以包括M3的型号pch_18mac,还可以包括M3的沟道的长度l=135n(纳米),还可以包括M3的沟道的宽度w=98n(纳米)。For example, taking M3 as an example, the parameters of M3 may include the model pch_18mac of M3, the length of the channel of M3 l=135n (nm), and the width of the channel of M3 w=98n (nm).
又如,以M2为例,M2的参数可以包括M2的型号nch_18mac,还可以包括M2的沟道的长度l=135n(纳米),还可以包括M2的沟道的宽度w=98n(纳米)。For another example, taking M2 as an example, the parameters of M2 may include the model of M2 nch_18mac, the length of the channel of M2 l=135n (nanometers), and the width of the channel of M2 w=98n (nanometers).
又如,以Is为例,isource是指Is为电流源,type=dc是指Is的类型为直流电源。For another example, taking Is as an example, isource means that Is is a current source, and type=dc means that the type of Is is a direct current power supply.
值得说明的是,上述示例只是用于示范性地说明图2中各器件的可能的参数,而不能理解为对各器件的参数的种类以及参数的范围的限定。It is worth noting that the above examples are only used to exemplarily illustrate the possible parameters of each device in FIG. 2 and cannot be understood as limiting the types and ranges of parameters of each device.
S2022:根据电路网表构建拓扑图。S2022: Construct a topology diagram according to the circuit netlist.
基于上述示例可知,电路网表可以用于表征,各器件的连接线的文本,和/或,各器件的参数的文本,因此,当分析装置生成电路网表时,可以根据各器件生成各节点,并根据各器件的连接线构建各节点之间的边,从而生成拓扑图。Based on the above example, it can be seen that the circuit netlist can be used to characterize the text of the connection lines of each device, and/or the text of the parameters of each device. Therefore, when the analysis device generates the circuit netlist, each node can be generated according to each device. , And construct the edge between each node according to the connecting line of each device, thereby generating the topological graph.
S203:根据拓扑图生成邻接矩阵。S203: Generate an adjacency matrix according to the topological graph.
其中,邻接矩阵可以用于表征,节点之间相邻关系的矩阵。也就是说,通过邻接矩阵,可以确定各节点之间的连接关系。Among them, the adjacency matrix can be used to characterize the matrix of adjacent relationships between nodes. In other words, through the adjacency matrix, the connection relationship between the nodes can be determined.
基于上述示例,根据如图3所示的拓扑图可以生成如图6所示的邻接矩阵。Based on the above example, the adjacency matrix shown in FIG. 6 can be generated according to the topology diagram shown in FIG. 3.
在如图6所示的邻接矩阵中,各数字用于表征各器件之间的连接线的数量。例如,M1和M2之间的连接线为一根,M1和M3之间的连接线为两根,等等。In the adjacency matrix shown in FIG. 6, each number is used to represent the number of connecting lines between each device. For example, there is one connection line between M1 and M2, two connection lines between M1 and M3, and so on.
S204:根据各器件的设计参数确定各器件各自的特征向量。S204: Determine the respective feature vector of each device according to the design parameters of each device.
其中,设计参数可以用于表征,与器件外形相关的参数和/或与器件性能相关的参数。Among them, the design parameters can be used for characterization, parameters related to the shape of the device and/or parameters related to the performance of the device.
具体地,与器件外形相关的参数可以包括器件的外形尺寸,如长、宽及高,等等;与器件性能相关的参数可以包括器件的电阻和功率,等等。Specifically, the parameters related to the shape of the device may include the shape dimensions of the device, such as length, width, and height, etc.; the parameters related to the performance of the device may include the resistance and power of the device, and so on.
例如,根据如图2所示的电路图,可以根据图2中各器件的设计参数,确定图2中各器件各自的特征向量,具体可以参阅图7。For example, according to the circuit diagram shown in FIG. 2, the characteristic vector of each device in FIG. 2 can be determined according to the design parameters of each device in FIG. 2. For details, please refer to FIG. 7.
在图7中,std core可以用于表征,器件的标准参数(基于行业标准);IO core可以用于表征,器件的IO接口的参数;Dio可以用于表征,器件的去频闪参数;R可以用于表征,器件的电阻;C可以用于表征,器件的电容;V可以用于表征,器件的电压。In Figure 7, std core can be used to characterize the standard parameters of the device (based on industry standards); IO core can be used to characterize the parameters of the IO interface of the device; Dio can be used to characterize the stroboscopic parameters of the device; R It can be used to characterize the resistance of the device; C can be used to characterize the capacitance of the device; V can be used to characterize the voltage of the device.
例如,M1的特征向量为M1的标准参数、IO接口的参数、去频闪参数、电阻、电容及电压依次组合而成的数值,以此类推,此处不再赘述。For example, the feature vector of M1 is a value formed by combining the standard parameters of M1, the parameters of the IO interface, the de-flickering parameters, the resistance, the capacitance, and the voltage in sequence, and so on, which will not be repeated here.
S205:根据邻接矩阵、特征向量以及可靠性分析模型,生成分析结果。S205: Generate an analysis result according to the adjacency matrix, eigenvector, and reliability analysis model.
在一些实施例中,S205可以包括:In some embodiments, S205 may include:
S2051:根据邻接矩阵和特征向量对各节点进行信息融合处理。S2051: Perform information fusion processing on each node according to the adjacency matrix and the feature vector.
其中,信息融合处理可以用于表征,分析装置针对每一个节点,将与该节点相邻的节点(下文简称相邻节点)的信息进行融合,并将融合后的相邻节点的信息与该节点的信息进行融合,即融合处理后的信息中,既包括该节点本身的信息,也包括相邻节点的信息。Among them, the information fusion processing can be used for characterization. For each node, the analysis device fuses the information of the nodes adjacent to the node (hereinafter referred to as the adjacent node), and combines the information of the fused adjacent node with the node. The information is fused, that is, the information after fusion processing includes not only the information of the node itself, but also the information of neighboring nodes.
基于上述示例可知,M2,M3,M4及Is均为M1的相邻节点,分析装置利用矩阵乘法,可以将图6所示的邻接矩阵的第一行乘以图7中的特征向量,则可以将M1的相邻节点M2,M3,M4及Is的特征向量融合成一个特征向量,该特征向量可以用于表征M1的相邻节点的信息,然后将相邻节点的信息与M1的信息进行融合处理,以此类推,此处不再赘述。Based on the above example, it can be seen that M2, M3, M4, and Is are all adjacent nodes of M1, and the analysis device uses matrix multiplication to multiply the first row of the adjacency matrix shown in Figure 6 by the eigenvector in Figure 7, then The feature vectors of M1's neighboring nodes M2, M3, M4 and Is are merged into a feature vector, which can be used to characterize the information of M1's neighboring nodes, and then the neighboring node information and M1 information are fused Processing, and so on, will not be repeated here.
在一些实施例中,电路结构可能为多层的电路结构,当电路结构为多层的电路结构时,则分析装置可以通过式1对不同层之间的节点进行信息融合处理,式1:In some embodiments, the circuit structure may be a multi-layer circuit structure. When the circuit structure is a multi-layer circuit structure, the analysis device can perform information fusion processing on nodes between different layers through Equation 1, Equation 1:
F (l)=σ(CONCAT(AF (l-1),F (l-1))W (l)) F (l) =σ(CONCAT(AF (l-1) ,F (l-1) )W (l) )
其中,F (l)为第l层输出的各器件的特征向量;A为第l‐1层的邻接矩阵;F (l-1)为第l‐1层输出的各器件的特征向量;W (l)为预设的模型参数,W (l)可以是由集成电路仿真器生成的各样本电路图的可靠性指标的平方和;CONCAT()为拼接操作,CONCAT(AF (l-1),F (l-1))可以表示对AF (l-1)和F (l-1)进行拼接处理,即取AF (l-1)和F (l-1)的并集;σ为激活函数,可以表示对(CONCAT(AF (l-1),F (l-1))W (l))进行非线性处理。 Among them, F (l) is the eigenvector of each device output by the lth layer; A is the adjacency matrix of the 1-1 layer; F (l-1) is the eigenvector of each device output by the 1-1 layer; W (l) is the preset model parameter, W (l) can be the sum of squares of the reliability index of each sample circuit diagram generated by the integrated circuit simulator; CONCAT() is the splicing operation, CONCAT(AF (l-1) , F (l-1) ) can represent the splicing process of AF (l-1) and F (l-1) , that is, take the union of AF (l-1) and F (l-1) ; σ is the activation function , Can mean that (CONCAT(AF (l-1) , F (l-1) )W (l) ) is non-linear processing.
S2052:根据融合处理后的信息和可靠性分析模型,生成分析结果。S2052: Generate an analysis result according to the information after the fusion processing and the reliability analysis model.
基于上述示例可知,分析结果可以用于表征,电路的退化率和/或失效率,则在该步骤中,分析装置可以将融合处理后的信息输入至可靠性分析模型,并基于可靠性分 析模型生成如图2所示的电路的退化率和/或失效率。Based on the above example, the analysis result can be used to characterize the degradation rate and/or failure rate of the circuit. In this step, the analysis device can input the fusion processed information into the reliability analysis model, and based on the reliability analysis model Generate the degradation rate and/or failure rate of the circuit as shown in FIG. 2.
具体地,基于上述示例可知,可靠性分析模型为基于样本电路图和预设的神经网络模型生成的,即可靠性分析模型可以为用于对电路的可靠性进行分析的神经网络模型。Specifically, based on the foregoing example, it can be known that the reliability analysis model is generated based on the sample circuit diagram and the preset neural network model, that is, the reliability analysis model may be a neural network model for analyzing the reliability of the circuit.
值得说明的是,可靠性分析模型包括多个神经元,神经元可以存储信息,也可以作为信息的传递者,也可以作为信息的处理者,每个神经元均包括连接权重等参数,如在本申请实施例中,分析装置可以基于各神经元对融合处理后的信息进行计算,从而生成各器件的退化率和/或失效率。It is worth noting that the reliability analysis model includes multiple neurons. Neurons can store information, can also act as information transmitters, and can also act as information processors. Each neuron includes parameters such as connection weights. In the embodiment of the present application, the analysis device may calculate the fusion processed information based on each neuron, so as to generate the degradation rate and/or failure rate of each device.
例如,各神经元可以对融合处理后的信息和连接权重等参数进行乘法计算,并生成各器件的退化率和/或失效率。For example, each neuron can perform multiplication calculation on parameters such as the fusion processed information and connection weight, and generate the degradation rate and/or failure rate of each device.
在本申请实施例中,通过对各节点进行信息融合处理,在得到相邻节点的信息的同时,仍然保持节点本身的信息,因此,可以实现两种信息(即相邻节点的信息和节点本身的信息)之间的关联性和独立性,进而实现提高分析结果的准确性和可靠性的技术效果。In the embodiment of this application, by performing information fusion processing on each node, while obtaining the information of the neighboring node, the information of the node itself is still maintained. Therefore, two types of information (ie, the information of the neighboring node and the node itself) can be realized. The correlation and independence between the information), and then achieve the technical effect of improving the accuracy and reliability of the analysis results.
为了进一步提高分析结果的可靠性和准确性,本申请实施例在上述示例的基础上,对电路可靠性的分析方法进行了进一步地改进,现结合图8进行详细阐述。其中,图8为本申请另一实施例的电路可靠性的分析方法的流程示意图。In order to further improve the reliability and accuracy of the analysis result, the embodiment of the present application further improves the circuit reliability analysis method on the basis of the above example, which will be described in detail with reference to FIG. 8. Wherein, FIG. 8 is a schematic flowchart of a circuit reliability analysis method according to another embodiment of the application.
如图8所示,该方法包括:As shown in Figure 8, the method includes:
S301:获取待分析的电路图。S301: Obtain a circuit diagram to be analyzed.
其中,关于S3201的描述可以参见S101,此处不再赘述。For the description of S3201, please refer to S101, which is not repeated here.
S302:构建电路图的拓扑图,其中,拓扑图中的节点用于表征,电路图中的各器件,拓扑图中的边用于表征,各器件之间的连接线,且拓扑图中的边为有指向的边,边的指向是基于器件的设计参数确定的。S302: Construct a topological diagram of the circuit diagram, where nodes in the topological diagram are used for characterization, each device in the circuit diagram, edges in the topological diagram are used for characterization, connecting lines between the devices, and edges in the topological diagram are The pointing side, the direction of the side is determined based on the design parameters of the device.
其中,关于S201的部分描述可以参见S102,此处不再赘述。Among them, for part of the description of S201, refer to S102, which will not be repeated here.
在本申请实施例中,拓扑图中的边为有指向的边,且边的指向可以用于反映各器件的输入阻抗。In the embodiments of the present application, the edges in the topology diagram are oriented edges, and the orientation of the edges can be used to reflect the input impedance of each device.
在一些实施例中,可以基于电流和电压的方向确定边的指向,当然,边的指向也可以基于其他设计参数确定,此处不再一一列举。In some embodiments, the direction of the side can be determined based on the direction of current and voltage. Of course, the direction of the side can also be determined based on other design parameters, which will not be listed here.
例如,在图2的基础上,可以得到如图9所示的包括边的指向的拓扑图的示意图。其中,图9示范性地展示了节点M4分别与节点M1和M3的边的指向。For example, on the basis of FIG. 2, a schematic diagram of a topological diagram including the direction of edges as shown in FIG. 9 can be obtained. Among them, Fig. 9 exemplarily shows the direction of the edges of the node M4 and the nodes M1 and M3, respectively.
S303:确定拓扑图中器件的属性信息,其中,属性信息可以用于表征,器件的数量或器件的管脚的类型。S303: Determine the attribute information of the device in the topology map, where the attribute information can be used to characterize the number of the device or the type of the pin of the device.
基于上述示例,若器件为MOS管,则管脚的类型可以包括漏极、源极及栅极。Based on the above example, if the device is a MOS tube, the types of pins may include drain, source, and gate.
也就是说,在本申请实施例中,可以以器件的数量,或者,管脚的类型为基础,对电路图的可靠性进行分析。That is to say, in the embodiments of the present application, the reliability of the circuit diagram can be analyzed based on the number of devices or the types of pins.
S304:基于属性信息,构建邻接矩阵,其中,一个器件对应一个邻接矩阵,或者,一种类型的管脚对应一个邻接矩阵。S304: Construct an adjacency matrix based on the attribute information, where one device corresponds to one adjacency matrix, or one type of pin corresponds to one adjacency matrix.
其中,构建邻接矩阵的原理可以参见上述示例,此处不再赘述。Among them, the principle of constructing the adjacency matrix can be referred to the above example, which will not be repeated here.
S305:根据各邻接矩阵、特征向量、可靠性分析模型以及预设的各邻接矩阵的权 重,生成分析结果。S305: Generate an analysis result according to each adjacency matrix, eigenvector, reliability analysis model, and preset weights of each adjacency matrix.
在本申请实施例中,由于分析装置对各器件的数量,或者对各管脚的类型进行了考虑,因此,得到的邻接矩阵为多个,在此基础上,分析装置为各邻接矩阵设置了权重,且权重可以基于需求、历史记录和试验等进行设置,具体地设置方法可以参见上述示例,此处不再赘述。In the embodiment of this application, because the analysis device considers the quantity of each device or the type of each pin, there are multiple adjacency matrices obtained. On this basis, the analysis device is configured for each adjacency matrix The weight, and the weight can be set based on requirements, historical records, experiments, etc., and the specific setting method can be referred to the above example, which will not be repeated here.
同理,S305的具体实现方法,可以参见上述示例中的S2051和S2052,由于本申请实施例的邻接矩阵为多个,且引入了为各邻接矩阵设置的权重,因此,当电路结构为多层的电路结构时,则可以适应地将式1进行修改,如将式1修改为式2,并通过式2进行信息融合处理,式2:Similarly, for the specific implementation method of S305, please refer to S2051 and S2052 in the above example. Since there are multiple adjacency matrices in the embodiment of this application, and the weights set for each adjacency matrix are introduced, when the circuit structure is a multilayer When the circuit structure is used, formula 1 can be modified adaptively, for example, formula 1 is modified to formula 2, and information fusion processing is carried out through formula 2, formula 2:
F (l)=σ(CONCAT(∑w iA iF (l-1),F (l-1))W (l)) F (l) =σ(CONCAT(∑w i A i F (l-1) ,F (l-1) )W (l) )
其中,F (l)为第l层输出的各器件的特征向量,A i为第l‐1层的第i种拓扑图的邻接矩阵,w i为A i的权重,F (l-1)为第l‐1层输出的各器件的特征向量,W (l)为预设的模型参数,CONCAT()为拼接操作,σ为激活函数。 Among them, F (l) is the eigenvector of each device output by the lth layer, A i is the adjacency matrix of the i-th topological graph of the l-1 layer, w i is the weight of A i , F (l-1) Is the feature vector of each device output from the l-1 layer, W (l) is the preset model parameter, CONCAT() is the splicing operation, and σ is the activation function.
为使读者更加清楚地理解如何生成可靠性分析模型,现结合图10进行详细地阐述。其中,图10为本申请实施例的生成可靠性分析模型的方法的流程示意图。In order to make the reader understand more clearly how to generate the reliability analysis model, it will be described in detail in conjunction with Figure 10. 10 is a schematic flowchart of a method for generating a reliability analysis model according to an embodiment of the application.
如图10所示,该方法包括:As shown in Figure 10, the method includes:
S1:构建样本电路图的拓扑图。S1: Construct the topology diagram of the sample circuit diagram.
其中,构建样本电路图的拓扑图的方法可以参见上述示例,此处不再赘述。Among them, the method of constructing the topology diagram of the sample circuit diagram can refer to the above-mentioned example, which will not be repeated here.
S2:确定样本电路图中各器件的设计参数。S2: Determine the design parameters of each device in the sample circuit diagram.
S3:采集由仿真器得到的样本电路图中各器件的仿真参数。S3: Collect the simulation parameters of each device in the sample circuit diagram obtained by the simulator.
其中,仿真参数可以用于表征,退化率和/或失效率。Among them, simulation parameters can be used for characterization, degradation rate and/or failure rate.
其中,仿真器可以为上述示例中的集成电路仿真器。Wherein, the simulator may be the integrated circuit simulator in the above example.
S4:根据样本电路图的拓扑图、样本电路图中各器件的设计参数、神经网络模型及仿真参数,生成可靠性分析模型。S4: Generate a reliability analysis model based on the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the neural network model and the simulation parameters.
在一些实施例中,S4可以包括:In some embodiments, S4 may include:
S41:根据样本电路图的拓扑图、样本电路图中各器件的设计参数、仿真参数及神经网络模型,生成测试值。S41: Generate test values according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the simulation parameters and the neural network model.
S42:根据测试值和仿真参数对神经网络模型的参数进行迭代,生成可靠性分析模型。S42: Iterate the parameters of the neural network model according to the test values and simulation parameters to generate a reliability analysis model.
在一些实施例中,S42可以包括:In some embodiments, S42 may include:
S421:根据测试值和仿真参数确定损失函数。S421: Determine the loss function according to the test value and the simulation parameter.
S422:将神经网络模型的参数的范数,确定为损失函数的惩罚项。S422: Determine the norm of the parameters of the neural network model as the penalty term of the loss function.
S423:根据包括惩罚项的损失函数对神经网络模型的参数进行迭代,生成可靠性分析模型。S423: Iterate the parameters of the neural network model according to the loss function including the penalty term to generate a reliability analysis model.
根据本申请实施例的另一个方面,本申请实施例还提供了一种电路可靠性的分析装置,用于执行上述任一实施例所述的方法,如用于执行如图1、图4、图8及图10中任一实施例所示的方法。According to another aspect of the embodiments of the present application, the embodiments of the present application also provide a circuit reliability analysis device, which is used to perform the method described in any of the above embodiments, for example, it is used to perform Figure 1, Figure 4, The method shown in any one of the embodiments in FIG. 8 and FIG. 10.
请参阅图11,图11为本申请一个实施例的电路可靠性的分析装置的示意图。Please refer to FIG. 11. FIG. 11 is a schematic diagram of a circuit reliability analysis device according to an embodiment of the application.
如图11所示,该装置包括:As shown in Figure 11, the device includes:
获取模块11,用于获取待分析的电路图;The obtaining module 11 is used to obtain the circuit diagram to be analyzed;
第一构建模块12,用于构建所述电路图的拓扑图,其中,所述拓扑图中的节点用于表征,所述电路图中的各器件,所述拓扑图中的边用于表征,各所述器件之间的连接线;The first construction module 12 is used to construct the topological diagram of the circuit diagram, where nodes in the topological diagram are used for characterization, each device in the circuit diagram, edges in the topological diagram are used for characterization, and each The connecting wires between the devices;
第一生成模块13,用于根据所述拓扑图和预设的可靠性分析模型,生成所述电路图的可靠性的分析结果,其中,所述可靠性分析模型是基于样本电路图和预设的神经网络模型生成的。The first generating module 13 is configured to generate the reliability analysis result of the circuit diagram according to the topology diagram and the preset reliability analysis model, wherein the reliability analysis model is based on the sample circuit diagram and the preset nerve analysis model. Generated by the network model.
在一些实施例中,所述第一生成模块13用于,根据所述拓扑图生成邻接矩阵,根据各所述器件的设计参数确定各所述器件各自的特征向量,根据所述邻接矩阵、所述特征向量以及所述可靠性分析模型,生成所述分析结果。In some embodiments, the first generating module 13 is configured to generate an adjacency matrix according to the topology map, determine the respective eigenvectors of each device according to the design parameters of each device, and determine the respective eigenvectors of each device according to the adjacency matrix and the The feature vector and the reliability analysis model are used to generate the analysis result.
在一些实施例中,所述第一生成模块13用于,根据所述邻接矩阵和所述特征向量对各所述节点进行信息融合处理,根据融合处理后的信息和所述可靠性分析模型,生成所述分析结果。In some embodiments, the first generating module 13 is configured to perform information fusion processing on each of the nodes according to the adjacency matrix and the feature vector, and according to the information after the fusion processing and the reliability analysis model, Generate the analysis results.
在一些实施例中,所述拓扑图中的边为有指向的边,且边的指向是基于所述器件的设计参数确定的。In some embodiments, the edges in the topology diagram are directed edges, and the direction of the edges is determined based on the design parameters of the device.
在一些实施例中,所述第一生成模块13用于,确定所述拓扑图中所述器件的属性信息,其中,所述属性信息用于表征,所述器件的数量或所述器件的管脚的类型,基于所述属性信息,构建所述邻接矩阵,其中,一个所述器件对应一个所述邻接矩阵,或者,一种类型的管脚对应一个所述邻接矩阵。In some embodiments, the first generating module 13 is used to determine the attribute information of the device in the topology map, where the attribute information is used to characterize the quantity of the device or the management of the device. The type of pins is used to construct the adjacency matrix based on the attribute information, wherein one device corresponds to one adjacency matrix, or one type of pin corresponds to one adjacency matrix.
在一些实施例中,所述第一生成模块13用于,根据各所述邻接矩阵、所述特征向量、所述可靠性分析模型以及预设的各所述邻接矩阵的权重,生成所述分析结果。In some embodiments, the first generating module 13 is configured to generate the analysis according to the adjacency matrix, the eigenvector, the reliability analysis model, and the preset weight of each adjacency matrix. result.
结合图12可知,在一些实施例中,所述装置还包括:With reference to FIG. 12, it can be seen that in some embodiments, the device further includes:
第二构建模块14,用于构建所述样本电路图的拓扑图;The second construction module 14 is used to construct the topology diagram of the sample circuit diagram;
确定模块15,用于确定所述样本电路图中各器件的设计参数;The determining module 15 is used to determine the design parameters of each device in the sample circuit diagram;
采集模块16,用于采集由仿真器得到的所述样本电路图中各器件的仿真参数;The collection module 16 is used to collect the simulation parameters of each device in the sample circuit diagram obtained by the simulator;
第二生成模块17,用于根据所述样本电路图的拓扑图、所述样本电路图中各器件的设计参数、所述神经网络模型及所述仿真参数,生成所述可靠性分析模型。The second generation module 17 is configured to generate the reliability analysis model according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the neural network model, and the simulation parameters.
在一些实施例中,第二生成模块17用于,根据所述样本电路图的拓扑图、所述样本电路图中各器件的设计参数、所述仿真参数及所述神经网络模型,生成测试值,根据所述测试值和所述仿真参数对所述神经网络模型的参数进行迭代,生成所述可靠性分析模型。In some embodiments, the second generating module 17 is configured to generate test values according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the simulation parameters and the neural network model, and The test value and the simulation parameter iterate the parameters of the neural network model to generate the reliability analysis model.
在一些实施例中,第二生成模块17用于,根据所述测试值和所述仿真参数确定损失函数,将所述神经网络模型的参数的范数,确定为所述损失函数的惩罚项,根据包括所述惩罚项的损失函数对所述神经网络模型的参数进行迭代,生成所述可靠性分析模型。In some embodiments, the second generation module 17 is configured to determine a loss function according to the test value and the simulation parameters, and determine the norm of the parameters of the neural network model as the penalty term of the loss function, The parameters of the neural network model are iterated according to the loss function including the penalty term to generate the reliability analysis model.
在一些实施例中,所述第一构建模块14用于,生成所述电路图的电路网表,根据所述电路网表构建所述拓扑图。In some embodiments, the first construction module 14 is configured to generate a circuit netlist of the circuit diagram, and construct the topology diagram according to the circuit netlist.
根据本申请实施例的另一个方面,本申请实施例还提供了一种计算机存储介质,所述计算机存储介质上存储有计算机指令,当所述计算机指令在被处理器运行时,使 得上述任一实施例所述的方法被执行,如图1、图4、图8及图10中任一实施例所示的方法被执行。According to another aspect of the embodiments of the present application, the embodiments of the present application also provide a computer storage medium having computer instructions stored on the computer storage medium. When the computer instructions are executed by a processor, any one of the foregoing The method described in the embodiment is executed, and the method shown in any one of the embodiments in FIG. 1, FIG. 4, FIG. 8 and FIG. 10 is executed.
根据本申请实施例的另一个方面,本申请实施例还提供了一种计算机程序产品,当所述计算机程序产品在处理器上运行时,使得上述任一实施例所述的方法被执行,如图1、图4、图8及图10中任一实施例所示的方法被执行。According to another aspect of the embodiments of the present application, the embodiments of the present application also provide a computer program product. When the computer program product runs on a processor, the method described in any of the above embodiments is executed, such as The method shown in any one of the embodiments in FIG. 1, FIG. 4, FIG. 8, and FIG. 10 is executed.
根据本申请实施例的另一个方面,本申请实施例还提供了一种电子设备,包括:According to another aspect of the embodiments of the present application, the embodiments of the present application also provide an electronic device, including:
至少一个处理器;以及At least one processor; and
与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,使得上述任一实施例所述的方法被执行,如图1、图4、图8及图10中任一实施例所示的方法被执行。The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the method described in any of the foregoing embodiments is executed, as shown in FIG. 1, FIG. 4, and FIG. The method shown in any one of the embodiments in FIG. 8 and FIG. 10 is executed.
请参阅图13,图13为本申请实施例的电子设备的框图。Please refer to FIG. 13, which is a block diagram of an electronic device according to an embodiment of the application.
其中,电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。Among them, the electronic device is intended to mean various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the application described and/or required herein.
如图13所示,该电子设备包括:一个或多个处理器101、存储器102,以及用于连接各部件的接口,包括高速接口和低速接口。各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在电子设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示GUI的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。同样,可以连接多个电子设备,各个设备提供部分必要的操作(例如,作为服务器阵列、一组刀片式服务器、或者多处理器系统)。图13中以一个处理器101为例。As shown in FIG. 13, the electronic device includes: one or more processors 101, a memory 102, and interfaces for connecting various components, including a high-speed interface and a low-speed interface. The various components are connected to each other using different buses, and can be installed on a common motherboard or installed in other ways as needed. The processor may process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input/output device (such as a display device coupled to an interface). In other embodiments, if necessary, multiple processors and/or multiple buses can be used with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). In FIG. 13, a processor 101 is taken as an example.
存储器102即为本申请所提供的非瞬时计算机可读存储介质。其中,所述存储器存储有可由至少一个处理器执行的指令,以使所述至少一个处理器执行本申请所提供的电路可靠性的分析方法。本申请的非瞬时计算机可读存储介质存储计算机指令,该计算机指令用于使计算机执行本申请所提供的电路可靠性的分析方法。The memory 102 is a non-transitory computer-readable storage medium provided by this application. Wherein, the memory stores instructions executable by at least one processor, so that the at least one processor executes the circuit reliability analysis method provided by this application. The non-transitory computer-readable storage medium of the present application stores computer instructions, and the computer instructions are used to make a computer execute the circuit reliability analysis method provided by the present application.
存储器102作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块。处理器101通过运行存储在存储器102中的非瞬时软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中的电路可靠性的分析方法。As a non-transitory computer-readable storage medium, the memory 102 can be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor 101 executes various functional applications and data processing of the server by running non-transitory software programs, instructions, and modules stored in the memory 102, that is, realizing the circuit reliability analysis method in the foregoing method embodiment.
存储器102可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器102可以包括高速随机存取存储器,还可以包括非瞬时存储器,例如至少一个磁盘存储器件、闪存器件、或其他非瞬时固态存储器件。在一些实施例中,存储器102可选包括相对于处理器101远程设置的存储器,这些远程存储器 可以通过网络连接至电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 102 may include a storage program area and a storage data area. The storage program area may store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the electronic device, and the like. In addition, the memory 102 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 102 may optionally include memories remotely provided with respect to the processor 101, and these remote memories may be connected to the electronic device via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
电子设备还可以包括:输入装置103和输出装置104。处理器101、存储器102、输入装置103和输出装置104可以通过总线或者其他方式连接,图13中以通过总线连接为例。The electronic device may further include: an input device 103 and an output device 104. The processor 101, the memory 102, the input device 103, and the output device 104 may be connected by a bus or in other ways. In FIG. 13, the connection by a bus is taken as an example.
输入装置103可接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、轨迹板、触摸板、指示杆、一个或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置104可以包括显示设备、辅助照明装置(例如,LED)和触觉反馈装置(例如,振动电机)等。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED)显示器和等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。例如,输入装置103可以为用于输入电路图,输出装置104可以用于输出分析结果。The input device 103 can receive input digital or character information, and generate key signal input related to the user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more Input devices such as mouse buttons, trackballs, joysticks, etc. The output device 104 may include a display device, an auxiliary lighting device (for example, LED), a tactile feedback device (for example, a vibration motor), and the like. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be a touch screen. For example, the input device 103 may be used to input circuit diagrams, and the output device 104 may be used to output analysis results.
此处描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、专用ASIC(专用集成电路)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: being implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, the programmable processor It can be a dedicated or general-purpose programmable processor that can receive data and instructions from the storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device. An output device.
这些计算程序(也称作程序、软件、软件应用、或者代码)包括可编程处理器的机器指令,并且可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。如本文使用的,术语“机器可读介质”和“计算机可读介质”指的是用于将机器指令和/或数据提供给可编程处理器的任何计算机程序产品、设备、和/或装置(例如,磁盘、光盘、存储器、可编程逻辑装置(PLD)),包括,接收作为机器可读信号的机器指令的机器可读介质。术语“机器可读信号”指的是用于将机器指令和/或数据提供给可编程处理器的任何信号。These computing programs (also referred to as programs, software, software applications, or codes) include machine instructions for programmable processors, and can be implemented using high-level procedures and/or object-oriented programming languages, and/or assembly/machine language Calculation program. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and/or device used to provide machine instructions and/or data to a programmable processor ( For example, magnetic disks, optical disks, memory, programmable logic devices (PLD)), including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。In order to provide interaction with the user, the systems and techniques described here can be implemented on a computer that has: a display device for displaying information to the user (for example, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) ); and a keyboard and a pointing device (for example, a mouse or a trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (for example, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, voice input, or tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。 通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and technologies described herein can be implemented in a computing system that includes back-end components (for example, as a data server), or a computing system that includes middleware components (for example, an application server), or a computing system that includes front-end components (for example, A user computer with a graphical user interface or a web browser through which the user can interact with the implementation of the system and technology described herein), or includes such back-end components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be connected to each other through any form or medium of digital data communication (for example, a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。The computer system can include clients and servers. The client and server are generally far away from each other and usually interact through a communication network. The relationship between the client and the server is generated through computer programs that run on the corresponding computers and have a client-server relationship with each other.
根据本申请实施例的另一个方面,本申请实施例还提供了芯片。According to another aspect of the embodiment of the present application, the embodiment of the present application also provides a chip.
请参阅图14,图14为本申请实施例的芯片的示意图。Please refer to FIG. 14, which is a schematic diagram of a chip according to an embodiment of the application.
如图14所示,该芯片包括:As shown in Figure 14, the chip includes:
输入接口21,用于获取待分析的电路图。The input interface 21 is used to obtain the circuit diagram to be analyzed.
逻辑电路22,用于执行如上任一实施例所述的方法,如执行如图1、图4、图8及图10中任一实施例所示的方法,得到所述电路图的可靠性的分析结果。The logic circuit 22 is used to execute the method described in any of the above embodiments, such as executing the method shown in any of the embodiments in FIG. 1, FIG. 4, FIG. 8, and FIG. 10, to obtain an analysis of the reliability of the circuit diagram result.
输出接口23,用于输出所述电路图的可靠性的分析结果。The output interface 23 is used to output the analysis result of the reliability of the circuit diagram.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本申请中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请的技术方案所期望的结果,本文在此不进行限制。It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present application can be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution of the present application can be achieved, this is not limited herein.
上述具体实施方式,并不构成对本申请保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本申请的精神和原则之内所作的修改、等同替换和改进等,均应包含在本申请保护范围之内。The foregoing specific implementations do not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent replacement and improvement made within the spirit and principle of this application shall be included in the protection scope of this application.

Claims (24)

  1. 一种电路可靠性的分析方法,其特征在于,所述方法包括:A method for analyzing circuit reliability, characterized in that the method includes:
    获取待分析的电路图;Obtain the circuit diagram to be analyzed;
    构建所述电路图的拓扑图,其中,所述拓扑图中的节点用于表征,所述电路图中的各器件,所述拓扑图中的边用于表征,各所述器件之间的连接线;Constructing a topology diagram of the circuit diagram, where nodes in the topology diagram are used for characterization, each device in the circuit diagram, edges in the topology diagram are used for characterization, and connecting lines between the devices;
    根据所述拓扑图和预设的可靠性分析模型,生成所述电路图的可靠性的分析结果。According to the topology diagram and the preset reliability analysis model, the reliability analysis result of the circuit diagram is generated.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述拓扑图和预设的可靠性分析模型,生成所述电路图的可靠性的分析结果包括:The method according to claim 1, wherein the generating an analysis result of the reliability of the circuit diagram according to the topology diagram and a preset reliability analysis model comprises:
    根据所述拓扑图生成邻接矩阵;Generating an adjacency matrix according to the topological graph;
    根据各所述器件的设计参数确定各所述器件各自的特征向量;Determine the respective characteristic vector of each of the devices according to the design parameters of each of the devices;
    根据所述邻接矩阵、所述特征向量以及所述可靠性分析模型,生成所述分析结果。The analysis result is generated according to the adjacency matrix, the feature vector, and the reliability analysis model.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述邻接矩阵、所述特征向量以及所述可靠性分析模型,生成所述分析结果包括:The method according to claim 2, wherein said generating said analysis result according to said adjacency matrix, said eigenvector and said reliability analysis model comprises:
    根据所述邻接矩阵和所述特征向量对各所述节点进行信息融合处理;Performing information fusion processing on each of the nodes according to the adjacency matrix and the feature vector;
    根据融合处理后的信息和所述可靠性分析模型,生成所述分析结果。According to the information after the fusion processing and the reliability analysis model, the analysis result is generated.
  4. 根据权利要求2或3所述的方法,其特征在于,所述拓扑图中的边为有指向的边,且边的指向是基于所述器件的设计参数确定的。The method according to claim 2 or 3, wherein the edges in the topology diagram are oriented edges, and the orientation of the edges is determined based on the design parameters of the device.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述拓扑图生成邻接矩阵包括:The method according to claim 4, wherein the generating an adjacency matrix according to the topological graph comprises:
    确定所述拓扑图中所述器件的属性信息,其中,所述属性信息用于表征,所述器件的数量或所述器件的管脚的类型;Determining the attribute information of the device in the topology diagram, where the attribute information is used to characterize the number of the device or the type of pin of the device;
    基于所述属性信息,构建所述邻接矩阵,其中,一个所述器件对应一个所述邻接矩阵,或者,一种类型的管脚对应一个所述邻接矩阵。The adjacency matrix is constructed based on the attribute information, wherein one device corresponds to one adjacency matrix, or one type of pin corresponds to one adjacency matrix.
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述邻接矩阵、所述特征向量以及所述可靠性分析模型,生成所述分析结果包括:The method according to claim 5, wherein said generating said analysis result according to said adjacency matrix, said eigenvector and said reliability analysis model comprises:
    根据各所述邻接矩阵、所述特征向量、所述可靠性分析模型以及预设的各所述邻接矩阵的权重,生成所述分析结果。The analysis result is generated according to each adjacency matrix, the feature vector, the reliability analysis model, and the preset weight of each adjacency matrix.
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 6, wherein the method further comprises:
    构建样本电路图的拓扑图;Construct the topology diagram of the sample circuit diagram;
    确定所述样本电路图中各器件的设计参数;Determine the design parameters of each device in the sample circuit diagram;
    采集由仿真器得到的所述样本电路图中各器件的仿真参数;Collecting simulation parameters of each device in the sample circuit diagram obtained by the simulator;
    根据所述样本电路图的拓扑图、所述样本电路图中各器件的设计参数、预设的神经网络模型及所述仿真参数,生成所述可靠性分析模型。The reliability analysis model is generated according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the preset neural network model, and the simulation parameters.
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述样本电路图的拓扑图、所述样本电路图中各器件的设计参数、预设的神经网络模型及所述仿真参数,生成所述可靠性分析模型包括:8. The method according to claim 7, wherein said generating said circuit diagram according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the preset neural network model and the simulation parameters Reliability analysis models include:
    根据所述样本电路图的拓扑图、所述样本电路图中各器件的设计参数、所述仿真参数及所述神经网络模型,生成测试值;Generate test values according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the simulation parameters and the neural network model;
    根据所述测试值和所述仿真参数对所述神经网络模型的参数进行迭代,生成所述 可靠性分析模型。The parameters of the neural network model are iterated according to the test values and the simulation parameters to generate the reliability analysis model.
  9. 根据权利要求8所述的方法,其特征在于,所述根据所述测试值和所述仿真参数对所述神经网络模型的参数进行迭代,生成所述可靠性分析模型包括:The method according to claim 8, wherein the iterating the parameters of the neural network model according to the test values and the simulation parameters to generate the reliability analysis model comprises:
    根据所述测试值和所述仿真参数确定损失函数;Determining a loss function according to the test value and the simulation parameter;
    将所述神经网络模型的参数的范数,确定为所述损失函数的惩罚项;Determining the norm of the parameters of the neural network model as the penalty term of the loss function;
    根据包括所述惩罚项的损失函数对所述神经网络模型的参数进行迭代,生成所述可靠性分析模型。The parameters of the neural network model are iterated according to the loss function including the penalty term to generate the reliability analysis model.
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,所述构建所述电路图的拓扑图包括:The method according to any one of claims 1 to 9, wherein the constructing the topology diagram of the circuit diagram comprises:
    生成所述电路图的电路网表;Generating the circuit netlist of the circuit diagram;
    根据所述电路网表构建所述拓扑图。The topology diagram is constructed according to the circuit netlist.
  11. 一种电路可靠性的分析装置,其特征在于,所述装置包括:A circuit reliability analysis device, characterized in that the device includes:
    获取模块,用于获取待分析的电路图;The acquisition module is used to acquire the circuit diagram to be analyzed;
    第一构建模块,用于构建所述电路图的拓扑图,其中,所述拓扑图中的节点用于表征,所述电路图中的各器件,所述拓扑图中的边用于表征,各所述器件之间的连接线;The first building module is used to construct a topology diagram of the circuit diagram, where nodes in the topology diagram are used for characterization, each device in the circuit diagram, edges in the topology diagram are used for characterization, and each Connection lines between devices;
    第一生成模块,用于根据所述拓扑图和预设的可靠性分析模型,生成所述电路图的可靠性的分析结果。The first generating module is configured to generate the reliability analysis result of the circuit diagram according to the topology diagram and the preset reliability analysis model.
  12. 根据权利要求11所述的装置,其特征在于,所述第一生成模块用于,根据所述拓扑图生成邻接矩阵,根据各所述器件的设计参数确定各所述器件各自的特征向量,根据所述邻接矩阵、所述特征向量以及所述可靠性分析模型,生成所述分析结果。The device according to claim 11, wherein the first generating module is configured to generate an adjacency matrix according to the topology map, determine the respective eigenvectors of each of the devices according to the design parameters of each of the devices, and The adjacency matrix, the feature vector, and the reliability analysis model generate the analysis result.
  13. 根据权利要求12所述的装置,其特征在于,所述第一生成模块用于,根据所述邻接矩阵和所述特征向量对各所述节点进行信息融合处理,根据融合处理后的信息和所述可靠性分析模型,生成所述分析结果。The device according to claim 12, wherein the first generating module is configured to perform information fusion processing on each of the nodes according to the adjacency matrix and the feature vector, and perform information fusion processing on each of the nodes according to the fusion processing information and all the information. The reliability analysis model is used to generate the analysis result.
  14. 根据权利要求12或13所述的装置,其特征在于,所述拓扑图中的边为有指向的边,且边的指向是基于所述器件的设计参数确定的。The device according to claim 12 or 13, wherein the edges in the topology diagram are oriented edges, and the orientation of the edges is determined based on the design parameters of the device.
  15. 根据权利要求14所述的装置,其特征在于,所述第一生成模块用于,确定所述拓扑图中所述器件的属性信息,其中,所述属性信息用于表征,所述器件的数量或所述器件的管脚的类型,基于所述属性信息,构建所述邻接矩阵,其中,一个所述器件对应一个所述邻接矩阵,或者,一种类型的管脚对应一个所述邻接矩阵。The apparatus according to claim 14, wherein the first generating module is configured to determine the attribute information of the device in the topology map, wherein the attribute information is used to characterize the number of the device Or the types of pins of the devices, based on the attribute information, construct the adjacency matrix, wherein one device corresponds to one adjacency matrix, or one type of pins corresponds to one adjacency matrix.
  16. 根据权利要求15所述的装置,其特征在于,所述第一生成模块用于,根据各所述邻接矩阵、所述特征向量、所述可靠性分析模型以及预设的各所述邻接矩阵的权重,生成所述分析结果。The device according to claim 15, wherein the first generating module is configured to: according to the adjacency matrix, the eigenvector, the reliability analysis model, and the preset adjacency matrix Weight, which generates the analysis result.
  17. 根据权利要求11至16中任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 11 to 16, wherein the device further comprises:
    第二构建模块,用于构建样本电路图的拓扑图;The second building module is used to build the topology diagram of the sample circuit diagram;
    确定模块,用于确定所述样本电路图中各器件的设计参数;The determining module is used to determine the design parameters of each device in the sample circuit diagram;
    采集模块,用于采集由仿真器得到的所述样本电路图中各器件的仿真参数;An acquisition module for acquiring the simulation parameters of each device in the sample circuit diagram obtained by the simulator;
    第二生成模块,用于根据所述样本电路图的拓扑图、所述样本电路图中各器件的设计参数、预设的神经网络模型及所述仿真参数,生成所述可靠性分析模型。The second generation module is configured to generate the reliability analysis model according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the preset neural network model, and the simulation parameters.
  18. 根据权利要求17所述的装置,其特征在于,所述第二生成模块用于,根据所述样本电路图的拓扑图、所述样本电路图中各器件的设计参数、所述仿真参数及所述神经网络模型,生成测试值,根据所述测试值和所述仿真参数对所述神经网络模型的参数进行迭代,生成所述可靠性分析模型。The device according to claim 17, wherein the second generation module is configured to, according to the topology diagram of the sample circuit diagram, the design parameters of each device in the sample circuit diagram, the simulation parameters and the nerve A network model generates a test value, and the parameters of the neural network model are iterated according to the test value and the simulation parameter to generate the reliability analysis model.
  19. 根据权利要求18所述的装置,其特征在于,所述第二生成模块用于,根据所述测试值和所述仿真参数确定损失函数,将所述神经网络模型的参数的范数,确定为所述损失函数的惩罚项,根据包括所述惩罚项的损失函数对所述神经网络模型的参数进行迭代,生成所述可靠性分析模型。The device according to claim 18, wherein the second generation module is configured to determine a loss function according to the test value and the simulation parameter, and determine the norm of the parameters of the neural network model as The penalty term of the loss function is to iterate the parameters of the neural network model according to the loss function including the penalty term to generate the reliability analysis model.
  20. 根据权利要求11至19中任一项所述的装置,其特征在于,所述第一构建模块用于,生成所述电路图的电路网表,根据所述电路网表构建所述拓扑图。The device according to any one of claims 11 to 19, wherein the first construction module is configured to generate a circuit netlist of the circuit diagram, and construct the topology diagram according to the circuit netlist.
  21. 一种计算机存储介质,其特征在于,所述计算机存储介质上存储有计算机指令,当所述计算机指令在被处理器运行时,使得权利要求1至10中任一项所述的方法被执行。A computer storage medium, characterized in that computer instructions are stored on the computer storage medium, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 10 is executed.
  22. 一种计算机程序产品,其特征在于,当所述计算机程序产品在处理器上运行时,使得权利要求1至10中任一项所述的方法被执行。A computer program product, characterized in that, when the computer program product runs on a processor, the method according to any one of claims 1 to 10 is executed.
  23. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    至少一个处理器;以及At least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,使得权利要求1至10中任一项所述的方法被执行。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the method according to any one of claims 1 to 10 is executed.
  24. 一种芯片,其特征在于,包括:A chip, characterized in that it comprises:
    输入接口,用于获取待分析的电路图;Input interface, used to obtain the circuit diagram to be analyzed;
    逻辑电路,用于执行如权利要求1至10中任一项所述的方法,得到所述电路图的可靠性的分析结果;A logic circuit for executing the method according to any one of claims 1 to 10 to obtain the analysis result of the reliability of the circuit diagram;
    输出接口,用于输出所述电路图的可靠性的分析结果。The output interface is used to output the reliability analysis result of the circuit diagram.
PCT/CN2020/098225 2020-06-24 2020-06-24 Circuit reliability analysis method and apparatus, storage medium, and electronic equipment WO2021258363A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/098225 WO2021258363A1 (en) 2020-06-24 2020-06-24 Circuit reliability analysis method and apparatus, storage medium, and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/098225 WO2021258363A1 (en) 2020-06-24 2020-06-24 Circuit reliability analysis method and apparatus, storage medium, and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021258363A1 true WO2021258363A1 (en) 2021-12-30

Family

ID=79282424

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/098225 WO2021258363A1 (en) 2020-06-24 2020-06-24 Circuit reliability analysis method and apparatus, storage medium, and electronic equipment

Country Status (1)

Country Link
WO (1) WO2021258363A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080222603A1 (en) * 2006-10-12 2008-09-11 Hewlett-Packard Development Company L.P. Addressing managed elements in a common information model environment
CN107526888A (en) * 2017-08-22 2017-12-29 珠海泓芯科技有限公司 The generation method and generating means of circuit topological structure
CN107688682A (en) * 2016-12-23 2018-02-13 北京国睿中数科技股份有限公司 A kind of method that circuit topology is extracted using timing path
CN108228724A (en) * 2017-12-11 2018-06-29 厦门亿力吉奥信息科技有限公司 Power grid GIS topology analyzing method and storage medium based on chart database
CN109522640A (en) * 2018-11-14 2019-03-26 北京航空航天大学 It is a kind of based on electric current reallocate circuit system cascading failure propagation path determine method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080222603A1 (en) * 2006-10-12 2008-09-11 Hewlett-Packard Development Company L.P. Addressing managed elements in a common information model environment
CN107688682A (en) * 2016-12-23 2018-02-13 北京国睿中数科技股份有限公司 A kind of method that circuit topology is extracted using timing path
CN107526888A (en) * 2017-08-22 2017-12-29 珠海泓芯科技有限公司 The generation method and generating means of circuit topological structure
CN108228724A (en) * 2017-12-11 2018-06-29 厦门亿力吉奥信息科技有限公司 Power grid GIS topology analyzing method and storage medium based on chart database
CN109522640A (en) * 2018-11-14 2019-03-26 北京航空航天大学 It is a kind of based on electric current reallocate circuit system cascading failure propagation path determine method

Similar Documents

Publication Publication Date Title
US11574105B1 (en) Using a barycenter compact model for a circuit network
US10937211B2 (en) Automated parametrization of floor-plan sketches for multi-objective building optimization tasks
US11169912B2 (en) Entity and relationship joint extraction method oriented to software bug knowledge
JP2022018095A (en) Multi-modal pre-training model acquisition method, apparatus, electronic device and storage medium
EP3937060A1 (en) Method and apparatus for training semantic representation model, device and computer storage medium
JP7064554B2 (en) Question analysis methods, equipment, knowledge base question answering systems, electronic devices, storage media and programs
CN111311321B (en) User consumption behavior prediction model training method, device, equipment and storage medium
CN111967256B (en) Event relation generation method and device, electronic equipment and storage medium
US20210192378A1 (en) Quantitative analysis method and apparatus for user decision-making behavior
JP2021193595A (en) Conversation recommendation method, apparatus and equipment
EP4006909B1 (en) Method, apparatus and device for quality control and storage medium
CN112749300B (en) Method, apparatus, device, storage medium and program product for video classification
US11789985B2 (en) Method for determining competitive relation of points of interest, device
CN111639753B (en) Method, apparatus, device and storage medium for training image processing super network
US20220004366A1 (en) Advanced software development application methods, systems, and computer readable medium
US11829447B2 (en) Resident area prediction method, apparatus, device, and storage medium
CN108932320A (en) Article search method, apparatus and electronic equipment
US20210217031A1 (en) Method and apparatus for forecasting demand for talent, device and storage medium
US9471733B1 (en) Solving a circuit network in multicore or distributed computing environment
US11580124B2 (en) Method and apparatus for mining competition relationship POIs
US10192012B1 (en) Pseudo-inverter configuration for signal electromigration analysis
WO2021258363A1 (en) Circuit reliability analysis method and apparatus, storage medium, and electronic equipment
Li et al. Two-stream adaptive-attentional subgraph convolution networks for skeleton-based action recognition
CN116450827A (en) Event template induction method and system based on large-scale language model
CN116016686A (en) Method and device for determining node to be optimized, electronic equipment and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20942005

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20942005

Country of ref document: EP

Kind code of ref document: A1