Behavioral level analog circuit simulation method, system, storage medium and electronic device

By obtaining and parsing the process identification number and process corner configuration information, behavioral-level instruction parameters are generated, and the parameters of the behavioral-level module circuit are automatically adapted to match the process corner type, which solves the cumbersome and inefficient simulation verification in circuit design in the existing technology. To solve the problem, efficient multi-process corner batch simulation is achieved.

CN118428304BActive Publication Date: 2024-09-17TESSERSOFT CO LTD +2
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410888434.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-09-17
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

The existing technology cannot automatically adapt the parameters of behavioral-level module circuits to match the process angle type in circuit design, resulting in a cumbersome, inefficient and prone to mismatching simulation verification process, making it impossible to achieve batch simulation.

Method used

By obtaining the process identification number information and process corner configuration selection information, the configuration file is parsed to generate behavioral-level instruction parameters, and passed to the behavioral-level module to generate a simulation netlist file, which supports the parameters of the behavioral-level module circuit to automatically adapt to the current input. Types of craft corners.

Benefits of technology

It simplifies the simulation verification process, avoids manual errors, realizes batch simulation of multiple process corners, and significantly improves the efficiency of circuit simulation verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118428304B
    Figure CN118428304B
Patent Text Reader

Abstract

The present invention relates to the field of integrated circuit design technology, and specifically to a behavioral-level analog circuit simulation method, system, storage medium and electronic device, wherein the method comprises the following steps: S1, obtaining the process identification number information preset by the behavioral-level module; obtaining the process corner configuration selection information of the process corner model to be used for simulation; S2, parsing the process identification number information according to the input process identification number configuration file, calculating and matching the process identification number information and the related process corner configuration selection information in the process identification number configuration file, and generating corresponding behavioral-level instruction parameters; S3, transferring and outputting the behavioral-level instruction parameters to the behavioral-level module; S4, generating a simulation netlist file according to the behavioral-level instruction parameters and the parameters of the transistor-level module. The present invention simplifies the simulation verification process, supports batch simulation of multiple process corners, avoids manual errors, and significantly improves the simulation verification efficiency of the circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated circuit design, and in particular to a behavioral level analog circuit simulation method, system, storage medium and electronic equipment. Background Art

[0002] Despite decades of technological progress, the large variability of transistor circuit parameters is still a fact that circuit designers must face. In order to alleviate the difficulty of circuit design tasks to a certain extent and take into account the yield of production and manufacturing, the production process of the manufacturing process must ensure that the performance of the device is within a certain range. For example, the two ends of the NMOS device parameter fluctuation range are represented by NF (N fastest) and NS (N slowest), and the two ends of the PMOS device parameter fluctuation range are represented by PF (P fastest) and PS (P slowest). In this way, the combination of different device parameter fluctuation ranges will form a polygon, and a certain combination of the endpoints of the device parameter fluctuations will form a certain angle of this polygon, called the "process angle". Only wafers within the device performance range formed by these "process angles" are considered to be qualified for production. The manufacturing plant provides the device performance range to the circuit designer in the form of a "process angle". During the circuit design process, the circuit designer must simulate and verify the circuit under various process angles and temperature conditions to ensure that the performance of the final chip product meets the requirements.

[0003] The behavioral model of a circuit is an important concept in the field of electronic circuit design. Compared with the traditional device-level model, the behavioral model of a circuit focuses more on describing and analyzing the functions, behaviors, and performance of the overall external performance of the circuit, without paying attention to the specific implementation of the underlying circuit. In the circuit design process, the behavioral model of a circuit has great advantages and application value.

[0004] First, in the early stages of circuit development, because there is no complete specific circuit implementation, the behavioral level model of the circuit can help circuit designers quickly establish a system-level prototype of the entire circuit, and conduct an overall evaluation of the circuit's functions and performance and verify the solution, thereby greatly reducing the design cycle and cost, and is also very conducive to top-down modular design processes and team collaboration.

