Standard unit aging analysis method and device, electronic equipment and storage medium
By converting the structure and aging condition information of the standard unit into graph structure data and inputting it into the graph neural network model for aging simulation, the problem of low efficiency of integrated circuit aging analysis in the existing technology is solved, and faster aging delay detection and integration are achieved. Circuit design accuracy.
Patent Information
- Application Number
- CN202410644148.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-30
AI Technical Summary
Existing integrated circuit aging analysis methods such as SPICE are inefficient when processing the aging delay analysis of standard cells. Especially when processing complex input combinations, they take a long time, resulting in low efficiency.
By obtaining the structural information and aging condition information of the standard unit, converting it into graph structure data and node features, and inputting the graph neural network model for aging simulation and delay detection, the post-aging delay is obtained.
It significantly shortens the time-consuming of aging analysis, improves the efficiency of standard unit aging analysis, and can more quickly evaluate the aging of integrated circuits in different scenarios.
Smart Images

Figure CN118569192A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of chip technology, and in particular to a standard unit aging analysis method, device, electronic device and storage medium. Background Art
[0002] Standard cells include combinational logic cells, sequential logic cells, physical cells, etc. When designing integrated circuits, the required standard cells can be called according to circuit requirements for logic synthesis and automatic layout and routing. By evaluating the aging of standard cells, the delay increase caused by aging can be taken into account in the synthesis and timing analysis processes of integrated circuit design to achieve cross-level reliability collaborative design, and then accurately evaluate the aging of integrated circuits in different scenarios.
[0003] Currently, aging analysis of standard cells is performed using the Simulation Program with Integrated Circuit Emphasis (SPICE).
[0004] However, due to the complex input combinations of integrated circuits, when performing aging analysis on standard cells, it is necessary to analyze the aging delay of the standard cells under different input state combinations. It takes a long time to analyze the aging delay of the standard cells under a single input state combination through SPICE, so the efficiency of aging analysis on standard cells is low. Summary of the invention
[0005] In view of this, embodiments of the present application provide a standard cell aging analysis method, device, electronic device and storage medium to at least partially solve the above problems.
[0006] According to a first aspect of an embodiment of the present application, a standard cell aging analysis method is provided, including: obtaining structural information and aging condition information of a standard cell; converting the structural information into graph structure data; converting the aging condition information into node features of nodes in the graph structure data; inputting the graph structure data and the node features into a graph neural network model to obtain an aging delay output by the graph neural network model, wherein the aging delay is used to indicate a post-aging delay of the standard cell.
[0007] According to a second aspect of an embodiment of the present application, a standard cell aging analysis device is provided, comprising: an acquisition unit for acquiring structural information and aging condition information of a standard cell; a first conversion unit for converting the structural information into graph structure data; a second conversion unit for converting the aging condition information into node features of nodes in the graph structure data; and a calculation unit for inputting the graph structure data and the node features into a graph neural network model to obtain an aging delay output by the graph neural network model, wherein the aging delay is used to indicate a post-aging delay of the standard cell.
[0008] According to the third aspect of an embodiment of the present application, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the method described in the first aspect above.
[0009] According to a fourth aspect of an embodiment of the present application, a computer storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in the first aspect above is implemented.
[0010] According to a fifth aspect of an embodiment of the present application, a computer program product is provided, including computer instructions, wherein the computer instructions instruct a computing device to execute the method described in the first aspect above.
[0011] It can be seen from the above technical solution that after the structural information of the standard cell is converted into graph structure data, the aging condition information is converted into node features of the nodes in the graph structure data, and then the graph structure data and the node features are input into the graph neural network model, and the standard cell is subjected to aging simulation and post-aging delay detection through the graph neural network model, and then the aging delay output by the graph neural network model that can indicate the post-aging delay of the standard cell is obtained. Performing aging analysis on the standard cell through the graph neural network model can shorten the time consumption of aging analysis compared to performing aging analysis on the standard cell through SPICE, thereby improving the efficiency of aging analysis on the standard cell. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0013] Figure 1 is a schematic diagram of an exemplary system used in one embodiment of the present application;
[0014] Figure 2 is a flow chart of a standard cell aging analysis method according to an embodiment of the present application;
[0015] Figure 3 is a schematic diagram of the circuit structure of an inverter according to an embodiment of the present application;
[0016] Figure 4 is a schematic diagram of graph structure data corresponding to an inverter according to an embodiment of the present application;
[0017] Figure 5 is a schematic diagram of the time consumption of the standard cell aging analysis according to one embodiment of the present application;
[0018] Figure 6 is a schematic diagram of a standard cell aging analysis device according to an embodiment of the present application;
[0019] Figure 7 It is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0020] The present application is described below based on embodiments, but the present application is not limited to these embodiments. In the detailed description of the present application below, some specific details are described in detail. It is possible for a person skilled in the art to fully understand the present application without the description of these details. In order to avoid confusing the essence of the present application, known methods, processes, and flows are not described in detail. In addition, the drawings are not necessarily drawn to scale.
[0021] First, some nouns or terms that appear in the process of describing the embodiments of the present application are subject to the following explanations.
[0022] Standard cell: Standard cell is the basic device unit used in the integrated circuit design process. By connecting the same or different types of standard cells, an integrated circuit with corresponding functions can be obtained. According to the function, standard cells can be divided into logic gates, drive units, timing units, operation units, synthesis units, input / output units, buffer units, etc. When designing an integrated circuit, the required standard cells can be called according to the circuit requirements for logic synthesis and automatic layout and routing.
[0023] Standard cell aging: Standard cell aging refers to the aging effect of the standard cells that constitute electronic circuits (such as chips) during the use of electronic circuits. The aging effect will cause the performance of transistors to decline, the threshold voltage to increase, and the switching of logic cells to slow down, thereby causing the logic failure of digital circuits. It should be noted that in the integrated circuit design process, standard cells refer to graphic symbols with corresponding functions, and in electronic circuits (such as chips), standard cells refer to physical electronic components or a combination of physical electronic components with corresponding functions.
[0024] Graph structure data: A graph is a data structure consisting of a non-empty set of finite nodes and a set of edges connecting any two nodes in the node set. In a graph, data elements are called nodes, and the logical relationships between nodes are called edges.
[0025] Graph Neural Network: Graph Neural Network (GNN) refers to an algorithm that uses neural networks to learn graph structured data, extract and discover features and patterns in graph structured data, and meet the needs of graph learning tasks such as clustering, classification, prediction, segmentation, and generation.
[0026] Circuit netlist: A circuit netlist is a way of describing the connection of digital circuits using basic logic gates.
[0027] Exemplary Systems
[0028] Figure 1 An exemplary system suitable for the standard unit aging analysis method of the embodiment of the present application is shown. Figure 1 As shown, the system may include a cloud service end 102, a communication network 104 and at least one user device 106. Figure 1 The example is a plurality of user devices 106. It should be noted that the solution of the embodiment of the present application can be applied to both the cloud service end 102 and the user device 106.
[0029] The cloud server 102 may be any suitable device for storing information, data, programs and / or any other suitable type of content, including but not limited to distributed storage system devices, server clusters, computing cloud server clusters, etc. In some embodiments, the cloud server 102 may perform any suitable function. For example, in some embodiments, the cloud server 102 may be used for aging analysis of standard cells. As an optional example, in some embodiments, the cloud server 102 may receive an operation instruction sent by the user device 106, retrieve a standard cell based on the operation instruction, and perform aging analysis on the retrieved standard cell to obtain an aging analysis result of the standard cell, such as an aging analysis result that may be a post-aging delay of the standard cell.
[0030] The communication network 104 can be any suitable combination of one or more wired and / or wireless networks. For example, the communication network 104 can include any one or more of the following: the Internet, an intranet, a wide area network (WAN), a local area network (LAN), a wireless network, a digital subscriber line (DSL) network, a frame relay network, an asynchronous transfer mode (ATM) network, a virtual private network (VPN), and / or any other suitable communication network. The user device 106 can be connected to the communication network 104 via one or more communication links (e.g., communication link 112), and the communication network 104 can be linked to the cloud service end 102 via one or more communication links (e.g., communication link 114). The communication link can be any communication link suitable for transmitting data between the cloud service end 102 and the user device 106, such as a network link, a dial-up link, a wireless link, a hard-wired link, any other suitable communication link, or any suitable combination of such links.
[0031] The user device 106 may include any one or more user devices suitable for interaction. In some embodiments, when the cloud service end 102 performs aging analysis on the standard cell, the user device 106 may send an operation instruction to the cloud service end 102 in response to the user's operation. After receiving the operation instruction, the cloud service end 102 calls the standard cell, performs aging analysis on the standard cell to obtain an aging analysis result, and then sends the aging analysis result to the user device 106 through the communication network 104. The user device 106 may perform aging analysis on different standard cells by sending the operation instruction multiple times, and may also perform aging analysis on the same standard cell under different aging conditions. In other embodiments, the user device 106 may perform aging analysis on the standard cell locally, the user device 106 calls the standard cell locally in response to the user's operation, and performs aging analysis on the standard cell to obtain an aging analysis result, performs aging analysis on different standard cells by responding to the user's operation multiple times, or performs aging analysis on the same standard cell under different aging conditions.
[0032] The user device 106 may include any suitable type of device. For example, the user device 106 may include a mobile device, a tablet computer, a laptop computer, a desktop computer, or any other suitable type of user device. The user device may include a standard interactive screen and / or input and output devices such as a mouse and keyboard.
[0033] The embodiment of the present application mainly focuses on the aging analysis process of the standard unit performed by the cloud service end 102 or the user device 106, and the aging analysis process of the standard unit will be described in detail hereinafter.
[0034] Standard Cell Aging Analysis Method
[0035] Based on the above system, the embodiment of the present application provides a standard unit aging analysis method, which can be executed by the above cloud service end 102 or user device 106. The standard unit aging analysis method is described in detail below through multiple embodiments.
[0036] Figure 2 FIG. 1 is a flow chart of a standard cell aging analysis method according to an embodiment of the present application. Figure 2 As shown, the standard unit aging analysis method includes the following steps:
[0037] Step 201: Acquire structural information and aging condition information of a standard cell.
[0038] When performing aging analysis on a certain standard cell, the structural information of the standard cell is obtained, and the aging condition information when performing aging analysis on the standard cell is obtained. The structural information of the standard cell may indicate the ports, components, and connection relationships between the ports and components included in the standard cell. In a possible implementation, the structural information of the standard cell may be a circuit netlist of the standard cell.
[0039] The aging condition information includes various types of information required for performing a simulated aging test on the standard cell, including but not limited to the operating voltage, temperature, signal level, and duty cycle (State Probability) that affect the aging effect of the standard cell.
[0040] When multiple standard cells need to be subjected to aging analysis, different standard cells can be sequentially retrieved from the standard cell library for aging analysis.
[0041] Step 202: Convert the structural information into graph structure data.
[0042] After obtaining the structural information of the standard cell, the structural information is converted into a data format, and the structural information is converted into graph structure data. After the structural information is converted into graph structure data, the ports and components included in the standard cell will be converted into nodes in the graph structure data, and the connection relationship between ports, between components, and between ports and components in the standard cell will be converted into edges in the graph structure data. Therefore, after the structural information is converted into graph structure data, the graph structure data can still indicate the connection relationship between ports, components, between ports, between components, and between ports and components included in the standard cell.
[0043] Step 203: Convert the aging condition information into node features of nodes in the graph structure data.
[0044] After converting the structural information of the standard cell into graph structure data, the aging condition information is converted into node features of the nodes in the graph structure data. Since the nodes in the graph structure data are converted from the ports and components in the standard cell, converting the aging condition information into node features of the nodes in the graph structure data is to convert the aging condition information into features of the ports and components in the standard cell, which is consistent with the various aging factors acting on the ports and components during the use of the integrated circuit, which causes the aging of the standard cell. By converting the aging condition information into node features of the nodes in the graph structure data, the aging condition information is combined with the structural information of the standard cell, and then the aging simulation analysis of the standard cell can be performed based on the graph structure data and the node features.
[0045] When converting the aging condition information into node features of nodes in the graph structure data, the aging condition information can be converted into node features of one or more nodes in the graph structure data according to the types of ports and components included in the standard unit and the connection relationship between the ports and components.
[0046] Step 204: Input the graph structure data and node features into the graph neural network model to obtain the aging delay output by the graph neural network model.
[0047] The graph neural network model is a model obtained through training for standard cell simulation analysis. The graph neural network model can simulate the aging process of the standard cell based on the input, detect the post-aging delay of the standard cell, and then output the aging delay for indicating the post-aging delay of the standard cell.
[0048] After converting the aging condition information into node features of the nodes in the graph structure data, the graph structure data and the node features are input into the graph neural network model, and the graph neural network model performs operations based on the graph structure data and the node features to perform aging simulation and post-aging delay detection on the standard unit, thereby obtaining the aging delay output by the graph neural network model to indicate the post-aging delay of the standard unit.
[0049] The ports and components included in the standard cell are connected through signal lines. It takes a certain amount of time for the component to respond from receiving the electrical signal to making a response, and it also takes a certain amount of time for the electrical signal to be transmitted on the signal line. Therefore, there is a certain delay before the standard cell ages, and this part of the delay is defined as the initial delay of the standard cell. The aging delay output by the graph neural network model indicates the overall delay of the standard cell after aging, which includes the delay increment caused by aging and the initial delay of the standard cell.
[0050] In an embodiment of the present application, after the structural information of the standard cell is converted into graph structure data, the aging condition information is converted into node features of nodes in the graph structure data, and then the graph structure data and the node features are input into a graph neural network model, and aging simulation and post-aging delay detection are performed on the standard cell through the graph neural network model, and then the aging delay output by the graph neural network model that can indicate the post-aging delay of the standard cell is obtained. Performing aging analysis on the standard cell through the graph neural network model can shorten the time consumption of aging analysis compared to performing aging analysis on the standard cell through SPICE, thereby improving the efficiency of aging analysis on the standard cell.
[0051] Due to the complex input combination of integrated circuits, aging analysis of standard cells usually requires analyzing the aging delay of standard cells under different aging conditions. When analyzing the aging delay of standard cells under different aging conditions, corresponding aging condition information is generated for different aging conditions, and then different aging condition information is converted into node features of nodes in graph structure data, and different node features and graph structure data are respectively input into the graph neural network model, so that the aging delay of standard cells under different aging conditions can be obtained. When changing the aging conditions to perform aging analysis on standard cells, different aging condition information is converted into node features of nodes in graph structure data, and the graph structure data and different node features are respectively combined as the input of the graph neural network model. The aging delay of standard cells under different aging conditions can be obtained through the operation of the graph neural network model. The simulation analysis process does not require complex operations, which reduces the labor intensity of the aging analysis process of standard cells and can improve the efficiency of aging analysis of standard cells as a whole.
[0052] In a possible implementation, when converting the structural information of the standard cell into graph structure data, the entities included in the standard cell can be converted into nodes in the graph structure data according to the structural information of the standard cell, and the connection relationship between the entities in the standard cell can be converted into edges in the graph structure data.
[0053] The entities included in the standard cell refer to the ports and components in the standard cell. The ports in the standard cell include power supply voltage ports, input ports, output ports, power ground ports, etc. The components in the standard cell include N-type metal oxide semiconductor (Negative channel-Metal-Oxide-Semiconductor, NMOS) and P-type metal oxide semiconductor (Positive channel-Metal-Oxide-Semiconductor, PMOS), etc.
[0054] Entities in the standard cell are connected by signal lines, and the signal lines reflect the connection relationship between the entities in the standard cell.
[0055] The structural information of the standard cell can indicate the entities included in the standard cell and the connection relationship between the entities. Therefore, according to the structural information of the standard cell, the entities included in the standard cell can be converted into nodes in the graph structure data, and the connection relationship between the entities in the standard cell can be converted into edges in the graph structure data. Since the graph structure data includes nodes and edges, and the edges can indicate the logical relationship between the nodes, after the entities included in the standard cell are converted into nodes in the graph structure data, and the connection relationship between the entities in the standard cell is converted into edges in the graph structure data, the graph structure data can still indicate the structure of the standard cell.
[0056] In one example, Figure 3 FIG. 1 is a schematic diagram showing a circuit structure of an inverter according to an embodiment of the present application. Figure 4 A schematic diagram of graph structure data corresponding to an inverter is shown.
[0057] like Figure 3 As shown, the inverter is a standard unit, which includes entities such as NMOS, PMOS, input port A, output port Y, power supply voltage port VDD and power ground port GND, wherein the input port A is connected to the gate G of PMOS and the gate G of NMOS respectively, the power supply voltage port VDD is connected to the source S of PMOS, the power ground port GND is connected to the source S of NMOS, and the output port Y is connected to the drain D of PMOS and the drain D of NMOS respectively.
[0058] like Figure 4 As shown, according to Figure 3The structural information of the inverter shown in the figure converts the PMOS in the inverter into the node PMOS in the graph structure data, converts the NMOS in the inverter into the node NMOS in the graph structure data, converts the input port A in the inverter into the node A in the graph structure data, converts the power ground port GND in the inverter into the node GND in the graph structure data, and converts the power voltage port VDD in the inverter into the node VDD in the graph structure data. The signal line between the input port A and the gate G of the PMOS in the inverter is converted into an edge connecting the node A and the node PMOS in the graph structure data, the signal line between the input port A and the gate G of the NMOS in the inverter is converted into an edge connecting the node A and the node NMOS in the graph structure data, the signal line between the power supply voltage port VDD and the source S of the PMOS in the inverter is converted into an edge connecting the node VDD and the node PMOS in the graph structure data, the signal line between the power ground port GND and the source S of the NMOS in the inverter is converted into an edge connecting the node GND and the node NMOS in the graph structure data, the signal line between the drain D of the PMOS in the inverter and the output port Y is converted into an edge connecting the node PMOS and the node Y in the graph structure data, and the signal line between the drain D of the NMOS in the inverter and the output port Y is converted into an edge connecting the node NMOS and the node Y in the graph structure data.
[0059] like Figure 3 and Figure 4 As shown, after the structural information of the inverter is converted into graph structure data, the graph structure data can still indicate the structure of the inverter, that is, the graph structure data can indicate the entities included in the inverter and the connection relationship between the entities.
[0060] In an embodiment of the present application, based on the structural information of the standard cell, the entities included in the standard cell are converted into nodes in the graph structure data, and the connection relationships between the entities in the standard cell are converted into edges in the graph structure data, so that the graph structure data can accurately indicate the entities included in the standard cell and the connection relationships between the entities, thereby ensuring the accuracy of subsequent aging analysis of the standard cell based on the graph structure data.
[0061] In one possible implementation, the graph neural network includes a relational graph convolutional network (RGCN) and a graph attention network (GAT). When performing aging analysis on a standard unit through a graph neural network model, the graph structure data and node features can be input into the relational graph convolutional network to obtain a first feature output by the relational graph convolutional network, and then the first feature can be input into the graph attention network to obtain a second feature output by the graph attention network, and then the aging delay of the standard unit can be obtained based on the second feature.
[0062] The first feature can indicate the initial delay of the standard cell, that is, the delay of the standard cell before aging. This part of the delay is the inherent delay of the standard cell, which is mainly caused by the connection relationship between the components in the standard cell, that is, caused by the edges in the graph structure data. The second feature can indicate the initial delay and the delay caused by aging of the standard cell. The delay caused by aging is the delay increment caused by aging described in the above embodiment. This part of the delay is mainly caused by the aging of the components in the standard cell.
[0063] After the graph structure data and the node features are input into the relational graph convolution network, the relational graph convolution network can determine the delay caused by different edge types in the graph structure data based on the graph structure data and the node features, and then obtain the first feature that can indicate the initial delay of the standard unit. In addition to indicating the initial delay of the standard unit, the first feature can also indicate the type information and node features of the nodes in the graph structure data, and the relational graph convolution network can input the output first feature into the graph attention network.
[0064] After the relational graph convolutional network inputs the first feature into the graph attention network, the graph attention network can simulate aging of the standard unit based on the first feature to determine the delay increment caused by the aging of different types of nodes in the graph structure data, and then based on the delay increment caused by the aging of different types of nodes, output a second feature that can indicate the sum of the initial delay of the standard unit and the delay caused by aging.
[0065] In one example, after the graph attention network outputs the second feature, the delay increment caused by the aging of different types of nodes can be determined based on the second feature. By summing the delay increments caused by the aging of different types of nodes, the total delay increment caused by the aging of each node in the graph structure data can be obtained, and then the total delay increment is added to the initial delay of the standard unit to obtain the third feature. After the third feature is input into the fully connected layer included in the graph neural network model, the aging delay that can indicate the post-aging delay of the standard unit is obtained.
[0066] In another example, after the graph attention network outputs the second feature, the aging delay of the standard cell can be directly determined based on the second feature, or the second feature output by the graph attention network is the aging delay of the standard cell.
[0067] In an embodiment of the present application, the graph neural network model includes a relational graph convolution network and a graph attention network. The relational graph convolution network can determine the initial delay of the standard unit caused by different edge types in the graph structure data, and the graph attention network can determine the delay increment caused by the aging of different types of nodes in the graph structure data. Then, by combining the outputs of the relational graph convolution network and the graph attention network, the aging delay of the standard unit can be determined, so that the aging delay includes the initial delay of the standard unit and the delay increment caused by aging, thereby ensuring the accuracy of aging analysis of the standard unit.
[0068] In one possible implementation, the relational graph convolutional network may include 2 relational graph convolutional layers and 1 batch normalization layer, and the graph attention network may include 1 graph attention layer and 1 batch normalization layer. It should be noted that the relational graph convolutional network and the graph attention network may not meet the above structural requirements at the same time. In one example, the relational graph convolutional network includes 2 relational graph convolutional layers and 1 batch normalization layer, and the graph attention network can be any graph neural network structure. In another example, the graph attention network includes 1 graph attention layer and 1 batch normalization layer, and the relational graph convolutional network can be any graph neural network structure.
[0069] The relational graph convolutional network can be used to assign weights to different edge types between the central node and the neighboring nodes, and the node embedding is multiplied by the weight for aggregation update. Figure 4 As shown, the weight corresponding to the edge connecting the node VDD and the node PMOS is W1, the weight corresponding to the edge connecting the node A and the node PMOS is W2, the weight corresponding to the edge connecting the node PMOS and the node NMOS is W3, and the weight corresponding to the edge connecting the node Y and the node PMOS is W4.
[0070] The relational graph convolutional network can be aggregated and updated using the following formula:
[0071]
[0072] In the above formula, l represents the lth layer of the relational graph convolutional network; Represents the set of neighbor nodes pointing to the central node i, and r∈R, R is the edge type; Node features that characterize the central node; Characterize the node characteristics of neighbor nodes; h (0) Characterize the initial node characteristics; e j,i Representation normalization layer; A learnable weight matrix representing edge type r; The weight matrix that represents the self-loop can map nodes to potential features and can be trained and optimized by back-propagation; σ represents the nonlinear activation function.
[0073] The graph attention network can calculate the importance weights α of the central node and neighbor nodes through a three-head attention mechanism ij , the neighbor node embedding is multiplied by the importance weight for aggregation update. Figure 4 As shown, the importance weight between the central node PMOS and the neighboring node VDD is α 11 , the importance weight between the central node PMOS and the neighbor node A is α 12 , the importance weight between the central node PMOS and the neighboring node NMOS is α 13 , the importance weight between the central node PMOS and the neighbor node Y is α 14 .
[0074] The graph attention network can be aggregated and updated by the following formula:
[0075]
[0076] In the above formula, l represents the lth layer of the graph attention network; Represents the set of neighbor nodes pointing to the central node i, and r∈R, R is the edge type; Represents the importance weight between the central node i and the neighbor node j in the lth layer of the graph attention network, Represents the node features of neighbor node j in the lth layer of the graph attention network.
[0077] In an embodiment of the present application, the graph convolution network includes two graph convolution layers and one batch normalization layer, so that the graph convolution network can extract the type of edges in the graph structure data from the graph structure data, and then accurately determine the initial delay of the standard unit caused by different edge types. The graph attention network includes one graph attention layer and one batch normalization layer, so that the graph attention network can accurately determine the delay increment caused by the aging of different types of nodes in the structured data based on the type information and node characteristics of the nodes in the graph structure data, thereby ensuring the accuracy of the aging delay obtained by the aging analysis of the standard unit.
[0078] In a possible implementation, the aging condition includes at least one of an input state combination of a standard cell, an accelerated aging test condition, and a post-aging performance test condition.
[0079] The standard cell may include one or more input ports, and the input ports may input high-level signals or low-level signals. When the standard cell includes multiple input ports, different input ports may input high-level signals or low-level signals respectively, so that the standard cell has different input state combinations. The working states of at least some components in the standard cell are different under different input state combinations. For example, a component in the standard cell works under a certain input state combination, while the component in the standard cell does not work under another input state combination. Therefore, the input state combination is one of the factors affecting the aging of the standard cell.
[0080] Accelerated aging test conditions are the conditions required for accelerated aging simulation of standard units. The graph neural network model can perform calculations based on the accelerated aging test conditions to simulate the aging that occurs during the use of standard units and update the delay-related information of each type of node in the graph structure data. The delay-related information is used to determine the delay increment caused by node aging.
[0081] The post-aging performance test condition is a condition for performing a performance test on a standard unit after performing an aging simulation on the standard unit. The graph neural network model can perform calculations based on the post-aging performance test condition to simulate and detect the delay increment caused by aging of the node after the aging test.
[0082] In an embodiment of the present application, the aging condition information includes an input state combination of the standard cell, accelerated aging test conditions, and post-aging performance test conditions, etc. The input state combination is a factor that affects the aging of the standard cell, the accelerated aging test conditions are used to simulate the aging of the standard cell, and the post-aging performance test conditions are used to perform a performance test on the standard cell after simulated aging. Thus, by performing aging analysis on the standard cell based on the aging condition information, the coverage rate of the aging analysis on the standard cell can be improved, and the aging analysis on the standard cell can be performed more comprehensively, thereby improving the accuracy of the results obtained from the aging analysis on the standard cell.
[0083] In one possible implementation, both the accelerated aging test conditions and the post-aging performance test conditions include at least one of the power supply terminal voltage value, rising edge time, falling edge time, state flip probability, state retention time, temperature, and load capacitance, and the value of at least one of the items included in the accelerated aging test conditions and the post-aging performance test conditions is different.
[0084] Since both the simulated accelerated aging and post-aging performance testing of standard units require relevant information such as the power supply voltage value, rising edge time, falling edge time, state flip probability, state retention time, temperature, and load capacitance, the simulated aging process and the post-aging performance testing process have different purposes, when the accelerated aging test conditions and the post-aging performance testing conditions include multiple identical items, the values corresponding to at least some of the items are different.
[0085] In the embodiments of the present application, the power supply terminal voltage value, rising edge time, falling edge time, state flip probability, state holding time, temperature and load capacitance of the standard cell will affect the aging delay of the standard cell, so the accelerated aging test conditions and the post-aging performance test conditions both include information such as the power supply terminal voltage value, rising edge time, falling edge time, state flip probability, state holding time, temperature and load capacitance, so that the standard cell can be comprehensively simulated for aging based on the accelerated aging test conditions, and the aging delay of the standard cell can be accurately evaluated based on the post-aging performance test conditions, thereby improving the coverage of aging analysis of the standard cell and the accuracy of the analysis results obtained.
[0086] In one possible implementation, when converting the aging condition information into node characteristics of nodes in the graph structure data, the influence information of the waveform shape within the simulation cycle included in the aging condition information can be converted into the node characteristics of the input node in the graph structure data, the load capacitance information included in the aging condition information can be converted into the node characteristics of the output node in the graph structure data, the size information and temperature information included in the aging condition information can be converted into the node characteristics of the transistor node in the graph structure data, and the power supply terminal voltage value included in the aging condition information can be converted into the node characteristics of the power supply terminal node in the graph structure data.
[0087] The input node serves as the starting node of the standard cell workflow. The input signal is input into the standard cell through the input node. The waveform shape of the input signal will affect the operating frequency of the standard cell, thereby affecting the aging of the standard cell. Therefore, the influence information of the waveform shape during the simulation cycle can be converted into the node features of the input node in the graph structure data.
[0088] The load capacitance of the standard cell is related to the load of the standard cell, and the load of the standard cell is connected to the output node of the standard cell, so the load capacitance information can be converted into a node feature of the output node in the graph structure data.
[0089] The temperature and size of the standard cell will affect the operation of the transistor in the standard cell, and thus affect the delay of the standard cell, so the temperature information and size information can be converted into node characteristics of the transistor nodes in the graph structure data.
[0090] The power supply terminal voltage of the standard cell is input into the standard cell through the power supply terminal, and the level of the power supply terminal voltage will affect the aging of the standard cell, so the power supply terminal voltage value can be converted into a node feature of the power supply terminal node in the graph structure data.
[0091] Before the node features are input into the graph neural network model, the node features can be normalized and properly encoded, and the connection relationships between the gate, source and drain of NMOS and PMOS devices and other nodes can be considered in the connection types of different nodes.
[0092] In an embodiment of the present application, the various contents included in the aging condition information are converted into node features of the corresponding nodes in the graph structure data based on the correlation with the nodes, so that the aging condition information is combined with the structural information of the standard unit to perform aging analysis on the standard unit, thereby ensuring the accuracy of the analysis results obtained from the aging analysis of the standard unit.
[0093] In a possible implementation, the influencing information of the waveform shape in the simulation cycle includes at least one of a rising edge time, a falling edge time, a state flip probability, a state holding time, and an input state combination of the standard cell.
[0094] In the embodiments of the present application, the rising edge time, the falling edge time, the state flip probability, the state holding time and the input state combination of the standard unit will affect the waveform shape within the simulation cycle, so the rising edge time, the falling edge time, the state flip probability, the state holding time and the input state combination of the standard unit are used as the waveform shape within the simulation cycle to ensure the accuracy of the analysis results obtained by the aging analysis of the standard unit.
[0095] Figure 5 A schematic diagram showing the time consumption of the standard unit aging analysis in an embodiment of the present application is shown. Figure 5As shown, the standard unit aging analysis method provided in the embodiment of the present application and SPICE are used to perform aging analysis on the standard units respectively. The time spent on aging analysis of the standard units of batch 1 by the method provided in the embodiment of the present application is 0.0039 s, while the time spent on aging analysis by SPICE is 5.64 s. The time spent on aging analysis of the standard units of batch 2 by the method provided in the embodiment of the present application is 0.01197 s, while the time spent on aging analysis by SPICE is 6.13 s. The time spent on aging analysis of the standard units of batch 3 by the method provided in the embodiment of the present application is 0.01082 s, while the time spent on aging analysis by SPICE is 5.96 s. The time spent on aging analysis of the standard units of batch 4 by the method provided in the embodiment of the present application is 0.00673 s, while the time spent on aging analysis by SPICE is 5.85 s. The time spent on aging analysis of the standard units of batch 5 by the method provided in the embodiment of the present application is 0.01536 s, while the time spent on aging analysis by SPICE is 6.49 s. The average time consumption for aging analysis of 5 batches of standard units is 0.00976 s for aging analysis using the method provided in the embodiment of the present application, while the average time consumption for aging analysis using SPICE is 6.014 s.
[0096] Depend on Figure 5 It can be seen that the standard cell aging analysis method provided in the embodiment of the present application can significantly shorten the time spent on aging analysis of the standard cell, thereby improving the efficiency of aging analysis of the standard cell.
[0097] Standard cell aging analysis device
[0098] Corresponding to the above standard cell aging analysis method embodiment, Figure 6 FIG. 1 is a schematic diagram of a standard cell aging analysis device according to an embodiment of the present application. Figure 6 As shown, the standard cell aging analysis device 600 includes:
[0099] An acquisition unit 601 is used to acquire structural information and aging condition information of a standard cell;
[0100] A first conversion unit 602, configured to convert the structure information into graph structure data;
[0101] A second conversion unit 603, used to convert the aging condition information into node features of nodes in the graph structure data;
[0102] The calculation unit 604 is used to input the graph structure data and node features into the graph neural network model to obtain the aging delay output by the graph neural network model, and the aging delay is used to indicate the post-aging delay of the standard unit.
[0103] In the embodiment of the present application, after the acquisition unit 601 acquires the structural information and aging condition information of the standard cell, the first conversion unit 602 converts the structural information of the standard cell into graph structure data, and the second conversion unit 603 converts the aging condition information into node features of nodes in the graph structure data, and then the calculation unit 604 inputs the graph structure data and the node features into the graph neural network model, and performs aging simulation and post-aging delay detection on the standard cell through the graph neural network model, and then obtains the aging delay output by the graph neural network model that can indicate the post-aging delay of the standard cell. Performing aging analysis on the standard cell through the graph neural network model can shorten the time consumption of aging analysis compared to performing aging analysis on the standard cell through SPICE, thereby improving the efficiency of aging analysis on the standard cell.
[0104] It should be noted that the standard cell aging analysis device of this embodiment is used to implement the standard cell aging analysis method in the aforementioned method embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0105] Electronic devices
[0106] Figure 7 This is a schematic block diagram of an electronic device provided in an embodiment of the present application. The specific embodiment of the present application does not limit the specific implementation of the electronic device. Figure 7 As shown, the electronic device may include: a processor (processor) 702, a communication interface (Communications Interface) 704, a memory (memory) 706, and a communication bus 708. Among them:
[0107] The processor 702 , the communication interface 704 , and the memory 706 communicate with each other via a communication bus 708 .
[0108] The communication interface 704 is used to communicate with other electronic devices or servers.
[0109] The processor 702 is used to execute the program 710, and specifically can execute the relevant steps in any of the above-mentioned standard cell aging analysis method embodiments.
[0110] Specifically, the program 710 may include program codes, which include computer operation instructions.
[0111] The processor 702 may be a CPU, or an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0112] RISC-V is an open source instruction set architecture based on the Reduced Instruction Set (RISC) principle. It can be applied to various aspects such as single-chip microcomputers and FPGA chips. Specifically, it can be applied to the fields of IoT security, industrial control, mobile phones, personal computers, etc., and because it is designed with small, fast, and low-power realities in mind, it is particularly suitable for modern computing devices such as warehouse-scale cloud computers, high-end mobile phones, and tiny embedded systems. With the rise of artificial intelligence Internet of Things (AIoT), the RISC-V instruction set architecture has also received more and more attention and support, and is expected to become the next generation of widely used CPU architecture.
[0113] The computer operation instructions in the embodiment of the present application may be computer operation instructions based on the RISC-V instruction set architecture, and correspondingly, the processor 702 may be designed based on the RISC-V instruction set. Specifically, the processor chip in the electronic device provided in the embodiment of the present application may be a chip designed using the RISC-V instruction set, and the chip may execute executable code based on the configured instructions, thereby implementing the standard unit aging analysis method in the above embodiment.
[0114] The memory 706 is used to store the program 710. The memory 706 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0115] The program 710 may be specifically used to enable the processor 702 to execute the standard cell aging analysis method in any of the aforementioned embodiments.
[0116] The specific implementation of each step in program 710 can refer to the corresponding description of the corresponding steps and units in any of the above-mentioned standard unit aging analysis method embodiments, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above-mentioned method embodiments, which will not be repeated here.
[0117] In one example, program 710 can be run on a general-purpose x86 computer (server), and is a program developed based on a Linux system, a corresponding layout design software (such as Cadence Virtuoso) platform, and a corresponding programming language (such as skill programming language) interface.
[0118] Through the electronic device of the embodiment of the present application, after the structural information of the standard cell is converted into graph structure data, the aging condition information is converted into the node features of the nodes in the graph structure data, and then the graph structure data and the node features are input into the graph neural network model, and the standard cell is subjected to aging simulation and post-aging delay detection through the graph neural network model, and then the aging delay output by the graph neural network model that can indicate the post-aging delay of the standard cell is obtained. Performing aging analysis on the standard cell through the graph neural network model can shorten the time consumption of aging analysis compared to performing aging analysis on the standard cell through SPICE, thereby improving the efficiency of aging analysis on the standard cell.
[0119] Computer storage media
[0120] The present application also provides a computer-readable storage medium storing instructions for causing a machine to execute the standard cell aging analysis method as described herein. Specifically, a system or device equipped with a storage medium may be provided, on which a software program code implementing the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device is enabled to read and execute the program code stored in the storage medium.
[0121] In this case, the program code read from the storage medium itself can implement the function of any one of the above embodiments, so the program code and the storage medium storing the program code constitute part of the present application.
[0122] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.
[0123] Computer program product
[0124] An embodiment of the present application also provides a computer program product, including computer instructions, which instruct a computing device to perform any corresponding operation in the above-mentioned multiple method embodiments.
[0125] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.
[0126] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as a computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a special-purpose processor or programmable or special-purpose hardware (such as an ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the method described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the method shown here, the execution of the code converts the general-purpose computer into a special-purpose computer for executing the method shown here.
[0127] It should be noted that the user-related information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to sample data used to train the model, data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0128] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for specific applications, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
[0129] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.
Claims
1. A standard unit aging analysis method, comprising: Obtaining structural information and aging condition information of standard cells; Converting the structural information into graph structure data; Converting the aging condition information into node features of nodes in the graph structure data; The graph structure data and the node features are input into a graph neural network model to obtain an aging delay output by the graph neural network model, where the aging delay is used to indicate the post-aging delay of the standard unit.
2. The method according to claim 1, wherein: The converting the structural information into graph structure data comprises: According to the structural information, entities included in the standard unit are converted into nodes in the graph structure data, and connection relationships between entities in the standard unit are converted into edges in the graph structure data.
3. The method according to claim 2, wherein: The graph neural network model includes a relational graph convolutional network and a graph attention network; The step of inputting the graph structure data and the node features into a graph neural network model to obtain an aging delay output by the graph neural network model includes: Inputting the graph structure data and the node features into the relationship graph convolution network to obtain a first feature output by the relationship graph convolution network, wherein the first feature is used to indicate an initial delay of the standard unit; Inputting the first feature into the graph attention network to obtain a second feature output by the graph attention network, wherein the second feature is used to indicate an initial delay and a delay caused by aging of the standard unit; According to the second feature, the aging delay is obtained.
4. The method according to claim 3, wherein: The relational graph convolution network includes 2 relational graph convolution layers and 1 batch normalization layer, and / or the graph attention network includes 1 graph attention layer and 1 batch normalization layer.
5. The method according to claim 1, wherein: The aging condition information includes at least one of an input state combination of the standard cell, an accelerated aging test condition, and a post-aging performance test condition.
6. The method according to claim 5, wherein: The accelerated aging test conditions and the post-aging performance test conditions both include at least one of a power supply terminal voltage value, a rising edge time, a falling edge time, a state flip probability, a state retention time, a temperature, and a load capacitance, and the value of at least one of the items included in the accelerated aging test conditions and the post-aging performance test conditions is different.
7. The method according to any one of claims 1 to 6, wherein: The converting the aging condition information into node features of nodes in the graph structure data includes: Converting the influence information of the waveform shape in the simulation period included in the aging condition information into the node features of the input nodes in the graph structure data; Converting the load capacitance information included in the aging condition information into node features of output nodes in the graph structure data; Converting the size information and the temperature information included in the aging condition information into node features of transistor nodes in the graph structure data; The power supply terminal voltage value included in the aging condition information is converted into a node feature of the power supply terminal node in the graph structure data.
8. The method according to claim 7, wherein: The influencing information of the waveform shape in the simulation cycle includes at least one of a rising edge time, a falling edge time, a state flip probability, a state holding time, and an input state combination of the standard unit.
9. A standard unit aging analysis device, comprising: An acquisition unit, used to acquire structural information and aging condition information of a standard unit; A first conversion unit, used to convert the structure information into graph structure data; A second conversion unit, configured to convert the aging condition information into node features of nodes in the graph structure data; A computing unit is used to input the graph structure data and the node features into a graph neural network model to obtain an aging delay output by the graph neural network model, wherein the aging delay is used to indicate a post-aging delay of the standard unit.
10. An electronic device, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute an operation corresponding to any one of the methods in claims 1-8.
11. A computer storage medium, characterized in that: The computer storage medium stores a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 8.
12. A computer program product, characterized in that The method comprises computer instructions for instructing a computing device to execute the method as claimed in any one of claims 1 to 8.
