Simulation verification method, system, medium and device of LDO with trimming pin

By automatically generating a variety of LDO test circuits and intelligent pin allocations, the redundancy and complexity of LDO chip simulation test circuits in the existing technology is solved, and efficient simulation verification is achieved, saving design time and improving efficiency.

CN115796086BActive Publication Date: 2024-11-19芯格(上海)微电子有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211369824.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-03
Publication Date
2024-11-19
Estimated Expiration
2042-11-03

AI Technical Summary

Technical Problem

In the prior art, in order to design LDO chips that meet different parameter conditions, a series of chips need to be designed, resulting in increased redundancy and complexity of simulation test circuits and low efficiency.

Method used

Provide an LDO simulation verification method and system with adjustment pins. By obtaining netlists, schematic diagrams, process parameter files and target parameters, multiple LDO test circuits are automatically generated, pins are allocated intelligently, and multi-bit adjustment is automatically set. Pin input, batch simulation, and use machine learning for parameter analysis and optimization.

Benefits of technology

It realizes the general test circuit design of LDO chips with different parameter conditions, without increasing the redundancy and complexity of simulation test circuits, saves test circuit design time, improves design efficiency, and supports multivariate scanning parallel simulation, which improves Simulation speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115796086B_ABST
    Figure CN115796086B_ABST
Patent Text Reader

Abstract

The present invention provides a simulation verification method, system, medium and device for an LDO with a trimming pin, the method comprising: obtaining a netlist or schematic diagram of the LDO, at least one process parameter file required for simulation, pin allocation parameters of the LDO, trimming pin parameters of the LDO and target LDO parameters; reading the netlist or schematic diagram of the LDO according to the target LDO parameters to extract the design structure of the LDO; automatically generating a multibit component template connected to the trimming pin according to the trimming pin parameters of the LDO; generating a top-level unit schematic diagram with a fixed number of pins according to the design structure of the LDO and the multibit component template; generating a test circuit schematic diagram and a netlist of the LDO with the trimming pin according to the top-level unit schematic diagram; generating a verification simulation script according to the test circuit schematic diagram and the netlist of the LDO and at least one process parameter file required for simulation; and running the verification simulation script to output the simulation results of the target LDO parameters. Supporting multi-variable scanning parallel simulation, the simulation speed is improved by making the most of the hardware performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of chip testing, and relates to a testing method for a low voltage dropout regulator chip, and in particular to a simulation verification method, system, medium and equipment for an LDO with a trimming pin. Background Art

[0002] Low-dropout regulator (LDO), also known as low-dropout linear regulator or low-dropout regulator, is a type of linear DC regulator that provides a stable DC voltage supply. Compared with general linear DC regulators, low-dropout regulators can operate with a smaller output-input voltage difference. Low-dropout linear regulators have low cost, low noise, low quiescent current, and have functions such as overcurrent protection, overtemperature protection, precision reference source, differential amplifier, and delay.

[0003] Important parameters of low-dropout regulators include dropout voltage, dropout voltage, quiescent current, load regulation, line regulation, maximum output current, transient response, etc. Low-dropout regulators used for RF also pay attention to parameters such as power supply rejection ratio (PSRR) and output noise. For different applications, LDOs that meet different parameter conditions are required, so manufacturers need to design a series of LDO chips to meet different needs. This will increase the redundancy and complexity of the test simulation circuit, making the circuit simulation inefficient. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a simulation verification method, system, medium and device for an LDO with a trimming pin, which is used to solve the problem in the prior art that a series of LDO chips need to be designed for LDOs that meet different parameter conditions, which increases the redundancy and complexity of the simulation test circuit of the LDO chip.

[0005] To achieve the above-mentioned object and other related objects, the present invention provides a simulation verification method for an LDO with a trimming pin, the simulation verification method for the LDO with a trimming pin comprising: obtaining a netlist or schematic diagram of the LDO with the trimming pin, at least one process parameter file required for simulation, pin allocation parameters of the LDO, trimming pin parameters of the LDO and target LDO parameters; reading the netlist or schematic diagram of the LDO according to the target LDO parameters to extract the design structure of the LDO; automatically generating a multibit component template connected to the trimming pin according to the trimming pin parameters of the LDO; generating a top-level unit schematic diagram with a fixed number of pins according to the design structure of the LDO, the multibit component template connected to the trimming pin and the pin allocation parameters of the LDO; generating a test circuit schematic diagram and a netlist of the LDO with the trimming pin according to the top-level unit schematic diagram; generating a verification simulation script according to the test circuit schematic diagram and the netlist of the LDO with the trimming pin and the at least one process parameter file required for simulation; and running the verification simulation script to output the simulation results of the target LDO parameters.