[0005] Secondly, in the overall functional simulation and verification stage at the later stage of circuit development, each circuit module has completed the specific circuit implementation, and these circuits are all based on the device level. Although the simulation based on the device model is more accurate and closer to physical reality, the number of transistors in the overall circuit is too large and complex. If it is completely based on the device model, the functional simulation and verification of the overall circuit will be very slow and time-consuming. Therefore, the existing technology first establishes a behavioral level model for some of the circuit modules, and then replaces the corresponding device-level circuit modules to perform overall circuit functional simulation in order to accelerate the verification speed of the overall circuit, which is more conducive to circuit designers paying attention to the problems reflected in the verification process and making corresponding improvements and optimizations, thereby greatly reducing the design cycle and cost.

[0006] However, in mixed simulation verification including structural-level module circuits and behavioral-level module circuits, or simulation verification containing only behavioral-level module circuits, the existing technology cannot adapt to the current process angle for simulation based on the input of a specific process angle model reflecting process deviations. At present, technicians can only rely on judging the currently set process angle type, and manually configuring or changing the relevant parameters in the behavioral-level module circuit to adapt to the current process angle type. This process is very cumbersome and cannot be simulated in batches. It is easy to have mismatches, and erroneous results are sometimes not detected in time, resulting in a very inefficient circuit simulation verification process. Summary of the invention

[0007] One of the purposes of the present invention is to provide a behavioral-level analog circuit simulation method, which can support the automatic adaptation of relevant parameters of the behavioral-level module circuit to the currently input process corner type, simplify the simulation verification process, support batch simulation of multiple process corners, avoid human errors, and significantly improve the simulation verification efficiency of the circuit.

[0008] In order to achieve the above object, a behavioral level analog circuit simulation method is provided, comprising the following steps:

[0009] S1. Obtain the process identification number information preset by the behavior level module;

[0010] Obtaining the process corner configuration selection information of the process corner model to be used in the simulation;

[0011] S2, parsing the process identification number information according to the input process identification number configuration file, calculating and matching the process identification number information and the relevant process corner configuration selection information in the process identification number configuration file, and generating corresponding behavior-level instruction parameters;

[0012] S3, passing the behavior-level instruction parameters to the behavior-level module;

[0013] S4. Generate a simulation netlist file according to the behavior-level instruction parameters and the circuit information of each module in the transistor-level module and the corresponding connection information.

[0014] Furthermore, the step S1 further comprises the following steps:

[0015] S101, obtaining process identification number information through a first obtaining module, extracting and outputting the process identification number;

[0016] S102, acquiring process corner configuration selection information through a second acquisition module, extracting and outputting two sets of process corner information, one set is transmitted to a transistor-level module, and the other set is provided to step S2.

[0017] Furthermore, the S2 further comprises the following steps:

[0018] S201, inputting the process identification number output by the first acquisition module into the analysis module, and generating end information indicating the end of the simulation process if the analysis module fails to check and obtain the process identification number.

[0019] Further, the S2 comprises the following steps:

[0020] S202, searching the area corresponding to the process identification number in the process identification number configuration file by the parsing module for the behavior-level instruction parameter corresponding to the process angle information, and if found, marking the process angle configuration selection information parsing as successful, and outputting the behavior-level instruction parameter;

[0021] S203, if the behavior-level instruction parameter corresponding to the process corner information is not found in the area corresponding to the process identification number in the process identification number configuration file through the parsing module, it is marked that the parsing of the process corner configuration selection information fails, and the end information of the end of the simulation process is generated.

[0022] Further, the S3 comprises the following steps:

[0023] S301, transferring the behavior-level instruction parameters to the behavior-level module through the output module;

[0024] S302 , storing the behavior-level instruction parameters through a storage module for subsequent integration into a generated netlist file.

[0025] A second object of the present invention is to provide a behavioral analog circuit simulation system, comprising the following modules:

[0026] Acquisition module: used to obtain the process identification number information preset by the behavior-level module, and to obtain the process corner configuration selection information of the process corner model to be used in the simulation;

[0027] Parsing module: used to parse the process identification number information according to the input process identification number configuration file, calculate and match the process identification number information and related process corner configuration selection information in the process identification number configuration file, and generate corresponding behavior-level instruction parameters;

