WO2024016485A1 - Circuit simulation method and electronic device - Google Patents

Circuit simulation method and electronic device Download PDF

Info

Publication number
WO2024016485A1
WO2024016485A1 PCT/CN2022/124140 CN2022124140W WO2024016485A1 WO 2024016485 A1 WO2024016485 A1 WO 2024016485A1 CN 2022124140 W CN2022124140 W CN 2022124140W WO 2024016485 A1 WO2024016485 A1 WO 2024016485A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
electrostatic
data
voltage
preset
Prior art date
Application number
PCT/CN2022/124140
Other languages
French (fr)
Chinese (zh)
Inventor
徐帆
Original Assignee
长鑫存储技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 长鑫存储技术有限公司 filed Critical 长鑫存储技术有限公司
Publication of WO2024016485A1 publication Critical patent/WO2024016485A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking
    • G06F30/3308Design verification, e.g. functional simulation or model checking using simulation

Definitions

  • the present disclosure relates to the technical field of integrated circuit testing, and specifically to a circuit simulation method and electronic equipment.
  • the electrostatic protection circuit is an important functional module in the chip, and is usually implemented using an ESD (Electro-Static discharge, electrostatic protection) device connected to the electrostatic input port.
  • ESD Electro-Static discharge, electrostatic protection
  • ESD devices have snapback characteristics (Snapback): before the voltage across the ESD device reaches the trigger voltage, the ESD device does not conduct; when the voltage across the ESD device reaches the trigger voltage, the ESD device conducts, and there is a discharge current, and the voltage at both ends It decreases as the discharge current increases; when the voltage across the ESD device reaches the maintenance voltage, the ESD device is broken down, and the voltage at both ends and the conduction current increase simultaneously. Therefore, during the conduction period of the ESD device, one voltage across both ends corresponds to two values of discharge current.
  • the purpose of the present disclosure is to provide a circuit simulation method and electronic equipment to overcome, at least to a certain extent, the problem that ESD devices cannot perform circuit simulation due to the foldback characteristics due to limitations and defects in related technologies.
  • a circuit simulation method including: acquiring measured electrostatic protection data corresponding to one or more target electrostatic protection circuits and a plurality of preset electrostatic pulses of different amplitudes, the electrostatic protection
  • the actual measured data includes the voltage data that changes with time and the discharge current data that changes with time of the target electrostatic protection circuit under the preset electrostatic pulse excitation; for each of the target electrostatic protection circuits, according to the actual measurement of the electrostatic protection
  • the data establishes a virtual circuit model corresponding to the target electrostatic protection circuit one-to-one; obtains a post-simulation netlist of the circuit to be simulated, the circuit to be simulated includes the one or more target electrostatic protection circuits, and the post-simulation netlist including one or more first-type subnet tables corresponding to the one or more target electrostatic protection circuits; replacing the information in the first-type subnet table corresponding to each of the target electrostatic protection circuits with its corresponding information of the virtual circuit model; and
  • obtaining actual electrostatic protection measurement data corresponding to one or more target electrostatic protection circuits and a plurality of preset electrostatic pulses of different amplitudes includes: providing the target electrostatic protection circuit with The preset electrostatic pulse is used to excite, and the voltage value and discharge current value between the input end and the output end of the target electrostatic protection circuit are sampled at fixed time intervals within the duration of the preset electrostatic pulse, and all the values are recorded. The corresponding relationship between the voltage value, the discharge current value, the sampling time and the amplitude of the preset electrostatic pulse.
  • establishing a virtual circuit model corresponding to the target electrostatic protection circuit one-to-one according to the electrostatic protection measured data includes: according to the predetermined Assuming the amplitude of the electrostatic pulse, the sampling time and its corresponding voltage value and the discharge current value, the virtual circuit model is configured to output a variable voltage value that changes with time under the preset electrostatic pulse. and variable current values.
  • the virtual circuit model includes a variable voltage source and a variable current source, the variable current source being connected in parallel with the variable voltage source.
  • the internal resistance of the variable voltage source is set to infinity.
  • the fixed time interval is 0.1 nanoseconds.
  • the target electrostatic protection circuit includes a power clamp circuit, two ends of the power clamp circuit are respectively connected to the power supply and zero potential, and the acquisition of one or more target electrostatic protection circuits
  • the actual measured electrostatic protection data of the circuit corresponding to multiple preset electrostatic pulses of different amplitudes includes: obtaining the voltage data and the discharge current data of the power supply clamp circuit corresponding to the multiple preset electrostatic pulses from the power supply. ; Acquire the voltage data and discharge current data at both ends of the power clamp circuit corresponding to multiple preset electrostatic pulses from the zero potential; wherein, the preset electrostatic pulse, the voltage data at both ends and the The above-mentioned bleeder current data all contain directional information.
  • replacing the information in the first type subnet table corresponding to each target electrostatic protection circuit with the information of the virtual circuit model corresponding thereto includes: In the post-simulation netlist, the first subnetlist corresponding to the power supply clamp circuit is set to invalid; the virtual circuit model corresponding to the power supply clamp circuit is set between the power supply and the between zero potential.
  • the target electrostatic protection circuit includes a pin protection circuit
  • the pin protection circuit includes a first part and a second part
  • the first part connects the input pin and the power supply, so The second part is connected to the input pin and zero potential
  • obtaining the measured electrostatic protection data corresponding to one or more target electrostatic protection circuits and multiple preset electrostatic pulses of different amplitudes includes: obtaining the pin protection The circuit has a first part of voltage data across both ends, a first part of discharge current data, a second part of voltage data across both ends, and a second part of discharge current corresponding to a plurality of preset electrostatic pulses in the first direction input from the input pin.
  • establishing a virtual circuit model that corresponds one-to-one to the target electrostatic protection circuit based on the measured electrostatic protection data includes: The pin protection circuit establishes a first partial virtual voltage source model corresponding to the plurality of preset electrostatic pulses based on the first partial voltage data across both ends, and establishes a first partial virtual voltage source model corresponding to the plurality of preset electrostatic pulses based on the first partial discharge current data. The first part of the virtual current source model corresponding to the preset electrostatic pulse.
  • the output voltage of the first part of the virtual voltage source model and the discharge current of the first part of the virtual current source are both based on the amplitude and input direction of the preset electrostatic pulse. changes over time; establishing a second part of the virtual voltage source model corresponding to the plurality of preset electrostatic pulses based on the voltage data across the second part, and establishing a model corresponding to the plurality of preset electrostatic pulses based on the second part of the discharge current data.
  • a second partial virtual current source model corresponding to the preset electrostatic pulse.
  • the output voltage of the second partial virtual voltage source model and the discharge current of the second partial virtual current source are both based on the amplitude of the preset electrostatic pulse.
  • the virtual circuit model includes three terminals. The first terminal is connected to the input pin, the second terminal is connected to the power supply, and the third terminal is connected to the zero potential.
  • the virtual circuit The voltage and current at at least one of the three terminals vary with time during the duration of the preset electrostatic pulse.
  • replacing the information in the first type subnet table corresponding to each target electrostatic protection circuit with the information of the virtual circuit model corresponding thereto includes: In the post-simulation netlist, the first subnetlist corresponding to the pin protection circuit is set to invalid; the first end of the virtual circuit model corresponding to the pin protection circuit is connected to the to-be-protected Input pin, connect the second end of the virtual circuit model to the power supply voltage, and connect the third end of the virtual circuit model to zero potential.
  • simulating the circuit to be simulated based on the replaced post-simulation netlist includes: during simulation, inputting the multiplexed power supply to the circuit to be simulated. preset electrostatic pulses to obtain the first electrostatic simulation data corresponding to the circuit to be simulated; input the plurality of preset electrostatic pulses to the zero potential of the circuit to be simulated to obtain the second electrostatic simulation data corresponding to the circuit to be simulated Simulation data; inputting the plurality of preset electrostatic pulses in the first direction to each input pin of the circuit to be simulated to obtain third electrostatic simulation data corresponding to the circuit to be simulated; Each input pin inputs the plurality of preset electrostatic pulses in a second direction to obtain fourth electrostatic simulation data corresponding to the circuit to be simulated, and the second direction is opposite to the first direction.
  • the plurality of preset electrostatic pulses corresponding to the third electrostatic simulation data are generated based on a human body discharge model.
  • the circuit to be simulated is determined based on the first electrostatic simulation data, the second electrostatic simulation data, the third electrostatic simulation data, and the fourth electrostatic simulation data.
  • Dynamic voltage distribution diagram under each preset electrostatic pulse of each input source According to whether there is a point in the dynamic voltage distribution diagram where the voltage exceeds the corresponding preset value, the electrostatic protection of the circuit to be simulated is determined. Whether the capability meets the design requirements.
  • an electronic device including: a memory; and a processor coupled to the memory, the processor being configured to perform, based on instructions stored in the memory, the above any of the methods described.
  • Embodiments of the present disclosure test the time-varying data of the voltage at both ends of the ESD device and the time-varying data of the discharge current under multiple preset electrostatic pulses of different amplitudes, thereby equating an ESD device to a parallel time-varying device.
  • Voltage sources and current sources can overcome the problem that simulation software cannot simulate the foldback characteristics of ESD devices, thereby achieving accurate circuit simulation of the electrical characteristics of ESD devices.
  • FIG. 1 is a flowchart of a circuit simulation method in an exemplary embodiment of the present disclosure.
  • FIG. 2 is a schematic diagram of a target electrostatic protection circuit in an embodiment of the present disclosure.
  • FIG. 3 is a schematic diagram of a TLP pulse in one embodiment of the present disclosure.
  • Figure 4 is a schematic diagram of the current-voltage curve of the ESD device.
  • Figure 5 is a schematic diagram of a virtual circuit model in an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of a virtual circuit model corresponding to the pin protection circuit 22 .
  • Figure 7 is a schematic diagram of the processing of the post-simulation netlist of the circuit to be simulated.
  • Figure 8 is a sub-flow chart of step S5 in an embodiment of the present disclosure.
  • FIG. 9 is a block diagram of an electronic device in an exemplary embodiment of the present disclosure.
  • Example embodiments will now be described more fully with reference to the accompanying drawings.
  • Example embodiments may, however, be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concepts of the example embodiments.
  • the described features, structures or characteristics may be combined in any suitable manner in one or more embodiments.
  • numerous specific details are provided to provide a thorough understanding of embodiments of the disclosure.
  • those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details being omitted, or other methods, components, devices, steps, etc. may be adopted.
  • well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the disclosure.
  • FIG. 1 is a flowchart of a circuit simulation method in an exemplary embodiment of the present disclosure.
  • circuit simulation method 100 may include:
  • Step S1 Obtain actual measured electrostatic protection data corresponding to one or more target electrostatic protection circuits and multiple preset electrostatic pulses of different amplitudes.
  • the actual measured electrostatic protection data includes the target electrostatic protection circuit when the preset electrostatic pulses are present.
  • Step S2 For each target electrostatic protection circuit, establish a virtual circuit model corresponding to the target electrostatic protection circuit one-to-one according to the measured electrostatic protection data;
  • Step S3 Obtain a post-simulation netlist of the circuit to be simulated.
  • the circuit to be simulated includes the one or more target electrostatic protection circuits.
  • the post-simulation netlist includes a network corresponding to the one or more target electrostatic protection circuits. or multiple first-class subnet tables;
  • Step S4 Replace the information in the first type subnet table corresponding to each target electrostatic protection circuit with the information of the corresponding virtual circuit model;
  • Step S5 Simulate the circuit to be simulated based on the replaced post-simulation netlist.
  • Embodiments of the present disclosure test the time-varying data of the voltage at both ends of the ESD device and the time-varying data of the discharge current under multiple preset electrostatic pulses of different amplitudes, thereby equating an ESD device to a parallel time-varying device.
  • Voltage sources and current sources can overcome the problem that simulation software cannot simulate the foldback characteristics of ESD devices, thereby achieving accurate circuit simulation of the electrical characteristics of ESD devices.
  • step S1 actual measured electrostatic protection data corresponding to one or more target electrostatic protection circuits and a plurality of preset electrostatic pulses with different amplitudes are obtained.
  • the actual measured electrostatic protection data includes the target electrostatic protection circuit when the preset electrostatic pulses are generated. Time-varying voltage data and time-varying discharge current data under pulse excitation.
  • the target electrostatic protection circuit may include, for example, a power clamp circuit (Power Clamp) and a pin protection circuit.
  • a power clamp circuit Power Clamp
  • a pin protection circuit for example, a pin protection circuit.
  • FIG. 2 is a schematic diagram of a target electrostatic protection circuit in an embodiment of the present disclosure.
  • the power clamp circuit 21 is connected between the power supply voltage VDD and the zero potential VSS, and is used to automatically turn on to discharge the electrostatic charge when triggered by an electrostatic pulse from VDD or VSS.
  • the pin protection circuit 22 is connected between the power supply voltage VDD, zero potential VSS, and the input pin IO.
  • the pin protection circuit 22 includes a first part 221 and a second part 222. The first part 221 is connected to the input pin IO and the power supply VDD. The second part 222 is connected to the input pin IO and the zero-potential VSS.
  • the pin protection circuit 22 is used to conduct to discharge the electrostatic voltage and protect the input when triggered by an electrostatic pulse from the input pin IO, the power supply VDD, and the zero-potential VSS.
  • Pin IO is connected to the internal circuit of the chip, such as the output driver (Output Driver) or the input buffer (Input Buffer), which is briefly shown in Figure 2. Since the power clamp circuit 21 and the pin protection circuit 22 are commonly used circuits in chips, their internal structures will not be described in detail here. The method of the embodiment of the present disclosure can be applied to the power supply clamp circuit 21 and the pin protection circuit 22 of any structure.
  • the target electrostatic protection circuit is also referred to as an ESD device in the following text.
  • the preset electrostatic pulses with different amplitudes may be, for example, TLP (Transmission Line Pulse).
  • TLP is an electrostatic simulation square wave, which includes a set of square waves with gradually increasing amplitude. By adjusting the rising edge and pulse width, it indirectly simulates the damage ability of some electrostatic pulse forms and the triggering ability of ESD devices by different rising edges. Due to the use of square waves, TLP can obtain an I-V (current-voltage) point by applying one pulse each time, and continuously apply currents of different amplitudes to the ESD device until the ESD device fails, and obtain the ESD device's response to electrostatic pulses. The complete I-V curve of the response.
  • FIG. 3 is a schematic diagram of a TLP pulse in one embodiment of the present disclosure.
  • TLP pulses 300 are equal, and the amplitude increases with time.
  • Each TLP pulse lasts for T duration, and T is a preset value that can be set according to the test environment.
  • Figure 4 is a schematic diagram of the current-voltage curve of the ESD device.
  • the curve shown in Figure 4 is between the input end and the output end of an ESD device (such as a voltage clamp device with both ends connected to power and ground respectively) measured under different TLP test pulses when the TLP pulse duration is t.
  • the duration of the TLP pulse is T
  • the value of t is between 70%T and 80%T.
  • the horizontal axis of the I-V curve of the ESD device is the voltage between the input terminal and the output terminal of the ESD device measured at the above t time point under each TLP pulse (this voltage is later referred to as the test voltage),
  • the vertical axis is the discharge current (also called on-current) of the ESD device measured at time point t under each TLP pulse.
  • Each point on the I-V curve 20 of the ESD device corresponds to a test voltage value V and a discharge current value I.
  • the curve 20 can be divided into four stages: A, B, C, and D according to the four states of the ESD device.
  • stage A before the voltage V across the ESD device (i.e., the test voltage) reaches the trigger voltage Vt1 of the ESD device, the ESD device does not discharge and the discharge current I is low. Phase A is also called the untriggered phase.
  • stage B after the voltage V across the ESD device reaches the trigger voltage Vt1 of the ESD device and before reaching the sustaining voltage Vh, the ESD device discharges, the discharge current I rises, and the voltage V across the ESD device drops.
  • Phase B is also called the trigger phase.
  • phase C After the voltage V across the ESD device reaches the sustaining voltage Vh of the ESD device and before reaching the failure voltage Vt2, the ESD device discharges and the discharge current I and the voltage V across the ESD device rise simultaneously.
  • Phase C is also called the maintenance phase.
  • stage D after the voltage V across the ESD device reaches the failure voltage Vt2 of the ESD device, the ESD device is broken down and the discharge current I suddenly increases. Phase D is also called the failure phase.
  • the input port for inputting multiple TLP test pulses to the target electrostatic protection circuit can be determined according to the type and connection method of the target electrostatic protection circuit.
  • the target electrostatic protection circuit is the power supply clamp circuit 21, that is, it is connected between the power supply (VDD) and the zero point (VSS) to perform a voltage clamping function (clamp)
  • the multiple inputs can be input to the power supply (VDD) respectively.
  • one voltage can correspond to two currents during the discharge process, which does not meet the requirements of simulation software (such as the traditional BSIM SPICE model) for the linear I-V characteristics of simulated devices. ESD devices cannot Implement simulation.
  • Each point in the curve 20 in Figure 4 corresponds to a voltage between the input terminal and the output terminal of the ESD device measured at time point t of the TLP pulse, but in the actual application of the ESD device, during the duration of the TLP pulse Within T, the voltage between the input terminal and the output terminal of the ESD device is constantly changing, and the discharge current is also constantly changing.
  • a preset electrostatic pulse can be provided to the ESD device for excitation within the duration T of each TLP pulse 300, and the preset electrostatic pulse can be excited at a fixed time interval. It is assumed that the voltage value and discharge current value between the input and output ends of the ESD device are sampled during the duration of the electrostatic pulse, and the corresponding relationship between the voltage value and discharge current value, the sampling time and the amplitude of the preset electrostatic pulse are recorded. . This fixed time interval is 0.1ns.
  • Table 1 shows the data of the voltage V between the input terminal and the output terminal of the ESD device and the discharge current I of the ESD device sampled at a time interval of 0.1ns during the duration T of a TLP pulse with an amplitude of Vs. Correspondence.
  • the first column is the duration of the TLP pulse at the time of sampling.
  • step S1 tests can be performed on TLP pulses from different sources according to the type of the target electrostatic protection circuit.
  • the target electrostatic protection circuit is the power supply clamp circuit 21
  • the voltage data and discharge current data at both ends corresponding to the power supply clamp circuit 21 and multiple preset electrostatic pulses from the power supply VDD can be obtained, and then the power supply clamp circuit 21 can be obtained Voltage data V across both ends and discharge current data I corresponding to multiple preset electrostatic pulses from zero potential VSS, where the preset electrostatic pulses, voltage data across both ends and discharge current data all include direction information.
  • the target electrostatic protection circuit is the pin protection circuit 22
  • the first part of the voltage data across both ends of the pin protection circuit and the first part of the discharge corresponding to the plurality of preset electrostatic pulses in the first direction input from the input pin IO can be obtained.
  • the voltage data, the first part of the discharge current data, the second part of the voltage data at both ends, the second part of the discharge current data, the second direction is opposite to the first direction.
  • the preset electrostatic pulse, the first part of voltage data across both ends, the first part of discharge current data, the second part of voltage data across both ends, and the second part of discharge current data all include direction information.
  • step S2 for each target electrostatic protection circuit, a virtual circuit model corresponding one-to-one to the target electrostatic protection circuit is established based on the measured electrostatic protection data.
  • the virtual circuit model can be configured to operate under the preset electrostatic pulse according to the amplitude of the preset electrostatic pulse (the amplitude of the TLP pulse), the sampling time and its corresponding voltage value and discharge current value. The time changes output variable voltage value and variable current value.
  • Figure 5 is a schematic diagram of a virtual circuit model in an embodiment of the present disclosure.
  • the virtual circuit model 500 of the target electrostatic protection circuit may include a variable voltage source Vs-V(t) and a variable current source Vs-I(t).
  • the variable current source Vs-V(t) is connected in parallel with the variable voltage source Vs-I(t).
  • Vs is the amplitude of the electrostatic pulse.
  • the internal resistance of the variable voltage source Vs-V(t) can be set to infinity.
  • variable voltage source Vs-V(t) When the external voltage at one end of the variable voltage source Vs-V(t) (that is, the voltage between the input terminal and the output terminal of the corresponding ESD device) is Vs, the output voltage of the variable voltage source Vs-V(t) The output current of the variable current source Vs-I(t) forms I(t) that changes with time according to the measured electrostatic protection data corresponding to Vs.
  • the variable voltage source Vs-V(t) automatically adjusts the output voltage according to the current external voltage Vs and the duration of the external voltage Vs.
  • the variable current source Vs-I(t) automatically adjusts the output voltage according to the current external voltage Vs.
  • the external voltage Vs and the duration of the external voltage Vs automatically adjust the output current.
  • Table 2 is a data representation of the change of the variable voltage source Vs-V(t) with the duration of Vs for an external voltage with an amplitude Vs.
  • Table 3 is a data representation of the change of the variable current source Vs-I(t) with the duration of Vs for an external voltage with an amplitude Vs.
  • a parallel variable current source Vs-V can be established directly based on the voltage changes of the power supply VDD and zero potential VSS connected to the power supply clamp circuit 21 and the electrostatic protection measured data of the power supply clamp circuit 21. (t) and the variable voltage source Vs-I(t). It should be noted that due to the different input sources of the TLP test pulses, the variable current source Vs-V(t) of the power supply clamp circuit 21 is different from the variable voltage source.
  • variable current source Vs-V(t ) and the variable voltage source Vs-I(t) may show different changes, which changes can be determined based on the electrostatic protection measured data in step S1.
  • first part 221 and the second part 222 react differently to electrostatic pulses from different sources. Therefore, when establishing a virtual circuit model, it is necessary to consider Voltage changes and current changes to first part 221 and second part 222 for the same electrostatic pulse (eg, a TLP test pulse from input pin IO).
  • the first part of the virtual voltage source model Vs-V1(t corresponding to the plurality of preset electrostatic pulses can be established based on the first part of the voltage data across the pin protection circuit 22 obtained during the test process of step S1 ), based on the first part of the discharge current data, the first part of the virtual current source model Vs-I1(t) corresponding to the plurality of preset electrostatic pulses is established.
  • the output voltage V1 of the first part of the virtual voltage source model Vs-V1(t) and the The discharge current I1 of a part of the virtual current source Vs-I1(t) changes with time according to the amplitude and input direction of the preset electrostatic pulse.
  • a second part of the virtual voltage source model Vs-V2(t) corresponding to the plurality of preset electrostatic pulses is established based on the voltage data across the second part of the pin protection circuit 22 obtained during the test process of step S1.
  • the second part of the discharge current data establishes the second part of the virtual current source model Vs-I2(t) corresponding to multiple preset electrostatic pulses, the output voltage of the second part of the virtual voltage source model and the discharge of the second part of the virtual current source.
  • the discharge current changes with time according to the amplitude and input direction of the preset electrostatic pulse.
  • the second part of the virtual voltage source model Vs-V2(t), the first part of the virtual current source model Vs-I1(t), the second part of the virtual current source model Vs-I2(t) constructs a virtual circuit model corresponding to the pin protection circuit.
  • FIG. 6 is a schematic diagram of a virtual circuit model corresponding to the pin protection circuit 22 .
  • the virtual circuit model 600 of the pin protection circuit 22 includes three terminals, the first terminal is connected to the input pin IO, the second terminal is connected to the power supply VDD, and the third terminal is connected to the zero potential VSS. At least one of the three terminals of the virtual circuit 600 The voltage and current at one end vary with time for the duration of a preset electrostatic pulse.
  • the first part of the virtual voltage source model Vs-V1(t) and the second part of the virtual voltage source model Vs-V2(t) in the virtual circuit module 600 of the pin protection circuit 22 the first part of the virtual current source model Vs-I1(t), and the second part of the virtual current source model Vs-I2(t) both have direction information, that is, under the same external voltage Vs, with different sources of electrostatic pulses, the Part of the virtual voltage source model Vs-V1(t), the second part of the virtual voltage source model Vs-V2(t), the first part of the virtual current source model Vs-I1(t), the second part of the virtual current source model Vs-I2( t)
  • the output voltage/current shows different direction changes or value changes, and these changes can be determined based on the electrostatic protection measured data in step S1.
  • step S2 After establishing the virtual circuit model of the target electrostatic protection circuit in step S2, the data of the circuit to be simulated including the target electrostatic protection circuit can be processed.
  • a post-simulation netlist of the circuit to be simulated may be obtained.
  • the circuit to be simulated includes one or more target electrostatic protection circuits.
  • the post-simulation netlist includes one or more third netlists corresponding to the one or more target electrostatic protection circuits.
  • a class of subnet tables Then, in step S4, the information in the first type subnet table corresponding to each target electrostatic protection circuit is replaced with the information of its corresponding virtual circuit model.
  • Figure 7 is a schematic diagram of the post-simulation netlist processing of the circuit to be simulated.
  • the post-simulation netlist 700 includes multiple target electrostatic protection circuits 71 .
  • the multiple target electrostatic protection circuits 71 may be power supply clamp circuits or pin protection circuits.
  • Each target electrostatic protection circuit 71 corresponds to a first-type subnet table.
  • the post-simulation netlist 700 may also include other circuit modules, such as circuit module 1, circuit module 2..., and each circuit module corresponds to a first-type subnet list. That is, the post-simulation netlist 700 includes the first type sub-netlist corresponding to all components in the circuit to be simulated.
  • the first type of subnet list is, for example, a netlist generated based on the SPICE model.
  • the first sub-net list corresponding to each target electrostatic protection circuit 71 can be set as invalid in the post-simulation netlist 700, and data replacement processing can be performed on each target electrostatic protection circuit 71.
  • the virtual circuit model corresponding to the power supply clamp circuit is set between the power supply VDD and zero potential VSS.
  • a target electrostatic protection circuit is a pin protection circuit
  • the virtual circuit model corresponding to the ESD device in the post-simulation netlist 700 can independently change the output voltage and output current with the external voltage Vs and the duration of the external voltage Vs, which meets the circuit simulation requirements.
  • Other circuit modules connected to the ESD use models corresponding to normal simulation circuits, such as SPICE models.
  • the processed post-simulation netlist 700 as a whole meets the circuit simulation requirements and can realize circuit simulation.
  • step S5 the circuit to be simulated is simulated based on the replaced post-simulation netlist.
  • Figure 8 is a sub-flow chart of step S5 in an embodiment of the present disclosure.
  • step S5 may include:
  • Step S51 Input multiple preset electrostatic pulses to the power supply of the circuit to be simulated to obtain first electrostatic simulation data corresponding to the circuit to be simulated;
  • Step S52 Input multiple preset electrostatic pulses to the zero potential of the circuit to be simulated to obtain second electrostatic simulation data corresponding to the circuit to be simulated;
  • Step S53 input a plurality of preset electrostatic pulses in the first direction to each input pin of the circuit to be simulated to obtain third electrostatic simulation data corresponding to the circuit to be simulated;
  • Step S54 input a plurality of preset electrostatic pulses in a second direction to each input pin of the circuit to be simulated to obtain fourth electrostatic simulation data corresponding to the circuit to be simulated.
  • the second direction is opposite to the first direction.
  • the plurality of preset electrostatic pulses used in the simulation of step S5 may be exactly the same as the preset electrostatic pulses used in the test of step S1.
  • the virtual circuit model of the target electrostatic protection device can show the same changes as the measured electrostatic protection data.
  • the number of multiple preset electrostatic pulses used in the simulation can also be less than the number of preset electrostatic pulses used in the test to improve simulation efficiency, and the present disclosure does not impose special limitations on this.
  • the plurality of preset electrostatic pulses corresponding to the third electrostatic simulation data may be generated based on a human body discharge model (Human Body Model, HBM), for example, and are HBM pulses.
  • HBM Human Body Model
  • the preset electrostatic pulse input to the input pin IO is an HBM pulse with different amplitudes, not a TLP pulse. That is, the amplitude, duration, pulse type, and pulse input port (VDD, VSS, IO) of the electrostatic pulse used in the simulation should be as consistent as possible with the preset electrostatic pulse used in the test, or the preset electrostatic pulse used in the test should be within the range.
  • the dynamic voltage distribution diagram of the circuit to be simulated under each preset electrostatic pulse of each input source can be determined based on the first electrostatic simulation data, the second electrostatic simulation data, the third electrostatic simulation data, and the fourth electrostatic simulation data. , based on whether there is a point in the dynamic voltage distribution diagram where the voltage exceeds the corresponding preset value, it is determined whether the electrostatic protection capability of the circuit to be simulated meets the design requirements.
  • an electronic device capable of implementing the above method is also provided.
  • FIG. 9 An electronic device 900 according to this embodiment of the present disclosure is described below with reference to FIG. 9 .
  • the electronic device 900 shown in FIG. 9 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
  • electronic device 900 is embodied in the form of a general computing device.
  • the components of the electronic device 900 may include, but are not limited to: the above-mentioned at least one processing unit 910, the above-mentioned at least one storage unit 920, and a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910).
  • the storage unit stores program code, and the program code can be executed by the processing unit 910, so that the processing unit 910 performs various exemplary methods according to the present disclosure described in the "Example Method" section of this specification. Implementation steps.
  • the processing unit 910 may perform the method shown in the embodiment of the present disclosure.
  • the storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 9201 and/or a cache storage unit 9202, and may further include a read-only storage unit (ROM) 9203.
  • RAM random access storage unit
  • ROM read-only storage unit
  • Storage unit 920 may also include a program/utility 9204 having a set of (at least one) program modules 9205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples, or some combination, may include the implementation of a network environment.
  • program/utility 9204 having a set of (at least one) program modules 9205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples, or some combination, may include the implementation of a network environment.
  • Bus 930 may be a local area representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or using any of a variety of bus structures. bus.
  • Electronic device 900 may also communicate with one or more external devices 1000 (e.g., keyboard, pointing device, Bluetooth device, etc.), may also communicate with one or more devices that enable a user to interact with electronic device 900, and/or with Any device that enables the electronic device 900 to communicate with one or more other computing devices (eg, router, modem, etc.). This communication may occur through an input/output (I/O) interface 950.
  • the electronic device 900 may also communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 960. As shown, network adapter 960 communicates with other modules of electronic device 900 via bus 930.
  • network adapter 960 communicates with other modules of electronic device 900 via bus 930.
  • electronic device 900 may be used in conjunction with electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • the example embodiments described here can be implemented by software, or can be implemented by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a computing device (which may be a personal computer, a server, a terminal device, a network device, etc.) to execute a method according to an embodiment of the present disclosure.
  • a computing device which may be a personal computer, a server, a terminal device, a network device, etc.
  • a computer-readable storage medium is also provided, on which a program product capable of implementing the method described above in this specification is stored.
  • various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code.
  • the program product is run on a terminal device, the program code is used to cause the terminal device to execute the above described instructions.
  • the steps according to various exemplary embodiments of the present disclosure are described in the "Exemplary Methods" section.
  • the Program Product may take the form of one or more readable media in any combination.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • a readable signal medium may also be any readable medium other than a readable storage medium that can send, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or device.
  • Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical cable, RF, etc., or any suitable combination of the foregoing.
  • Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., as well as conventional procedural programming. Language—such as "C” or a similar programming language.
  • the program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on.
  • the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., provided by an Internet service). (business comes via Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service e.g., provided by an Internet service
  • Embodiments of the present disclosure test the time-varying data of the voltage at both ends of the ESD device and the time-varying data of the discharge current under multiple preset electrostatic pulses of different amplitudes, thereby equating an ESD device to a parallel time-varying device.
  • Voltage sources and current sources can overcome the problem that simulation software cannot simulate the foldback characteristics of ESD devices, thereby achieving accurate circuit simulation of the electrical characteristics of ESD devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

A circuit simulation method and an electronic device. The method comprises: acquiring electrostatic protection actual measurement data corresponding to one or more target electrostatic protection circuits and a plurality of preset electrostatic pulses of different amplitudes (S1); for each target electrostatic protection circuit, establishing, according to the actual measurement data, a virtual circuit model in one-to-one correspondence with the target electrostatic protection circuit (S2); acquiring a post-simulation netlist of a circuit to be simulated, the circuit to be simulated comprising one or more target electrostatic protection circuits, and the post-simulation netlist comprising one or more first-type sub-netlists corresponding to the one or more target electrostatic protection circuits (S3); replacing information in the first-type sub-netlist corresponding to each target electrostatic protection circuit with information of a virtual circuit model corresponding thereto (S4); and simulating the circuit to be simulated on the basis of the replaced post-simulation netlist. According to embodiments of the present disclosure, circuit simulation of an ESD device having a folding characteristic can be achieved.

Description

电路仿真方法与电子设备Circuit Simulation Methods and Electronic Equipment
交叉引用cross reference
本公开要求于2022年7月22日提交的申请号为202210869337.0、名称为“电路仿真方法与电子设备”的中国专利申请的优先权,该中国专利申请的全部内容通过引用全部并入本文。This disclosure claims priority from the Chinese patent application with application number 202210869337.0 and entitled "Circuit Simulation Method and Electronic Device" filed on July 22, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及集成电路测试技术领域,具体而言,涉及一种电路仿真方法与电子设备。The present disclosure relates to the technical field of integrated circuit testing, and specifically to a circuit simulation method and electronic equipment.
背景技术Background technique
静电保护电路是芯片中的重要功能模块,通常使用连接静电输入端口的ESD(Electro-Static discharge,静电保护)器件来实现。当来自静电输入端口的任意方向的较大的静电电压到达ESD器件的一端时,ESD器件导通以泄放静电电荷,从而保护芯片电路。The electrostatic protection circuit is an important functional module in the chip, and is usually implemented using an ESD (Electro-Static discharge, electrostatic protection) device connected to the electrostatic input port. When a large electrostatic voltage from any direction of the electrostatic input port reaches one end of the ESD device, the ESD device turns on to discharge the electrostatic charge, thereby protecting the chip circuit.
ESD器件存在回折特性(Snapback):在ESD器件两端电压达到触发电压之前,ESD器件不导通;当ESD器件两端电压达到触发电压之后,ESD器件导通,存在泄放电流,两端电压随着泄放电流的增大而降低;当ESD器件两端电压达到维持电压时,ESD器件被击穿,两端电压和导通电流同时增大。因此,在ESD器件导通期间,一个两端电压对应两个泄放电流值。ESD devices have snapback characteristics (Snapback): before the voltage across the ESD device reaches the trigger voltage, the ESD device does not conduct; when the voltage across the ESD device reaches the trigger voltage, the ESD device conducts, and there is a discharge current, and the voltage at both ends It decreases as the discharge current increases; when the voltage across the ESD device reaches the maintenance voltage, the ESD device is broken down, and the voltage at both ends and the conduction current increase simultaneously. Therefore, during the conduction period of the ESD device, one voltage across both ends corresponds to two values of discharge current.
在芯片设计中,通常需要使用仿真软件对电路进行仿真以对电路的运行进行验证。仿真软件中的各器件需要有固定的电压-电流对应关系,因此由于ESD器件的回折特性,仿真软件无法对ESD器件以及应用ESD器件的电路进行仿真,给芯片设计的验证过程带来了难题。In chip design, it is usually necessary to use simulation software to simulate the circuit to verify the operation of the circuit. Each device in the simulation software needs to have a fixed voltage-current correspondence. Therefore, due to the foldback characteristics of ESD devices, the simulation software cannot simulate ESD devices and circuits using ESD devices, which brings difficulties to the verification process of chip design.
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above background section is only used to enhance understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to those of ordinary skill in the art.
发明内容Contents of the invention
本公开的目的在于提供一种电路仿真方法与电子设备,用于至少在一定程度上克服由于相关技术的限制和缺陷而导致的ESD器件由于回折特性无法进行电路仿真的问题。The purpose of the present disclosure is to provide a circuit simulation method and electronic equipment to overcome, at least to a certain extent, the problem that ESD devices cannot perform circuit simulation due to the foldback characteristics due to limitations and defects in related technologies.
根据本公开实施例的第一方面,提供一种电路仿真方法,包括:获取一或多个目标静电保护电路与多个不同幅值的预设静电脉冲对应的静电保护实测数据,所述静电保护实测数据包括所述目标静电保护电路在所述预设静电脉冲激励下随时间变化的电压数据和随时间变化的泄放电流数据;对于每个所述目标静电保护电路,根据所述静电保护实测数据建立与所述目标静电保护电路一一对应的虚拟电路模型;获取待仿真电路的后仿真网表, 所述待仿真电路包括所述一或多个目标静电保护电路,所述后仿真网表包括所述一或多个目标静电保护电路对应的一或多个第一类子网表;将每个所述目标静电保护电路对应的所述第一类子网表中的信息替换为与其对应的所述虚拟电路模型的信息;基于替换后的所述后仿真网表对所述待仿真电路进行仿真。According to a first aspect of an embodiment of the present disclosure, a circuit simulation method is provided, including: acquiring measured electrostatic protection data corresponding to one or more target electrostatic protection circuits and a plurality of preset electrostatic pulses of different amplitudes, the electrostatic protection The actual measured data includes the voltage data that changes with time and the discharge current data that changes with time of the target electrostatic protection circuit under the preset electrostatic pulse excitation; for each of the target electrostatic protection circuits, according to the actual measurement of the electrostatic protection The data establishes a virtual circuit model corresponding to the target electrostatic protection circuit one-to-one; obtains a post-simulation netlist of the circuit to be simulated, the circuit to be simulated includes the one or more target electrostatic protection circuits, and the post-simulation netlist including one or more first-type subnet tables corresponding to the one or more target electrostatic protection circuits; replacing the information in the first-type subnet table corresponding to each of the target electrostatic protection circuits with its corresponding information of the virtual circuit model; and simulate the circuit to be simulated based on the replaced post-simulation netlist.
在本公开的一种示例性实施例中,所述获取一或多个目标静电保护电路与多个不同幅值的预设静电脉冲对应的静电保护实测数据包括:向所述目标静电保护电路提供所述预设静电脉冲进行激励,并以固定时间间隔在所述预设静电脉冲的持续时间内采样所述目标静电保护电路输入端和输出端之间的电压值和泄放电流值,记录所述电压值和所述泄放电流值与采样时间和所述预设静电脉冲的幅值之间的对应关系。In an exemplary embodiment of the present disclosure, obtaining actual electrostatic protection measurement data corresponding to one or more target electrostatic protection circuits and a plurality of preset electrostatic pulses of different amplitudes includes: providing the target electrostatic protection circuit with The preset electrostatic pulse is used to excite, and the voltage value and discharge current value between the input end and the output end of the target electrostatic protection circuit are sampled at fixed time intervals within the duration of the preset electrostatic pulse, and all the values are recorded. The corresponding relationship between the voltage value, the discharge current value, the sampling time and the amplitude of the preset electrostatic pulse.
在本公开的一种示例性实施例中,对于每个所述目标静电保护电路,根据所述静电保护实测数据建立与所述目标静电保护电路一一对应的虚拟电路模型包括:根据所述预设静电脉冲的幅值、所述采样时间及其对应的所述电压值和所述泄放电流值将所述虚拟电路模型配置为在所述预设静电脉冲下随时间变化输出可变电压值和可变电流值。In an exemplary embodiment of the present disclosure, for each target electrostatic protection circuit, establishing a virtual circuit model corresponding to the target electrostatic protection circuit one-to-one according to the electrostatic protection measured data includes: according to the predetermined Assuming the amplitude of the electrostatic pulse, the sampling time and its corresponding voltage value and the discharge current value, the virtual circuit model is configured to output a variable voltage value that changes with time under the preset electrostatic pulse. and variable current values.
在本公开的一种示例性实施例中,所述虚拟电路模型包括可变电压源和可变电流源,所述可变电流源与所述可变电压源并联。In an exemplary embodiment of the present disclosure, the virtual circuit model includes a variable voltage source and a variable current source, the variable current source being connected in parallel with the variable voltage source.
在本公开的一种示例性实施例中,将所述可变电压源的内阻设置为无穷大。In an exemplary embodiment of the present disclosure, the internal resistance of the variable voltage source is set to infinity.
在本公开的一种示例性实施例中,所述固定时间间隔为0.1纳秒。In an exemplary embodiment of the present disclosure, the fixed time interval is 0.1 nanoseconds.
在本公开的一种示例性实施例中,所述目标静电保护电路包括电源钳位电路,所述电源钳位电路的两端分别连接电源和零电位,所述获取一或多个目标静电保护电路与多个不同幅值的预设静电脉冲对应的静电保护实测数据包括:获取所述电源钳位电路与来自所述电源的多个预设静电脉冲对应的两端电压数据和泄放电流数据;获取所述电源钳位电路与来自所述零电位的多个预设静电脉冲对应的两端电压数据和泄放电流数据;其中,所述预设静电脉冲、所述两端电压数据和所述泄放电流数据均包含方向信息。In an exemplary embodiment of the present disclosure, the target electrostatic protection circuit includes a power clamp circuit, two ends of the power clamp circuit are respectively connected to the power supply and zero potential, and the acquisition of one or more target electrostatic protection circuits The actual measured electrostatic protection data of the circuit corresponding to multiple preset electrostatic pulses of different amplitudes includes: obtaining the voltage data and the discharge current data of the power supply clamp circuit corresponding to the multiple preset electrostatic pulses from the power supply. ; Acquire the voltage data and discharge current data at both ends of the power clamp circuit corresponding to multiple preset electrostatic pulses from the zero potential; wherein, the preset electrostatic pulse, the voltage data at both ends and the The above-mentioned bleeder current data all contain directional information.
在本公开的一种示例性实施例中,所述将每个所述目标静电保护电路对应的所述第一类子网表中的信息替换为与其对应的所述虚拟电路模型的信息包括:在所述后仿真网表中将所述电源钳位电路对应的所述第一子网表设置为失效;将所述电源钳位电路对应的所述虚拟电路模型设置在所述电源和所述零电位之间。In an exemplary embodiment of the present disclosure, replacing the information in the first type subnet table corresponding to each target electrostatic protection circuit with the information of the virtual circuit model corresponding thereto includes: In the post-simulation netlist, the first subnetlist corresponding to the power supply clamp circuit is set to invalid; the virtual circuit model corresponding to the power supply clamp circuit is set between the power supply and the between zero potential.
在本公开的一种示例性实施例中,所述目标静电保护电路包括引脚保护电路,所述引脚保护电路包括第一部分和第二部分,所述第一部分连接输入引脚和电源,所述第二部分连接所述输入引脚和零电位,所述获取一或多个目标静电保护电路与多个不同幅值的预设静电脉冲对应的静电保护实测数据包括:获取所述引脚保护电路与从所述输入引脚输入的第一方向的多个预设静电脉冲对应的第一部分两端电压数据、第一部分泄放电流数据、第二部分两端电压数据、第二部分泄放电流数据;获取所述引脚保护电路与从所述输入引脚输入的第二方向的多个预设静电脉冲对应的第一部分两端电压数据、第一部分泄放电流数据、第二部分两端电压数据、第二部分泄放电流数据,所述第二方向与所述第一方向相反; 其中,所述预设静电脉冲、第一部分两端电压数据、第一部分泄放电流数据、第二部分两端电压数据、第二部分泄放电流数据均包含方向信息。In an exemplary embodiment of the present disclosure, the target electrostatic protection circuit includes a pin protection circuit, the pin protection circuit includes a first part and a second part, the first part connects the input pin and the power supply, so The second part is connected to the input pin and zero potential, and obtaining the measured electrostatic protection data corresponding to one or more target electrostatic protection circuits and multiple preset electrostatic pulses of different amplitudes includes: obtaining the pin protection The circuit has a first part of voltage data across both ends, a first part of discharge current data, a second part of voltage data across both ends, and a second part of discharge current corresponding to a plurality of preset electrostatic pulses in the first direction input from the input pin. Data; obtaining the first part of the voltage data across both ends, the first part of the discharge current data, and the second part of the voltage across the pin protection circuit corresponding to a plurality of preset electrostatic pulses in the second direction input from the input pin. data, the second part of the discharge current data, the second direction is opposite to the first direction; wherein, the preset electrostatic pulse, the first part of the voltage data across both ends, the first part of the discharge current data, the second part of the two The terminal voltage data and the second part of the discharge current data both contain direction information.
在本公开的一种示例性实施例中,所述对于每个所述目标静电保护电路,根据所述静电保护实测数据建立与所述目标静电保护电路一一对应的虚拟电路模型包括:对一个所述引脚保护电路,根据所述第一部分两端电压数据建立与所述多个预设静电脉冲对应的第一部分虚拟电压源模型,根据所述第一部分泄放电流数据建立与所述多个预设静电脉冲对应的第一部分虚拟电流源模型,所述第一部分虚拟电压源模型的输出电压和所述第一部分虚拟电流源的泄放电流均根据所述预设静电脉冲的幅值和输入方向随时间变化;根据所述第二部分两端电压数据建立与所述多个预设静电脉冲对应的第二部分虚拟电压源模型,根据所述第二部分泄放电流数据建立与所述多个预设静电脉冲对应的第二部分虚拟电流源模型,所述第二部分虚拟电压源模型的输出电压和所述第二部分虚拟电流源的泄放电流均根据所述预设静电脉冲的幅值和输入方向随时间变化;根据所述第一部分虚拟电压源模型、所述第二部分虚拟电压源模型、所述第一部分虚拟电流源模型、所述第二部分虚拟电流源模型构建与所述引脚保护电路对应的虚拟电路模型,所述虚拟电路模型包括三端,第一端连接所述输入引脚,第二端连接所述电源,第三端连接所述零电位,所述虚拟电路的三端中至少一端的电压和电流在预设静电脉冲的持续时间内随时间变化。In an exemplary embodiment of the present disclosure, for each of the target electrostatic protection circuits, establishing a virtual circuit model that corresponds one-to-one to the target electrostatic protection circuit based on the measured electrostatic protection data includes: The pin protection circuit establishes a first partial virtual voltage source model corresponding to the plurality of preset electrostatic pulses based on the first partial voltage data across both ends, and establishes a first partial virtual voltage source model corresponding to the plurality of preset electrostatic pulses based on the first partial discharge current data. The first part of the virtual current source model corresponding to the preset electrostatic pulse. The output voltage of the first part of the virtual voltage source model and the discharge current of the first part of the virtual current source are both based on the amplitude and input direction of the preset electrostatic pulse. changes over time; establishing a second part of the virtual voltage source model corresponding to the plurality of preset electrostatic pulses based on the voltage data across the second part, and establishing a model corresponding to the plurality of preset electrostatic pulses based on the second part of the discharge current data. A second partial virtual current source model corresponding to the preset electrostatic pulse. The output voltage of the second partial virtual voltage source model and the discharge current of the second partial virtual current source are both based on the amplitude of the preset electrostatic pulse. and the input direction changes with time; according to the first partial virtual voltage source model, the second partial virtual voltage source model, the first partial virtual current source model, the second partial virtual current source model and the introduction A virtual circuit model corresponding to the foot protection circuit. The virtual circuit model includes three terminals. The first terminal is connected to the input pin, the second terminal is connected to the power supply, and the third terminal is connected to the zero potential. The virtual circuit The voltage and current at at least one of the three terminals vary with time during the duration of the preset electrostatic pulse.
在本公开的一种示例性实施例中,所述将每个所述目标静电保护电路对应的所述第一类子网表中的信息替换为与其对应的所述虚拟电路模型的信息包括:在所述后仿真网表中将所述引脚保护电路对应的所述第一子网表设置为失效;将所述引脚保护电路对应的所述虚拟电路模型的第一端连接待保护的输入引脚,将所述虚拟电路模型的第二端连接电源电压,将所述虚拟电路模型的第三端连接零电位。In an exemplary embodiment of the present disclosure, replacing the information in the first type subnet table corresponding to each target electrostatic protection circuit with the information of the virtual circuit model corresponding thereto includes: In the post-simulation netlist, the first subnetlist corresponding to the pin protection circuit is set to invalid; the first end of the virtual circuit model corresponding to the pin protection circuit is connected to the to-be-protected Input pin, connect the second end of the virtual circuit model to the power supply voltage, and connect the third end of the virtual circuit model to zero potential.
在本公开的一种示例性实施例中,所述基于替换后的所述后仿真网表对所述待仿真电路进行仿真包括:在仿真时,对所述待仿真电路的电源输入所述多个预设静电脉冲以获取所述待仿真电路对应的第一静电仿真数据;对所述待仿真电路的零电位输入所述多个预设静电脉冲以获取所述待仿真电路对应的第二静电仿真数据;对所述待仿真电路的每个输入引脚输入第一方向的所述多个预设静电脉冲以获取所述待仿真电路对应的第三静电仿真数据;对所述待仿真电路的所述每个输入引脚输入第二方向的所述多个预设静电脉冲以获取所述待仿真电路对应的第四静电仿真数据,所述第二方向与所述第一方向相反。In an exemplary embodiment of the present disclosure, simulating the circuit to be simulated based on the replaced post-simulation netlist includes: during simulation, inputting the multiplexed power supply to the circuit to be simulated. preset electrostatic pulses to obtain the first electrostatic simulation data corresponding to the circuit to be simulated; input the plurality of preset electrostatic pulses to the zero potential of the circuit to be simulated to obtain the second electrostatic simulation data corresponding to the circuit to be simulated Simulation data; inputting the plurality of preset electrostatic pulses in the first direction to each input pin of the circuit to be simulated to obtain third electrostatic simulation data corresponding to the circuit to be simulated; Each input pin inputs the plurality of preset electrostatic pulses in a second direction to obtain fourth electrostatic simulation data corresponding to the circuit to be simulated, and the second direction is opposite to the first direction.
在本公开的一种示例性实施例中,所述第三静电仿真数据对应的所述多个预设静电脉冲基于人体放电模型生成。In an exemplary embodiment of the present disclosure, the plurality of preset electrostatic pulses corresponding to the third electrostatic simulation data are generated based on a human body discharge model.
在本公开的一种示例性实施例中,根据所述第一静电仿真数据、所述第二静电仿真数据、所述第三静电仿真数据、所述第四静电仿真数据确定所述待仿真电路在每个输入源的每个所述预设静电脉冲下的动态电压分布图,根据所述动态电压分布图中是否存在电压超过对应预设值的点位,确定所述待仿真电路的静电防护能力是否达到设计要求。In an exemplary embodiment of the present disclosure, the circuit to be simulated is determined based on the first electrostatic simulation data, the second electrostatic simulation data, the third electrostatic simulation data, and the fourth electrostatic simulation data. Dynamic voltage distribution diagram under each preset electrostatic pulse of each input source. According to whether there is a point in the dynamic voltage distribution diagram where the voltage exceeds the corresponding preset value, the electrostatic protection of the circuit to be simulated is determined. Whether the capability meets the design requirements.
根据本公开实施例的第二方面,提供一种电子设备,包括:存储器;以及耦合到所述 存储器的处理器,所述处理器被配置为基于存储在所述存储器中的指令,执行如上述任意一项所述的方法。According to a second aspect of an embodiment of the present disclosure, an electronic device is provided, including: a memory; and a processor coupled to the memory, the processor being configured to perform, based on instructions stored in the memory, the above any of the methods described.
本公开实施例通过测试不同幅值的多个预设静电脉冲下ESD器件的两端电压随时间变化数据、泄放电流随时间变化数据,进而将一个ESD器件等效为并联的随时间变化的电压源和电流源,能够克服仿真软件无法对ESD器件的回折特性进行仿真的问题,进而实现对ESD器件的电学特性的准确电路仿真。Embodiments of the present disclosure test the time-varying data of the voltage at both ends of the ESD device and the time-varying data of the discharge current under multiple preset electrostatic pulses of different amplitudes, thereby equating an ESD device to a parallel time-varying device. Voltage sources and current sources can overcome the problem that simulation software cannot simulate the foldback characteristics of ESD devices, thereby achieving accurate circuit simulation of the electrical characteristics of ESD devices.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and do not limit the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1是本公开示例性实施例中电路仿真方法的流程图。FIG. 1 is a flowchart of a circuit simulation method in an exemplary embodiment of the present disclosure.
图2是本公开实施例中目标静电保护电路的示意图。FIG. 2 is a schematic diagram of a target electrostatic protection circuit in an embodiment of the present disclosure.
图3是本公开一个实施例中TLP脉冲的示意图。Figure 3 is a schematic diagram of a TLP pulse in one embodiment of the present disclosure.
图4是ESD器件的电流-电压曲线示意图。Figure 4 is a schematic diagram of the current-voltage curve of the ESD device.
图5是本公开一个实施例中虚拟电路模型的示意图。Figure 5 is a schematic diagram of a virtual circuit model in an embodiment of the present disclosure.
图6是引脚保护电路22对应的虚拟电路模型的示意图。FIG. 6 is a schematic diagram of a virtual circuit model corresponding to the pin protection circuit 22 .
图7是待仿真电路的后仿真网表的处理示意图。Figure 7 is a schematic diagram of the processing of the post-simulation netlist of the circuit to be simulated.
图8是本公开一个实施例中步骤S5的子流程图。Figure 8 is a sub-flow chart of step S5 in an embodiment of the present disclosure.
图9是本公开示例性实施例中一种电子设备的方框图。FIG. 9 is a block diagram of an electronic device in an exemplary embodiment of the present disclosure.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本公开的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本公开的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concepts of the example embodiments. To those skilled in the art. The described features, structures or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details being omitted, or other methods, components, devices, steps, etc. may be adopted. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the disclosure.
此外,附图仅为本公开的示意性图解,图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理 或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。In addition, the drawings are only schematic illustrations of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and/or processor devices and/or microcontroller devices.
下面结合附图对本公开示例实施方式进行详细说明。Example embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
图1是本公开示例性实施例中电路仿真方法的流程图。FIG. 1 is a flowchart of a circuit simulation method in an exemplary embodiment of the present disclosure.
参考图1,电路仿真方法100可以包括:Referring to FIG. 1 , circuit simulation method 100 may include:
步骤S1,获取一或多个目标静电保护电路与多个不同幅值的预设静电脉冲对应的静电保护实测数据,所述静电保护实测数据包括所述目标静电保护电路在所述预设静电脉冲激励下随时间变化的电压数据和随时间变化的泄放电流数据;Step S1: Obtain actual measured electrostatic protection data corresponding to one or more target electrostatic protection circuits and multiple preset electrostatic pulses of different amplitudes. The actual measured electrostatic protection data includes the target electrostatic protection circuit when the preset electrostatic pulses are present. Time-varying voltage data and time-varying discharge current data under excitation;
步骤S2,对于每个所述目标静电保护电路,根据所述静电保护实测数据建立与所述目标静电保护电路一一对应的虚拟电路模型;Step S2: For each target electrostatic protection circuit, establish a virtual circuit model corresponding to the target electrostatic protection circuit one-to-one according to the measured electrostatic protection data;
步骤S3,获取待仿真电路的后仿真网表,所述待仿真电路包括所述一或多个目标静电保护电路,所述后仿真网表包括所述一或多个目标静电保护电路对应的一或多个第一类子网表;Step S3: Obtain a post-simulation netlist of the circuit to be simulated. The circuit to be simulated includes the one or more target electrostatic protection circuits. The post-simulation netlist includes a network corresponding to the one or more target electrostatic protection circuits. or multiple first-class subnet tables;
步骤S4,将每个所述目标静电保护电路对应的所述第一类子网表中的信息替换为与其对应的所述虚拟电路模型的信息;Step S4: Replace the information in the first type subnet table corresponding to each target electrostatic protection circuit with the information of the corresponding virtual circuit model;
步骤S5,基于替换后的所述后仿真网表对所述待仿真电路进行仿真。Step S5: Simulate the circuit to be simulated based on the replaced post-simulation netlist.
本公开实施例通过测试不同幅值的多个预设静电脉冲下ESD器件的两端电压随时间变化数据、泄放电流随时间变化数据,进而将一个ESD器件等效为并联的随时间变化的电压源和电流源,能够克服仿真软件无法对ESD器件的回折特性进行仿真的问题,进而实现对ESD器件的电学特性的准确电路仿真。Embodiments of the present disclosure test the time-varying data of the voltage at both ends of the ESD device and the time-varying data of the discharge current under multiple preset electrostatic pulses of different amplitudes, thereby equating an ESD device to a parallel time-varying device. Voltage sources and current sources can overcome the problem that simulation software cannot simulate the foldback characteristics of ESD devices, thereby achieving accurate circuit simulation of the electrical characteristics of ESD devices.
下面,对电路仿真方法100的各步骤进行详细说明。Next, each step of the circuit simulation method 100 is described in detail.
在步骤S1,获取一或多个目标静电保护电路与多个不同幅值的预设静电脉冲对应的静电保护实测数据,所述静电保护实测数据包括所述目标静电保护电路在所述预设静电脉冲激励下随时间变化的电压数据和随时间变化的泄放电流数据。In step S1, actual measured electrostatic protection data corresponding to one or more target electrostatic protection circuits and a plurality of preset electrostatic pulses with different amplitudes are obtained. The actual measured electrostatic protection data includes the target electrostatic protection circuit when the preset electrostatic pulses are generated. Time-varying voltage data and time-varying discharge current data under pulse excitation.
目标静电保护电路例如可以包括电源钳位电路(Power Clamp)和引脚保护电路。The target electrostatic protection circuit may include, for example, a power clamp circuit (Power Clamp) and a pin protection circuit.
图2是本公开实施例中目标静电保护电路的示意图。FIG. 2 is a schematic diagram of a target electrostatic protection circuit in an embodiment of the present disclosure.
参考图2,电源钳位电路21连接在电源电压VDD和零电位VSS之间,用于受到来自VDD或VSS的静电脉冲触发时,自动导通以泄放静电电荷。引脚保护电路22连接在电源电压VDD、零电位VSS、输入引脚IO之间,引脚保护电路22包括第一部分221和第二部分222,第一部分221连接输入引脚IO和电源VDD,第二部分222连接输入引脚IO和零电位VSS,引脚保护电路22用于在受到来自输入引脚IO、电源VDD、零电位VSS的静电脉冲触发时,导通以泄放静电电压,保护输入引脚IO。其中,输入引脚IO连接芯片内部电路,例如输出驱动器(Output Driver)或者输入缓冲器(Input Buffer),在图2中简略示出。由于电源钳位电路21和引脚保护电路22均为芯片中常用电路,于此不 再详述其内部结构。本公开实施例的方法可以应用于任意结构的电源钳位电路21和引脚保护电路22。为了描述简洁,目标静电保护电路在后文也被称为ESD器件。Referring to FIG. 2 , the power clamp circuit 21 is connected between the power supply voltage VDD and the zero potential VSS, and is used to automatically turn on to discharge the electrostatic charge when triggered by an electrostatic pulse from VDD or VSS. The pin protection circuit 22 is connected between the power supply voltage VDD, zero potential VSS, and the input pin IO. The pin protection circuit 22 includes a first part 221 and a second part 222. The first part 221 is connected to the input pin IO and the power supply VDD. The second part 222 is connected to the input pin IO and the zero-potential VSS. The pin protection circuit 22 is used to conduct to discharge the electrostatic voltage and protect the input when triggered by an electrostatic pulse from the input pin IO, the power supply VDD, and the zero-potential VSS. Pin IO. Among them, the input pin IO is connected to the internal circuit of the chip, such as the output driver (Output Driver) or the input buffer (Input Buffer), which is briefly shown in Figure 2. Since the power clamp circuit 21 and the pin protection circuit 22 are commonly used circuits in chips, their internal structures will not be described in detail here. The method of the embodiment of the present disclosure can be applied to the power supply clamp circuit 21 and the pin protection circuit 22 of any structure. For simplicity of description, the target electrostatic protection circuit is also referred to as an ESD device in the following text.
在本公开实施例中,不同幅值的预设静电脉冲例如可以为TLP(Transmission Line Pulse,传输线脉冲)。TLP是一种静电模拟方波,包括一组幅值渐次递增的方波,通过调节上升沿和脉冲宽度,间接地模拟一些静电脉冲形式的损伤能力和不同上升沿对ESD器件的触发能力。由于使用了方波,TLP可以通过每次施加一个脉冲,获得一个I-V(电流-电压)点的方式,一直对ESD器件施加不同幅值的电流直到ESD器件失效为止,获得ESD器件对静电脉冲进行响应的完整的I-V曲线。In the embodiment of the present disclosure, the preset electrostatic pulses with different amplitudes may be, for example, TLP (Transmission Line Pulse). TLP is an electrostatic simulation square wave, which includes a set of square waves with gradually increasing amplitude. By adjusting the rising edge and pulse width, it indirectly simulates the damage ability of some electrostatic pulse forms and the triggering ability of ESD devices by different rising edges. Due to the use of square waves, TLP can obtain an I-V (current-voltage) point by applying one pulse each time, and continuously apply currents of different amplitudes to the ESD device until the ESD device fails, and obtain the ESD device's response to electrostatic pulses. The complete I-V curve of the response.
图3是本公开一个实施例中TLP脉冲的示意图。Figure 3 is a schematic diagram of a TLP pulse in one embodiment of the present disclosure.
参考图3,多个TLP脉冲300的宽度相等,幅值随时间递增,每个TLP脉冲均持续T时长,T为预设值,可以根据测试环境设置。Referring to Figure 3, the widths of multiple TLP pulses 300 are equal, and the amplitude increases with time. Each TLP pulse lasts for T duration, and T is a preset value that can be set according to the test environment.
图4是ESD器件的电流-电压曲线示意图。Figure 4 is a schematic diagram of the current-voltage curve of the ESD device.
图4所示曲线是在不同的TLP测试脉冲下,在TLP脉冲持续时长为t时测得的ESD器件(例如两端分别连接电源和地的电压钳位器件)的输入端和输出端之间的电压与ESD器件的泄放电流的对应关系。在TLP脉冲的持续时长为T时,t的值在70%T~80%T之间。The curve shown in Figure 4 is between the input end and the output end of an ESD device (such as a voltage clamp device with both ends connected to power and ground respectively) measured under different TLP test pulses when the TLP pulse duration is t. The corresponding relationship between the voltage and the discharge current of the ESD device. When the duration of the TLP pulse is T, the value of t is between 70%T and 80%T.
参考图4,ESD器件的I-V曲线的横轴为在每个TLP脉冲下在上述t时间点测得的ESD器件的输入端和输出端之间的电压(该电压在后续称为测试电压),纵轴为在每个TLP脉冲下在t时间点测得的ESD器件的泄放电流(也称导通电流)。Referring to Figure 4, the horizontal axis of the I-V curve of the ESD device is the voltage between the input terminal and the output terminal of the ESD device measured at the above t time point under each TLP pulse (this voltage is later referred to as the test voltage), The vertical axis is the discharge current (also called on-current) of the ESD device measured at time point t under each TLP pulse.
ESD器件的I-V曲线20上的每个点对应一个测试电压值V和一个泄放电流值I,曲线20按照ESD器件的四个状态可以分为A、B、C、D四个阶段。Each point on the I-V curve 20 of the ESD device corresponds to a test voltage value V and a discharge current value I. The curve 20 can be divided into four stages: A, B, C, and D according to the four states of the ESD device.
阶段A,在ESD器件的两端电压V(即测试电压)达到该ESD器件的触发电压Vt1之前,ESD器件不泄放,泄放电流I较低。阶段A也称为未触发阶段。In stage A, before the voltage V across the ESD device (i.e., the test voltage) reaches the trigger voltage Vt1 of the ESD device, the ESD device does not discharge and the discharge current I is low. Phase A is also called the untriggered phase.
阶段B,在ESD器件的两端电压V达到该ESD器件的触发电压Vt1之后、达到维持电压Vh之前,ESD器件泄放,泄放电流I上升,ESD器件的两端电压V下降。阶段B也称为触发阶段。In stage B, after the voltage V across the ESD device reaches the trigger voltage Vt1 of the ESD device and before reaching the sustaining voltage Vh, the ESD device discharges, the discharge current I rises, and the voltage V across the ESD device drops. Phase B is also called the trigger phase.
阶段C,在ESD器件的两端电压V达到该ESD器件的维持电压Vh之后、达到失效电压Vt2之前,ESD器件泄放且泄放电流I和两端电压V同时上升。阶段C也称为维持阶段。In stage C, after the voltage V across the ESD device reaches the sustaining voltage Vh of the ESD device and before reaching the failure voltage Vt2, the ESD device discharges and the discharge current I and the voltage V across the ESD device rise simultaneously. Phase C is also called the maintenance phase.
阶段D,在ESD器件的两端电压V达到该ESD器件的失效电压Vt2之后,ESD器件被击穿,泄放电流I突然增大。阶段D也称为失效阶段。In stage D, after the voltage V across the ESD device reaches the failure voltage Vt2 of the ESD device, the ESD device is broken down and the discharge current I suddenly increases. Phase D is also called the failure phase.
对目标静电保护电路(ESD器件)输入多个TLP测试脉冲的输入端口,可以根据目标静电保护电路的种类和连接方式来确定。当目标静电保护电路为电源钳位电路21,即连接在电源(VDD)和零点位(VSS)之间,起到电压钳位功能(clamp)时,可以对电源(VDD)分别输入该多个TLP测试脉冲;当目标静电保护电路为引脚保护电路22,即连接在IO(input/output,输入/输出)引脚上,起到对IO引脚进行静电保护的作用时, 可以对IO引脚输入该多个TLP测试脉冲。The input port for inputting multiple TLP test pulses to the target electrostatic protection circuit (ESD device) can be determined according to the type and connection method of the target electrostatic protection circuit. When the target electrostatic protection circuit is the power supply clamp circuit 21, that is, it is connected between the power supply (VDD) and the zero point (VSS) to perform a voltage clamping function (clamp), the multiple inputs can be input to the power supply (VDD) respectively. TLP test pulse; when the target electrostatic protection circuit is the pin protection circuit 22, that is, it is connected to the IO (input/output, input/output) pin and plays the role of electrostatic protection for the IO pin, the IO pin can be pin to input the multiple TLP test pulses.
由图4可以看出,对于ESD器件,其在泄放过程中一个电压可以对应两个电流,不符合仿真软件(例如传统的BSIM SPICE模型)对待仿真器件的线性I-V特性的要求,ESD器件无法实现仿真。As can be seen from Figure 4, for ESD devices, one voltage can correspond to two currents during the discharge process, which does not meet the requirements of simulation software (such as the traditional BSIM SPICE model) for the linear I-V characteristics of simulated devices. ESD devices cannot Implement simulation.
图4曲线20中的每个点对应一个在TLP脉冲的t时间点测得的ESD器件的输入端和输出端之间的电压,但是在ESD器件的实际应用过程中,在TLP脉冲的持续时间T内,ESD器件的输入端和输出端之间的电压是在不断变化的,泄放电流也不断变化。Each point in the curve 20 in Figure 4 corresponds to a voltage between the input terminal and the output terminal of the ESD device measured at time point t of the TLP pulse, but in the actual application of the ESD device, during the duration of the TLP pulse Within T, the voltage between the input terminal and the output terminal of the ESD device is constantly changing, and the discharge current is also constantly changing.
因此,在使用图3所示的TLP脉冲300对ESD器件进行测试时,可以在每个TLP脉冲300的持续时间T内,向ESD器件提供预设静电脉冲进行激励,并以固定时间间隔在预设静电脉冲的持续时间内采样ESD器件输入端和输出端之间的电压值和泄放电流值,记录电压值和泄放电流值与采样时间和预设静电脉冲的幅值之间的对应关系。该固定时间间隔为0.1ns。Therefore, when the TLP pulse 300 shown in FIG. 3 is used to test the ESD device, a preset electrostatic pulse can be provided to the ESD device for excitation within the duration T of each TLP pulse 300, and the preset electrostatic pulse can be excited at a fixed time interval. It is assumed that the voltage value and discharge current value between the input and output ends of the ESD device are sampled during the duration of the electrostatic pulse, and the corresponding relationship between the voltage value and discharge current value, the sampling time and the amplitude of the preset electrostatic pulse are recorded. . This fixed time interval is 0.1ns.
表1是在一个幅值为Vs的TLP脉冲的持续时间T内,按照0.1ns的时间间隔采样得到的ESD器件的输入端和输出端之间的电压V、ESD器件的泄放电流I的数据对应关系。第一列为采样时TLP脉冲的已持续时长。Table 1 shows the data of the voltage V between the input terminal and the output terminal of the ESD device and the discharge current I of the ESD device sampled at a time interval of 0.1ns during the duration T of a TLP pulse with an amplitude of Vs. Correspondence. The first column is the duration of the TLP pulse at the time of sampling.
t(ns)t(ns) V(t)(V)V(t)(V) I(t)(mA)I(t)(mA) t(ns)t(ns) V(t)(V)V(t)(V) I(t)(mA)I(t)(mA)
1.001.00 00 00 3.103.10 2.462.46 0.180.18
1.101.10 0.850.85 00 3.203.20 2.62.6 0.230.23
1.201.20 0.890.89 00 3.303.30 2.62.6 0.280.28
1.301.30 1.231.23 0.010.01 3.403.40 2.742.74 0.320.32
1.401.40 1.381.38 0.010.01 3.503.50 2.52.5 0.420.42
1.501.50 1.651.65 0.020.02 3.603.60 2.832.83 0.510.51
1.601.60 2.042.04 0.010.01 3.703.70 2.912.91 0.60.6
1.701.70 1.721.72 0.030.03 3.803.80 3.053.05 0.690.69
1.801.80 1.921.92 0.040.04 3.903.90 2.962.96 0.790.79
1.901.90 1.911.91 0.050.05 4.004.00 3.233.23 0.880.88
2.002.00 22 0.050.05 4.104.10 3.063.06 0.980.98
2.102.10 1.811.81 0.060.06 4.204.20 3.223.22 1.071.07
2.202.20 2.142.14 0.070.07 4.304.30 3.573.57 1.161.16
2.302.30 2.232.23 0.080.08 4.404.40 3.373.37 1.261.26
2.402.40 2.322.32 0.080.08 4.504.50 3.443.44 1.351.35
2.502.50 2.42.4 0.090.09 4.604.60 44 1.431.43
2.602.60 2.312.31 0.10.1 4.704.70 3.723.72 1.551.55
2.702.70 2.42.4 0.110.11 4.804.80 4.064.06 1.631.63
2.802.80 2.382.38 0.120.12 4.904.90 4.444.44 1.731.73
2.902.90 2.352.35 0.130.13 5.005.00 4.44.4 1.811.81
3.003.00 2.42.4 0.140.14      
由表1可知,随着TLP脉冲的已持续时长延长,电压V和电流I均非线性地呈增大 趋势。It can be seen from Table 1 that as the duration of the TLP pulse increases, both the voltage V and the current I show a non-linear increasing trend.
此外,由于静电脉冲可以具有不同来源,在步骤S1,可以根据目标静电保护电路的种类针对不同来源的TLP脉冲进行测试。In addition, since electrostatic pulses can have different sources, in step S1, tests can be performed on TLP pulses from different sources according to the type of the target electrostatic protection circuit.
当目标静电保护电路为电源钳位电路21时,可以获取电源钳位电路21与来自电源VDD的多个预设静电脉冲对应的两端电压数据和泄放电流数据,然后获取电源钳位电路21与来自零电位VSS的多个预设静电脉冲对应的两端电压数据V和泄放电流数据I,其中,预设静电脉冲、两端电压数据和泄放电流数据均包含方向信息。When the target electrostatic protection circuit is the power supply clamp circuit 21, the voltage data and discharge current data at both ends corresponding to the power supply clamp circuit 21 and multiple preset electrostatic pulses from the power supply VDD can be obtained, and then the power supply clamp circuit 21 can be obtained Voltage data V across both ends and discharge current data I corresponding to multiple preset electrostatic pulses from zero potential VSS, where the preset electrostatic pulses, voltage data across both ends and discharge current data all include direction information.
当目标静电保护电路为引脚保护电路22时,可以获取引脚保护电路与从输入引脚IO输入的第一方向的多个预设静电脉冲对应的第一部分两端电压数据、第一部分泄放电流数据、第二部分两端电压数据、第二部分泄放电流数据,然后获取引脚保护电路22与从输入引脚IO输入的第二方向的多个预设静电脉冲对应的第一部分两端电压数据、第一部分泄放电流数据、第二部分两端电压数据、第二部分泄放电流数据,第二方向与第一方向相反。其中,预设静电脉冲、第一部分两端电压数据、第一部分泄放电流数据、第二部分两端电压数据、第二部分泄放电流数据均包含方向信息。When the target electrostatic protection circuit is the pin protection circuit 22, the first part of the voltage data across both ends of the pin protection circuit and the first part of the discharge corresponding to the plurality of preset electrostatic pulses in the first direction input from the input pin IO can be obtained. Current data, voltage data across the second part, discharge current data of the second part, and then obtain both ends of the first part of the pin protection circuit 22 corresponding to a plurality of preset electrostatic pulses in the second direction input from the input pin IO The voltage data, the first part of the discharge current data, the second part of the voltage data at both ends, the second part of the discharge current data, the second direction is opposite to the first direction. Among them, the preset electrostatic pulse, the first part of voltage data across both ends, the first part of discharge current data, the second part of voltage data across both ends, and the second part of discharge current data all include direction information.
在步骤S2,对于每个所述目标静电保护电路,根据所述静电保护实测数据建立与所述目标静电保护电路一一对应的虚拟电路模型。In step S2, for each target electrostatic protection circuit, a virtual circuit model corresponding one-to-one to the target electrostatic protection circuit is established based on the measured electrostatic protection data.
在本公开实施例中,可以根据预设静电脉冲的幅值(TLP脉冲的幅值)、采样时间及其对应的电压值和泄放电流值将虚拟电路模型配置为在预设静电脉冲下随时间变化输出可变电压值和可变电流值。In embodiments of the present disclosure, the virtual circuit model can be configured to operate under the preset electrostatic pulse according to the amplitude of the preset electrostatic pulse (the amplitude of the TLP pulse), the sampling time and its corresponding voltage value and discharge current value. The time changes output variable voltage value and variable current value.
图5是本公开一个实施例中虚拟电路模型的示意图。Figure 5 is a schematic diagram of a virtual circuit model in an embodiment of the present disclosure.
参考图5,在一个实施例中,目标静电保护电路即ESD器件的虚拟电路模型500可以包括可变电压源Vs-V(t)和可变电流源Vs-I(t),可变电流源Vs-V(t)与可变电压源Vs-I(t)并联。其中,Vs是静电脉冲的幅值。在图5所示实施例中,为了避免虚拟电路模型将仿真电路短路,可以将可变电压源Vs-V(t)的内阻设置为无穷大。Referring to FIG. 5 , in one embodiment, the virtual circuit model 500 of the target electrostatic protection circuit, that is, the ESD device, may include a variable voltage source Vs-V(t) and a variable current source Vs-I(t). The variable current source Vs-V(t) is connected in parallel with the variable voltage source Vs-I(t). Among them, Vs is the amplitude of the electrostatic pulse. In the embodiment shown in Figure 5, in order to prevent the virtual circuit model from short-circuiting the simulation circuit, the internal resistance of the variable voltage source Vs-V(t) can be set to infinity.
当可变电压源Vs-V(t)某一端的外部电压(即对应的ESD器件的输入端和输出端之间的电压)为Vs时,可变电压源Vs-V(t)的输出电压均按照Vs对应的静电保护实测数据形成随时间变化的V(t),可变电流源Vs-I(t)的输出电流按照Vs对应的静电保护实测数据形成随时间变化的I(t)。当外部电压Vs发生变动时,可变电压源Vs-V(t)自动根据当前外部电压Vs及该外部电压Vs的持续时长自动调节输出电压,可变电流源Vs-I(t)自动根据当前外部电压Vs及该外部电压Vs的持续时长自动调节输出电流。When the external voltage at one end of the variable voltage source Vs-V(t) (that is, the voltage between the input terminal and the output terminal of the corresponding ESD device) is Vs, the output voltage of the variable voltage source Vs-V(t) The output current of the variable current source Vs-I(t) forms I(t) that changes with time according to the measured electrostatic protection data corresponding to Vs. When the external voltage Vs changes, the variable voltage source Vs-V(t) automatically adjusts the output voltage according to the current external voltage Vs and the duration of the external voltage Vs. The variable current source Vs-I(t) automatically adjusts the output voltage according to the current external voltage Vs. The external voltage Vs and the duration of the external voltage Vs automatically adjust the output current.
表2是对幅值为Vs的外部电压,可变电压源Vs-V(t)随Vs的持续时长变化的数据示意。Table 2 is a data representation of the change of the variable voltage source Vs-V(t) with the duration of Vs for an external voltage with an amplitude Vs.
表2:Table 2:
t(ns)t(ns) V(t)(V)V(t)(V) t(ns)t(ns) V(t)(V)V(t)(V)
1.001.00 00 3.103.10 2.462.46
1.101.10 0.850.85 3.203.20 2.62.6
1.201.20 0.890.89 3.303.30 2.62.6
1.301.30 1.231.23 3.403.40 2.742.74
1.401.40 1.381.38 3.503.50 2.52.5
1.501.50 1.651.65 3.603.60 2.832.83
1.601.60 2.042.04 3.703.70 2.912.91
1.701.70 1.721.72 3.803.80 3.053.05
1.801.80 1.921.92 3.903.90 2.962.96
1.901.90 1.911.91 4.004.00 3.233.23
2.002.00 22 4.104.10 3.063.06
2.102.10 1.811.81 4.204.20 3.223.22
2.202.20 2.142.14 4.304.30 3.573.57
2.302.30 2.232.23 4.404.40 3.373.37
2.402.40 2.322.32 4.504.50 3.443.44
2.502.50 2.42.4 4.604.60 44
2.602.60 2.312.31 4.704.70 3.723.72
2.702.70 2.42.4 4.804.80 4.064.06
2.802.80 2.382.38 4.904.90 4.444.44
2.902.90 2.352.35 5.005.00 4.44.4
3.003.00 2.42.4    
表3是对幅值为Vs的外部电压,可变电流源Vs-I(t)随Vs的持续时长变化的数据示意。Table 3 is a data representation of the change of the variable current source Vs-I(t) with the duration of Vs for an external voltage with an amplitude Vs.
表3:table 3:
t(ns)t(ns) I(t)(mA)I(t)(mA) t(ns)t(ns) I(t)(mA)I(t)(mA)
1.001.00 00 3.103.10 0.180.18
1.101.10 00 3.203.20 0.230.23
1.201.20 00 3.303.30 0.280.28
1.301.30 0.010.01 3.403.40 0.320.32
1.401.40 0.010.01 3.503.50 0.420.42
1.501.50 0.020.02 3.603.60 0.510.51
1.601.60 0.010.01 3.703.70 0.60.6
1.701.70 0.030.03 3.803.80 0.690.69
1.801.80 0.040.04 3.903.90 0.790.79
1.901.90 0.050.05 4.004.00 0.880.88
2.002.00 0.050.05 4.104.10 0.980.98
2.102.10 0.060.06 4.204.20 1.071.07
2.202.20 0.070.07 4.304.30 1.161.16
2.302.30 0.080.08 4.404.40 1.261.26
2.402.40 0.080.08 4.504.50 1.351.35
2.502.50 0.090.09 4.604.60 1.431.43
2.602.60 0.10.1 4.704.70 1.551.55
2.702.70 0.110.11 4.804.80 1.631.63
2.802.80 0.120.12 4.904.90 1.731.73
2.902.90 0.130.13 5.005.00 1.811.81
3.003.00 0.140.14    
对于一个电源钳位电路21,可以直接根据该电源钳位电路21连接的电源VDD和零电位VSS的电压变动与该电源钳位电路21的静电保护实测数据建立并联的可变电流源Vs-V(t)与可变电压源Vs-I(t),需要注意的是,由于TLP测试脉冲的输入来源不同,电源钳位电路21的可变电流源Vs-V(t)与可变电压源Vs-I(t)对外部电压Vs的判断结果和输出的电流/电压均具有方向信息,即在同一个外部电压Vs下,随着静电脉冲的来源不同,可变电流源Vs-V(t)与可变电压源Vs-I(t)可能呈现不同的变化,该变化可以根据步骤S1的静电保护实测数据确定。For a power supply clamp circuit 21, a parallel variable current source Vs-V can be established directly based on the voltage changes of the power supply VDD and zero potential VSS connected to the power supply clamp circuit 21 and the electrostatic protection measured data of the power supply clamp circuit 21. (t) and the variable voltage source Vs-I(t). It should be noted that due to the different input sources of the TLP test pulses, the variable current source Vs-V(t) of the power supply clamp circuit 21 is different from the variable voltage source. The judgment result of Vs-I(t) on the external voltage Vs and the output current/voltage all have direction information, that is, under the same external voltage Vs, with different sources of electrostatic pulses, the variable current source Vs-V(t ) and the variable voltage source Vs-I(t) may show different changes, which changes can be determined based on the electrostatic protection measured data in step S1.
对一个引脚保护电路22,由于其分为第一部分221和第二部分222,第一部分221和第二部分222对来源不同的静电脉冲的反应不同,因此,在建立虚拟电路模型时,需要考虑到第一部分221和第二部分222对同一个静电脉冲(例如来自输入引脚IO的TLP测试脉冲)的电压变化和电流变化。For a pin protection circuit 22, since it is divided into a first part 221 and a second part 222, the first part 221 and the second part 222 react differently to electrostatic pulses from different sources. Therefore, when establishing a virtual circuit model, it is necessary to consider Voltage changes and current changes to first part 221 and second part 222 for the same electrostatic pulse (eg, a TLP test pulse from input pin IO).
在一个实施例中,可以根据在步骤S1的测试过程中得到的引脚保护电路22的第一部分两端电压数据建立与多个预设静电脉冲对应的第一部分虚拟电压源模型Vs-V1(t),根据第一部分泄放电流数据建立与多个预设静电脉冲对应的第一部分虚拟电流源模型Vs-I1(t),第一部分虚拟电压源模型Vs-V1(t)的输出电压V1和第一部分虚拟电流源Vs-I1(t)的泄放电流I1均根据预设静电脉冲的幅值和输入方向随时间变化。In one embodiment, the first part of the virtual voltage source model Vs-V1(t corresponding to the plurality of preset electrostatic pulses can be established based on the first part of the voltage data across the pin protection circuit 22 obtained during the test process of step S1 ), based on the first part of the discharge current data, the first part of the virtual current source model Vs-I1(t) corresponding to the plurality of preset electrostatic pulses is established. The output voltage V1 of the first part of the virtual voltage source model Vs-V1(t) and the The discharge current I1 of a part of the virtual current source Vs-I1(t) changes with time according to the amplitude and input direction of the preset electrostatic pulse.
然后,根据在步骤S1的测试过程中得到的引脚保护电路22的第二部分两端电压数据建立与多个预设静电脉冲对应的第二部分虚拟电压源模型Vs-V2(t),根据第二部分泄放电流数据建立与多个预设静电脉冲对应的第二部分虚拟电流源模型Vs-I2(t),第二部分虚拟电压源模型的输出电压和第二部分虚拟电流源的泄放电流均根据预设静电脉冲的幅值和输入方向随时间变化。Then, a second part of the virtual voltage source model Vs-V2(t) corresponding to the plurality of preset electrostatic pulses is established based on the voltage data across the second part of the pin protection circuit 22 obtained during the test process of step S1. According to The second part of the discharge current data establishes the second part of the virtual current source model Vs-I2(t) corresponding to multiple preset electrostatic pulses, the output voltage of the second part of the virtual voltage source model and the discharge of the second part of the virtual current source. The discharge current changes with time according to the amplitude and input direction of the preset electrostatic pulse.
最后,根据第一部分虚拟电压源模型Vs-V1(t)、第二部分虚拟电压源模型Vs-V2(t)、第一部分虚拟电流源模型Vs-I1(t)、第二部分虚拟电流源模型Vs-I2(t)构建与引脚保护电路对应的虚拟电路模型。Finally, according to the first part of the virtual voltage source model Vs-V1(t), the second part of the virtual voltage source model Vs-V2(t), the first part of the virtual current source model Vs-I1(t), the second part of the virtual current source model Vs-I2(t) constructs a virtual circuit model corresponding to the pin protection circuit.
图6是引脚保护电路22对应的虚拟电路模型的示意图。FIG. 6 is a schematic diagram of a virtual circuit model corresponding to the pin protection circuit 22 .
参考图6,引脚保护电路22的虚拟电路模型600包括三端,第一端连接输入引脚IO,第二端连接电源VDD,第三端连接零电位VSS,虚拟电路600的三端中至少一端的电压和电流在预设静电脉冲的持续时间内随时间变化。Referring to Figure 6, the virtual circuit model 600 of the pin protection circuit 22 includes three terminals, the first terminal is connected to the input pin IO, the second terminal is connected to the power supply VDD, and the third terminal is connected to the zero potential VSS. At least one of the three terminals of the virtual circuit 600 The voltage and current at one end vary with time for the duration of a preset electrostatic pulse.
与电源钳位电路21的虚拟电路模块类似,引脚保护电路22的虚拟电路模块600中的第一部分虚拟电压源模型Vs-V1(t)、第二部分虚拟电压源模型Vs-V2(t)、第一部分虚拟电流源模型Vs-I1(t)、第二部分虚拟电流源模型Vs-I2(t)均具有方向信息,即在同 一个外部电压Vs下,随着静电脉冲的来源不同,第一部分虚拟电压源模型Vs-V1(t)、第二部分虚拟电压源模型Vs-V2(t)、第一部分虚拟电流源模型Vs-I1(t)、第二部分虚拟电流源模型Vs-I2(t)输出的电压/电流呈现不同的方向变化或者值变化,这些变化可以根据步骤S1的静电保护实测数据确定。Similar to the virtual circuit module of the power clamp circuit 21 , the first part of the virtual voltage source model Vs-V1(t) and the second part of the virtual voltage source model Vs-V2(t) in the virtual circuit module 600 of the pin protection circuit 22 , the first part of the virtual current source model Vs-I1(t), and the second part of the virtual current source model Vs-I2(t) both have direction information, that is, under the same external voltage Vs, with different sources of electrostatic pulses, the Part of the virtual voltage source model Vs-V1(t), the second part of the virtual voltage source model Vs-V2(t), the first part of the virtual current source model Vs-I1(t), the second part of the virtual current source model Vs-I2( t) The output voltage/current shows different direction changes or value changes, and these changes can be determined based on the electrostatic protection measured data in step S1.
在步骤S2建立目标静电保护电路的虚拟电路模型后,可以对包含目标静电保护电路的待仿真电路的数据进行处理。首先,可以在步骤S3,获取待仿真电路的后仿真网表,待仿真电路包括一或多个目标静电保护电路,后仿真网表包括一或多个目标静电保护电路对应的一或多个第一类子网表。然后,在步骤S4,将每个目标静电保护电路对应的第一类子网表中的信息替换为与其对应的虚拟电路模型的信息。After establishing the virtual circuit model of the target electrostatic protection circuit in step S2, the data of the circuit to be simulated including the target electrostatic protection circuit can be processed. First, in step S3, a post-simulation netlist of the circuit to be simulated may be obtained. The circuit to be simulated includes one or more target electrostatic protection circuits. The post-simulation netlist includes one or more third netlists corresponding to the one or more target electrostatic protection circuits. A class of subnet tables. Then, in step S4, the information in the first type subnet table corresponding to each target electrostatic protection circuit is replaced with the information of its corresponding virtual circuit model.
图7是待仿真电路的后仿真网表的处理示意图。Figure 7 is a schematic diagram of the post-simulation netlist processing of the circuit to be simulated.
参考图7,在后仿真网表700中,包括多个目标静电保护电路71,多个目标静电保护电路71可以为电源钳位电路,也可以为引脚保护电路。每个目标静电保护电路71均对应一个第一类子网表。后仿真网表700中还可以包括其他电路模块,例如电路模块1、电路模块2……,每个电路模块均对应一个第一类子网表。即,后仿真网表700包括待仿真电路中所有元件对应的第一类子网表。第一类子网表例如为根据SPICE模型生成的网表。Referring to FIG. 7 , the post-simulation netlist 700 includes multiple target electrostatic protection circuits 71 . The multiple target electrostatic protection circuits 71 may be power supply clamp circuits or pin protection circuits. Each target electrostatic protection circuit 71 corresponds to a first-type subnet table. The post-simulation netlist 700 may also include other circuit modules, such as circuit module 1, circuit module 2..., and each circuit module corresponds to a first-type subnet list. That is, the post-simulation netlist 700 includes the first type sub-netlist corresponding to all components in the circuit to be simulated. The first type of subnet list is, for example, a netlist generated based on the SPICE model.
接下来,可以在后仿真网表700中分别将每个目标静电保护电路71对应的第一子网表设置为失效,对每个目标静电保护电路71进行数据替换处理。Next, the first sub-net list corresponding to each target electrostatic protection circuit 71 can be set as invalid in the post-simulation netlist 700, and data replacement processing can be performed on each target electrostatic protection circuit 71.
在一个目标静电保护电路为电源钳位电路时,将该电源钳位电路对应的虚拟电路模型设置在电源VDD和零电位VSS之间。When a target electrostatic protection circuit is a power supply clamp circuit, the virtual circuit model corresponding to the power supply clamp circuit is set between the power supply VDD and zero potential VSS.
在一个目标静电保护电路为引脚保护电路时,将该引脚保护电路对应的虚拟电路模型的第一端连接待保护的输入引脚、第二端连接电源VDD、第三端连接零电位VSS。When a target electrostatic protection circuit is a pin protection circuit, connect the first end of the virtual circuit model corresponding to the pin protection circuit to the input pin to be protected, the second end to the power supply VDD, and the third end to the zero potential VSS. .
替换后,后仿真网表700中ESD器件对应的虚拟电路模型能够随外部电压Vs和外部电压Vs的持续时长独立改变输出电压和输出电流,符合电路仿真要求。与ESD相连的其他电路模块使用正常仿真电路对应的模型,例如SPICE模型。After replacement, the virtual circuit model corresponding to the ESD device in the post-simulation netlist 700 can independently change the output voltage and output current with the external voltage Vs and the duration of the external voltage Vs, which meets the circuit simulation requirements. Other circuit modules connected to the ESD use models corresponding to normal simulation circuits, such as SPICE models.
由此,处理后的后仿真网表700整体符合电路仿真要求,能够实现电路仿真。Therefore, the processed post-simulation netlist 700 as a whole meets the circuit simulation requirements and can realize circuit simulation.
在步骤S5,基于替换后的所述后仿真网表对所述待仿真电路进行仿真。In step S5, the circuit to be simulated is simulated based on the replaced post-simulation netlist.
图8是本公开一个实施例中步骤S5的子流程图。Figure 8 is a sub-flow chart of step S5 in an embodiment of the present disclosure.
参考图8,在一个实施例中,在仿真时,步骤S5可以包括:Referring to Figure 8, in one embodiment, during simulation, step S5 may include:
步骤S51,对待仿真电路的电源输入多个预设静电脉冲以获取待仿真电路对应的第一静电仿真数据;Step S51: Input multiple preset electrostatic pulses to the power supply of the circuit to be simulated to obtain first electrostatic simulation data corresponding to the circuit to be simulated;
步骤S52,对待仿真电路的零电位输入多个预设静电脉冲以获取待仿真电路对应的第二静电仿真数据;Step S52: Input multiple preset electrostatic pulses to the zero potential of the circuit to be simulated to obtain second electrostatic simulation data corresponding to the circuit to be simulated;
步骤S53,对待仿真电路的每个输入引脚输入第一方向的多个预设静电脉冲以获取待仿真电路对应的第三静电仿真数据;Step S53, input a plurality of preset electrostatic pulses in the first direction to each input pin of the circuit to be simulated to obtain third electrostatic simulation data corresponding to the circuit to be simulated;
步骤S54,对待仿真电路的每个输入引脚输入第二方向的多个预设静电脉冲以获取待 仿真电路对应的第四静电仿真数据,第二方向与第一方向相反。Step S54, input a plurality of preset electrostatic pulses in a second direction to each input pin of the circuit to be simulated to obtain fourth electrostatic simulation data corresponding to the circuit to be simulated. The second direction is opposite to the first direction.
在步骤S5仿真中使用的多个预设静电脉冲可以与步骤S1测试中使用的预设静电脉冲完全相同。通过在测试和仿真过程中使用相同的预设静电脉冲进行仿真,可以使目标静电保护器件的虚拟电路模型表现出与静电保护实测数据一样的变化。当然,在一些实施例中,仿真中使用的多个预设静电脉冲的数量也可以少于测试时使用的预设静电脉冲的数量,以提高仿真效率,本公开对此不做特殊限制。The plurality of preset electrostatic pulses used in the simulation of step S5 may be exactly the same as the preset electrostatic pulses used in the test of step S1. By using the same preset electrostatic pulse during testing and simulation, the virtual circuit model of the target electrostatic protection device can show the same changes as the measured electrostatic protection data. Of course, in some embodiments, the number of multiple preset electrostatic pulses used in the simulation can also be less than the number of preset electrostatic pulses used in the test to improve simulation efficiency, and the present disclosure does not impose special limitations on this.
在一个实施例中,第三静电仿真数据对应的所述多个预设静电脉冲例如可以基于人体放电模型(Human Body Model,HBM)生成,为HBM脉冲。对应的,在步骤S1测试时,对输入引脚IO输入的预设静电脉冲为幅值不同的HBM脉冲,而非TLP脉冲。即仿真中使用的静电脉冲的幅值、持续时长、脉冲种类、脉冲输入端口(VDD、VSS、IO)尽量与测试中使用的预设静电脉冲相同,或者在测试中使用的预设静电脉冲的范围内。In one embodiment, the plurality of preset electrostatic pulses corresponding to the third electrostatic simulation data may be generated based on a human body discharge model (Human Body Model, HBM), for example, and are HBM pulses. Correspondingly, during the test in step S1, the preset electrostatic pulse input to the input pin IO is an HBM pulse with different amplitudes, not a TLP pulse. That is, the amplitude, duration, pulse type, and pulse input port (VDD, VSS, IO) of the electrostatic pulse used in the simulation should be as consistent as possible with the preset electrostatic pulse used in the test, or the preset electrostatic pulse used in the test should be within the range.
最后,可以根据第一静电仿真数据、第二静电仿真数据、第三静电仿真数据、第四静电仿真数据可以确定待仿真电路在每个输入源的每个预设静电脉冲下的动态电压分布图,根据动态电压分布图中是否存在电压超过对应预设值的点位,确定待仿真电路的静电防护能力是否达到设计要求。Finally, the dynamic voltage distribution diagram of the circuit to be simulated under each preset electrostatic pulse of each input source can be determined based on the first electrostatic simulation data, the second electrostatic simulation data, the third electrostatic simulation data, and the fourth electrostatic simulation data. , based on whether there is a point in the dynamic voltage distribution diagram where the voltage exceeds the corresponding preset value, it is determined whether the electrostatic protection capability of the circuit to be simulated meets the design requirements.
在本公开的示例性实施例中,还提供了一种能够实现上述方法的电子设备。In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
所属技术领域的技术人员能够理解,本公开的各个方面可以实现为系统、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。Those skilled in the art will understand that various aspects of the present disclosure may be implemented as systems, methods, or program products. Therefore, various aspects of the present disclosure may be embodied in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which may be collectively referred to herein as "Circuits", "modules" or "systems".
下面参照图9来描述根据本公开的这种实施方式的电子设备900。图9显示的电子设备900仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。An electronic device 900 according to this embodiment of the present disclosure is described below with reference to FIG. 9 . The electronic device 900 shown in FIG. 9 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
如图9所示,电子设备900以通用计算设备的形式表现。电子设备900的组件可以包括但不限于:上述至少一个处理单元910、上述至少一个存储单元920、连接不同系统组件(包括存储单元920和处理单元910)的总线930。As shown in Figure 9, electronic device 900 is embodied in the form of a general computing device. The components of the electronic device 900 may include, but are not limited to: the above-mentioned at least one processing unit 910, the above-mentioned at least one storage unit 920, and a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910).
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元910执行,使得所述处理单元910执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤。例如,所述处理单元910可以执行如本公开实施例所示的方法。Wherein, the storage unit stores program code, and the program code can be executed by the processing unit 910, so that the processing unit 910 performs various exemplary methods according to the present disclosure described in the "Example Method" section of this specification. Implementation steps. For example, the processing unit 910 may perform the method shown in the embodiment of the present disclosure.
存储单元920可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)9201和/或高速缓存存储单元9202,还可以进一步包括只读存储单元(ROM)9203。The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 9201 and/or a cache storage unit 9202, and may further include a read-only storage unit (ROM) 9203.
存储单元920还可以包括具有一组(至少一个)程序模块9205的程序/实用工具9204,这样的程序模块9205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。 Storage unit 920 may also include a program/utility 9204 having a set of (at least one) program modules 9205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples, or some combination, may include the implementation of a network environment.
总线930可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元 控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。 Bus 930 may be a local area representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or using any of a variety of bus structures. bus.
电子设备900也可以与一个或多个外部设备1000(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备900交互的设备通信,和/或与使得该电子设备900能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口950进行。并且,电子设备900还可以通过网络适配器960与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器960通过总线930与电子设备900的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备900使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。 Electronic device 900 may also communicate with one or more external devices 1000 (e.g., keyboard, pointing device, Bluetooth device, etc.), may also communicate with one or more devices that enable a user to interact with electronic device 900, and/or with Any device that enables the electronic device 900 to communicate with one or more other computing devices (eg, router, modem, etc.). This communication may occur through an input/output (I/O) interface 950. Furthermore, the electronic device 900 may also communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 960. As shown, network adapter 960 communicates with other modules of electronic device 900 via bus 930. It should be understood that, although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开实施方式的方法。Through the above description of the embodiments, those skilled in the art can easily understand that the example embodiments described here can be implemented by software, or can be implemented by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a computing device (which may be a personal computer, a server, a terminal device, a network device, etc.) to execute a method according to an embodiment of the present disclosure.
在本公开的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本公开的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在终端设备上运行时,程序代码用于使终端设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤。In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the method described above in this specification is stored. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to cause the terminal device to execute the above described instructions. The steps according to various exemplary embodiments of the present disclosure are described in the "Exemplary Methods" section.
程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The Program Product may take the form of one or more readable media in any combination. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium that can send, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., as well as conventional procedural programming. Language—such as "C" or a similar programming language. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In situations involving remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., provided by an Internet service). (business comes via Internet connection).
此外,上述附图仅是根据本公开示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。In addition, the above-mentioned drawings are only schematic illustrations of processes included in the methods according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal sequence of these processes. In addition, it is also easy to understand that these processes may be executed synchronously or asynchronously in multiple modules, for example.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和构思由权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure that follow the general principles of the disclosure and include common knowledge or customary technical means in the technical field that are not disclosed in the disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
工业实用性Industrial applicability
本公开实施例通过测试不同幅值的多个预设静电脉冲下ESD器件的两端电压随时间变化数据、泄放电流随时间变化数据,进而将一个ESD器件等效为并联的随时间变化的电压源和电流源,能够克服仿真软件无法对ESD器件的回折特性进行仿真的问题,进而实现对ESD器件的电学特性的准确电路仿真。Embodiments of the present disclosure test the time-varying data of the voltage at both ends of the ESD device and the time-varying data of the discharge current under multiple preset electrostatic pulses of different amplitudes, thereby equating an ESD device to a parallel time-varying device. Voltage sources and current sources can overcome the problem that simulation software cannot simulate the foldback characteristics of ESD devices, thereby achieving accurate circuit simulation of the electrical characteristics of ESD devices.

