FPGA memory unit power supply circuit with overshoot protection

By setting up the POWER MOS tube and the drain tube in the FPGA storage unit power circuit and setting up the active load circuit in the data shift register to detect and suppress the increase in the power supply voltage, the change of LDO load current in tens of millions of gate-level FPGAs is solved. The overshoot problem caused by it improves the stability and reliability of power supply.

CN117457050BActive Publication Date: 2024-11-26WUXI ESIONTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311429447.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-30
Publication Date
2024-11-26
Estimated Expiration
2043-10-30

AI Technical Summary

Technical Problem

In the FPGA memory cell of tens of millions of gate level, overshoot caused by changes in LDO load current will break through the MOS tubes in the SRAM cell and CLB&SWB cell, affecting the stability of FPGA function.

Method used

A FPGA storage unit power supply circuit with overshoot protection was designed. By setting up a POWER MOS tube and a drain tube in the power generation circuit, and setting up an active load circuit in the data shift register, the voltage change of the power supply SRAMVS is detected. When the voltage rises, the drain tube enters a drain protection state, quickly venting the current flowing through the POWER MOS tube, suppressing the increase in the voltage of the power supply SRAMVS.

Benefits of technology

It effectively realizes overshoot protection of the power supply circuit of the FPGA storage unit, improves power supply stability and reliability, prevents the power supply SRAMVS voltage from being too high, and protects the MOS tubes in the SRAM cell and CLB&SWB cell.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117457050B_ABST
    Figure CN117457050B_ABST
Patent Text Reader

Abstract

The present invention relates to an FPGA storage unit power supply circuit with overshoot protection, which comprises: a power supply circuit body, which is used to provide a power supply SRAMVS required for the operation of the storage unit, wherein the power supply circuit body comprises a plurality of POWER MOS tubes; an overshoot protection circuit, which comprises a discharge tube for discharging the current flowing through the POWER MOS tube and an active load circuit for configuring the discharge state of the discharge tube, wherein the discharge tube corresponds to and is adaptively connected to the POWER MOS tube; when overshoot occurs, the active load circuit configures the discharge tube to enter a discharge protection state based on the voltage of the power supply SRAMVS, and uses the discharge tube in the discharge protection state to quickly discharge the current flowing through the adaptively connected POWER MOS tube, so as to suppress the voltage increase of the power supply SRAMVS. The present invention can effectively realize overshoot protection and improve the stability and reliability of the power supply of the storage unit power supply circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a storage unit power supply circuit, in particular to an FPGA storage unit power supply circuit with overshoot protection, specifically to an FPGA storage unit power supply circuit suitable for tens of millions of gates. Background Art

[0002] SRAM (Static Random-Access Memory) is widely distributed in FPGA (Field Programmable Gate Array). Its function is to store the code configured by the user after programming. Figure 2 FIG. 1 shows an embodiment in which SRAM is interspersed in the middle of logic modules and wiring resources in the form of columns. After being written with "0" and "1", the control of the nearby logic modules can be realized. Each column of SRAM includes several SRAM cells. Figure 1 Shows Figure 2 An embodiment of an SRAM cell (SRAM unit) in a specific operation, by controlling Figure 1 The level state of the word line WL and the bit line BL in the Figure 1 The conduction state of the first transmission tube 1 and the second transmission tube 2 is controlled, thereby realizing the storage state configuration of the SRAM cell.

[0003] In FPGA circuits, LDO (low dropout linear regulator) is generally used to power SRAM cells. A low dropout linear regulator is a DC / AC regulator whose input voltage is greater than the output voltage. It has the characteristics of stable output voltage, low output ripple and low noise. Low dropout linear regulators also have the characteristics of small package size, few external components, and usually only 1 to 2 external bypass capacitors are required. Therefore, they are widely used in communication equipment, automotive electronics, industrial and medical instruments and equipment.

[0004] Generally, when the load current provided by the LDO changes, overshoot or undershoot will occur at the LDO output. Figure 6 As shown, Figure 6 In the figure, 15 is the load current, 16 is the overshoot state, and 17 is the undershoot state.

[0005] Since there are many SRAM cells in the FPGA storage unit of tens of millions of gates, one word line WL address can correspond to 1312 SRAM cells for simultaneous write operations, which will cause a large change in the LDO load current, resulting in excessive overshooting of the power supply SRAMVS of the storage unit. When overshooting occurs, the voltage of the power supply SRAMVS increases instantly and may even break down the SRAM cell and the MOS tubes in the CLB&SWB units, thereby affecting the function of the FPGA. Summary of the invention

[0006] The purpose of the present invention is to overcome the deficiencies in the prior art and provide an FPGA storage unit power supply circuit with overshoot protection, which can effectively implement overshoot protection and improve the stability and reliability of power supply of the storage unit power supply circuit.

[0007] According to the technical solution provided by the present invention, the FPGA storage unit power supply circuit with overshoot protection comprises:

[0008] A power circuit body, used for providing the power SRAMVS required for the storage unit to work, wherein the power circuit body includes a plurality of POWER MOS tubes;

[0009] An overshoot protection circuit, comprising a discharge tube for discharging current flowing through a POWER MOS tube and an active load circuit for configuring a discharge state of the discharge tube, wherein the discharge tube corresponds to and is adaptively connected to the POWER MOS tube;

[0010] When overshoot occurs, the active load circuit configures the discharge tube to enter the discharge protection state based on the voltage of the power supply SRAMVS, and uses the discharge tube in the discharge protection state to quickly discharge the current flowing through the adapted POWER MOS tube to suppress the voltage increase of the power supply SRAMVS.

[0011] A POWER MOS tube and a discharge tube corresponding to the POWER MOS tube are both located in a power generation circuit in the FPGA;

[0012] Within the FPGA, the power generation circuits are distributed in an array;

[0013] For each power generation circuit, a power supply SRAMVS is generated based on the POWER MOS tube and the discharge tube located in the power generation circuit, and the power supplies SRAMVS generated by all power generation circuits in the FPGA are interconnected to form a power supply network adapted to the storage unit.

[0014] The active load circuit is located in a data shift register in the FPGA, wherein:

[0015] The data shift register also includes a power supply second circuit portion in the power supply circuit body;

[0016] In the FPGA, the second power circuit parts in all data shift registers are electrically connected to the first power circuit parts of the power circuit body;

[0017] The first circuit portion of the power supply is located in a power management circuit in the FPGA;

[0018] For any data shift register, the second power circuit portion in the data shift register is adapted to be connected to all POWER MOS tubes in the power generation circuit correspondingly connected to the data shift register, and the active load circuit in the data shift register is adapted to be connected to all discharge tubes in the power generation circuit correspondingly connected to the data shift register;

[0019] The first power circuit part is adaptively connected with the second power circuit part in a data shift register and a POWER MOS tube in a corresponding power generation circuit to form an LDO circuit form.

[0020] In the FPGA, a plurality of data shift registers are distributed in a first direction;

[0021] Each row of power generation circuits is distributed in the second direction, and multiple rows of power generation circuits are distributed in the second direction

[0022] The power management circuitry is at the heart of the FPGA.

[0023] For any power generation circuit, the POWER MOS tube in the power generation circuit includes at least a PMOS tube M1, and the discharge tube in the power generation circuit includes at least an NMOS tube M2, wherein:

[0024] The drain terminal of the PMOS tube M1 is connected to the drain terminal of the NMOS tube M2 to form a power output terminal of the output power SRAMVS;

[0025] The source terminal of the NMOS tube M2 is grounded, and the gate terminal of the NMOS tube M2 is adaptively connected to the active load circuit.

[0026] The active load circuit includes a voltage detection processing unit and a load discharge unit adaptively connected to the voltage detection processing unit, wherein:

[0027] For any active load circuit, all power supplies SRAMVS of the power generation circuit corresponding to the active load circuit are connected to the voltage detection processing unit and the load discharge unit of the active load circuit;

[0028] The voltage detection processing unit detects the voltage of the connected power supply SRAMVS. When the voltage of the connected power supply SRAMVS increases, the voltage loaded to the gate terminal of the NMOS tube M2 increases to configure the NMOS tube M2 to enter a discharge protection state, and discharge the current flowing through the voltage detection processing unit through the load discharge unit.

[0029] The voltage detection processing unit includes a PMOS transistor PM1, a PMOS transistor PM2 and a PMOS transistor PM3, wherein:

[0030] The source terminal of the PMOS tube PM1, the source terminal of the PMOS tube PM2 and the source terminal of the PMOS tube PM3 are all connected to the power supply SRAMVS;

[0031] The gate terminal of the PMOS transistor PM1 is connected to the drain terminal of the PMOS transistor PM1, one end of the resistor R1, one end of the resistor R2, and the gate terminal of the PMOS transistor PM2;

[0032] The other end of the resistor R2 is connected to one end of the capacitor C1 and the gate end of the PMOS tube PM3;

[0033] The drain terminal of the PMOS transistor PM3 is connected to the drain terminal of the NMOS transistor NM0, the load discharge portion, and the gate terminal of the NMOS transistor M2, and a node net2 is formed after the connection;

[0034] The drain terminal of the PMOS tube PM2 is connected to the drain terminal of the NMOS tube NM1, the gate terminal of the NMOS tube NM1, and the gate terminal of the NMOS tube NM0;

[0035] The other end of the resistor R1 , the other end of the capacitor C1 , the source end of the NMOS transistor NM0 , and the source end of the NMOS transistor NM1 are all connected to the reference potential GS.

[0036] The load discharge unit includes a plurality of NMOS type load discharge power tubes, wherein:

[0037] The drain terminals of all load-discharging power tubes are connected to the power supply SRAMVS;

[0038] The gate terminals of all load-discharging power tubes are connected to node net2;