[0028] Transmission module: used to transfer the behavior-level instruction parameters to the behavior-level module;

[0029] Netlist file generation module: used to generate a simulation netlist file based on the behavioral level instruction parameters and the circuit information and corresponding connection information of each module in the transistor level module.

[0030] Furthermore, the acquisition module specifically includes the following modules:

[0031] The first acquisition module is used to obtain process identification number information, extract and output the process identification number;

[0032] The second acquisition module is used to obtain the process corner configuration selection information, extract and output two sets of process corner information, one set is transmitted to the transistor level module, and the other set is provided to the analysis module;

[0033] Parsing module: used to search for behavioral-level instruction parameters corresponding to the process corner information in the area corresponding to the process identification number in the process identification number configuration file. If found, it is marked that the process corner configuration selection information is parsed successfully and the behavioral-level instruction parameters are output; if the behavioral-level instruction parameters corresponding to the process corner information are not found, it is marked that the process corner configuration selection information is parsed failed and the end information of the simulation process is generated.

[0034] Furthermore, the parsing module includes the following submodules:

[0035] Simulation process termination module: used to obtain the end information of the simulation process generated when the parsing module fails to check the process identification number, and end the simulation process according to the end information; it is also used to generate the end information of the simulation process generated when the parsing module fails to parse the process corner configuration selection information, and end the simulation process according to the end information.

[0036] A third object of the present invention is to provide a computer-readable storage medium, wherein the computer-readable storage medium includes a behavioral-level analog circuit simulation program, and when the behavioral-level analog circuit simulation program is executed by a processor, the steps of the behavioral-level analog circuit simulation method are implemented.

[0037] A fourth objective of the present invention is to provide an electronic device, characterized in that: the electronic device includes the storage medium and a processor, and the processor is used to execute the behavioral level analog circuit simulation program in the storage medium.

[0038] Principles and advantages:

[0039] 1. The specifications and formats of the "process corner configuration selection information of the process corner model" in the prior art are oriented to the traditional transistor-level module, not to the behavioral-level module. The transistor-level module contains a number of transistor-level devices and the connection relationship between them. The different process corner model information based on these transistor-level devices is not contained in the transistor-level module circuit itself, but is stored in another special process model file. For the device-level module circuit, when using different process corner models for simulation, the configuration selection information of the process corner model in the prior art is directly oriented to the process model file, rather than to the device-level module circuit itself. The behavioral-level module circuit is quite different from this. The behavioral-level module circuit itself is a module-level behavioral whole, and the bottom layer is constructed using a behavioral-level description language, and does not call transistor-level devices. Due to the differences in specifications and formats, the interface specifications of the behavioral-level module are not designed to support multiple process corner models, so it cannot recognize and support the "process corner configuration selection information of the process corner model" of the prior art specifications, and will not respond to it, and new technical improvements are needed. Moreover, the process corner model description information of different manufacturing processes is different, and the complexity of their combination is also different. Therefore, the problem cannot be solved by simply changing the input conditions of the process angle, nor is it a simple scene replacement and application.

[0040] 2. This solution can support the automatic adaptation of the relevant parameters of the behavioral module circuit to the currently input process corner type for simulation based on the input of a specific process corner model that reflects the process deviation. There is no need to rely on technical personnel to determine the currently set process corner type and manually configure or change the relevant parameters in the behavioral module circuit to adapt to the current process corner type. This avoids the problems of the existing technology being cumbersome and time-consuming, unable to be simulated in batches, prone to mismatching, and erroneous results that are sometimes not detected in time, and the circuit simulation verification process is very inefficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A flowchart of a behavioral level analog circuit simulation method according to an embodiment of the present invention;

[0042] Figure 2 Design a block diagram for the structure of behavioral analog circuit simulation system;

[0043] Figure 3 Schematic diagram of the overall circuit case of transistor-level modules and behavioral-level modules. DETAILED DESCRIPTION

[0044] The following is further described in detail through specific implementation methods:

[0045] Example