[0006] In one embodiment of the present invention, the trim pin parameters of the LDO are configured by a user input control signal.

[0007] In one embodiment of the present invention, the method further includes: generating a simulation result report including all target LDO parameters.

[0008] The present invention also provides a simulation verification system for an LDO with a trimming pin, the simulation verification system for the LDO with a trimming pin comprises: an acquisition module, which acquires a netlist or a schematic diagram of the LDO with a trimming pin, at least one process parameter file required for simulation, a pin allocation parameter of the LDO, a trimming pin parameter of the LDO and a target LDO parameter; a top-level unit schematic diagram generation module, which reads the netlist or the schematic diagram of the LDO according to the target LDO parameter, extracts the design structure of the LDO, and automatically generates a multibit component template connected to the trimming pin according to the trimming pin parameter of the LDO; A top-level unit schematic diagram with a fixed number of pins is generated according to the design structure of the LDO, the multibit component template connected to the trimming pin, and the pin allocation parameters of the LDO; a test circuit schematic diagram and netlist generation module generates a test circuit schematic diagram and netlist of the LDO with the trimming pin according to the top-level unit schematic diagram; a verification simulation script generation module generates a verification simulation script according to the test circuit schematic diagram and netlist of the LDO with the trimming pin and at least one process parameter file required for the simulation; and an operation module runs the verification simulation script to output the simulation results of the target LDO parameters.

[0009] In one embodiment of the present invention, the simulation verification system of the LDO with trimming pin further includes: a report generation module, connected to the operation module, and generating a simulation result report including all target LDO parameters.

[0010] In one embodiment of the present invention, it also includes: an input module, used to input the netlist or schematic diagram of the LDO with trimming pins, at least one process parameter file required for the simulation, the pin allocation parameters of the LDO, the trimming pin parameters of the LDO and / or the target LDO parameters.

[0011] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the simulation verification method of the LDO with a trimming pin are implemented.

[0012] The present invention also provides an electronic device, comprising: a memory storing a computer program; a processor connected to the memory, and implementing the steps of the simulation verification method of the LDO with a trimming pin when calling the computer program.

[0013] As described above, the simulation verification method, system, medium and device of the LDO with trimming pin of the present invention have the following beneficial effects:

[0014] The present invention designs a universal test circuit for LDO chips that meet different parameter conditions, does not need to increase the redundancy and complexity of the simulation test circuit of the LDO chip, automatically generates multiple LDO simulation test circuits, and users do not need to care about the design of the test circuit, thus saving the design time of the test circuit.

[0015] The present invention is completely decoupled from the background simulation software, and can switch between mainstream simulation software such as Cadence's Spectre, Sysnopsys's Hspice, and open source Ngspice with one click. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of an implementation flow of a simulation verification method of an LDO with a trimming pin according to an embodiment of the present invention.

[0017] Figure 2A Shown is a schematic diagram of an implementation interface for user input of a netlist and process files for a simulation verification system for an LDO with a trimming pin according to an embodiment of the present invention.

[0018] Figure 2B Shown is a schematic diagram of a pin allocation implementation interface of a simulation verification system for an LDO with trimming pins according to an embodiment of the present invention.

[0019] Figure 2C Shown is a schematic diagram of a target parameter selection implementation interface of a simulation verification system for an LDO with a trimming pin according to an embodiment of the present invention.

[0020] Figure 2D Shown is a schematic diagram of an implementation interface for running a batch verification simulation script of a simulation verification system for an LDO with a trimming pin according to an embodiment of the present invention.

[0021] Figure 2E Shown is a schematic diagram of a simulation result display implementation interface of a simulation verification system for an LDO with a trimming pin according to an embodiment of the present invention.

[0022] Figure 3 Shown is a schematic diagram of an implementation structure of a simulation verification system for an LDO with a trimming pin according to an embodiment of the present invention.

[0023] Figure 4A An exemplary circuit structure diagram showing the design structure of the LDO according to an embodiment of the present invention is shown.

[0024] Figure 4B Shown is an exemplary circuit structure diagram of a multibit component template described in an embodiment of the present invention.

[0025] Figure 4C to Figure 4E Shown is an exemplary circuit diagram of other multibit component templates connected to the trim pins according to an embodiment of the present invention.