[0039] The source terminals of all load-discharging power transistors are connected to the reference potential GS.

[0040] The first circuit portion of the power supply includes an operational amplifier U1 and a bandgap reference source, and the reference voltage VBG generated by the bandgap reference source is connected to the in-phase terminal of the operational amplifier U1;

[0041] An inverting terminal of the operational amplifier U1 is connected to one end of the resistor R3 and one end of the resistor R4, one end of the resistor R4 is grounded, and the other end of the resistor R3 is connected to all power supplies SRAMVS;

[0042] The output terminal of the operational amplifier U1 is adaptively connected to the second circuit portion of the power supply.

[0043] The second circuit portion of the power supply includes a voltage follower, wherein:

[0044] The second circuit part of the power supply uses a voltage follower to follow the voltage loaded by the first circuit part of the power supply, and loads the followed voltage to the correspondingly connected POWER MOS tube.

[0045] The advantages of the present invention are as follows: a POWER MOS tube and a discharge tube are arranged in each power generation circuit, a power second circuit portion and an active load circuit are arranged in a data shift register, the active load circuit configures the discharge tube to enter a discharge protection state based on the voltage of the power supply SRAMVS, and the discharge tube in the discharge protection state is used to quickly discharge the current flowing through the adapted connected POWER MOS tube 3 to suppress the voltage increase of the power supply SRAMVS, thereby effectively realizing overshoot protection and improving the stability and reliability of the power supply of the storage unit power circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 The figure is a circuit diagram of an embodiment of a conventional SRAM cell.

[0047] Figure 2 A schematic diagram of an embodiment of configuring SRAM in FPGA according to the present invention.

[0048] Figure 3 This is a structural block diagram of an embodiment of the FPGA chip of the present invention.

[0049] Figure 4 A schematic diagram of an embodiment of the present invention for forming an LDO circuit.

[0050] Figure 5 This is an embodiment of the active load circuit of the present invention.

[0051] Figure 6 A schematic diagram of an embodiment of the load current and overshoot and undershoot caused by load current changes of the present invention.

[0052] Figure 7 The present invention is a block diagram of an embodiment of the connection of the first circuit portion of the power supply, the second circuit portion of the power supply, the active load and the power generation circuit in the FPGA.

[0053] Explanation of the accompanying drawings: 1-first transmission tube, 2-second transmission tube, 3-POWER MOS tube, 4-power supply second circuit part, 5-power supply first circuit part, 6-power supply generating circuit, 7-discharge tube, 8-power supply management circuit, 9-data shift register, 10-active load circuit, 11-CLB&SWB unit, 12-DSP unit, 13-BRAM unit, 14-I / O interface, 15-load current, 16-overshoot state and 17-undershoot state. DETAILED DESCRIPTION

[0054] The present invention will be further described below in conjunction with specific drawings and embodiments.

[0055] In order to effectively implement overshoot protection, for an FPGA storage unit power supply circuit with overshoot protection, in one embodiment of the present invention, the storage unit power supply circuit includes:

[0056] A power circuit body, used for providing the power SRAMVS required for the storage unit to work, wherein the power circuit body includes a plurality of POWER MOS tubes 3;

[0057] An overshoot protection circuit, comprising a discharge tube 7 for discharging the current flowing through the POWER MOS tube 3 and an active load circuit 10 for configuring the discharge state of the discharge tube 7, wherein the discharge tube 7 corresponds to and is adaptively connected to the POWER MOS tube 3;

[0058] When overshoot occurs, the active load circuit 10 configures the discharge tube 7 to enter a discharge protection state based on the voltage of the power supply SRAMVS, and uses the discharge tube 7 in the discharge protection state to quickly discharge the current flowing through the adapted POWER MOS tube 3 to suppress the voltage increase of the power supply SRAMVS.

[0059] Specifically, the power circuit body can adopt the existing power supply form for the storage unit. From the above description, it can be known that the power circuit body can provide the power SRAMVS for the storage unit to work, and when providing the power SRAMVS, a number of POWER MOS tubes 3 are required. When the POWER MOS tube 3 is used to generate the power SRAMVS, an overshoot state 16 will occur due to the change of the load current 15. Figure 1 The diagram in exemplifies the situation where the overshoot state 16 occurs.

[0060] Specifically, before the write operation, the word line WL = "0", the first transmission tube 1 and the second transmission tube 2 are both in the off state, and the current of the power supply SRAMVS is the static current, which is the leakage current and the current is small. At the beginning of the write operation, the word line WL = "1", the first transmission tube 1 and the second transmission tube 2 are both in the on state, and the instantaneous large current of the power supply SRAMVS is the write current. After the write operation is completed, the word line WL = "0", the SRAM unit enters the hold state, and the current of the power supply SRAMVS returns to a small leakage state.