[0046] A behavioral level analog circuit simulation method, basically as Figure 1 As shown, the following steps are included:

[0047] S1. Obtain the process identification number information preset by the behavior level module;

[0048] Obtaining the process corner configuration selection information of the process corner model to be used in the simulation;

[0049] The step S1 further comprises the following steps:

[0050] S101, obtaining process identification number information through a first obtaining module, extracting and outputting the process identification number;

[0051] S102, acquiring process corner configuration selection information through a second acquisition module, extracting and outputting two sets of process corner information, one set is transmitted to a transistor-level module, and the other set is provided to step S2.

[0052] S2, parsing the process identification number information according to the input process identification number configuration file, calculating and matching the process identification number information and the relevant process angle configuration selection information in the process identification number configuration file, and generating corresponding behavior-level instruction parameters; S2 further includes the following steps:

[0053] S201, inputting the process identification number output by the first acquisition module into the analysis module, and generating end information indicating the end of the simulation process if the analysis module fails to check and obtain the process identification number.

[0054] S202, the input process identification number is calculated by the parsing module and the calculation result is matched with its built-in behavioral instruction parameter set, and the relevant calculation means include using a neural network, hashing or simply a simple keyword search method. If the calculation result completely matches the behavioral instruction parameter corresponding to the process corner information, then the process corner configuration selection information is marked as parsed successfully, and the behavioral instruction parameter is output.

[0055] In this embodiment, when the keyword retrieval method is selected for calculation and matching, the behavioral-level instruction parameters corresponding to the process angle information are searched in the area corresponding to the process identification number in the process identification number configuration file. If found, the process angle configuration selection information is marked as parsed successfully, and the behavioral-level instruction parameters are output. In other embodiments, a conventional BP neural network can be used for pattern recognition, or comparative analysis operations can be performed based on the hash value of the relevant data.

[0056] S203: If the operation result and the behavior-level instruction parameter corresponding to the process corner information cannot completely match, then it is marked that the process corner configuration selection information parsing fails, and an end message indicating the end of the simulation process is generated.

[0057] For example, when the keyword search method is selected for calculation and matching, the behavioral-level instruction parameter corresponding to the process corner information is not found in the area corresponding to the process identification number in the process identification number configuration file, and the process corner configuration selection information parsing failure is marked, and the end information of the end of the simulation process is generated.

[0058] The "process identification number configuration file" in this solution requires a lot of work in the early stages. The information of the different manufacturing processes supported, as well as the description and combination information of the process angle models, are counted and then encoded to form a process identification number configuration file. The process identification number information is parsed according to the input process identification number configuration file and converted into behavioral-level instruction parameters that can meet the behavioral-level module specification and are acceptable. In addition, the input interface parameters and internal modeling parameters of the behavioral-level module need to be specially modeled to adapt and cooperate, including modeling the specific behavioral parameters under different process angles within the behavioral-level module and setting the corresponding behavioral-level instruction parameters.

[0059] S3, passing the behavior-level instruction parameters to the behavior-level module;

[0060] The S3 comprises the following steps:

[0061] S301, transferring the behavior-level instruction parameters to the behavior-level module through the output module;

[0062] S302 , storing the behavior-level instruction parameters through a storage module for subsequent integration into a generated netlist file.

[0063] S4. Generate a simulation netlist file according to the behavior-level instruction parameters and the circuit information of each module in the transistor-level module and the corresponding connection information.

[0064] A behavioral analog circuit simulation system, such as Figure 2 As shown, it includes the following modules: an acquisition module, a parsing module 300, an output module, a storage module and a netlist file generation module, wherein the acquisition module includes a first acquisition module 200 and a second acquisition module 100;

[0065] The first acquisition module 200 is used to acquire process identification number information, extract and output the process identification number 210 .

[0066] The second acquisition module 100 is used to acquire process corner configuration selection information, extract and output two sets of process corner information, namely process corner information 110 and process corner information 120 . The process corner information 110 is transmitted to the transistor level module 410 , and the other set of process corner information 120 is provided to the analysis module 300 .