Claims (15)

  1. 一种电路仿真方法,包括:A circuit simulation method, including:
    获取一或多个目标静电保护电路与多个不同幅值的预设静电脉冲对应的静电保护实测数据,所述静电保护实测数据包括所述目标静电保护电路在所述预设静电脉冲激励下随时间变化的电压数据和随时间变化的泄放电流数据;Obtain measured electrostatic protection data corresponding to one or more target electrostatic protection circuits and multiple preset electrostatic pulses of different amplitudes. The measured electrostatic protection data includes the target electrostatic protection circuit's subsequent activation under the preset electrostatic pulse excitation. Time-varying voltage data and time-varying discharge current data;
    对于每个所述目标静电保护电路,根据所述静电保护实测数据建立与所述目标静电保护电路一一对应的虚拟电路模型;For each target electrostatic protection circuit, establish a virtual circuit model corresponding to the target electrostatic protection circuit one-to-one according to the measured electrostatic protection data;
    获取待仿真电路的后仿真网表,所述待仿真电路包括所述一或多个目标静电保护电路,所述后仿真网表包括所述一或多个目标静电保护电路对应的一或多个第一类子网表;Obtain a post-simulation netlist of the circuit to be simulated, the circuit to be simulated includes the one or more target electrostatic protection circuits, and the post-simulation netlist includes one or more target electrostatic protection circuits corresponding to the one or more target electrostatic protection circuits. The first type of subnet table;
    将每个所述目标静电保护电路对应的所述第一类子网表中的信息替换为与其对应的所述虚拟电路模型的信息;Replace the information in the first type subnet table corresponding to each target electrostatic protection circuit with the information of the corresponding virtual circuit model;
    基于替换后的所述后仿真网表对所述待仿真电路进行仿真。The circuit to be simulated is simulated based on the replaced post-simulation netlist.
  2. 如权利要求1所述的电路仿真方法,其中,所述获取一或多个目标静电保护电路与多个不同幅值的预设静电脉冲对应的静电保护实测数据包括:The circuit simulation method according to claim 1, wherein said obtaining the measured electrostatic protection data corresponding to one or more target electrostatic protection circuits and a plurality of preset electrostatic pulses of different amplitudes includes:
    向所述目标静电保护电路提供所述预设静电脉冲进行激励,并以固定时间间隔在所述预设静电脉冲的持续时间内采样所述目标静电保护电路输入端和输出端之间的电压值和泄放电流值,记录所述电压值和所述泄放电流值与采样时间和所述预设静电脉冲的幅值之间的对应关系。Provide the preset electrostatic pulse to the target electrostatic protection circuit for excitation, and sample the voltage value between the input end and the output end of the target electrostatic protection circuit at fixed time intervals within the duration of the preset electrostatic pulse. and a discharge current value, and record the corresponding relationship between the voltage value, the discharge current value, the sampling time and the amplitude of the preset electrostatic pulse.
  3. 如权利要求2所述的电路仿真方法,其中,对于每个所述目标静电保护电路,根据所述静电保护实测数据建立与所述目标静电保护电路一一对应的虚拟电路模型包括:The circuit simulation method of claim 2, wherein, for each target electrostatic protection circuit, establishing a virtual circuit model corresponding to the target electrostatic protection circuit one-to-one according to the measured electrostatic protection data includes:
    根据所述预设静电脉冲的幅值、所述采样时间及其对应的所述电压值和所述泄放电流值将所述虚拟电路模型配置为在所述预设静电脉冲下随时间变化输出可变电压值和可变电流值。The virtual circuit model is configured to output a time-varying output under the preset electrostatic pulse according to the amplitude of the preset electrostatic pulse, the sampling time and its corresponding voltage value and the discharge current value. Variable voltage values and variable current values.
  4. 如权利要求3所述的电路仿真方法,其中,所述虚拟电路模型包括可变电压源和可变电流源,所述可变电流源与所述可变电压源并联。The circuit simulation method of claim 3, wherein the virtual circuit model includes a variable voltage source and a variable current source, and the variable current source is connected in parallel with the variable voltage source.
  5. 根据权利要求4所述的电路仿真方法,其中,将所述可变电压源的内阻设置为无穷大。The circuit simulation method according to claim 4, wherein the internal resistance of the variable voltage source is set to infinity.
  6. 根据权利要求5所述的电路仿真方法,其中,所述固定时间间隔为0.1纳秒。The circuit simulation method according to claim 5, wherein the fixed time interval is 0.1 nanoseconds.
  7. 如权利要求1~6任一项所述的电路仿真方法,其中,所述目标静电保护电路包括电源钳位电路,所述电源钳位电路的两端分别连接电源和零电位,所述获取一或多个目标静电保护电路与多个不同幅值的预设静电脉冲对应的静电保护实测数据包括:The circuit simulation method according to any one of claims 1 to 6, wherein the target electrostatic protection circuit includes a power clamp circuit, two ends of the power clamp circuit are respectively connected to the power supply and zero potential, and the acquisition of a Or the measured electrostatic protection data corresponding to multiple target electrostatic protection circuits and multiple preset electrostatic pulses with different amplitudes include:
    获取所述电源钳位电路与来自所述电源的多个预设静电脉冲对应的两端电压数据和泄放电流数据;Obtain voltage data and discharge current data at both ends of the power supply clamp circuit corresponding to a plurality of preset electrostatic pulses from the power supply;
    获取所述电源钳位电路与来自所述零电位的多个预设静电脉冲对应的两端电压数据 和泄放电流数据;Obtain voltage data and discharge current data at both ends of the power clamp circuit corresponding to a plurality of preset electrostatic pulses from the zero potential;
    其中,所述预设静电脉冲、所述两端电压数据和所述泄放电流数据均包含方向信息。Wherein, the preset electrostatic pulse, the voltage data at both ends and the discharge current data all include direction information.
  8. 如权利要求7所述的电路仿真方法,其中,所述将每个所述目标静电保护电路对应的所述第一类子网表中的信息替换为与其对应的所述虚拟电路模型的信息包括:The circuit simulation method according to claim 7, wherein said replacing the information in the first type subnet table corresponding to each of the target electrostatic protection circuits with the information of the corresponding virtual circuit model includes :
    在所述后仿真网表中将所述电源钳位电路对应的所述第一子网表设置为失效;In the post-simulation netlist, the first subnetlist corresponding to the power clamp circuit is set to invalid;
    将所述电源钳位电路对应的所述虚拟电路模型设置在所述电源和所述零电位之间。The virtual circuit model corresponding to the power supply clamp circuit is set between the power supply and the zero potential.
  9. 如权利要求1~6任一项所述的电路仿真方法,其中,所述目标静电保护电路包括引脚保护电路,所述引脚保护电路包括第一部分和第二部分,所述第一部分连接输入引脚和电源,所述第二部分连接所述输入引脚和零电位,所述获取一或多个目标静电保护电路与多个不同幅值的预设静电脉冲对应的静电保护实测数据包括:The circuit simulation method according to any one of claims 1 to 6, wherein the target electrostatic protection circuit includes a pin protection circuit, the pin protection circuit includes a first part and a second part, and the first part is connected to an input pin and power supply, the second part is connected to the input pin and zero potential, and obtaining the measured electrostatic protection data corresponding to one or more target electrostatic protection circuits and multiple preset electrostatic pulses of different amplitudes includes:
    获取所述引脚保护电路与从所述输入引脚输入的第一方向的多个预设静电脉冲对应的第一部分两端电压数据、第一部分泄放电流数据、第二部分两端电压数据、第二部分泄放电流数据;Obtain the first part of the voltage data across both ends, the first part of the discharge current data, the second part of the voltage data across both ends of the pin protection circuit corresponding to a plurality of preset electrostatic pulses in the first direction input from the input pin, Part 2 Discharge current data;
    获取所述引脚保护电路与从所述输入引脚输入的第二方向的多个预设静电脉冲对应的第一部分两端电压数据、第一部分泄放电流数据、第二部分两端电压数据、第二部分泄放电流数据,所述第二方向与所述第一方向相反;Obtain the first part of the voltage data across both ends, the first part of the discharge current data, the second part of the voltage data across both ends of the pin protection circuit corresponding to a plurality of preset electrostatic pulses input from the input pin in the second direction, The second part of the discharge current data, the second direction is opposite to the first direction;
    其中,所述预设静电脉冲、第一部分两端电压数据、第一部分泄放电流数据、第二部分两端电压数据、第二部分泄放电流数据均包含方向信息。Wherein, the preset electrostatic pulse, the first part of the voltage data across both ends, the first part of the discharge current data, the second part of the voltage data across both ends, and the second part of the discharge current data all include direction information.
  10. 如权利要求9所述的电路仿真方法,其中,所述对于每个所述目标静电保护电路,根据所述静电保护实测数据建立与所述目标静电保护电路一一对应的虚拟电路模型包括:The circuit simulation method according to claim 9, wherein, for each target electrostatic protection circuit, establishing a virtual circuit model corresponding to the target electrostatic protection circuit one-to-one according to the measured electrostatic protection data includes:
    对一个所述引脚保护电路,根据所述第一部分两端电压数据建立与所述多个预设静电脉冲对应的第一部分虚拟电压源模型,根据所述第一部分泄放电流数据建立与所述多个预设静电脉冲对应的第一部分虚拟电流源模型,所述第一部分虚拟电压源模型的输出电压和所述第一部分虚拟电流源的泄放电流均根据所述预设静电脉冲的幅值和输入方向随时间变化;For one of the pin protection circuits, a first partial virtual voltage source model corresponding to the plurality of preset electrostatic pulses is established based on the first partial voltage data across both ends, and a first partial virtual voltage source model corresponding to the plurality of preset electrostatic pulses is established based on the first partial discharge current data. A first partial virtual current source model corresponding to a plurality of preset electrostatic pulses. The output voltage of the first partial virtual voltage source model and the discharge current of the first partial virtual current source are both based on the amplitude and sum of the preset electrostatic pulses. Input direction changes over time;
    根据所述第二部分两端电压数据建立与所述多个预设静电脉冲对应的第二部分虚拟电压源模型,根据所述第二部分泄放电流数据建立与所述多个预设静电脉冲对应的第二部分虚拟电流源模型,所述第二部分虚拟电压源模型的输出电压和所述第二部分虚拟电流源的泄放电流均根据所述预设静电脉冲的幅值和输入方向随时间变化;A second partial virtual voltage source model corresponding to the plurality of preset electrostatic pulses is established based on the second partial voltage data across both ends, and a second partial virtual voltage source model corresponding to the plurality of preset electrostatic pulses is established based on the second partial discharge current data. Corresponding to the second partial virtual current source model, the output voltage of the second partial virtual voltage source model and the discharge current of the second partial virtual current source vary according to the amplitude and input direction of the preset electrostatic pulse. Change of time;
    根据所述第一部分虚拟电压源模型、所述第二部分虚拟电压源模型、所述第一部分虚拟电流源模型、所述第二部分虚拟电流源模型构建与所述引脚保护电路对应的虚拟电路模型,所述虚拟电路模型包括三端,第一端连接所述输入引脚,第二端连接所述电源,第三端连接所述零电位,所述虚拟电路的三端中至少一端的电压和电流在预设静电脉冲的持续时间内随时间变化。A virtual circuit corresponding to the pin protection circuit is constructed according to the first partial virtual voltage source model, the second partial virtual voltage source model, the first partial virtual current source model, and the second partial virtual current source model. Model, the virtual circuit model includes three terminals, the first terminal is connected to the input pin, the second terminal is connected to the power supply, the third terminal is connected to the zero potential, the voltage of at least one terminal of the three terminals of the virtual circuit and current changes over time for the duration of a preset electrostatic pulse.
  11. 如权利要求10所述的电路仿真方法,其中,所述将每个所述目标静电保护电路对 应的所述第一类子网表中的信息替换为与其对应的所述虚拟电路模型的信息包括:The circuit simulation method according to claim 10, wherein said replacing the information in the first type subnet table corresponding to each of the target electrostatic protection circuits with the information of the corresponding virtual circuit model includes :
    在所述后仿真网表中将所述引脚保护电路对应的所述第一子网表设置为失效;In the post-simulation netlist, the first subnetlist corresponding to the pin protection circuit is set to invalid;
    将所述引脚保护电路对应的所述虚拟电路模型的第一端连接待保护的输入引脚,将所述虚拟电路模型的第二端连接电源电压,将所述虚拟电路模型的第三端连接零电位。Connect the first end of the virtual circuit model corresponding to the pin protection circuit to the input pin to be protected, connect the second end of the virtual circuit model to the power supply voltage, and connect the third end of the virtual circuit model Connect to zero potential.
  12. 如权利要求1所述的电路仿真方法,其中,所述基于替换后的所述后仿真网表对所述待仿真电路进行仿真包括:The circuit simulation method of claim 1, wherein said simulating the circuit to be simulated based on the replaced post-simulation netlist includes:
    在仿真时,对所述待仿真电路的电源输入所述多个预设静电脉冲以获取所述待仿真电路对应的第一静电仿真数据;During simulation, input the plurality of preset electrostatic pulses to the power supply of the circuit to be simulated to obtain the first electrostatic simulation data corresponding to the circuit to be simulated;
    对所述待仿真电路的零电位输入所述多个预设静电脉冲以获取所述待仿真电路对应的第二静电仿真数据;Input the plurality of preset electrostatic pulses to the zero potential of the circuit to be simulated to obtain second electrostatic simulation data corresponding to the circuit to be simulated;
    对所述待仿真电路的每个输入引脚输入第一方向的所述多个预设静电脉冲以获取所述待仿真电路对应的第三静电仿真数据;Input the plurality of preset electrostatic pulses in the first direction to each input pin of the circuit to be simulated to obtain third electrostatic simulation data corresponding to the circuit to be simulated;
    对所述待仿真电路的所述每个输入引脚输入第二方向的所述多个预设静电脉冲以获取所述待仿真电路对应的第四静电仿真数据,所述第二方向与所述第一方向相反。The plurality of preset electrostatic pulses in a second direction are input to each input pin of the circuit to be simulated to obtain the fourth electrostatic simulation data corresponding to the circuit to be simulated, and the second direction and the The first direction is opposite.
  13. 如权利要求12所述的电路仿真方法,其中,所述第三静电仿真数据对应的所述多个预设静电脉冲基于人体放电模型生成。The circuit simulation method of claim 12, wherein the plurality of preset electrostatic pulses corresponding to the third electrostatic simulation data are generated based on a human body discharge model.
  14. 如权利要求12所述的电路仿真方法,其中,根据所述第一静电仿真数据、所述第二静电仿真数据、所述第三静电仿真数据、所述第四静电仿真数据确定所述待仿真电路在每个输入源的每个所述预设静电脉冲下的动态电压分布图,根据所述动态电压分布图中是否存在电压超过对应预设值的点位,确定所述待仿真电路的静电防护能力是否达到设计要求。The circuit simulation method of claim 12, wherein the to-be-simulated electrostatic simulation data is determined based on the first electrostatic simulation data, the second electrostatic simulation data, the third electrostatic simulation data, and the fourth electrostatic simulation data. The dynamic voltage distribution diagram of the circuit under each preset electrostatic pulse of each input source. According to whether there is a point in the dynamic voltage distribution diagram where the voltage exceeds the corresponding preset value, the static electricity of the circuit to be simulated is determined. Whether the protection capability meets the design requirements.
  15. 一种电子设备,包括:An electronic device including:
    存储器;以及memory; and
    耦合到所述存储器的处理器,所述处理器被配置为基于存储在所述存储器中的指令,执行如权利要求1-14任一项所述的电路仿真方法。A processor coupled to the memory, the processor configured to perform the circuit simulation method of any one of claims 1-14 based on instructions stored in the memory.