[0026] Figure 5 An exemplary structural diagram of a top-level unit schematic diagram with a fixed number of pins according to an embodiment of the present invention is shown.

[0027] Figure 6 Shown is a schematic diagram of an implementation structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0029] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0030] Trimming is a common method in the chip design and manufacturing process. It means that after the chip is manufactured, the connection mode or working state of certain devices inside the chip is changed through a specific method to achieve the purpose of changing the chip performance or function. LDO design usually introduces several trimming pins of variable width. When simulating trimming pins, Verilog is generally required to specify variable input signals. Among them, Verilog HDL is a hardware description language (HDL), which is a language that describes the structure and behavior of digital system hardware in text form. It can be used to represent logic circuit diagrams, logic expressions, and the logical functions performed by digital logic systems.

[0031] The present application proposes a general LDO simulation framework based on multiple templates (referred to as the simulation system), which can automatically generate a variety of LDO test circuits, intelligently allocate pins, automatically set multi-bit trim pin inputs, run simulations in batches, and then obtain various simulation parameters, and perform intelligent correlation analysis and optimization prompts based on the model trained by machine learning. For example, the best trim input mode prompted by the simulation results of a test circuit can be immediately updated and fed back to other test circuits, and then quickly re-simulated to obtain the corresponding measurement parameter result updates, greatly improving the efficiency of LDO design. For different test circuits, the present application uses the same interface for variable scanning, simulation, and sampling, which can conveniently share sampling point input settings to ensure consistency; it is convenient to compare the scanning result curves. The present application supports multi-variable scanning and parallel simulation, and maximizes the use of hardware performance to improve the simulation speed.

[0032] See also Figure 1 The embodiment of the present invention provides a simulation verification method of an LDO with a trimming pin implemented by a simulation system, and the simulation verification method of the LDO with a trimming pin includes:

[0033] S101, a simulation system obtains a netlist or schematic diagram of the LDO having a trimming pin, at least one process parameter file required for simulation, pin allocation parameters of the LDO, trimming pin parameters of the LDO, and target LDO parameters.

[0034] In one embodiment of the present invention, the trim pin parameters of the LDO are configured by a user input control signal.

[0035] See also Figure 2A As shown, it shows an exemplary input interface schematic diagram of the netlist or schematic diagram of the LDO with trimming pins and at least one process parameter file required for simulation. Figure 2B , which shows an exemplary allocation interface diagram of LDO pin allocation parameters. Figure 2C As shown, it shows an exemplary selection interface schematic diagram of target LDO parameters.

[0036] S102, the simulation system reads the netlist or schematic diagram of the LDO according to the target LDO parameters, and extracts the design structure of the LDO; and automatically generates a multibit component template connected to the trimming pin according to the trimming pin parameters of the LDO.

[0037] In one embodiment of the present invention, an exemplary circuit structure of the LDO design structure is shown in FIG. Figure 4A As shown, the target LDO parameters can be found in Figure 2E Dropout. For an example circuit structure of a multibit component template, see Figure 4B shown. Figure 4C to Figure 4E Also an exemplary circuit diagram of a multibit component template connected to the trim pin, which may be the same or different. Figure 4B to Figure 4E The schematic diagram of the top-level unit with a fixed number of pins is shown in Figure 5 510 in , a test circuit structure with a top-level unit schematic with a fixed number of pins is shown in Figure 5 shown.

[0038] S103, the simulation system generates a top-level unit schematic diagram with a fixed number of pins according to the design structure of the LDO, the multibit component template connected to the trimming pin, and the pin allocation parameters of the LDO;

[0039] S104, the simulation system generates a test circuit schematic diagram and a netlist of the LDO with a trimming pin according to the top-level unit schematic diagram;

[0040] S105, the simulation system generates a verification simulation script according to the test circuit schematic and netlist of the LDO with trimming pins and at least one process parameter file required for the simulation;

[0041] S106: The simulation system runs the verification simulation script to output simulation results of the target LDO parameters.

[0042] In one embodiment of the present invention, see Figure 2D As shown, it shows a schematic diagram of an exemplary implementation interface for running a batch verification simulation script.

[0043] S107, the simulation system generates a simulation result report including all target LDO parameters.

[0044] In one embodiment of the present invention, see Figure 2E As shown, it shows a schematic diagram of an exemplary implementation interface of the simulation results.