[0067] Parsing module 300: used to parse the process identification number information according to the input process identification number configuration file, calculate and match the process identification number information and the related process angle configuration selection information in the process identification number configuration file, and generate corresponding behavioral-level instruction parameters; in this embodiment, a keyword search method is selected for calculation and matching, specifically: used to check the obtained process identification number 210, if it is checked that the process identification number 210 fails to be obtained, the end information of the end of the simulation process is generated. If it is checked that the process identification number 210 is successfully obtained, then the behavioral-level instruction parameter 310 corresponding to the process angle information 120 is searched in the area corresponding to the process identification number 210 in the process identification number configuration file. If it is found, it is marked that the process angle configuration selection information is parsed successfully, and the behavioral-level instruction parameter 310 is output; if the behavioral-level instruction parameter 310 corresponding to the process angle information 120 is not found, it is marked that the process angle configuration selection information is parsed failed, and the end information of the end of the simulation process is generated. The parsing module includes the following sub-modules:

[0068] Simulation process termination module: used to obtain the end information of the simulation process generated when the parsing module fails to check the process identification number, and end the simulation process according to the end information; it is also used to generate the end information of the simulation process generated when the parsing module fails to parse the process corner configuration selection information, and end the simulation process according to the end information.

[0069] Output module: used to transfer the behavior-level instruction parameter 310 to the behavior-level module 420;

[0070] Storage module: used to store the behavior-level instruction parameters 310 for subsequent integration into the generated netlist file.

[0071] Netlist file generation module: used to generate a simulation netlist file according to the behavior-level instruction parameters 310 and the circuit information and corresponding connection information of each module in the transistor-level module 410 .

[0072] In the overall circuit 400 including the transistor-level module 410 and the behavioral-level module 420 to be simulated and verified, the transistor-level module 410 includes a plurality of sub-modules T1, T2, T3, ..., Tn, and the behavioral-level module 420 includes a plurality of sub-modules B1, B2, B3, ..., Bn.

[0073] A computer-readable storage medium includes a behavioral level analog circuit simulation program. When the behavioral level analog circuit simulation program is executed by a processor, the steps of the behavioral level analog circuit simulation method are implemented.

[0074] Those skilled in the art can understand that all or part of the processes in the above-mentioned behavioral analog circuit simulation method can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of various embodiments of the above-mentioned behavioral analog circuit simulation method. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0075] An electronic device, the electronic device includes the storage medium and a processor, the processor is used to execute the behavioral analog circuit simulation program in the storage medium. The electronic device can be implemented as various types of devices, such as a personal computer (PC), a server device, a mobile device, etc. The processor controls all functions of the electronic device by executing the program stored in the storage medium on the electronic device.

[0076] The relevant information examples involved in this solution are as follows. In this example, the analytical operation means in the analytical module uses a simple keyword search method.

[0077] 1) Process corner configuration selection information of the process corner model:

[0078] / PDK / MODEL / A018U / BCD018U.SCS / SECTION=SS_LIB

[0079] 2) The preset process identification number information is as follows, where 123456 is the process identification number of the process used in this simulation:

[0080] INPUT PROCESSID=123456

[0081] 3) The overall circuit of the components of the transistor-level module and the behavioral-level module is as follows Figure 3As shown, the instance name of the transistor-level module circuit is I1, the unit name is BLK_TRANS, the instance name of the behavior-level module circuit is I2, and the unit name is NOTG_BEHV_COR2.

[0082] 4) Process identification number configuration file: Assume that the process identification number configuration file stores two processes with process identification numbers 123456 and 789, and the behavioral level instruction parameters of the process corners of the two processes.

[0083] The process identification number configuration file is as follows:

[0084] BEGINFILE

[0085] The behavior-level instruction parameters corresponding to the process identification number 123456 are as follows:

[0086] PROCESSID 123456 BEGIN

[0087] TT_LIB1111

[0088] SS_LIB2222

[0089] FF_LIB3333

[0090] PROCESSID 123456 END

[0091] The behavior-level instruction parameters corresponding to the process identification number 789 are as follows:

[0092] PROCESSID 789 BEGIN