PCT/CN2022/124140 2022-07-22 2022-10-09 Circuit simulation method and electronic device WO2024016485A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210869337.0A CN117473917A (en) 2022-07-22 2022-07-22 Circuit simulation method and electronic equipment
CN202210869337.0 2022-07-22

Publications (1)

Publication Number Publication Date
WO2024016485A1 true WO2024016485A1 (en) 2024-01-25

Family

ID=89616891

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/124140 WO2024016485A1 (en) 2022-07-22 2022-10-09 Circuit simulation method and electronic device

Country Status (2)

Country Link
CN (1) CN117473917A (en)
WO (1) WO2024016485A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006148029A (en) * 2004-11-25 2006-06-08 Matsushita Electric Ind Co Ltd Circuit simulation apparatus
US20130080136A1 (en) * 2011-09-22 2013-03-28 Kabushiki Kaisha Toshiba Simulation device and simulation method
CN105138774A (en) * 2015-08-25 2015-12-09 中山大学 Timing sequence post-simulation method based on integrated circuit hiberarchy design
CN106528981A (en) * 2016-11-02 2017-03-22 西安电子科技大学 Continuous multi-pulse transient simulation method for ESD device
CN114117989A (en) * 2020-08-31 2022-03-01 长鑫存储技术有限公司 Chip design method, chip design device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006148029A (en) * 2004-11-25 2006-06-08 Matsushita Electric Ind Co Ltd Circuit simulation apparatus
US20130080136A1 (en) * 2011-09-22 2013-03-28 Kabushiki Kaisha Toshiba Simulation device and simulation method
CN105138774A (en) * 2015-08-25 2015-12-09 中山大学 Timing sequence post-simulation method based on integrated circuit hiberarchy design
CN106528981A (en) * 2016-11-02 2017-03-22 西安电子科技大学 Continuous multi-pulse transient simulation method for ESD device
CN114117989A (en) * 2020-08-31 2022-03-01 长鑫存储技术有限公司 Chip design method, chip design device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Master's Theses ", 20 March 2017, NANJING NORMAL UNIVERSITY, China, article WU BIN: "Research on ESD protection method based on hole optimization and TVS tube parasitic parameter compensation ", pages: 1 - 68, XP009552116 *