[0061] Since the voltage of the power supply SRAMVS comes from the output of POWER MOS tube 3, the process of writing the SRAM unit is a process from light load to heavy load and then from heavy load to light load for the LDO. Figure 6 The load current 15 changes in the LDO. In the process from heavy load to light load, an overshoot state 16 will appear at the LDO output. Generally, when the load current 15 is stable, the voltage state of the power supply SRAMVS remains stable.

[0062] In order to reduce the influence of the overshoot state 16 on the MOS tubes in the SRAM cell and the CLB&SWB unit 11, in one embodiment of the present invention, an overshoot protection circuit is used for overshoot protection. The overshoot protection circuit includes a discharge tube 7 and an active load circuit 10. Generally, one discharge tube 7 corresponds to one POWER MOS tube 3, and the active load circuit 10 can detect the voltage change of the power supply SRAMVS.

[0063] Depend on Figure 6 It can be seen that when the overshoot state 16 occurs, the voltage of the power supply SRAMVS will have an increase process. Therefore, when the above-mentioned overshoot occurs, it specifically refers to the state in which the voltage of the power supply SRAMVS increases from a stable state. In one embodiment of the present invention, the active load circuit 10 is used to detect the voltage of the power supply SRAMVS. When it is determined that the voltage of the power supply SRAMVS increases, the discharge tube 7 is configured to enter the discharge protection state. When the discharge tube 7 enters the discharge protection state, the current corresponding to the discharge tube 7 and adapted to connect the POWER MOS tube 3 can be quickly discharged, thereby suppressing the voltage increase of the power supply SRAMVS, and then realizing the overshoot protection of the MOS tube in the sram cell and the CLB&SWB unit 11, wherein the fast discharge is specifically relative to the previous discharge speed of the current of the POWER MOS tube 3.

[0064] In addition, when the load current 15 changes and exits the overshoot state, the active load circuit 10 can configure the discharge tube 7 to exit the discharge protection state according to the voltage of the power supply SRAMVS. At this time, the discharge tube 7 is connected to the corresponding POWER MOS tube 3 to achieve normal current discharge.

[0065] In one embodiment of the present invention, a POWER MOS tube 3 and a discharge tube 7 corresponding to the POWER MOS tube 3 are both located in a power generation circuit 6 in the FPGA;

[0066] In the FPGA, the power generation circuit 6 is distributed in an array;

[0067] For each power generation circuit 6, a power supply SRAMVS is generated based on the POWER MOS tube 3 and the discharge tube 7 located in the power generation circuit 6, and the power supplies SRAMVS generated by all power generation circuits 6 in the FPGA are interconnected to form a power supply network adapted to the storage unit.

[0068] Figure 3 An embodiment of an FPGA chip is shown in FIG. 1 , which includes several rows of power generation circuits 6. Generally, the number and distribution positions of the power generation circuits 6 in each row correspond to each other. The number and distribution of the power generation circuits 6 can be selected as needed to meet actual needs. Generally, the power generation circuits 6 in each row are distributed in the second direction, and the power generation circuits 6 in multiple rows are arranged in the first direction. The first direction is perpendicular to the second direction. If the second direction is horizontal, the first direction can be vertical.

[0069] Figure 3 In the figure, the FPGA chip also includes multiple data shift registers 9, and the multiple data shift registers 9 are distributed in the first direction. In the figure, DSR is the data shift register, and SRAMVS_GEN is the power generation circuit. In addition, in the figure, PMU is the power management circuit 8, the I / O interface 14 is the interface of the entire FPGA chip, the CLB&SWB unit 11 is the programmable logic resource, the DSP unit 12 is the digital signal operation unit, and the BRAM unit 13 is the Block RAM. Generally, the power management circuit 8 is located in the center of the FPGA.

[0070] Figure 3 In the embodiment, multiple rows of functional layers and multiple rows of power generation circuits 6 are provided. For one functional layer, two I / O interfaces 14, CLB&SWB units 11, DSP units 12 and BRAM units 13 are arranged. The specific arrangement and specific functions are consistent with the existing ones. A row of power generation circuits 6 is provided between two rows of functional layers. In the FPGA chip, the number of rows of functional layers and the number of data shift registers 9 can be selected as needed. Generally, one data shift register 9 can be connected to multiple rows of power generation circuits 6, such as one data shift register 9 can be connected to two rows of power generation circuits 6.

[0071] In a specific implementation, the POWER MOS tube 3 and the discharge tube 7 corresponding to the POWER MOS tube 3 are both located in a power generation circuit 6, and a POWER MOS tube 3 and a discharge tube 7 electrically connected to the POWER MOS tube 3 are placed in each power generation circuit 6. Therefore, a power generation circuit 6 may include at least one POWER MOS tube 3 and at least one discharge tube 7, and the power generation circuit 6 may generate a power supply SRAMVS using the POWER MOS tube 3 and the discharge tube 7. The power supplies SRAMVS generated by all power generation circuits 6 are interconnected, so that after being interconnected, a power supply network throughout the FPGA can be formed.