[0093] TNTP_MOS1001

[0094] SNSP_MOS2002

[0095] FNFP_MOS3003

[0096] SNFP_MOS4004

[0097] FNSP_MOS5005

[0098] PROCESSID 789 END

[0099] ENDFILE

[0100] 4) The generated netlist is as follows:

[0101] *****netlist****

[0102] PARAMETERS AVDD=5 AVSS=0 VIN=0

[0103] PARAMETERS COR_TYP_IN=2222

[0104] INCLUDE “ / PDK / MODEL / A018U / BCD018U.SCS / ” SECTION=SS_LIB

[0105] SUBCKT BLK_TRANS VDD VSS IN1 IN2 OUT

[0106] PM0 OUT IN1 VDD VDD M5P M=0 NF=1 WF=10U L=2U

[0107] PM1 OUT IN2 VDD VDD M5P M=0 NF=1 WF=10U L=2U

[0108] NM0 NODE1 IN1 VSS VSS M5N M=0 NF=2 WF=5U L=4U

[0109] R1 OUT NODE1 RPP1K L=10U L=1U

[0110] ……

[0111] ……

[0112] ENDS BLK_TRANS

[0113] V1 IN1 0 VSOURCE DC=VIN TYPE=PULSE VAL0=0 VAL1=AVDD PERIOD=10U \

[0114] DELAY=3U RISE=1N FALL=1N WIDTH=5U

[0115] V2 IN2 0 VSOURCE DC=VIN TYPE=PULSE VAL0=0 VAL1=AVDD PERIOD=25U \

[0116] DELAY=7U RISE=1N FALL=1N WIDTH=8U

[0117] V0 AVDD 0 VSOURCE DC=AVSS TYPE=DC

[0118] I1 AVDD AVSS IN1 IN2 OUT1 BLK_TRANS

[0119] I2 OUT1 OUT2 NOTG_BEHV_COR2 VHIGH=AVDD VLOW=AVSS COR_TYP=COR_TYP_IN

[0120] TRAN TRAN STOP=100U

[0121] AHDL_INCLUDE “ / PROJ1 / BLK_BEHV / NOTG_BEHV_COR2 / VERILOGA / VERILOGA.VA”

[0122] ***netlist end********

[0123] The behavioral model part is located in the following path:

[0124] " / PROJ1 / BLK_BEHV / NOTG_BEHV_COR2 / VERILOGA / VERILOGA.VA".

[0125] Behavior model

[0126] MODULE NOTG_BEHV_COR2(IN OUT);

[0127] INPUT IN;

[0128] OUTPUT OUT;

[0129] ELECTRICAL IN, OUT;

[0130] PARAMETER REAL VHIGH=5;

[0131] PARAMETER REAL VLOW=0;

[0132] PARAMETER INTEGER COR_TYP=0000;

[0133] REAL OUT_VAL;

[0134] INTEGER LOGIC_IN;

[0135] REAL TDEL=1U;

[0136] REAL TRISE=10N;

[0137] REAL TFALL=10N;

[0138] ANALOG BEGIN

[0139] IF(COR_TYP==1111) BEGIN

[0140] TDEL=1U;

[0141] RTRISE=10N;

[0142] TFALL=10N;

[0143] END

[0144] ELSE IF(COR_TYP==2222) BEGIN

[0145] TDEL=2U;

[0146] RTRISE=20N;

[0147] TFALL=20N;

[0148] END

[0149] ELSE IF(COR_TYP==3333) BEGIN

[0150] TDEL=0.5U;

[0151] RTRISE=5N;

[0152] TFALL=5N;

[0153] END

[0154] ELSE BEGIN

[0155] $DISPLAY(“COR_TYP input error!\n”);

[0156] $finish;

[0157] ……

[0158] ……

[0159] V(OUT)<+ TRANSITION(OUT_VAL,TDEL,TRISE,TFALL);

[0160] END

[0161] END MODULE

[0162] ****behavior model end*****