[0045] The present invention designs a universal test circuit for LDO chips that meet different parameter conditions, does not need to increase the redundancy and complexity of the simulation test circuit of the LDO chip, automatically generates multiple LDO simulation test circuits, and users do not need to care about the design of the test circuit, thus saving the design time of the test circuit.

[0046] The present invention is completely decoupled from the background simulation software, and can switch between mainstream simulation software such as Cadence's Spectre, Sysnopsys's Hspice, and open source Ngspice with one click.

[0047] The protection scope of the simulation verification method of the LDO with trimming pin described in the present invention is not limited to the execution order of the steps listed in this embodiment. All solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present invention are included in the protection scope of the present invention.

[0048] An embodiment of the present invention further provides a simulation verification system of an LDO with a trimming pin. The simulation verification system of the LDO with a trimming pin can implement the simulation verification method of the LDO with a trimming pin described in the present invention. However, the implementation device of the simulation verification method of the LDO with a trimming pin described in the present invention includes but is not limited to the structure of the simulation verification system of the LDO with a trimming pin listed in this embodiment. All structural deformations and replacements of the prior art made according to the principles of the present invention are included in the protection scope of the present invention.

[0049] The embodiment of the present invention also provides a simulation verification system of an LDO with a trimming pin, see Figure 3 As shown, the simulation verification system 300 of the LDO with trimming pin includes: an input module 310, an acquisition module 320, a top-level unit schematic generation module 330, a test circuit schematic and netlist generation module 340, a verification simulation script generation module 350, and / or an operation module 360.

[0050] The input module 310 is used to input the netlist or schematic diagram of the LDO with trimming pins, at least one process parameter file required for the simulation, the pin allocation parameters of the LDO, the trimming pin parameters of the LDO and / or the target LDO parameters.

[0051] In one embodiment of the present invention, the trim pin parameters of the LDO are configured by a user input control signal. An exemplary input interface for the netlist or schematic diagram of the LDO with trim pins and at least one process parameter file required for simulation is shown in Figure 2A An exemplary allocation interface for the pin allocation parameters of the LDO is shown in Figure 2B An exemplary selection interface for the target LDO parameters is shown in Figure 2C shown.

[0052] The acquisition module 320 acquires a netlist or schematic diagram of the LDO with trimming pins, at least one process parameter file required for simulation, pin allocation parameters of the LDO, trimming pin parameters of the LDO, and target LDO parameters.

[0053] The top-level unit schematic generation module 330 reads the netlist or schematic of the LDO according to the target LDO parameters, extracts the design structure of the LDO, and automatically generates a multibit component template connected to the trimming pin according to the trimming pin parameters of the LDO; and generates a top-level unit schematic with a fixed number of pins according to the design structure of the LDO, the multibit component template connected to the trimming pin, and the pin allocation parameters of the LDO.

[0054] In one embodiment of the present invention, an exemplary circuit structure of the LDO design structure is shown in FIG. Figure 4A As shown, the target LDO parameters can be found in Figure 2E Dropout. For an example circuit structure of a multibit component template, see Figure 4B shown. Figure 4C to Figure 4E Also an exemplary circuit diagram of a multibit component template connected to the trim pin, which may be the same or different. Figure 4B to Figure 4E The schematic diagram of the top-level unit with a fixed number of pins is shown in Figure 5 510 in , a test circuit structure with a top-level unit schematic with a fixed number of pins is shown in Figure 5 shown.

[0055] The test circuit schematic and netlist generating module 340 generates a test circuit schematic and a netlist of the LDO with trimming pins according to the top-level unit schematic.

[0056] The verification simulation script generation module 350 generates a verification simulation script according to the test circuit schematic and netlist of the LDO with trimming pins and at least one process parameter file required for the simulation.

[0057] In one embodiment of the present invention, see Figure 2DAs shown, it shows a schematic diagram of an exemplary implementation interface for running a batch verification simulation script.

[0058] The running module 360 ​​runs the verification simulation script to output the simulation results of the target LDO parameters.

[0059] In one embodiment of the present invention, see Figure 2E As shown, it shows a schematic diagram of an exemplary implementation interface of the simulation results.

[0060] In one embodiment of the present invention, the simulation verification system of the LDO with trimming pin further includes: a report generation module, connected to the operation module, and generating a simulation result report including all target LDO parameters.

[0061] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the simulation verification method of the LDO with a trimming pin are implemented.

[0062] The embodiment of the present invention further provides an electronic device, see Figure 6 As shown, the electronic device 600 includes: an input module 610 and a processor 620. The memory 610 stores a computer program; the processor 620 is connected to the memory 610, and implements the steps of the simulation verification method of the LDO with trimming pin of the present invention when calling the computer program.

