Analog simulation data management system and method applied to integrated circuits
By constructing structured baseline topology information and monitoring netlist changes in real time, generating unique identifiers, and calculating simulation data differences, the problem of disconnection between topology changes and simulation data in integrated circuit simulation data management is solved, achieving efficient traceability and management.
Patent Information
- Application Number
- CN202610608188.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-06
- Publication Date
- 2026-07-24
AI Technical Summary
Existing integrated circuit simulation data management systems cannot effectively link netlist topology changes with simulation data, making it difficult to trace the cause of simulation result deviations and resulting in chaotic management.
By collecting initial netlist topology files, structured baseline topology information is constructed, and netlist changes are monitored in real time. Unique identifiers are generated and archived, simulation data differences are calculated, and correlation indexes are established to achieve traceability of simulation data.
It has achieved standardization and accuracy in the management of integrated circuit simulation data, quickly pinpointed the root cause of changes in simulation data, and improved management efficiency.
Smart Images

Figure CN122452485A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data management technology, specifically to an analog simulation data management system and method for integrated circuits. Background Technology
[0002] In the integrated circuit simulation design process, netlist topology is used to define circuit device models, connection relationships, port constraints, and device parameters, and is the core input for simulation calculations. As circuit scale continues to expand and design iterations become more frequent, simulation data is characterized by numerous versions, complex relationships, and high traceability requirements, and existing simulation data management methods have significant limitations.
[0003] Current conventional simulation data management systems only perform simple storage and version maintenance on simulation result files, simulation configuration parameters, and operation logs. Data traceability is limited to recording basic information such as the operation subject, time, and file version, failing to establish an effective correlation link between netlist topology changes and simulation data. During circuit design iterations, topology modifications such as component replacement, connection adjustments, branch additions / removals, and parameter modifications cannot be automatically identified, structurally extracted, and archived by the system. Furthermore, it cannot perform strong correlation and quantitative analysis between topology modification behaviors and corresponding simulation waveforms, performance indicators, and convergence results.
[0004] In this situation, it is impossible to reverse-engineer the changes in simulation data to pinpoint the corresponding topology change nodes, making it difficult to accurately determine the causes of simulation result deviations and performance anomalies. Simulation data for different topology versions are independent of each other, making horizontal comparisons and difference analyses difficult. Summary of the Invention
[0005] The purpose of this invention is to provide an analog simulation data management system and method for integrated circuits, so as to solve the problems mentioned in the background art.
[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution: A method for managing analog simulation data applied to integrated circuits includes the following steps: S1. Collect the initial netlist topology file, parse and extract device models, device parameters, circuit connection relationships and port constraints to form structured reference topology information, and store the reference topology information in association with the corresponding initial simulation data. The simulation data includes simulation waveforms, performance indicators and convergence results. S2. Real-time monitoring of whether the netlist topology has changed. When device replacement, connection adjustment, branch addition or deletion or parameter modification is detected, the system automatically identifies and records the change location, change type and parameter comparison before and after the change, generates a unique identifier for each topology change and archives it. S3. Use the modified netlist topology to carry out simulation tasks, obtain corresponding simulation data, and calculate the numerical differences and changes in simulation waveforms and performance indicators before and after the change. Then bind and store the topology change records, unique identifiers, simulation data and the calculated difference results. S4. Upon receiving the tracing instruction, based on the simulation data to be traced, reverse the search through the binding relationship to find the corresponding unique identifier, locate the topology change location and specific content that caused the change in simulation data, display the corresponding data differences, and retrieve the netlist topology and historical simulation data before the change.
[0007] Furthermore, S1 includes the following: The initial netlist topology file is collected, and the initial netlist topology file is parsed for syntax and semantics. Comments, blank lines and redundant format characters are removed to obtain a regular netlist statement. Extract information about all devices in the circuit from the regularized netlist statement to construct a device set; normalize the electrical parameters corresponding to each device and express them in vector form to construct the parameter vector of each device. Extract the electrical connection relationships between devices and circuit nodes from the netlist statements, and construct a node connection matrix. The node connection matrix uses Boolean variables to identify whether there is an electrical connection between each device and each circuit node. Extract the constraint information corresponding to each port in the circuit and construct the port constraint vector; The device set, device parameter vector, node connection matrix, and port constraint vector are integrated to form structured reference topology information; Acquire initial simulation data corresponding to the current benchmark topology. The initial simulation data includes simulation waveforms that change over time, overall circuit performance indicators, and simulation convergence status. Establish a mapping relationship between the structured benchmark topology information and the initial simulation data, and store the structured benchmark topology information, the initial simulation data, and the mapping relationship together in the simulation data management library to complete the association storage of the benchmark topology and the corresponding simulation data.
[0008] Furthermore, S2 includes the following: Using the structured baseline topology information as a comparison benchmark, the current netlist topology is collected in real time and parsed in the manner described in step S1 to obtain real-time structured topology information; The real-time structured topology information is matched with the baseline topology information dimension by dimension and item by item to determine whether there are any changes in the current netlist; The device sets in the baseline topology and the real-time topology are compared, and the addition, deletion and replacement of devices are counted. By comparing the changes in the number of devices in the baseline topology and the real-time topology, the device difference is constructed. The normalized parameters of devices with the same number are compared parameter by parameter. The parameter difference is constructed by comparing the normalized parameters of devices with the same number parameter by parameter. The node connection matrices of the baseline topology and the real-time topology are compared element by element, and the number of elements whose connection relationships have changed is counted. By comparing the node connection matrices element by element and counting the number of changed elements, the connection relationship difference is constructed. The device differences, parameter differences, and connection differences are weighted and fused to obtain an overall topology difference metric; when the overall topology difference metric is greater than a preset threshold, the netlist topology is determined to have undergone a valid change. The device, parameter and connection relationship are traversed and compared position by position to locate the device number, branch number and circuit node number corresponding to the change, and form the change position information. Based on the characteristics of topology changes, the changes are divided into four types: device replacement, connection relationship adjustment, branch addition / reduction, and parameter modification. The corresponding parameter values before and after the change are extracted, and the parameter comparison change is constructed. Based on the change time, change location, change type, and parameter comparison change amount, change metadata is constructed to generate a globally unique change identifier for each independent topology change; the change identifier, change location, change type, topology information before and after the change, and parameter change amount are uniformly encapsulated into a topology change record and stored in the topology change library to complete archiving.
[0009] Furthermore, S3 includes the following: The archived modified netlist topology information is retrieved, and the modified netlist topology is used as simulation input to start the integrated circuit simulation task. After the simulation calculation is completed, the modified real-time simulation data is obtained. The modified real-time simulation data includes real-time simulation waveforms, real-time circuit performance indicators, and real-time simulation convergence status. Extract the initial simulation waveform and the modified real-time simulation waveform corresponding to the baseline topology, select sampling points at the same time, calculate the waveform numerical difference of the corresponding sampling points, and construct a waveform difference vector. Calculate the overall waveform change amplitude based on the waveform difference vector; calculate the numerical differences and relative changes in circuit performance indicators before and after the change; By integrating the waveform difference vector, the overall waveform change amplitude, the numerical difference of the performance index, and the relative change amplitude of the performance index, a complete simulation data difference result is formed. Retrieve the topology change record and unique change identifier generated in step S2, establish a one-to-one mapping relationship between the change identifier and the topology change record, the simulation data after the change, and the simulation data difference results, and construct an association index; The unique change identifier, topology change record, post-change simulation data, simulation data difference results, and associated index are stored together in the simulation data management library to complete the binding and associated storage of each data, ensuring that the change identifier can be used as a unique index, and realizing fast association query between topology changes and simulation data and difference results.
[0010] Furthermore, S4 includes the following: Receive simulation data tracing instructions initiated by users, parse the simulation data to be traced contained in the tracing instructions, and clarify the tracing query target; The association index stored in the simulation data management library is retrieved. Using the simulation data to be traced as the query condition, the corresponding unique change identifier is retrieved in reverse through the mapping relationship of the association index, so as to realize the association between simulation data and topology change identifier. Based on the unique change identifier retrieved, the topology change database is queried to retrieve the corresponding topology change record. The change location, change type, parameter changes before and after the change, and topology information after the change are extracted to locate the topology change location and specific content that caused the change in simulation data. A source tracing matching degree determination index is constructed. The determination index is obtained by weighted fusion of the overall waveform change amplitude and the relative change amplitude of the performance index calculated in step S3. When the determination index is greater than the preset matching threshold, the source tracing result is determined to be valid. Retrieve the simulation data difference results stored in step S3, including waveform difference vector, overall waveform change amplitude, performance index numerical difference, and performance index relative change amplitude, and display the above difference results synchronously with the specific content of the located topology change. By associating the initial simulation data with the unique change identifier, the structured baseline topology information and corresponding initial simulation data before the change are retrieved; the netlist topology information and historical simulation data before the change are associated and integrated with the topology information after the change, real-time simulation data, simulation data difference results, and topology change records to form a complete traceability report, and the traceability report is bound and stored with the unique change identifier.
[0011] A simulation data management system for integrated circuits includes: a baseline topology construction and storage module, a topology change monitoring and archiving module, a simulation data difference analysis and binding module, and a simulation data tracing module; The baseline topology construction and storage module collects the initial netlist topology file, parses and processes the initial netlist topology file, extracts device models, device parameters, circuit connection relationships and port constraints to form structured baseline topology information, and collects the corresponding initial simulation data, establishes the mapping relationship between the structured baseline topology information and the initial simulation data, and stores the relevant data together in the simulation data management library; The topology change monitoring and archiving module uses structured baseline topology information as a comparison benchmark, monitors the current netlist topology in real time, parses the real-time netlist topology and matches it with the baseline topology information dimension by dimension and item by item to determine whether a change has occurred, calculates various differences and weighted fusion to obtain the overall topology difference metric, locates the change location, determines the change type, constructs parameter comparison change amount, generates a unique change identifier, and archives the topology change record to the topology change library. The simulation data difference analysis and binding module retrieves the archived modified netlist topology information, uses it as simulation input to start the simulation task and obtain the real-time simulation data after the change. It calculates the numerical differences and changes in the simulation waveforms and performance indicators before and after the change, forms the simulation data difference results, establishes a one-to-one mapping relationship between the unique change identifier and the topology change record, the modified simulation data, and the difference results, and builds an associated index to bind and store the relevant data in the simulation data management library. The simulation data tracing module receives simulation data tracing instructions initiated by users, parses the simulation data to be traced, retrieves the corresponding unique change identifier through the association index, locates the topology change location and specific content that caused the simulation data change based on the identifier, constructs a tracing matching degree judgment index and judges the validity of the tracing results, synchronously displays the difference results and topology change content, retrieves the baseline topology information and initial simulation data before the change, integrates them to form a tracing report and binds it to the unique change identifier for storage.
[0012] Furthermore, the baseline topology construction and storage module includes a netlist parsing unit and a data association storage unit; The netlist parsing unit collects the initial netlist topology file, performs syntax and semantic parsing on the initial netlist topology file, removes comments, blank lines and redundant format characters to obtain regular netlist statements, extracts device information, electrical connection relationships and port constraint information, constructs device sets, device parameter vectors, node connection matrices and port constraint vectors, and integrates them to form structured reference topology information; The data association storage unit collects the initial simulation data corresponding to the benchmark topology, establishes a mapping relationship between the structured benchmark topology information and the initial simulation data, and stores the structured benchmark topology information, the initial simulation data and the mapping relationship together in the simulation data management library, thus completing the association storage of the benchmark topology and the corresponding simulation data.
[0013] Furthermore, the topology change monitoring and archiving module includes a topology comparison unit and a change archiving unit; The topology comparison unit collects the current netlist topology in real time and parses it according to the netlist parsing method of the benchmark topology construction and storage module to obtain real-time structured topology information. It matches the netlist topology information dimension by dimension and item by item, calculates the device difference degree, parameter difference degree, and connection relationship difference degree, and weights and fuses them to obtain the overall topology difference metric value. When the metric value is greater than the preset judgment threshold, it is judged as a valid change, the change location is located and the change type is determined. The change archiving unit extracts the corresponding parameter values before and after the change to construct the parameter comparison change amount. Based on the change time, change location, change type, and parameter comparison change amount, change metadata is constructed. A globally unique change identifier is generated for each independent topology change. The change identifier, change location, change type, topology information before and after the change, and parameter change amount are encapsulated into a topology change record and stored in the topology change library to complete the archiving.
[0014] Furthermore, the simulation data difference analysis and binding module includes a simulation execution unit and a data binding storage unit; The simulation execution unit retrieves the archived modified netlist topology information as simulation input, starts the integrated circuit simulation task and obtains the modified real-time simulation data, extracts the initial simulation waveform and the modified real-time simulation waveform, selects the same time sampling points to calculate the waveform numerical difference and constructs the waveform difference vector, calculates the overall change amplitude of the waveform, the numerical difference of the performance index and the relative change amplitude, and integrates them to form a complete simulation data difference result. The data binding storage unit retrieves the topology change records and unique change identifiers generated by the topology change monitoring and archiving module, establishes a one-to-one mapping relationship between the unique change identifier and the topology change record, the simulation data after the change, and the simulation data difference results, and constructs an associated index. The unique change identifier, topology change record, simulation data after the change, simulation data difference results, and associated index are stored together in the simulation data management library, completing the binding and associated storage of each data.
[0015] Furthermore, the simulation data tracing module includes an identification retrieval unit and a tracing display unit; The identification retrieval unit receives the simulation data tracing instruction initiated by the user, parses the simulation data to be traced in the instruction, retrieves the associated index in the simulation data management library, uses the simulation data to be traced as the query condition, and retrieves the corresponding unique change identifier in reverse through the mapping relationship of the associated index. Based on the identifier, it queries the topology change library and retrieves the corresponding topology change record, locates the topology change location and specific content that caused the simulation data change, constructs the tracing matching degree judgment index, and judges the validity of the tracing result. The traceability and display unit retrieves the simulation data difference results stored in the simulation data difference analysis and binding module, displays them synchronously with the specific content of the located topology change, associates the initial simulation data with the unique change identifier, retrieves the structured baseline topology information before the change and the corresponding initial simulation data, and integrates the topology information before and after the change, simulation data, difference results and topology change records to form a complete traceability report and binds it to the unique change identifier for storage.
[0016] Compared with existing technologies, the beneficial effects of this invention are as follows: By collecting initial netlist topology files and constructing a structured benchmark topology, this invention achieves the associated storage of benchmark topology and initial simulation data, providing a reliable data foundation for subsequent change monitoring and tracing; by monitoring netlist topology changes in real time, it accurately identifies the location, type, and parameter changes of the changes, generates unique identifiers, and archives them, avoiding topology change chaos; by calculating the differences in simulation data before and after the change and binding them to associated storage, it clearly presents the impact of topology changes on simulation results; by reversing the search for unique identifiers to achieve simulation data tracing, it quickly locates the root cause of simulation data changes, and simultaneously displays the difference results and change content, improving the standardization, accuracy, and efficiency of integrated circuit simulation data management, solving the problems of simulation data being disconnected from topology changes, difficult tracing, and chaotic management in existing technologies, and providing strong support for integrated circuit simulation optimization. Attached Figure Description
[0017] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is a schematic diagram of a module of an analog simulation data management system for integrated circuits according to the present invention. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] Please see Figure 1 The present invention provides the following technical solution: A simulation data management system for integrated circuits includes: a baseline topology construction and storage module, a topology change monitoring and archiving module, a simulation data difference analysis and binding module, and a simulation data tracing module; The baseline topology construction and storage module collects the initial netlist topology file, parses and processes the initial netlist topology file, extracts device models, device parameters, circuit connection relationships and port constraints to form structured baseline topology information, and collects the corresponding initial simulation data, establishes the mapping relationship between the structured baseline topology information and the initial simulation data, and stores the relevant data together in the simulation data management library; The topology change monitoring and archiving module uses structured baseline topology information as a comparison benchmark, monitors the current netlist topology in real time, parses the real-time netlist topology and matches it with the baseline topology information dimension by dimension and item by item to determine whether a change has occurred, calculates various differences and weighted fusion to obtain the overall topology difference metric, locates the change location, determines the change type, constructs parameter comparison change amount, generates a unique change identifier, and archives the topology change record to the topology change library. The simulation data difference analysis and binding module retrieves the archived modified netlist topology information, uses it as simulation input to start the simulation task and obtain the real-time simulation data after the change. It calculates the numerical differences and changes in the simulation waveforms and performance indicators before and after the change, forms the simulation data difference results, establishes a one-to-one mapping relationship between the unique change identifier and the topology change record, the modified simulation data, and the difference results, and builds an associated index to bind and store the relevant data in the simulation data management library. The simulation data tracing module receives simulation data tracing instructions initiated by users, parses the simulation data to be traced, retrieves the corresponding unique change identifier through the association index, locates the topology change location and specific content that caused the simulation data change based on the identifier, constructs a tracing matching degree judgment index and judges the validity of the tracing results, synchronously displays the difference results and topology change content, retrieves the baseline topology information and initial simulation data before the change, integrates them to form a tracing report and binds it to the unique change identifier for storage.
[0020] The baseline topology construction and storage module includes a netlist parsing unit and a data association storage unit; The netlist parsing unit collects the initial netlist topology file, performs syntax and semantic parsing on the initial netlist topology file, removes comments, blank lines and redundant format characters to obtain regular netlist statements, extracts device information, electrical connection relationships and port constraint information, constructs device sets, device parameter vectors, node connection matrices and port constraint vectors, and integrates them to form structured reference topology information; The data association storage unit collects the initial simulation data corresponding to the benchmark topology, establishes a mapping relationship between the structured benchmark topology information and the initial simulation data, and stores the structured benchmark topology information, the initial simulation data and the mapping relationship together in the simulation data management library, thus completing the association storage of the benchmark topology and the corresponding simulation data.
[0021] The topology change monitoring and archiving module includes a topology comparison unit and a change archiving unit; The topology comparison unit collects the current netlist topology in real time and parses it according to the netlist parsing method of the benchmark topology construction and storage module to obtain real-time structured topology information. It matches the netlist topology information dimension by dimension and item by item, calculates the device difference degree, parameter difference degree, and connection relationship difference degree, and weights and fuses them to obtain the overall topology difference metric value. When the metric value is greater than the preset judgment threshold, it is judged as a valid change, the change location is located and the change type is determined. The change archiving unit extracts the corresponding parameter values before and after the change to construct the parameter comparison change amount. Based on the change time, change location, change type, and parameter comparison change amount, change metadata is constructed. A globally unique change identifier is generated for each independent topology change. The change identifier, change location, change type, topology information before and after the change, and parameter change amount are encapsulated into a topology change record and stored in the topology change library to complete the archiving.
[0022] The simulation data difference analysis and binding module includes a simulation execution unit and a data binding storage unit; The simulation execution unit retrieves the archived modified netlist topology information as simulation input, starts the integrated circuit simulation task and obtains the modified real-time simulation data, extracts the initial simulation waveform and the modified real-time simulation waveform, selects the same time sampling points to calculate the waveform numerical difference and constructs the waveform difference vector, calculates the overall change amplitude of the waveform, the numerical difference of the performance index and the relative change amplitude, and integrates them to form a complete simulation data difference result. The data binding storage unit retrieves the topology change records and unique change identifiers generated by the topology change monitoring and archiving module, establishes a one-to-one mapping relationship between the unique change identifier and the topology change record, the simulation data after the change, and the simulation data difference results, and constructs an associated index. The unique change identifier, topology change record, simulation data after the change, simulation data difference results, and associated index are stored together in the simulation data management library, completing the binding and associated storage of each data.
[0023] The simulation data tracing module includes an identification and retrieval unit and a tracing display unit; The identification retrieval unit receives the simulation data tracing instruction initiated by the user, parses the simulation data to be traced in the instruction, retrieves the associated index in the simulation data management library, uses the simulation data to be traced as the query condition, and retrieves the corresponding unique change identifier in reverse through the mapping relationship of the associated index. Based on the identifier, it queries the topology change library and retrieves the corresponding topology change record, locates the topology change location and specific content that caused the simulation data change, constructs the tracing matching degree judgment index, and judges the validity of the tracing result. The traceability and display unit retrieves the simulation data difference results stored in the simulation data difference analysis and binding module, displays them synchronously with the specific content of the located topology change, associates the initial simulation data with the unique change identifier, retrieves the structured baseline topology information before the change and the corresponding initial simulation data, and integrates the topology information before and after the change, simulation data, difference results and topology change records to form a complete traceability report and binds it to the unique change identifier for storage.
[0024] A method for managing analog simulation data applied to integrated circuits includes the following steps: S1. Collect the initial netlist topology file, parse and extract device models, device parameters, circuit connection relationships and port constraints to form structured reference topology information, and store the reference topology information in association with the corresponding initial simulation data. The simulation data includes simulation waveforms, performance indicators and convergence results. S2. Real-time monitoring of whether the netlist topology has changed. When device replacement, connection adjustment, branch addition or deletion or parameter modification is detected, the system automatically identifies and records the change location, change type and parameter comparison before and after the change, generates a unique identifier for each topology change and archives it. S3. Use the modified netlist topology to carry out simulation tasks, obtain corresponding simulation data, and calculate the numerical differences and changes in simulation waveforms and performance indicators before and after the change. Then bind and store the topology change records, unique identifiers, simulation data and the calculated difference results. S4. Upon receiving the tracing instruction, based on the simulation data to be traced, reverse the search through the binding relationship to find the corresponding unique identifier, locate the topology change location and specific content that caused the change in simulation data, display the corresponding data differences, and retrieve the netlist topology and historical simulation data before the change.
[0025] S1 includes the following: The initial netlist topology file is collected, and the initial netlist topology file is parsed for syntax and semantics. Comments, blank lines and redundant format characters are removed to obtain a regular netlist statement. Extract information about all devices in the circuit from the regularized netlist statement to construct a device set; normalize the electrical parameters corresponding to each device and express them in vector form to construct the parameter vector of each device. Extract the electrical connection relationships between devices and circuit nodes from the netlist statements, and construct a node connection matrix. The node connection matrix uses Boolean variables to identify whether there is an electrical connection between each device and each circuit node. Extract the constraint information corresponding to each port in the circuit and construct the port constraint vector; The device set, device parameter vector, node connection matrix, and port constraint vector are integrated to form structured reference topology information; Acquire initial simulation data corresponding to the current benchmark topology. The initial simulation data includes simulation waveforms that change over time, overall circuit performance indicators, and simulation convergence status. Establish a mapping relationship between the structured benchmark topology information and the initial simulation data, and store the structured benchmark topology information, the initial simulation data, and the mapping relationship together in the simulation data management library to complete the association storage of the benchmark topology and the corresponding simulation data.
[0026] In this embodiment, the initial netlist topology file of the integrated circuit simulation is collected, and the initial netlist topology file is subjected to syntax and semantic parsing processing to remove comments, blank lines and redundant format characters, so as to obtain a regular netlist statement that can be used for information extraction. Extract all device-related information from the normalized netlist statements and construct a device set D={di} i∈m Where, di is the i-th device in the circuit, and m is the total number of devices in the circuit; For each device, the corresponding electrical parameters are extracted, normalized, and expressed in vector form to construct the device parameter vector Pi, where Pi = (pi1, pi2, ..., pin), where pik is the k-th electrical parameter of the i-th device, k ∈ [1, n], and n is the number of parameter items contained in a single device; Extract the electrical connections between devices and circuit nodes from the netlist statements, and construct the node connection matrix C=[cij]. m×u cij is a Boolean variable used to identify whether there is an electrical connection between the i-th device and the j-th circuit node. cij takes the value 1 when there is an electrical connection and takes the value 0 when there is no electrical connection; u is the total number of circuit nodes; Extract the constraint information corresponding to each port in the circuit and construct the port constraint vector B=(b1,b2,...,bv), where bq is the constraint value corresponding to the qth port, which can represent the normalized value of DC voltage, AC signal amplitude or operating frequency; v is the total number of circuit ports. The device set, device parameter vector, node connection matrix, and port constraint vector are integrated to form structured reference topology information T0={D,Pi,C,B}; Initial simulation data corresponding to the current benchmark topology is collected. The initial simulation data includes simulation waveforms W0(t) that change over time, overall circuit performance index Y0, and simulation convergence state F0. W0(t) is a time-dependent voltage or current function with corresponding electrical dimensions. Y0 is a scalar performance index such as gain, bandwidth, and power consumption, using a unified physical unit. F0 is a Boolean identifier used to characterize whether the simulation has converged. A mapping relationship R0=T0×(W0,Y0,F0) is established between the structured benchmark topology information and the initial simulation data. The structured benchmark topology information, initial simulation data, and mapping relationship are stored together in the simulation data management library to complete the association storage of the benchmark topology and the corresponding simulation data.
[0027] S2 includes the following: Using the structured baseline topology information as a comparison benchmark, the current netlist topology is collected in real time and parsed in the manner described in step S1 to obtain real-time structured topology information; The real-time structured topology information is matched with the baseline topology information dimension by dimension and item by item to determine whether there are any changes in the current netlist; The device sets in the baseline topology and the real-time topology are compared, and the addition, deletion and replacement of devices are counted. By comparing the changes in the number of devices in the baseline topology and the real-time topology, the device difference is constructed. The normalized parameters of devices with the same number are compared parameter by parameter. The parameter difference is constructed by comparing the normalized parameters of devices with the same number parameter by parameter. The node connection matrices of the baseline topology and the real-time topology are compared element by element, and the number of elements whose connection relationships have changed is counted. By comparing the node connection matrices element by element and counting the number of changed elements, the connection relationship difference is constructed. The device differences, parameter differences, and connection differences are weighted and fused to obtain an overall topology difference metric; when the overall topology difference metric is greater than a preset threshold, the netlist topology is determined to have undergone a valid change. The device, parameter and connection relationship are traversed and compared position by position to locate the device number, branch number and circuit node number corresponding to the change, and form the change position information. Based on the characteristics of topology changes, the changes are divided into four types: device replacement, connection relationship adjustment, branch addition / reduction, and parameter modification. The corresponding parameter values before and after the change are extracted, and the parameter comparison change is constructed. Based on the change time, change location, change type, and parameter comparison change amount, change metadata is constructed to generate a globally unique change identifier for each independent topology change; the change identifier, change location, change type, topology information before and after the change, and parameter change amount are uniformly encapsulated into a topology change record and stored in the topology change library to complete archiving.
[0028] In this embodiment, the structured reference topology information T0 is used as the comparison benchmark. The current netlist topology is collected in real time and parsed in the manner described in S1 to obtain the real-time structured topology information Tt. The real-time structured topology information is matched with the reference topology information dimension by dimension and item by item to determine whether there are any device replacements, connection relationship adjustments, branch additions or deletions, or electrical parameter modifications in the current netlist. The device sets in the baseline topology and the real-time topology are compared, and the number of device additions, deletions, and replacements is counted to construct a device difference index ED, where ED = |m0 - mt| / max(m0, mt), and m0 is the total number of devices in the baseline topology, and mt is the total number of devices in the real-time topology. The normalized parameters of devices with the same ID are compared parameter by parameter to construct a parameter difference index EP. EP=∑ k∈[1,n] |pik-ptik| / n, where ptik is the parameter corresponding to the real-time topology; the node connection matrices of the baseline topology and the real-time topology are compared element-by-element, the number of elements whose connection relationships have changed is counted, and the connection difference coefficient EC is constructed. EC=∑ i∈[1,m0] ∑ j∈[1,u] |cij-ctij| / (m0·u), where cij is the element of the baseline topology connection matrix and ctij is the element of the real-time topology connection matrix; The device difference, parameter difference, and connection difference are weighted and fused to obtain the overall topology difference metric E, and E=αED+βEP+γEC, where α, β, and γ are preset weighting coefficients and satisfy α+β+γ=1. When the overall topology difference metric E is greater than the preset judgment threshold E0, the netlist topology is determined to have undergone a valid change; the device, parameter and connection relationship are traversed and compared position by position to locate the device number, branch number and circuit node number corresponding to the change, and form the change location information; Based on the characteristics of topology changes, changes are categorized into four types: device replacement, connection adjustment, branch addition / removal, and parameter modification. Corresponding parameter values before and after the change are extracted, and a parameter comparison change ΔP is constructed, where ΔP = pik - ptik. Change metadata is constructed based on the change time, change location, change type, and parameter comparison change, generating a globally unique and non-repeating change identifier (IDV) for each independent topology change. The change identifier, change location, change type, topology information before and after the change, and parameter change are uniformly encapsulated into a topology change record and stored in the topology change library for archiving.
[0029] S3 includes the following: The archived modified netlist topology information is retrieved, and the modified netlist topology is used as simulation input to start the integrated circuit simulation task. After the simulation calculation is completed, the modified real-time simulation data is obtained. The modified real-time simulation data includes real-time simulation waveforms, real-time circuit performance indicators, and real-time simulation convergence status. Extract the initial simulation waveform and the modified real-time simulation waveform corresponding to the baseline topology, select sampling points at the same time, calculate the waveform numerical difference of the corresponding sampling points, and construct a waveform difference vector. Calculate the overall waveform change amplitude based on the waveform difference vector; calculate the numerical differences and relative changes in circuit performance indicators before and after the change; By integrating the waveform difference vector, the overall waveform change amplitude, the numerical difference of the performance index, and the relative change amplitude of the performance index, a complete simulation data difference result is formed. Retrieve the topology change record and unique change identifier generated in step S2, establish a one-to-one mapping relationship between the change identifier and the topology change record, the simulation data after the change, and the simulation data difference results, and construct an association index; The unique change identifier, topology change record, post-change simulation data, simulation data difference results, and associated index are stored together in the simulation data management library to complete the binding and associated storage of each data, ensuring that the change identifier can be used as a unique index, and realizing fast association query between topology changes and simulation data and difference results.
[0030] In this embodiment, the archived modified netlist topology information is retrieved, and the modified netlist topology is used as the simulation input to start the integrated circuit simulation task. After the simulation calculation is completed, the modified real-time simulation data is obtained. The modified real-time simulation data includes the real-time simulation waveform Wt(t) that changes over time, the real-time circuit performance index Yt, and the real-time simulation convergence state Ft. Wt(t) is a time-dependent voltage or current function, Yt is a scalar performance index such as gain, bandwidth, and power consumption, using the same physical unit as the baseline simulation performance index Y0, and Ft is a Boolean identifier used to characterize whether the modified simulation has achieved convergence. Extract the initial simulation waveform W0(t) and the modified real-time simulation waveform Wt(t) corresponding to the baseline topology, select sampling points ts at the same time, where s∈[1,S], and S is the total number of sampling points; calculate the waveform numerical difference between the corresponding sampling points, and construct the waveform difference vector ΔW=|W0(ts)-Wt(ts)|, where ΔW is the waveform amplitude difference at the same sampling point; calculate the overall waveform change amplitude ηW based on the waveform difference vector, and ηW=∑ s∈[1,S]ΔWs / S·W0max, where ΔWs is the waveform difference value at the s-th sampling point, and W0max is the maximum amplitude of the baseline simulation waveform W0(t); calculate the numerical difference and relative change magnitude of the circuit performance indicators before and after the change, the numerical difference of the performance indicators ΔY, and ΔY=|Y0-Yt|, the relative change magnitude of the performance indicators ηY, and ηY=ΔY / Y0, where ΔY is the absolute difference of the performance indicators; integrate the waveform difference vector ΔW, the overall change magnitude of the waveform ηW, the numerical difference of the performance indicators ΔY, and the relative change magnitude of the performance indicators ηY to form a complete simulation data difference result; Retrieve the topology change record and unique change identifier IDV generated in S2, establish a one-to-one mapping relationship between the change identifier and the topology change record, the changed simulation data, and the simulation data difference results, and construct the association index RV=IDV×(change record,Wt,Yt,Ft,ΔW,ηW,ΔY,ηY), where RV is the association relationship between the changed topology and the simulation data, and its symbol is not repeated with the initial association relationship R0. Store the unique change identifier IDV, topology change record, changed simulation data, simulation data difference results, and association index RV together in the simulation data management database to complete the binding and association storage of each data, ensuring that the change identifier can be used as a unique index, and realizing fast association query of topology changes with simulation data and difference results.
[0031] S4 includes the following: Receive simulation data tracing instructions initiated by users, parse the simulation data to be traced contained in the tracing instructions, and clarify the tracing query target; The association index stored in the simulation data management library is retrieved. Using the simulation data to be traced as the query condition, the corresponding unique change identifier is retrieved in reverse through the mapping relationship of the association index, so as to realize the association between simulation data and topology change identifier. Based on the unique change identifier retrieved, the topology change database is queried to retrieve the corresponding topology change record. The change location, change type, parameter changes before and after the change, and topology information after the change are extracted to locate the topology change location and specific content that caused the change in simulation data. A source tracing matching degree determination index is constructed. The determination index is obtained by weighted fusion of the overall waveform change amplitude and the relative change amplitude of the performance index calculated in step S3. When the determination index is greater than the preset matching threshold, the source tracing result is determined to be valid. Retrieve the simulation data difference results stored in step S3, including waveform difference vector, overall waveform change amplitude, performance index numerical difference, and performance index relative change amplitude, and display the above difference results synchronously with the specific content of the located topology change. By associating the initial simulation data with the unique change identifier, the structured baseline topology information and corresponding initial simulation data before the change are retrieved; the netlist topology information and historical simulation data before the change are associated and integrated with the topology information after the change, real-time simulation data, simulation data difference results, and topology change records to form a complete traceability report, and the traceability report is bound and stored with the unique change identifier.
[0032] In this embodiment, a simulation data tracing instruction initiated by the user is received, and the simulation data to be traced contained in the tracing instruction is parsed. The simulation data to be traced can be any one or more of the real-time simulation waveform Wt(t) after the change and the real-time performance index Yt, and the tracing query target is clarified. Retrieve the associated index RV and the initial associated relationship R0 stored in the simulation data management library. Using the simulation data to be traced as the query condition, retrieve the corresponding unique change identifier IDV in reverse through the mapping relationship of the associated index RV, so as to achieve accurate association between simulation data and topology change identifier. Based on the unique change identifier IDV retrieved, the topology change database is queried to retrieve the corresponding topology change record. The change location, change type, parameter change ΔP before and after the change, and topology information after the change are extracted to locate the topology change location and specific content that caused the change in simulation data. Construct a matching degree judgment index Z, and Z = λ × ηW + μ × ηY, where ηW is the overall change amplitude of the waveform calculated in S3, ηY is the relative change amplitude of the performance index calculated in S3, λ and μ are matching degree weighting coefficients and satisfy λ + μ = 1. When Z is greater than the preset matching threshold Z0, the tracing result is determined to be valid. Retrieve the simulation data difference results stored in S3, including waveform difference vector ΔW, overall waveform change amplitude ηW, performance index numerical difference ΔY, and performance index relative change amplitude ηY. Simultaneously display the above difference results with the specific content of the located topology change, intuitively presenting the correlation between topology change and simulation data change. By associating the initial relationship R0 with the unique change identifier IDV, the structured baseline topology information T0 before the change and the corresponding initial simulation data are retrieved, including the initial simulation waveform W0(t), initial performance index Y0, and initial simulation convergence state F0. The netlist topology information and historical simulation data before the change are associated and integrated with the topology information after the change, real-time simulation data, simulation data difference results, and topology change records to form a complete traceability report, ensuring a closed loop in the traceability link and facilitating users to trace the root cause of simulation data changes. At the same time, the traceability report is bound and stored with the unique change identifier IDV to provide data support for subsequent secondary traceability.
[0033] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0034] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for managing analog simulation data applied to integrated circuits, characterized in that: The method includes the following steps: S1. Collect the initial netlist topology file, parse and extract device models, device parameters, circuit connection relationships and port constraints to form structured reference topology information, and store the reference topology information in association with the corresponding initial simulation data. The simulation data includes simulation waveforms, performance indicators and convergence results. S2. Real-time monitoring of whether the netlist topology has changed. When device replacement, connection adjustment, branch addition or deletion or parameter modification is detected, the system automatically identifies and records the change location, change type and parameter comparison before and after the change, generates a unique identifier for each topology change and archives it. S3. Use the modified netlist topology to carry out simulation tasks, obtain corresponding simulation data, and calculate the numerical differences and changes in simulation waveforms and performance indicators before and after the change. Then, bind and store the topology change records, unique identifiers, simulation data and the calculated difference results together. S4. Upon receiving the tracing instruction, based on the simulation data to be traced, the corresponding unique identifier is found by reverse searching through the binding relationship, the location and specific content of the topology change that caused the change in simulation data are located, the corresponding data differences are displayed, and the netlist topology and historical simulation data before the change are retrieved.
2. The analog simulation data management method for integrated circuits according to claim 1, characterized in that: S1 includes the following: The initial netlist topology file is collected, and the initial netlist topology file is parsed for syntax and semantics. Comments, blank lines and redundant format characters are removed to obtain a regular netlist statement. Extract information about all devices in the circuit from the normalized netlist statement to construct a device set; normalize the electrical parameters corresponding to each device and express them in vector form to construct the parameter vector of each device. Extract the electrical connection relationships between devices and circuit nodes from the netlist statements, and construct a node connection matrix. The node connection matrix uses Boolean variables to identify whether there is an electrical connection between each device and each circuit node. Extract the constraint information corresponding to each port in the circuit and construct the port constraint vector; The device set, device parameter vector, node connection matrix, and port constraint vector are integrated to form structured reference topology information; Acquire initial simulation data corresponding to the current baseline topology. The initial simulation data includes simulation waveforms that change over time, overall circuit performance indicators, and simulation convergence status. Establish a mapping relationship between the structured benchmark topology information and the initial simulation data, and store the structured benchmark topology information, the initial simulation data, and the mapping relationship together in the simulation data management library to complete the association storage of the benchmark topology and the corresponding simulation data.
3. The analog simulation data management method for integrated circuits according to claim 2, characterized in that: S2 includes the following: Using the structured baseline topology information as a comparison benchmark, the current netlist topology is collected in real time and parsed in the manner described in step S1 to obtain real-time structured topology information; The real-time structured topology information is matched with the baseline topology information dimension by dimension and item by item to determine whether there are any changes in the current netlist; The device sets in the baseline topology and the real-time topology are compared, and the addition, deletion and replacement of devices are counted. By comparing the changes in the number of devices in the baseline topology and the real-time topology, the device difference is constructed. The normalized parameters of devices with the same number are compared parameter by parameter. The parameter difference is constructed by comparing the normalized parameters of devices with the same number parameter by parameter. The node connection matrices of the baseline topology and the real-time topology are compared element by element, and the number of elements whose connection relationships have changed is counted. By comparing the node connection matrices element by element and counting the number of changed elements, the connection relationship difference is constructed. The device differences, parameter differences, and connection differences are weighted and fused to obtain an overall topology difference metric; when the overall topology difference metric is greater than a preset threshold, the netlist topology is determined to have undergone a valid change. The device, parameter and connection relationship are traversed and compared position by position to locate the device number, branch number and circuit node number corresponding to the change, and form the change position information. Based on the characteristics of topology changes, the changes are divided into four types: device replacement, connection relationship adjustment, branch addition / reduction, and parameter modification. The corresponding parameter values before and after the change are extracted to construct a parameter comparison change volume. Based on the change time, change location, change type, and parameter comparison change amount, construct change metadata to generate a globally unique change identifier for each independent topology change; The change identifier, change location, change type, topology information before and after the change, and parameter changes are uniformly encapsulated into a topology change record and stored in the topology change library for archiving.
4. The analog simulation data management method for integrated circuits according to claim 3, characterized in that: S3 includes the following: The archived modified netlist topology information is retrieved, and the modified netlist topology is used as simulation input to start the integrated circuit simulation task. After the simulation calculation is completed, the modified real-time simulation data is obtained. The modified real-time simulation data includes real-time simulation waveforms, real-time circuit performance indicators, and real-time simulation convergence status. Extract the initial simulation waveform and the modified real-time simulation waveform corresponding to the baseline topology, select sampling points at the same time, calculate the waveform numerical difference of the corresponding sampling points, and construct the waveform difference vector. Calculate the overall waveform change amplitude based on the waveform difference vector; calculate the numerical differences and relative changes in circuit performance indicators before and after the change; By integrating the waveform difference vector, the overall waveform change amplitude, the numerical difference of the performance index, and the relative change amplitude of the performance index, a complete simulation data difference result is formed. Retrieve the topology change record and unique change identifier generated in step S2, establish a one-to-one mapping relationship between the change identifier and the topology change record, the simulation data after the change, and the simulation data difference results, and construct an association index; The unique change identifier, topology change record, post-change simulation data, simulation data difference results, and associated index are stored together in the simulation data management library to complete the binding and associated storage of each data.
5. The analog simulation data management method for integrated circuits according to claim 4, characterized in that: S4 includes the following: Receive simulation data tracing instructions initiated by users, parse the simulation data to be traced contained in the tracing instructions, and clarify the tracing query target; The association index stored in the simulation data management library is retrieved. Using the simulation data to be traced as the query condition, the corresponding unique change identifier is retrieved in reverse through the mapping relationship of the association index, so as to realize the association between simulation data and topology change identifier. Based on the unique change identifier retrieved, the topology change database is queried to retrieve the corresponding topology change record. The change location, change type, parameter changes before and after the change, and topology information after the change are extracted to locate the topology change location and specific content that caused the change in simulation data. A source tracing matching degree determination index is constructed. The determination index is obtained by weighted fusion of the overall waveform change amplitude and the relative change amplitude of the performance index calculated in step S3. When the determination index is greater than the preset matching threshold, the source tracing result is determined to be valid. Retrieve the simulation data difference results stored in step S3, including waveform difference vector, overall waveform change amplitude, performance index numerical difference, and performance index relative change amplitude, and display the above difference results synchronously with the specific content of the located topology change. By associating the initial simulation data with the unique change identifier, the structured baseline topology information and the corresponding initial simulation data before the change can be retrieved. The network list topology information and historical simulation data before the change are associated and integrated with the topology information after the change, real-time simulation data, simulation data difference results, and topology change records to form a complete traceability report, and the traceability report is bound and stored with the unique change identifier.
6. A simulation data management system for integrated circuits, applicable to the simulation data management method for integrated circuits according to any one of claims 1-5, characterized in that: The system includes: a baseline topology construction and storage module, a topology change monitoring and archiving module, a simulation data difference analysis and binding module, and a simulation data tracing module; The baseline topology construction and storage module collects the initial netlist topology file, parses and processes the initial netlist topology file, extracts device models, device parameters, circuit connection relationships and port constraints to form structured baseline topology information, and collects corresponding initial simulation data, establishes a mapping relationship between structured baseline topology information and initial simulation data, and stores the relevant data together in the simulation data management library; The topology change monitoring and archiving module uses structured benchmark topology information as a comparison benchmark, monitors the current netlist topology in real time, parses the real-time netlist topology and matches it with the benchmark topology information dimension by dimension and item by item to determine whether a change has occurred, calculates various differences and weighted fusion to obtain the overall topology difference metric value, locates the change location, determines the change type, constructs parameter comparison change amount, generates a unique change identifier and archives the topology change record to the topology change library. The simulation data difference analysis and binding module retrieves the archived modified netlist topology information, uses it as simulation input to start the simulation task and obtain the modified real-time simulation data, calculates the numerical differences and changes in simulation waveforms and performance indicators before and after the change, forms simulation data difference results, establishes a one-to-one mapping relationship between a unique change identifier and topology change records, modified simulation data, and difference results, and constructs an associated index to bind and store the relevant data in the simulation data management library. The simulation data tracing module receives the simulation data tracing command initiated by the user, parses the simulation data to be traced, retrieves the corresponding unique change identifier through the association index, locates the topology change location and specific content that caused the simulation data change based on the identifier, constructs the tracing matching degree judgment index and judges the validity of the tracing result, displays the difference results and topology change content simultaneously, retrieves the baseline topology information and initial simulation data before the change, integrates them to form a tracing report and binds it to the unique change identifier for storage.
7. The analog simulation data management system for integrated circuits according to claim 6, characterized in that: The baseline topology construction and storage module includes a netlist parsing unit and a data association storage unit; The netlist parsing unit collects the initial netlist topology file, performs syntax and semantic parsing on the initial netlist topology file, removes comments, blank lines and redundant format characters to obtain regular netlist statements, extracts device information, electrical connection relationships and port constraint information, constructs device sets, device parameter vectors, node connection matrices and port constraint vectors, and integrates them to form structured reference topology information; The data association storage unit collects the initial simulation data corresponding to the benchmark topology, establishes a mapping relationship between the structured benchmark topology information and the initial simulation data, and stores the structured benchmark topology information, the initial simulation data and the mapping relationship together in the simulation data management library, thus completing the association storage of the benchmark topology and the corresponding simulation data.
8. A simulation data management system for integrated circuits according to claim 6, characterized in that: The topology change monitoring and archiving module includes a topology comparison unit and a change archiving unit; The topology comparison unit collects the current netlist topology in real time and parses it according to the netlist parsing method of the benchmark topology construction and storage module to obtain real-time structured topology information. It matches the netlist topology information dimension by dimension and item by item, calculates the device difference degree, parameter difference degree, and connection relationship difference degree, and weights and fuses them to obtain the overall topology difference metric value. When the metric value is greater than the preset judgment threshold, it is determined to be a valid change, the change location is located and the change type is determined. The change archiving unit extracts the corresponding parameter values before and after the change to construct the parameter comparison change amount. Based on the change time, change location, change type, and parameter comparison change amount, it constructs change metadata, generates a globally unique change identifier for each independent topology change, and encapsulates the change identifier, change location, change type, topology information before and after the change, and parameter change amount into a topology change record, which is then stored in the topology change library to complete the archiving.
9. A simulation data management system for integrated circuits according to claim 6, characterized in that: The simulation data difference analysis and binding module includes a simulation execution unit and a data binding storage unit; The simulation execution unit retrieves the archived modified netlist topology information as simulation input, starts the integrated circuit simulation task and obtains the modified real-time simulation data, extracts the initial simulation waveform and the modified real-time simulation waveform, selects the same time sampling points to calculate the waveform numerical difference and constructs the waveform difference vector, calculates the overall change amplitude of the waveform, the numerical difference of the performance index and the relative change amplitude, and integrates them to form a complete simulation data difference result. The data binding storage unit retrieves the topology change records and unique change identifiers generated by the topology change monitoring and archiving module, establishes a one-to-one mapping relationship between the unique change identifier and the topology change record, the changed simulation data, and the simulation data difference results, and constructs an associated index. The unique change identifier, topology change record, changed simulation data, simulation data difference results, and associated index are stored together in the simulation data management library, completing the binding and associated storage of each data.
10. A simulation data management system for integrated circuits according to claim 6, characterized in that: The simulation data tracing module includes an identification and retrieval unit and a tracing display unit; The identifier retrieval unit receives the simulation data tracing instruction initiated by the user, parses the simulation data to be traced in the instruction, retrieves the associated index in the simulation data management library, uses the simulation data to be traced as the query condition, retrieves the corresponding unique change identifier in reverse through the mapping relationship of the associated index, queries the topology change library based on the identifier and retrieves the corresponding topology change record, locates the topology change location and specific content that caused the simulation data change, constructs the tracing matching degree judgment index and judges the validity of the tracing result; The source tracing and display unit retrieves the simulation data difference results stored in the simulation data difference analysis and binding module, displays them synchronously with the specific content of the located topology change, associates the initial simulation data with the unique change identifier, retrieves the structured baseline topology information before the change and the corresponding initial simulation data, and integrates the topology information before and after the change, simulation data, difference results and topology change records to form a complete source tracing report and binds and stores it with the unique change identifier.