[0163] The process of generating the netlist file itself is based on the prior art. The netlist file will be input into the simulator for simulation calculation, and the numerical calculation method in the simulator can be based on the prior art. This is not the focus of the present invention, so it will not be described in detail here.

[0164] The specific operation process of implementing the simulation is as follows:

[0165] Step 1:

[0166] The process identification information 210 is checked by the analysis module 300. If the acquisition fails, it means that the process identification information 210 is not preset, and the simulation process ends.

[0167] The first acquisition module 200 acquires the preset process identification number 210, and the acquisition is successful as shown below:

[0168] INPUT PROCESSID=123456

[0169] The 123456 is the process identification number 210 used in this simulation that was successfully detected.

[0170] Step 2:

[0171] The parsing module 300 performs parsing according to the process identification number 210 of the first acquisition module 200. If the process angle information 120 and the process identification number 210 cannot be found in association, it indicates that the parsing of the process angle configuration selection information fails, and the simulation process ends.

[0172] Method of associative search: From the following process corner configuration selection information, the process corner information 120: SS_LIB can be obtained.

[0173] / PDK / MODEL / A018U / BCD018U.SCS / SECTION=SS_LIB

[0174] According to the above step 1, the process identification number 210 is obtained as 123456. Then, the input process identification number configuration file is parsed, and the behavior-level instruction parameter 310 (i.e. 2222) corresponding to the process corner information 120 (i.e. SS_LIB) is found in the area where the process identification number 210 is 123456. If the process identification number 210 obtained in step 1 is 789, then the behavior-level instruction parameter 310 corresponding to the process corner information 120 (i.e. SS_LIB) is not successfully found in the area 789, then the process corner configuration selection information parsing fails, and the simulation process ends.

[0175] Step 3:

[0176] The parsing module 300 correctly parses the process angle information 120 provided by the second acquisition module according to the process identification number 210 , and thereby provides a set of behavior-level instruction parameters 310 . The set of behavior-level instruction parameters 310 is passed to the behavior-level module 420 .

[0177] According to step 2, the behavioral level instruction parameter 310 (i.e., 2222) of the behavioral level module 420 is parsed through the input process identification number configuration file, and the following instructions are given, which will be subsequently integrated into the generated netlist file and passed to the component 420 (i.e., the behavioral level module circuit I2).

[0178] PARAMETERS COR_TYP_IN=2222

[0179] Step 4:

[0180] The behavioral level module 420 generates a simulation netlist file according to the instruction parameter 310, i.e., the relevant circuit and connection information of the transistor level module 410. That is, the relevant parameters of the behavioral level module circuit can be automatically adapted to the currently input process corner type, thus realizing the behavioral level analog circuit simulation method.

[0181] This solution changes different input information and repeats the steps of this solution to support multi-process corner automation and batch simulation, thereby simplifying the simulation verification process, avoiding human errors, and significantly improving the efficiency of circuit simulation verification.

[0182] The above is only an embodiment of the present invention. The common sense such as the known specific structure and characteristics in the scheme is not described in detail here. The ordinary technicians in the relevant field know all the common technical knowledge in the technical field of the invention before the application date or priority date, can obtain all the existing technologies in the field, and have the ability to apply the conventional experimental means before that date. The ordinary technicians in the relevant field can improve and implement this scheme in combination with their own abilities under the enlightenment given by this application. Some typical known structures or known methods should not become obstacles for ordinary technicians in the relevant field to implement this application. It should be pointed out that for those skilled in the art, without departing from the structure of the present invention, several deformations and improvements can be made, which should also be regarded as the protection scope of the present invention, which will not affect the effect of the implementation of the present invention and the practicality of the patent. The protection scope required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to interpret the content of the claims.

Claims