[0063] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an 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).

[0064] The solution described in the present invention is independent of the process and the IDM (industry manufacturing company), and supports batch simulation of multiple processes; multiple LDO simulation test circuits can be automatically generated; the user does not need to care about the design of the test circuit, saving design time; the LDO netlist or schematic diagram can be automatically read to extract LDO structural information, simplifying the simulation configuration process; the adjustment pins can be automatically configured without the need for additional Verilog to achieve; the machine learning function can be used to provide an analysis report on the correlation between LDO simulation parameters and component parameters such as CMOS and BJT, provide component parameter modification suggestions, and improve the efficiency of user improvement; multiple test circuits can be run in batches to obtain all simulation parameter results at one time.

[0065] In summary, the present invention effectively overcomes various shortcomings of the prior art and has high industrial utilization value.

[0066] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A simulation verification method for an LDO with a trimming pin, characterized in that: The simulation verification method of the LDO with trimming pin is decoupled from the background simulation software, and switches between the simulation software Cadence's Spectre, Sysnopsys's Hspice, and the open source Ngspice with one key. The simulation verification method of the LDO with trimming pin includes: Obtaining a netlist or schematic diagram of the LDO with trimming pins, at least one process parameter file required for simulation, pin allocation parameters of the LDO, trimming pin parameters of the LDO, and target LDO parameters; Reading a netlist or schematic diagram of the LDO according to the target LDO parameters to extract the design structure of the LDO; automatically generating a multibit component template connected to the trimming pin according to the trimming pin parameters of the LDO; Generate a top-level unit schematic diagram with a fixed number of pins according to the design structure of the LDO, the multibit component template connected to the trimming pin, and the pin allocation parameters of the LDO; Generate a test circuit schematic and a netlist of the LDO with trimming pins according to the top-level unit schematic; Generate a verification simulation script according to the test circuit schematic and netlist of the LDO with trimming pins and at least one process parameter file required for the simulation; Running the verification simulation script outputs simulation results of the target LDO parameters.

2. The simulation verification method of the LDO with trimming pin according to claim 1, characterized in that: The trim pin parameters of the LDO are configured by a user input control signal.

3. The simulation verification method of the LDO with trimming pin according to claim 1, characterized in that: Also includes: Generates a simulation results report containing all target LDO parameters.

4. A simulation verification system for an LDO with a trimming pin, which is decoupled from the background simulation software, and can switch between the simulation software Cadence's Spectre, Sysnopsys's Hspice, and the open source Ngspice with one click, characterized in that: The simulation verification system of the LDO with trimming pin comprises: An acquisition module is configured to acquire a netlist or schematic diagram of the LDO having a trimming pin, at least one process parameter file required for simulation, a pin allocation parameter of the LDO, a trimming pin parameter of the LDO, and a target LDO parameter; A top-level unit schematic diagram generation module, which reads a netlist or schematic diagram of the LDO according to the target LDO parameters, extracts the design structure of the LDO, and automatically generates a multibit component template connected to the trimming pin according to the trimming pin parameters of the LDO; generates a top-level unit schematic diagram with a fixed number of pins according to the design structure of the LDO, the multibit component template connected to the trimming pin, and the pin allocation parameters of the LDO; A test circuit schematic diagram and netlist generating module, generating a test circuit schematic diagram and a netlist of the LDO with trimming pins according to the top-level unit schematic diagram; A verification simulation script generation module generates a verification simulation script according to a test circuit schematic and a netlist of the LDO with a trimming pin and at least one process parameter file required for the simulation; The running module runs the verification simulation script to output the simulation results of the target LDO parameters.

5. The simulation verification system of the LDO with trimming pin according to claim 4, characterized in that: The simulation verification system of the LDO with the trimming pin also includes: The report generation module is connected to the operation module and generates a simulation result report including all target LDO parameters.

6. The simulation verification system of the LDO with trimming pin according to claim 4, characterized in that: Also includes: An input module is used to input a netlist or schematic diagram of the LDO with trimming pins, at least one process parameter file required for the simulation, pin allocation parameters of the LDO, trimming pin parameters of the LDO, and / or target LDO parameters.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.

8. An electronic device, characterized in that: The electronic device comprises: A memory storing a computer program; A processor, connected to the memory, implements the steps of the method according to any one of claims 1 to 3 when calling the computer program.