[0072] In one embodiment of the present invention, the active load circuit 10 is located in a data shift register 9 in the FPGA, wherein:

[0073] The data shift register 9 also includes a power supply second circuit portion 4 in a power supply circuit body;

[0074] In the FPGA, the second power circuit part 4 in all data shift registers 9 is electrically connected to the first power circuit part 5 of the power circuit body;

[0075] The first circuit portion 5 of the power supply is located in the power management circuit 8 in the FPGA;

[0076] For any data shift register 9, the power supply second circuit part 4 in the data shift register 9 is adapted to be connected to all POWER MOS tubes 3 in the power supply generating circuit 6 corresponding to the data shift register 9, and the active load circuit 10 in the data shift register 9 is adapted to be connected to all discharge tubes 7 in the power supply generating circuit 6 corresponding to the data shift register 9;

[0077] The first power circuit portion 5 is adaptively connected to the second power circuit portion 4 in a data shift register 9 and the POWER MOS tube 3 in a corresponding power generation circuit 6 to form an LDO circuit form.

[0078] After the POWER MOS tube 3 and the discharge tube 7 are arranged in the power generation circuit 6, the active load circuit 10 is arranged in the data shift register 9. Generally, an active load circuit 10 is arranged in each data shift register 9. Figure 3As can be seen from the above description, a data shift register 9 can be connected to multiple rows of power generation circuits 6. At this time, the active load circuit 10 located in the data shift register 9 needs to be connected to the discharge tubes 7 in all the power generation circuits 6 corresponding to the data shift register 9, so that the discharge state of the corresponding discharge tube 7 can be configured, such as configuring the discharge tube 7 to enter the discharge protection state and exit the corresponding discharge protection state as mentioned above.

[0079] As can be seen from the above description, after the power supply network is formed, when the power supply SRAMVS generated by any power generation circuit 6 changes and causes overshoot, the active load circuit 10 correspondingly connected to the power generation circuit 6 will configure the discharge tube 7 in the current power generation circuit 6 to enter the discharge protection state. The current power generation circuit 6 is the power generation circuit 6 directly connected to the active load circuit 10. For example, for a data shift register 9, the active load circuit 10 in the data shift register 9 and the power generation circuit 6 connected to the active load circuit 10 are both the current power generation circuit 6.

[0080] In order to realize the form of LDO power supply, a second power circuit part 4 is also set in the data shift register 9, and a first power circuit part 5 is set in the power management circuit 8. From the above description and the characteristics of the FPGA chip, it can be seen that the entire power circuit body includes a first power circuit part 5, multiple second power circuit parts 4 and multiple POWER MOS tubes 3, wherein the number of the second power circuit parts 4 is consistent with the number of data shift registers 9 in the FPGA chip, and the number of POWER MOS tubes 3 is consistent with the number of power generation circuits 6 in the FPGA chip.

[0081] Figure 7 FIG. 1 shows an embodiment of the connection between the first power circuit unit 5, the second power circuit unit 4, the active load circuit 10 and the POWER MOS tube 3 in the FPGA. The first power circuit unit 5 is adaptively connected to all the second power circuit units 4, and the second power circuit unit 4 is adaptively connected to the corresponding POWER MOS tube 3. Generally, the first power circuit unit 5, a second power circuit unit 4 and a corresponding POWER MOS tube 3 are adaptively connected to form an LDO circuit, such as Figure 4 As shown, the connection form of the LDO circuit will be specifically described below.

[0082] Figure 4 In the embodiment, the first circuit part 5 of the power supply includes an operational amplifier U1 and a bandgap reference source, and the reference voltage VBG generated by the bandgap reference source is connected to the in-phase terminal of the operational amplifier U1;

[0083] The inverting terminal of the operational amplifier U1 is connected to one end of the resistor R3 and one end of the resistor R4, one end of the resistor R4 is grounded, and the other end of the resistor R3 is connected to all power supplies SRAMVS;

[0084] The output terminal of the operational amplifier U1 is adaptively connected to the second circuit portion of the power supply.

[0085] Specifically, the bandgap reference source can adopt the existing commonly used form, the bandgap reference source and the entire power first circuit part 5 are located in the power management circuit 8, and the reference voltage VBG can be generated by using the bandgap reference source. The power supply SRAMVS can be divided by resistors R3 and R4, and the reference voltage VBG and the voltage value after the voltage division can be compared by using the operational amplifier U1.

[0086] In one embodiment of the present invention, the second circuit portion 4 of the power supply includes a voltage follower, wherein:

[0087] The second power circuit section 4 uses a voltage follower to follow the voltage loaded by the first power circuit section 5 , and loads the followed voltage to the correspondingly connected POWER MOS tube 3 .

[0088] Figure 4 An embodiment of the second circuit portion 4 of the power supply is shown in the figure. In the figure, the operational amplifier U2 can be configured to form a voltage follower. When the second circuit portion 4 of the power supply forms a voltage follower, the driving capability when forming an LDO circuit can be improved.