1. A behavioral level analog circuit simulation method, characterized in that: The following steps are involved: S1. Obtain the process identification number information preset by the behavior level module; Obtaining the process corner configuration selection information of the process corner model to be used in the simulation; The step S1 further comprises the following steps: S101, obtaining process identification number information through a first obtaining module, extracting and outputting the process identification number; S102, acquiring process corner configuration selection information through a second acquisition module, extracting and outputting two sets of process corner information, one set is transmitted to a transistor-level module, and the other set is provided to step S2; S2, parsing the process identification number information according to the input process identification number configuration file, calculating and matching the process identification number information and the relevant process corner configuration selection information in the process identification number configuration file, and generating corresponding behavior-level instruction parameters; The S2 further comprises the following steps: S201, inputting the process identification number output by the first acquisition module into the analysis module, and generating end information indicating the end of the simulation process if the analysis module fails to check and obtain the process identification number; S202, searching the area corresponding to the process identification number in the process identification number configuration file by the parsing module for the behavior-level instruction parameter corresponding to the process angle information, and if found, marking the process angle configuration selection information parsing as successful, and outputting the behavior-level instruction parameter; S203, if the analysis module fails to find the behavior-level instruction parameter corresponding to the process corner information in the area corresponding to the process identification number in the process identification number configuration file, it is marked that the process corner configuration selection information analysis fails, and the end information of the simulation process is generated; S3, passing the behavior-level instruction parameters to the behavior-level module; S4. Generate a simulation netlist file according to the behavior-level instruction parameters and the circuit information of each module in the transistor-level module and the corresponding connection information.

2. The behavioral level analog circuit simulation method according to claim 1, characterized in that: The S3 comprises the following steps: S301, transferring the behavior-level instruction parameters to the behavior-level module through the output module; S302 , storing the behavior-level instruction parameters through a storage module for subsequent integration into a generated netlist file.

3. Behavioral analog circuit simulation system, characterized in that: Includes the following modules: Acquisition module: used to acquire the process identification number information preset by the behavior level module, and to acquire the process corner configuration selection information of the process corner model to be retrieved and used in the simulation; the acquisition module specifically includes the following modules: The first acquisition module is used to obtain process identification number information, extract and output the process identification number; The second acquisition module is used to obtain the process corner configuration selection information, extract and output two sets of process corner information, one set is transmitted to the transistor level module, and the other set is provided to the analysis module; Parsing module: used to parse the process identification number information according to the input process identification number configuration file, calculate and match the process identification number information and related process corner configuration selection information in the process identification number configuration file, and generate corresponding behavior-level instruction parameters; The parsing module is specifically used for searching the behavioral instruction parameters corresponding to the process corner information in the area corresponding to the process identification number in the process identification number configuration file. If the parameters are found, the process corner configuration selection information is marked as parsed successfully and the behavioral instruction parameters are output; if the behavioral instruction parameters corresponding to the process corner information are not found, the process corner configuration selection information is marked as parsed failed and the end information of the simulation process is generated; Transmission module: used to transfer the behavior-level instruction parameters to the behavior-level module; Netlist file generation module: used to generate a simulation netlist file based on the behavioral level instruction parameters and the circuit information and corresponding connection information of each module in the transistor level module.

4. The behavioral analog circuit simulation system according to claim 3, characterized in that: The parsing module includes the following submodules: Simulation process termination module: used to obtain the end information of the simulation process generated when the parsing module fails to check the process identification number, and terminate the simulation process according to the end information; It is also used to generate the end information of the simulation process when the parsing module marks the process corner configuration selection information parsing failure, and end the simulation process according to the end information.

5. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a behavioral analog circuit simulation program, and when the behavioral analog circuit simulation program is executed by a processor, the steps of the behavioral analog circuit simulation method according to any one of claims 1 to 2 are implemented.

6. An electronic device, characterized in that: The electronic device comprises the storage medium as claimed in claim 5, and a processor, wherein the processor is used to execute a behavioral analog circuit simulation program in the storage medium.

Citation Information

Patent Citations

  • Method and system for automatic generation of module-level simulation and code configuration of programmable logic circuit

    CN107895087A

  • Circuit system simulation method and device, electronic equipment and storage medium

    CN113807041A

  • Netlist exporting method for device function simulation, server and storage medium

    CN114580326A

  • Field programmable gate array (FPGA) circuit post-simulation verification method and device, electronic equipment and storage medium

    CN114626324A

  • System-level digital circuit upgrading optimization method and device

    CN115496022A