Also Published As

Publication number Publication date
CN117473917A (en) 2024-01-30

Similar Documents

Publication Publication Date Title
Duvvury et al. System level ESD co-design
JP4435685B2 (en) Method for extracting wiring parasitics related to filtered interconnections in integrated circuits
US20210224172A1 (en) Integrated circuit (ic) power-up testing method and device, and electronic equipment
US20190220560A1 (en) Die resistance-capacitance extraction and validation
TW201729343A (en) Resistance mitigation in physical design
US8798981B2 (en) Circuit simulation using step response analysis in the frequency domain
WO2024016485A1 (en) Circuit simulation method and electronic device
Wang et al. A new behavioral model of gate-grounded NMOS for simulating snapback characteristics
US7590952B2 (en) Compact chip package macromodels for chip-package simulation
US8392867B2 (en) System, method and program storage device for developing condensed netlists representative of groups of active devices in an integrated circuit and for modeling the performance of the integrated circuit based on the condensed netlists
WO2021238276A1 (en) Electric leakage detection method and apparatus for cpld
US8554531B2 (en) System and circuit for simulating gate-to-drain breakdown
US20150213171A1 (en) Method and Apparatus to Facilitate Simulating a Circuit Connected to a Multiport Interconnect Structure
US20200219558A1 (en) Enhanced read sensing margin and minimized vdd for sram cell arrays
Li et al. Predictive full circuit ESD simulation and analysis using extended ESD compact models: Methodology and tool implementation
WO2024000913A1 (en) Method and apparatus for simulating electro-static discharge protection circuit, and electronic device and storage medium
US20210216421A1 (en) Testing method and device
Ammer et al. Application Example of a Novel Methodology to Generate IC Models for System ESD and Electrical Stress Simulation out of the Design Data
Hu et al. System power noise analysis using modulated CPM
CN107667296A (en) It is used for electrostatic test in orientation impulses injection microelectronics system
CN107526857B (en) EEPROM unit simulation model and EEPROM array simulation model
US9760665B2 (en) Validating variation of timing constraint measurements
CN106899502B (en) trigger signal segmented routing device and method for PXIe backboard
TWI837999B (en) Method for analyzing integrated circuits, computer system and non-transient computer readable medium
US8893064B1 (en) System and method for determining merged resistance values for same-type terminals in a complex semiconductor structure

Legal Events

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

Ref document number: 22951749

Country of ref document: EP

Kind code of ref document: A1