[0089] In one embodiment of the present invention, for any power generation circuit 6, the POWERMOS tube 3 in the power generation circuit 6 includes at least one PMOS tube M1, and the discharge tube 7 in the power generation circuit 6 includes at least one NMOS tube M2, wherein:

[0090] The drain terminal of the PMOS tube M1 is connected to the drain terminal of the NMOS tube M2 to form a power output terminal of the output power SRAMVS;

[0091] The source terminal of the NMOS tube M2 is grounded, and the gate terminal of the NMOS tube M2 is adaptively connected to the active load circuit.

[0092] Figure 4 In the figure, the POWER MOS tube 3 shows an embodiment of using a PMOS tube M1, and the discharge tube 7 shows an embodiment of using an NMOS tube M2. The drain end of the PMOS tube M1 and the drain end of the NMOS tube M2 are connected to each other to form a power output end of the power supply SRAMVS. The power output end needs to be adaptively connected with the resistor R3 in the first circuit part 5 of the power supply to feedback the output power SRAMVS. Figure 4In the embodiment, the source terminal of the PMOS tube M1 is connected to the voltage VCCAUX, and the voltage ACCVUX can be selected as required to meet the working scenario of the PMOS tube M1. Figure 4 The Iload in the figure is an implementation example of providing the power SRAMVS to the SRAM cell.

[0093] The above shows an embodiment in which the first power circuit 5, the second power circuit portion 4 and the POWER MOS tube 3 are adapted and connected in sequence to form an LDO circuit. Of course, the specific form of the connection to form the LDO circuit can be selected according to needs, based on the power supply requirements of the LDO circuit and the storage unit, and will not be described one by one here.

[0094] In addition, the above and Figure 7 It can be seen that in the entire FPGA chip, a multi-stage LDO circuit can be formed through the adaptive connection of the first power circuit part 5, the second power circuit part 4 and the corresponding POWER MOS tube 3. At the same time, when the first power circuit part 5, the second power circuit part 4, the active load circuit 10, the POWER MOS tube 3 and the discharge tube 7 adopt the above-mentioned layout in the FPGA chip, it can be ensured that when the power supply SRAMVS voltage is raised due to the change of the load current 15, the discharge tube 7 can discharge the current evenly.

[0095] In a specific implementation, when the first power circuit portion 5, the second power circuit portion 4, the active load circuit 10, the POWER MOS tube 3 and the discharge tube 7 are arranged in the above-mentioned layout in the FPGA chip, the corresponding adaptive connection between the first power circuit portion 5, the second power circuit portion 4, the active load circuit 10, the POWER MOS tube 3 and the discharge tube 7 can be achieved by commonly used technical means in the technical field, and the specific wiring and connection implementation methods can be selected according to needs.

[0096] In one embodiment of the present invention, the active load circuit 10 includes a voltage detection processing unit and a load discharge unit adaptively connected to the voltage detection processing unit, wherein:

[0097] For any active load circuit 10, all power supplies SRAMVS of the power generation circuit 6 corresponding to the active load circuit 10 are connected to the voltage detection processing unit and the load discharge unit of the active load circuit 10;

[0098] The voltage detection processing unit detects the voltage of the connected power supply SRAMVS. When the voltage of the connected power supply SRAMVS increases, the voltage loaded to the gate terminal of the NMOS tube M2 increases to configure the NMOS tube M2 to enter a discharge protection state, and discharge the current flowing through the voltage detection processing unit through the load discharge unit.

[0099] Specifically, the voltage detection processing unit mainly detects the voltage state of the power supply SRAMVS, and the load discharge unit mainly discharges the current of the voltage detection processing unit to improve the safety of the voltage detection processing unit during operation. Figure 5 The details of the active load circuit 10 will be explained.

[0100] Figure 5 In the embodiment, the voltage detection processing unit includes a PMOS transistor PM1, a PMOS transistor PM2 and a PMOS transistor PM3, wherein:

[0101] The source terminal of the PMOS tube PM1, the source terminal of the PMOS tube PM2 and the source terminal of the PMOS tube PM3 are all connected to the power supply SRAMVS;

[0102] The gate terminal of the PMOS transistor PM1 is connected to the drain terminal of the PMOS transistor PM1, one end of the resistor R1, one end of the resistor R2, and the gate terminal of the PMOS transistor PM2;

[0103] The other end of the resistor R2 is connected to one end of the capacitor C1 and the gate end of the PMOS tube PM3;

[0104] The drain terminal of the PMOS transistor PM3 is connected to the drain terminal of the NMOS transistor NM0, the load discharge portion, and the gate terminal of the NMOS transistor M2, and a node net2 is formed after the connection;

[0105] The drain terminal of the PMOS tube PM2 is connected to the drain terminal of the NMOS tube NM1, the gate terminal of the NMOS tube NM1, and the gate terminal of the NMOS tube NM0;

[0106] The other end of the resistor R1 , the other end of the capacitor C1 , the source end of the NMOS transistor NM0 , and the source end of the NMOS transistor NM1 are all connected to the reference potential GS.

[0107] Figure 5 In the figure, the gate end of the PMOS transistor PM1, the resistor R1, the resistor R2 and the gate end of the PMOS transistor PM2 are connected to form a node net1, the resistor R2, the capacitor C1 and the gate end of the PMOS transistor PM2 are connected to form a node P_bias; the gate end of the NMOS transistor NM0, the gate end of the NMOS transistor NM1, the drain end of the NMOS transistor NM1 and the drain end of the PMOS transistor PM2 are connected to form a node N_bias.

[0108] In one embodiment of the present invention, the load discharge unit includes a plurality of NMOS type load discharge power tubes, wherein:

[0109] The drain terminals of all load-discharging power tubes are connected to the power supply SRAMVS;

[0110] The gate terminals of all load-discharging power tubes are connected to node net2;

[0111] The source terminals of all load-discharging power transistors are connected to the reference potential GS.

[0112] Figure 5 Among them, NMOS tube NM2, NMOS tube NM4 ... NMOS tube NMn are all load discharge power tubes, and the number of load discharge power tubes can be selected according to needs. The load discharge power tubes can be used to discharge the current flowing through the voltage detection processing unit.

[0113] Specifically, the PMOS transistor PM1, the PMOS transistor PM2, and the PMOS transistor PM3 form a 1:1:1 current mirror. Figure 5 In FIG. 1 , I1 is the current flowing through the PMOS transistor PM1, I2 is the current flowing through the PMOS transistor PM2, and I3 is the current flowing through the PMOS transistor PM3. The reference potential GS can generally be the ground potential, that is, the 0 potential.

[0114] When the voltage of the power supply SRAMVS is suddenly raised, the currents I1, I2, and I3 all increase. At this time, due to the increase in current I2, the voltage of the node N_bias increases, so that the NMOS tube NM1 is in the saturation region. Since the NMOS tube NM1 is in the saturation region, at this time, the voltage increase of the node N_bias is relatively small.

[0115] When the current I1 increases, the voltage of the node net1 is raised. Due to the existence of the resistor R1, the resistor R2 and the capacitor C1, the voltage change of the node P_bias is delayed. At this time, the voltage of the node net2 will rise rapidly as the voltage of the power supply SRAMVS is raised, and the voltage of the node net2 is loaded to the gate end of the NMOS tube M2 serving as the discharge tube 7. Since the source end of the NMOS tube M2 is grounded, at this time, the gate-source voltage of the NMOS tube M2 becomes larger, and the overcurrent capacity of the NMOS tube M2 is enhanced, thereby increasing the overcurrent of the discharge tube 7, realizing the rapid discharge of the current of the POWER MOS tube 3, which can play a role in suppressing the power supply SRAMVS voltage from continuing to rise, that is, realizing overshoot protection of the MOS tubes in the SRAM cell and the CLB&SWB unit 11.

[0116] When the voltage of the power supply SRAMVS drops, the currents I1, I2 and I3 will decrease synchronously, and at this time, the voltage of the node net2 will also decrease, and the discharge tube 7 will exit from the discharge protection state. At this time, the NMOS tube M2 as the discharge tube 7 remains in the on state, that is, the current flowing through the POWER MOS tube 3 can reach the ground through the NMOS tube M2.

[0117] Of course, in specific implementation, the active load circuit 10 can also adopt other circuit forms, which can be selected according to needs, so as to control the discharge state of the discharge tube 7 according to the voltage of the power supply SRAMVS.

Claims

1. An FPGA storage unit power supply circuit with overshoot protection, characterized in that: The storage unit power supply circuit comprises: A power circuit body, used to provide the power SRAMVS required for the storage unit to work, wherein the power circuit body includes a plurality of POWER MOS tubes; An overshoot protection circuit, comprising a discharge tube for discharging current flowing through a POWER MOS tube and an active load circuit for configuring a discharge state of the discharge tube, wherein the discharge tube corresponds to and is adaptively connected to the POWER MOS tube; When overshoot occurs, the active load circuit configures the discharge tube to enter the discharge protection state based on the voltage of the power supply SRAMVS, and uses the discharge tube in the discharge protection state to quickly discharge the current flowing through the adapted POWER MOS tube to suppress the voltage increase of the power supply SRAMVS; A POWER MOS tube and a discharge tube corresponding to the POWER MOS tube are both located in a power generation circuit in the FPGA; Within the FPGA, the power generation circuits are distributed in an array; For each power generation circuit, a power supply SRAMVS is generated based on a POWER MOS tube and a discharge tube located in the power generation circuit, and the power supplies SRAMVS generated by all power generation circuits in the FPGA are connected to each other to form a power supply network adapted to the storage unit; The active load circuit is located in a data shift register in the FPGA, wherein: The data shift register also includes a power supply second circuit portion in the power supply circuit body; In the FPGA, the second power circuit parts in all data shift registers are electrically connected to the first power circuit parts of the power circuit body; The first circuit portion of the power supply is located in a power management circuit in the FPGA; For any data shift register, the second power circuit portion in the data shift register is adapted to be connected to all POWER MOS tubes in the power generation circuit correspondingly connected to the data shift register, and the active load circuit in the data shift register is adapted to be connected to all discharge tubes in the power generation circuit correspondingly connected to the data shift register; The first power circuit part is adaptively connected with the second power circuit part in a data shift register and a POWER MOS tube in a corresponding power generation circuit to form an LDO circuit form.

2. The FPGA storage unit power supply circuit with overshoot protection according to claim 1, characterized in that: In the FPGA, a plurality of data shift registers are distributed in a first direction; Each row of power generation circuits is distributed in the second direction, and multiple rows of power generation circuits are distributed in the second direction The power management circuitry is at the heart of the FPGA.

3. The FPGA storage unit power supply circuit with overshoot protection according to claim 1 or 2, characterized in that: For any power generation circuit, the POWER MOS tube in the power generation circuit includes at least a PMOS tube M1, and the discharge tube in the power generation circuit includes at least an NMOS tube M2, wherein: The drain terminal of the PMOS tube M1 is connected to the drain terminal of the NMOS tube M2 to form a power output terminal of the output power SRAMVS; The source terminal of the NMOS tube M2 is grounded, and the gate terminal of the NMOS tube M2 is adaptively connected to the active load circuit.

4. The FPGA storage unit power supply circuit with overshoot protection according to claim 3 is characterized in that: The active load circuit includes a voltage detection processing unit and a load discharge unit adaptively connected to the voltage detection processing unit, wherein: For any active load circuit, all power supplies SRAMVS of the power generation circuit corresponding to the active load circuit are connected to the voltage detection processing unit and the load discharge unit of the active load circuit; The voltage detection processing unit detects the voltage of the connected power supply SRAMVS. When the voltage of the connected power supply SRAMVS increases, the voltage loaded to the gate terminal of the NMOS tube M2 increases to configure the NMOS tube M2 to enter a discharge protection state, and discharge the current flowing through the voltage detection processing unit through the load discharge unit.

5. The FPGA storage unit power supply circuit with overshoot protection according to claim 4 is characterized in that: The voltage detection processing unit includes a PMOS transistor PM1, a PMOS transistor PM2 and a PMOS transistor PM3, wherein: The source terminal of the PMOS tube PM1, the source terminal of the PMOS tube PM2 and the source terminal of the PMOS tube PM3 are all connected to the power supply SRAMVS; The gate terminal of the PMOS transistor PM1 is connected to the drain terminal of the PMOS transistor PM1, one end of the resistor R1, one end of the resistor R2, and the gate terminal of the PMOS transistor PM2; The other end of the resistor R2 is connected to one end of the capacitor C1 and the gate end of the PMOS tube PM3; The drain terminal of the PMOS transistor PM3 is connected to the drain terminal of the NMOS transistor NM0, the load discharge portion, and the gate terminal of the NMOS transistor M2, and a node net2 is formed after the connection; The drain terminal of the PMOS tube PM2 is connected to the drain terminal of the NMOS tube NM1, the gate terminal of the NMOS tube NM1, and the gate terminal of the NMOS tube NM0; The other end of the resistor R1 , the other end of the capacitor C1 , the source end of the NMOS transistor NM0 , and the source end of the NMOS transistor NM1 are all connected to the reference potential GS.

6. The FPGA storage unit power supply circuit with overshoot protection according to claim 5, characterized in that: The load discharge unit includes a plurality of NMOS type load discharge power tubes, wherein: The drain terminals of all load-discharging power tubes are connected to the power supply SRAMVS; The gate terminals of all load-discharging power tubes are connected to node net2; The source terminals of all load-discharging power transistors are connected to the reference potential GS.

7. The FPGA storage unit power supply circuit with overshoot protection according to claim 1 or 2, characterized in that: The first circuit portion of the power supply includes an operational amplifier U1 and a bandgap reference source, and the reference voltage VBG generated by the bandgap reference source is connected to the in-phase terminal of the operational amplifier U1; The inverting terminal of the operational amplifier U1 is connected to one end of the resistor R3 and one end of the resistor R4, one end of the resistor R4 is grounded, and the other end of the resistor R3 is connected to all power supplies SRAMVS; The output terminal of the operational amplifier U1 is adaptively connected to the second circuit portion of the power supply.

8. The FPGA storage unit power supply circuit with overshoot protection according to claim 7, characterized in that: The second circuit portion of the power supply includes a voltage follower, wherein: The second circuit part of the power supply uses a voltage follower to follow the voltage loaded by the first circuit part of the power supply, and loads the followed voltage to the correspondingly connected POWER MOS tube.