IO circuit and chip

By designing the pre-driven circuit and the driving increase circuit in the IO circuit, the unified driving of high-speed IO and low-speed IO is achieved, and the problem of setting up the high-speed IO and low-speed IO driver circuits in the chip is solved, saving chip area and cost.

CN118971865APending Publication Date: 2024-11-15TONGXIN MICROELECTRONICS TECHNOLOGY (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410921807.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The driving circuits of high-speed IO and low-speed IO in existing chips need to be set up separately, resulting in increased chip area and increased cost.

Method used

By designing an IO circuit, including a pre-drive circuit, a final drive circuit and a driving increase circuit, the driving increase circuit is used to provide driving current when the driving enhancement configuration signal is valid, and the driving capability of the final drive circuit is enhanced, so as to achieve high-speed IO and Unified drive for low-speed IO.

Benefits of technology

It realizes that the same circuit can be used as high-speed IO and low-speed IO, saving chip area and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118971865A_ABST
    Figure CN118971865A_ABST
Patent Text Reader

Abstract

The invention discloses an IO circuit and a chip. The IO circuit comprises a pre-driving circuit, a final-stage driving circuit and a driving increasing circuit, the final-stage driving circuit is connected with the signal output end of the IO circuit; the pre-driving circuit is connected with the control end of the final-stage driving circuit, and the pre-driving circuit is used for controlling the final-stage driving circuit to output a level signal corresponding to an input signal at least according to the accessed input signal; wherein an input signal is output by the preceding-stage controller; the drive increasing circuit is connected with the control end of the final-stage drive circuit, and a drive enhancing configuration signal and an input signal are respectively accessed into the drive increasing circuit; and the driving module is used for providing driving current for the control end of the final-stage driving circuit according to the jump edge of the input signal under the condition that the driving enhancement configuration signal is effective so as to enhance the driving current of the final-stage driving circuit. According to the IO circuit, the low-speed IO and the high-speed IO can be driven through the same driving circuit, so that the area and the cost of a chip are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of circuit design, and in particular to an IO circuit and a chip. Background Art

[0002] Many pins in a chip or integrated circuit are multiplexed to implement different functions. For example, the transmit data pin of a 125Mhz Ethernet ultra-high-speed digital output IO can be multiplexed with a low-speed IO such as a Serial Peripheral Interface (SPI) with an operating frequency of 2M to 20M and a Universal Asynchronous Receiver Transmitter (UART).

[0003] The slew rate of high-speed IO is significantly higher than that of ordinary IO, and driving circuits corresponding to high-speed IO and low-speed IO need to be set separately. During use, the driving circuit of low-speed IO and the driving circuit of high-speed IO are switched through the multiplexing control circuit, which increases the chip area and the cost. Summary of the invention

[0004] The present invention provides an IO circuit and a chip, so as to realize driving of a low-speed IO and a high-speed IO through the same driving circuit, thereby saving the area and cost of the chip.

[0005] In a first aspect, the present invention provides an IO circuit, comprising: a pre-driving circuit, a final-stage driving circuit and a driving increase circuit; the final-stage driving circuit is connected to a signal output terminal of the IO circuit; the pre-driving circuit is connected to a control terminal of the final-stage driving circuit, and the pre-driving circuit is used to control the final-stage driving circuit to output a level signal corresponding to the input signal at least according to an input signal connected thereto; wherein the input signal is output by a pre-stage controller; the driving increase circuit is connected to the control terminal of the final-stage driving circuit, and is connected to a driving enhancement configuration signal and an input signal respectively; and is used to provide a driving current to the control terminal of the final-stage driving circuit according to a transition edge of the input signal when the driving enhancement configuration signal is valid, so as to enhance the driving current to the final-stage driving circuit.

[0006] Optionally, the final drive circuit includes a first drive tube and a second drive tube, and the final drive circuit also includes a first control end and a second control end; the first pole of the first drive tube is connected to the power supply, the second pole of the first drive tube is connected to the signal output end, and the gate of the first drive tube serves as the first control end of the final drive circuit; the first pole of the second drive tube is grounded, the second pole of the second drive tube is connected to the signal output end, and the gate of the second drive tube serves as the second control end of the final drive circuit; the pre-drive circuit is used to provide a conduction control signal to the gate of the first drive tube and a shutdown control signal to the gate of the second drive tube when the input signal is a first level; when the input signal is a second level, the conduction control signal is provided to the gate of the second drive tube, and the shutdown control signal is provided to the gate of the first drive tube; the drive increase circuit is used to provide a rising edge enhancement drive current to the gate of the first drive tube when the drive enhancement configuration signal is valid and the input signal jumps from the second level to the first level; when the drive enhancement configuration signal is valid and the input signal jumps from the first level to the second level, the falling edge enhancement drive current is provided to the gate of the second drive tube.

[0007] Optionally, the drive increasing circuit includes a current source, a first power tube, a second power tube, a current mirror unit and a controller; the first end of the current source is connected to the power supply, and the second end of the current source is respectively connected to the first pole of the first power tube and the first pole of the second power tube; the second pole of the first power tube is connected to the first end of the current mirror unit, and the gate of the first power tube is connected to the first output end of the controller; the second pole of the second power tube is connected to the second end of the current mirror unit, and the gate of the second power tube is connected to the second output end of the controller; the third end of the current mirror unit is connected to the power supply, the first output end of the current mirror unit is connected to the gate of the first driving tube, and the The second output terminal is connected to the gate of the second driving tube; the first input terminal of the controller is connected to the input signal, and the second input terminal of the controller is connected to the enable signal. The controller is used to turn on the second power tube when the enable signal and the drive enhancement configuration signal are both valid and the input signal jumps from the second level to the first level, so that the first output terminal of the current mirror unit outputs a rising edge enhanced driving current; the enable signal is output by the previous controller; the controller is also used to turn on the first power tube when the enable signal and the drive enhancement configuration signal are both valid and the input signal jumps from the first level to the second level, so that the second output terminal of the current mirror unit outputs a falling edge enhanced driving current.

[0008] Optionally, the controller is further configured to control the first power tube and the second power tube to be turned off when the enable signal is invalid.

[0009] Optionally, the controller includes a combinational logic circuit, a first buffer, a second buffer and a register, the data bits stored in the register include an enable control bit, the value stored in the enable control bit represents the effective state of the drive enhancement configuration signal for enabling the drive increase circuit; the input end of the first buffer is connected to the first output end of the combinational logic circuit, and the output end of the first buffer serves as the first output end of the controller; the input end of the second buffer is connected to the second output end of the combinational logic circuit, and the output end of the second buffer serves as the second output end of the controller; the first input end of the combinational logic circuit serves as the first input end of the controller, and the second input end of the combinational logic circuit serves as the second output end of the controller The second input terminal of the combinational logic circuit is connected to the register. The combinational logic circuit is used to control the first buffer to output the first control signal and the second buffer to output the second control signal when the driving enhancement configuration signal and the enable signal are both valid and the input signal jumps from the second level to the first level, so as to turn on the second power tube; the combinational logic circuit is also used to control the first buffer to output the second control signal and the second buffer to output the first control signal when the driving enhancement configuration signal and the enable signal are both valid and the input signal jumps from the first level to the second level, so as to turn on the first power tube; wherein the first control signal and the second control signal are high and low level signals to each other.

[0010] Optionally, the current mirror unit includes a first current mirror, a second current mirror and a third current mirror; the first end of the first current mirror serves as the first end of the current mirror unit, the second end of the first current mirror is connected to the first end of the third current mirror, the third end of the first current mirror is grounded, and the fourth end of the first current mirror is grounded; the first end of the second current mirror serves as the second end of the current mirror unit, the second end of the second current mirror is connected to the gate of the first driving tube, the third end of the second current mirror is grounded, and the fourth end of the second current mirror is grounded; the second end of the third current mirror is connected to the gate of the second driving tube, the third end of the third current mirror is connected to the fourth end of the third current mirror, and serves as the third end of the current mirror unit.

[0011] Optionally, the first current mirror includes a first transistor and a second transistor; the first electrode of the first transistor serves as the third end of the first current mirror, the second electrode of the first transistor is connected to the gate of the first transistor and serves as the first end of the first current mirror; the first electrode of the second transistor serves as the fourth end of the first current mirror, the second electrode of the second transistor serves as the second end of the first current mirror, and the gate of the second transistor is connected to the gate of the first transistor; and / or, the second current mirror includes a third transistor and a fourth transistor; the first electrode of the third transistor serves as the third end of the second current mirror, the second electrode of the third transistor is connected to the gate of the third transistor, and serves as the first end of the second current mirror; the first electrode of the fourth transistor serves as the fourth end of the second current mirror, the second electrode of the fourth transistor serves as the second end of the second current mirror, and the gate of the fourth transistor is connected to the gate of the third transistor; and / or, the third current mirror includes a fifth transistor and a sixth transistor; the first electrode of the fifth transistor serves as the third end of the third current mirror, the second electrode of the fifth transistor is connected to the gate of the fifth transistor, and serves as the first end of the third current mirror; the first electrode of the sixth transistor serves as the fourth end of the third current mirror, the second electrode of the sixth transistor serves as the second end of the third current mirror, and the gate of the sixth transistor is connected to the gate of the fifth transistor.

[0012] Optionally, the pre-drive circuit includes a first inversion circuit, a second inversion circuit, a first level conversion circuit, a second level conversion circuit, a first-level buffer and a second-level buffer; the first input end of the first inversion circuit is connected to the input signal, the second input end of the first inversion circuit is connected to the enable signal, the output end of the first inversion circuit is connected to the input end of the first level conversion circuit, and the first inversion circuit is used to invert the input signal and send it to the input end of the first level conversion circuit; the first input end of the second inversion circuit is connected to the first input end of the first inversion circuit, the second input end of the second inversion circuit is connected to the second input end of the first inversion circuit, the output end of the second inversion circuit is connected to the input end of the second level conversion circuit, and the second inversion circuit is used to invert the input signal and send it to the input end of the second level conversion circuit; the first-level buffer is respectively connected to the output end of the first level conversion circuit and the gate of the first driving tube; the second-level buffer is respectively connected to the output end of the second level conversion circuit and the gate of the second driving tube.

[0013] Optionally, the first inversion circuit includes a NAND gate; the first input end of the NAND gate serves as the first input end of the first inversion circuit, the second input end of the NAND gate serves as the second input end of the first inversion circuit, and the output end of the NAND gate serves as the output end of the first inversion circuit; and / or, the second inversion circuit includes a first inverter and a NOR gate; the input end of the first inverter serves as the second input end of the second inversion circuit, and the output end of the first inverter is connected to the second input end of the NOR gate; the first input end of the NOR gate serves as the first input end of the second inversion circuit, and the output end of the NOR gate serves as the output end of the second inversion circuit; and / or, the first-stage buffer includes a second inverter and a third inverter; the second inverter and the third inverter are connected in series and then connected to the gate of the first driving tube; and / or, the second-stage buffer includes a fourth inverter and a fifth inverter; the fourth inverter and the fifth inverter are connected in series and then connected to the gate of the second driving tube.

[0014] In a second aspect, the present invention provides a chip, comprising the IO circuit provided by any embodiment of the present invention.

[0015] The IO circuit provided by the embodiment of the present invention includes a pre-driving circuit, a final-stage driving circuit and a driving increase circuit. By controlling the driving increase circuit to provide a driving current to the control end of the final-stage driving circuit according to the transition edge of the input signal when the driving enhancement configuration signal is valid, the driving current of the final-stage driving circuit can be enhanced, thereby enhancing the conduction process of the final-stage driving circuit and improving the conversion rate of the IO circuit, that is, the IO circuit can be used as a high-speed IO; by controlling the driving increase circuit not to work when the driving enhancement configuration signal is invalid, the IO circuit can be used as a low-speed IO. In other words, the IO circuit can drive the high-speed IO by driving the driving increase circuit when the enhancement configuration signal is valid; and drive the low-speed IO by not working the driving increase circuit when the enhancement configuration signal is invalid, thereby realizing the driving of the high-speed IO and the low-speed IO through the same circuit, without setting corresponding driving circuits for the high-speed IO and the low-speed IO respectively, thereby saving the chip area and cost.

[0016] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 is a structural schematic diagram of an IO circuit provided by an embodiment of the present invention;

[0019] Figure 2 is a structural diagram of another IO circuit provided by an embodiment of the present invention;

[0020] Figure 3 is a structural schematic diagram of a drive increasing circuit provided by an embodiment of the present invention;

[0021] Figure 4 is a schematic diagram of the structure of a controller provided by an embodiment of the present invention;

[0022] Figure 5 is a structural schematic diagram of another drive increasing circuit provided by an embodiment of the present invention;

[0023] Figure 6 is a structural diagram of another IO circuit provided by an embodiment of the present invention;

[0024] Figure 7 is a structural diagram of another IO circuit provided by an embodiment of the present invention;

[0025] Figure 8 It is a structural diagram of another IO circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0028] Figure 1 1 is a schematic diagram of the structure of an IO circuit provided by an embodiment of the present invention. Figure 1 As shown, the IO circuit 10 includes: a pre-driving circuit 11, a final driving circuit 12 and a driving increasing circuit 13.

[0029] The final stage driving circuit 12 is connected to the signal output terminal PAD of the IO circuit 11 .

[0030] The pre-driving circuit 11 is connected to the control end of the final driving circuit 12 , and is used to control the final driving circuit 12 to output a level signal corresponding to the input signal TX_O at least according to the input signal TX_O connected thereto; wherein the input signal is output by the pre-stage controller 20 .

[0031] The drive increasing circuit 13 is connected to the control end of the final drive circuit 12, and is respectively connected to the drive enhancement configuration signal Slew_Boost_En and the input signal TX_O; it is used to provide a drive current to the control end of the final drive circuit 12 according to the transition edge of the input signal TX_O when the drive enhancement configuration signal Slew_Boost_En is valid, so as to enhance the drive current to the final drive circuit 12.

[0032] Specifically, the signal output terminal PAD of the IO circuit in the embodiment of the present invention can be used as an IO interface.

[0033] The final drive circuit 12 includes a first control terminal Ctr1, a second control terminal Ctr2, a first power supply terminal and a second power supply terminal. The first power supply terminal is connected to a power supply VDD, and the second power supply terminal is grounded. The power supply VDD provides a power supply voltage to the final drive circuit 12.

[0034] The final drive circuit 12 also includes a drive tube that realizes on-off control through an electrical signal, or realizes on-off control according to the characteristics of the component itself. The drive tube in the final drive circuit 12 can be a Metal Oxide Semiconductor Field Effect Transistor (MOSFET).

[0035] The pre-driving circuit 11 is used to control the final driving circuit 12 to output a power supply voltage when the input signal TX_O is at a first level. When the input signal TX_O is at a second level, the final driving circuit 12 is controlled to output a ground voltage. The first level is a high level, such as a digital signal 1, and the second level is a low level, such as a digital signal 0.

[0036] In some embodiments, the pre-driver circuit 11 can also be connected to an enable signal, and the pre-driver circuit 11 is used to control the final driver circuit 12 to output a power supply voltage when the enable signal is valid and the input signal TX_O is at a first level. When the enable signal is valid and the input signal TX_O is at a second level, the final driver circuit 12 is controlled to output a ground voltage. When the enable signal is invalid, the final driver circuit 12 is controlled to be turned off. Among them, the enable signal is valid at a high level and invalid at a low level.

[0037] In some embodiments, the pre-stage controller 20 may include a controller in the same chip as the IO circuit 10. For example, the pre-stage controller 20 may include an Ethernet controller, an SPI controller, or a CAN controller.

[0038] In some embodiments, the drive boost circuit 13 is further configured to not work when the drive boost configuration signal Slew_Boost_En is invalid. In this case, the IO circuit 10 can be used as a low-speed IO.

[0039] In some embodiments, the input signal TX_O includes multiple bits of binary data. Exemplarily, the input signal TX_O may be a data signal.

[0040] When the drive enhancement configuration signal Slew_Boost_En is valid, the IO circuit 10 can be used as a high-speed IO. Specifically, when the previous binary data is different from the next binary data, the drive increase circuit 13 works. Exemplarily, when the previous binary data of the input signal TX_O is 0 and the next binary data is 1, that is, when the input signal TX_O jumps from the second level to the first level, the drive increase circuit 13 provides a rising edge enhancement drive current to the first control terminal Ctr1 of the final drive circuit 12 to accelerate the conduction process of the drive tube between the first power supply terminal and the signal output terminal PAD in the final drive circuit 12, that is, to increase the conversion rate by accelerating the output power supply voltage.

[0041] When the previous binary data of the input signal is 1 and the next binary data is 0, that is, when the input signal TX_O jumps from the first level to the second level, the drive increase circuit 13 provides a falling edge enhancement drive current to the second control terminal Ctr2 of the final stage drive circuit 12 to accelerate the conduction process of the switch unit between the second power supply terminal and the signal output terminal PAD in the final stage drive circuit 12, that is, to increase the conversion rate by accelerating the output ground voltage.

[0042] It should be noted that when the drive enhancement configuration signal Slew_Boost_En is valid, that is, when the IO circuit is used as a high-speed IO, when the previous binary data and the next binary data of the input signal TX_O are the same, the drive increase circuit 13 does not work.

[0043] The IO circuit provided by the embodiment of the present invention includes a pre-driving circuit, a final-stage driving circuit and a driving increase circuit. By controlling the driving increase circuit to provide a driving current to the control end of the final-stage driving circuit according to the transition edge of the input signal when the driving enhancement configuration signal is valid, the driving current of the final-stage driving circuit can be enhanced, thereby enhancing the conduction process of the final-stage driving circuit and improving the conversion rate of the IO circuit, that is, the IO circuit can be used as a high-speed IO; by controlling the driving increase circuit not to work when the driving enhancement configuration signal is invalid, the IO circuit can be used as a low-speed IO. In other words, the IO circuit can drive the high-speed IO by driving the driving increase circuit when the enhancement configuration signal is valid; and drive the low-speed IO by not working the driving increase circuit when the enhancement configuration signal is invalid, thereby realizing the driving of the high-speed IO and the low-speed IO through the same circuit, without setting corresponding driving circuits for the high-speed IO and the low-speed IO respectively, thereby saving the chip area and cost.

[0044] Figure 2 FIG. 1 is a schematic diagram of another IO circuit provided by an embodiment of the present invention. Figure 2 As shown, the final drive circuit 12 includes a first drive tube K1 and a second drive tube K2, and the final drive circuit 12 also includes a first control terminal Ctr1 and a second control terminal Ctr2.

[0045] The first electrode of the first driving tube K1 is connected to the power supply VDD, the second electrode of the first driving tube K1 is connected to the signal output terminal PAD, and the gate of the first driving tube K1 serves as the first control terminal Ctr1 of the final driving circuit.

[0046] The first electrode of the second driving tube K2 is grounded, the second electrode of the second driving tube K2 is connected to the signal output terminal PAD, and the gate of the second driving tube K2 serves as the second control terminal Ctr2 of the final driving circuit.

[0047] The pre-driving circuit 11 is used to provide a conduction control signal to the gate of the first driving tube K1 and a shutdown control signal to the gate of the second driving tube K2 when the input signal TX_O is at a first level; and to provide a conduction control signal to the gate of the second driving tube K2 and a shutdown control signal to the gate of the first driving tube K1 when the input signal TX_O is at a second level.

[0048] The drive increase circuit 13 is used to provide a rising edge enhanced drive current to the gate of the first drive tube K1 when the drive enhancement configuration signal Slew_Boost_En is valid and the input signal TX_O jumps from the second level to the first level; and to provide a falling edge enhanced drive current to the gate of the second drive tube K2 when the drive enhancement configuration signal Slew_Boost_En is valid and the input signal TX_O jumps from the first level to the second level.

[0049] Specifically, the first electrode of the first driving tube K1 serves as the first power supply terminal of the final driving circuit 12. The first electrode of the second driving tube K2 serves as the second power supply terminal of the final driving circuit 12.

[0050] The first driving tube K1 and the second driving tube K2 can be implemented by three-terminal devices such as triodes and field effect transistors. This embodiment and the following embodiments are described by taking the first driving tube K1 as a PMOS tube and the second driving tube K2 as an NMOS tube as an example.

[0051] When the input signal TX_O is at the first level, the pre-driving circuit 11 provides a conduction control signal to the gate of the first driving tube K1, and provides a shutoff control signal to the gate of the second driving tube K2. That is, when the first driving tube K1 is turned on and the second driving tube K2 is turned off, the first power supply terminal connected to the first electrode of the first driving tube K1 provides a voltage to the signal output terminal PAD, so that the output voltage is the power supply voltage.

[0052] When the input signal TX_O is at the second level, the pre-driving circuit 11 provides a conduction control signal to the gate of the second driving tube K2, and provides a shutoff control signal to the gate of the first driving tube K1. That is, when the second driving tube K2 is turned on and the first driving tube K1 is turned off, the second power supply terminal connected to the first electrode of the second driving tube K2 provides a voltage to the signal output terminal PAD, so that the output voltage is a ground voltage.

[0053] When the drive enhancement configuration signal Slew_Boost_En is valid and the input signal TX_O jumps from the second level to the first level, the drive increase circuit 13 provides a rising edge enhancement drive current to the gate of the first drive tube K1. That is, when the input signal TX_O jumps from 0 to 1, the drive increase circuit 13 provides a rising edge enhancement drive current to the gate of the first drive tube K1 to accelerate the conduction process of the first drive tube K1, that is, to increase the conversion rate by accelerating the output power supply voltage.

[0054] When the drive enhancement configuration signal Slew_Boost_En is valid and the input signal TX_O jumps from the first level to the second level, the drive increase circuit 13 provides a falling edge enhancement drive current to the gate of the second drive tube K2. That is, when the input signal TX_O jumps from 1 to 0, the drive increase circuit 13 provides a falling edge enhancement drive current to the gate of the second drive tube K2 to accelerate the conduction process of the second drive tube K2, that is, to increase the conversion rate by accelerating the output ground voltage.

[0055] When the drive enhancement configuration signal Slew_Boost_En is valid and the voltage of the signal output terminal PAD reaches the threshold, that is, the voltage of the signal output terminal PAD is equal to the power supply voltage, or the voltage of the signal output terminal PAD is equal to the ground voltage, the drive increase circuit 13 does not work until the next time the input signal TX_O jumps from 0 to 1 or from 1 to 0, the drive increase circuit 13 works again, which can reduce the energy consumption of the IO circuit.

[0056] Continue to refer Figure 2 The pre-stage controller 20 may include an Ethernet controller 21, an SPI controller 22 or a CAN controller 23. The IO circuit 1 further includes a multiplexer 14, through which the Ethernet controller 21, the SPI controller 22 or the CAN controller 23 outputs an input signal TX_O.

[0057] Figure 3 Schematic diagram of a drive increase circuit provided by an embodiment of the present invention. Figure 3 As shown, the driving increasing circuit 13 includes a current source 131 , a first power tube Mp1 , a second power tube Mp2 , a current mirror unit 132 and a controller 133 .

[0058] A first end of the current source 131 is connected to the power source VDD, and a second end of the current source 131 is connected to a first electrode of the first power tube Mp1 and a first electrode of the second power tube Mp2 respectively.

[0059] The second electrode of the first power tube Mp1 is connected to the first electrode of the current mirror unit 132 , and the gate of the first power tube Mp1 is connected to the first output terminal Out1 of the controller 133 .

[0060] The second electrode of the second power tube Mp2 is connected to the second end of the current mirror unit 132 , and the gate of the second power tube Mp2 is connected to the second output end Out2 of the controller 133 .

[0061] The third end of the current mirror unit 132 is connected to the power supply VDD, the first output end of the current mirror unit 132 is connected to the gate of the first driving tube K1, and the second output end of the current mirror unit 132 is connected to the gate of the second driving tube K2.

[0062] The first input terminal of the controller 133 is connected to the input signal TX_O, and the second input terminal of the controller 133 is connected to the enable signal TX_EN. The controller 133 is used to turn on the second power tube Mp2 when both the enable signal TX_EN and the drive enhancement configuration signal Slew_Boost_En are valid and the input signal TX_O jumps from the second level to the first level, so that the first output terminal of the current mirror unit 132 outputs a rising edge enhanced drive current. The enable signal TX_EN is output by the previous controller, and the enable signal TX_EN is valid at a high level.

[0063] The controller 133 is further configured to turn on the first power transistor Mp1 when both the enable signal TX_EN and the drive enhancement configuration signal Slew_Boost_En are valid and the input signal TX_O jumps from the first level to the second level, so that the second output end of the current mirror unit 132 outputs a falling edge enhanced drive current.

[0064] Specifically, the output current of the current source 131 is a fixed current I0. The present invention does not limit the specific structure of the current source 131. Exemplarily, the current source 131 can be a mirror current source, a proportional current source, a micro current source, a mirror current source with an emitter output, or a Wilson current source.

[0065] The first power tube Mp1 and the second power tube Mp2 may be implemented by three-terminal devices such as triodes and field effect transistors. This embodiment and the following embodiments are described by taking the first power tube Mp1 and the second power tube Mp2 as PMOS tubes.

[0066] The current mirror unit 132 may include a plurality of current mirrors, which amplify the fixed current I0 output by the current source 131 according to a certain ratio to output a falling edge enhanced driving current or a rising edge enhanced driving current.

[0067] Continue to refer Figure 3 , the working principle of the driving increasing circuit 13 is:

[0068] When the enable signal TX_EN and the drive enhancement configuration signal Slew_Boost_En are both valid, and the input signal TX_O jumps from the first level to the second level, that is, when the input signal TX_O jumps from 1 to 0, the first output terminal Out1 of the controller 132 outputs the second control signal, and the second output terminal Out2 of the controller 132 outputs the first control signal to turn on the first power tube Mp1, thereby causing the second output terminal of the current mirror unit 132 to output a falling edge enhanced drive current.

[0069] When the enable signal TX_EN and the drive enhancement configuration signal Slew_Boost_En are both valid, and the input signal TX_O jumps from the second level to the first level, that is, when the input signal TX_O jumps from 0 to 1, the first output terminal Out1 of the controller 132 outputs a first control signal, and the second output terminal Out2 of the controller 132 outputs a second control signal to turn on the second power tube Mp2, thereby causing the first output terminal of the current mirror unit 132 to output a rising edge enhanced drive current.

[0070] Among them, the first control signal and the second control signal are high and low level signals to each other. When the first power tube Mp1 and the second power tube Mp2 are PMOS tubes, the first control signal is a high level signal, and the second control signal is a low level signal. When the first power tube Mp1 and the second power tube Mp2 are NMOS tubes, the first control signal is a low level signal, and the second control signal is a high level signal. The embodiment of the present invention and the following embodiments are all described by taking the first control signal as a high level signal and the second control signal as a low level signal as an example.

[0071] Based on the above embodiments, continue to refer to Figure 3 The controller 133 is also used to control the first power tube Mp1 and the second power tube Mp2 to turn off when the enable signal TX_EN is invalid.

[0072] Figure 4 Schematic diagram of a controller provided by an embodiment of the present invention. Figure 4 As shown, the controller 133 includes a combinational logic resistor 1330 , a first buffer 1331 , a second buffer 1332 , and a register 1333 .

[0073] The data bits stored in the register 1333 include an enable control bit, and the value stored in the enable control bit represents the effective state of the drive enhancement configuration signal Slew_Boost_En for enabling the drive increase circuit 13 .

[0074] An input terminal of the first buffer 1331 is connected to a first output terminal of the combinational logic resistor 1330 , and an output terminal of the first buffer 1331 serves as a first output terminal Out1 of the controller 133 .

[0075] An input terminal of the second buffer 1332 is connected to a second output terminal of the combinational logic resistor 1330 , and an output terminal of the second buffer 1332 serves as a second output terminal Out2 of the controller 133 .

[0076] The first input end of the combinational logic resistor 1330 serves as the first input end of the controller 133, the second input end of the combinational logic resistor 1330 serves as the second input end of the controller 133, and the third input end of the combinational logic resistor 1330 is connected to the register 1333. The combinational logic resistor 1330 is used to control the first buffer 1331 to output the first control signal and control the second buffer 1332 to output the second control signal to turn on the second power tube Mp2 when both the driving enhancement configuration signal Slew_Boost_En and the enable signal TX_EN are valid and the input signal TX_O jumps from the second level to the first level.

[0077] The combinational logic resistor 1330 is also used to control the first buffer 1331 to output the second control signal and the second buffer 1332 to output the first control signal when both the driving enhancement configuration signal Slew_Boost_En and the enable signal TX_EN are valid and the input signal TX_O jumps from the first level to the second level, so as to turn on the first power tube Mp1; wherein the first control signal and the second control signal are high and low level signals to each other.

[0078] Specifically, the combinational logic resistor 1330 includes a combinational logic circuit. The register 1333 stores an enable control bit, which is readable and writable by software and is high effective. When the IO circuit 10 is used as a low-speed IO, the enable control position is 0, that is, the drive enhancement configuration signal Slew_Boost_En is invalid, and the first buffer 1331 and the second buffer 1332 output the first control signal, that is, a high-level signal, and the drive increase circuit 13 does not work at this time. When the IO circuit 10 is used as a high-speed IO, such as the 125MHz Ethernet controller 21 output, the enable control position is 1, the drive enhancement configuration signal Slew_Boost_En is valid, and the controller 133 starts to control the drive increase circuit 13 to work:

[0079] After the enable signal TX_EN is valid at a high level, when the input signal TX_O output jumps from 0 to 1, the combinational logic resistor 1330 controls the second buffer 1332 to output the second control signal low signal, and controls the first buffer 1331 to output the first control signal.

[0080] After the enable signal TX_EN is high and effective, when the input signal TX_O output jumps from 1 to 0, the combinational logic resistor 1330 controls the first buffer 1331 to output the second control signal and controls the second buffer 1332 to output the first control signal. After the level of the signal output terminal PAD output IO reaches the threshold, that is, equal to the power supply voltage or the ground voltage, the first buffer 1331 and the second buffer 1332 output the first control signal.

[0081] Figure 5FIG. 1 is a schematic diagram of another drive increasing circuit provided by an embodiment of the present invention. Figure 5 As shown, the current mirror unit 132 includes a first current mirror 1321 , a second current mirror 1322 and a third current mirror 1323 .

[0082] The first end of the first current mirror 1321 serves as the first end of the current mirror unit 132 , the second end of the first current mirror 1321 is connected to the first end of the third current mirror 1323 , the third end of the first current mirror 1321 is grounded, and the fourth end of the first current mirror 1321 is grounded.

[0083] The first end of the second current mirror 1322 serves as the second end of the current mirror unit 132 , the second end of the second current mirror 1322 is connected to the gate of the first driving tube, the third end of the second current mirror 1322 is grounded, and the fourth end of the second current mirror 1322 is grounded.

[0084] The second end of the third current mirror 1323 is connected to the gate of the second driving tube, and the third end of the third current mirror 1323 is connected to the fourth end of the third current mirror 1323 and serves as the third end of the current mirror unit 132 .

[0085] Based on the above embodiments, continue to refer to Figure 5 , the first current mirror 1321 includes a first transistor M1 and a second transistor M2.

[0086] The first electrode of the first transistor M1 serves as the third end of the first current mirror 1321 , and the second electrode of the first transistor M1 is connected to the gate of the first transistor M1 and serves as the first end of the first current mirror 1321 .

[0087] The first electrode of the second transistor M2 serves as the fourth end of the first current mirror 1321 , the second electrode of the second transistor M2 serves as the second end of the first current mirror 1321 , and the gate of the second transistor M2 is connected to the gate of the first transistor M1 .

[0088] And / or, the second current mirror 1322 includes a third transistor M3 and a fourth transistor M4.

[0089] The first electrode of the third transistor M3 serves as the third end of the second current mirror 1322, the second electrode of the third transistor is connected to the gate of the third transistor, and serves as the first end of the second current mirror. The first electrode of the fourth transistor serves as the fourth end of the second current mirror, the second electrode of the fourth transistor serves as the second end of the second current mirror, and the gate of the fourth transistor is connected to the gate of the third transistor.

[0090] And / or, the third current mirror 1323 includes a fifth transistor M5 and a sixth transistor M6.

[0091] The first electrode of the fifth transistor M5 serves as the third end of the third current mirror 1323, the second electrode of the fifth transistor M5 is connected to the gate of the fifth transistor M5, and serves as the first end of the third current mirror 1323. The first electrode of the sixth transistor M6 serves as the fourth end of the third current mirror 1323, the second electrode of the sixth transistor M6 serves as the second end of the third current mirror 1323, and the gate of the sixth transistor M6 is connected to the gate of the fifth transistor M5.

[0092] Specifically, after the controller 133 controls the first power transistor Mp1 to turn on, the first current mirror 1321 composed of the first transistor M1 and the second transistor M2 is turned on, and the output current of the first current mirror 1321 is Wherein I0 is the fixed current output by the current source 131 , WM1 is the channel width of the first transistor M1 , LM1 is the channel length of the first transistor M1 , WM2 is the channel width of the second transistor M2 , and LM2 is the channel length of the second transistor M2 .

[0093] The third current mirror 1323 composed of the fifth transistor M5 and the sixth transistor M6 further amplifies and outputs the fixed current I0 output by the current source 131. The output current of the third current mirror 1323 is Wherein I0 is the fixed current output by the current source 131, WM5 is the channel width of the fifth transistor M5, LM5 is the channel length of the fifth transistor M5, WM6 is the channel width of the sixth transistor M6, and LM6 is the channel length of the sixth transistor M6. The output current I1 of the third current mirror 1323 is used to enhance the driving of the falling edge of the input signal TX_O, that is, the output current I1 of the third current mirror 1323 is a falling edge enhanced driving current.

[0094] After the controller 133 controls the second power transistor Mp2 to turn on, the second current mirror 1322 composed of the third transistor M3 and the fourth transistor M4 is turned on, and the output current of the second current mirror 1322 is Wherein I0 is a fixed current output by the current source 131, WM3 is a channel width of the third transistor M4, LM3 is a channel length of the third transistor M3, WM4 is a channel width of the fourth transistor M4, and LM4 is a channel length of the fourth transistor M4. The output current I2 of the second current mirror 1322 is used to enhance the driving of the rising edge of the input signal TX_O, that is, the output current I2 of the second current mirror 1322 is a rising edge enhanced driving current. The IO circuit of the embodiment of the present invention can provide a stable driving current through the current mirror when the enhanced configuration signal is valid, accelerate the conduction process of the final stage driving circuit 12 of the IO circuit, and thus improve the conversion rate of the output IO. When the enhanced configuration signal is invalid, the driving circuit is not operated as a low-speed IO drive, and then the driving of the high-speed IO and the low-speed IO is realized through the same circuit, and there is no need to set corresponding driving circuits for the high-speed IO and the low-speed IO respectively, thereby saving the area and cost of the chip.

[0095] Figure 6 FIG. 1 is a schematic diagram of another IO circuit provided by an embodiment of the present invention. Figure 6 As shown, the pre-driving circuit 11 includes a first inversion circuit 111 , a second inversion circuit 112 , a first level conversion circuit 113 , a second level conversion circuit 114 , a first-stage buffer 115 , and a second-stage buffer 116 .

[0096] The first input end of the first negation circuit 111 is connected to the input signal TX_O, the second input end of the first negation circuit 112 is connected to the enable signal TX_EN, the output end of the first negation circuit 111 is connected to the input end of the first level conversion circuit 113, and the first negation circuit 111 is used to invert the input signal TX_O and send it to the input end of the first level conversion circuit 113. In the embodiment of the present invention, by setting the first negation circuit 111, the input signal TX_O and the enable signal TX_EN can be logically operated, that is, the enable signal TX_EN is enabled.

[0097] The first input end of the second inversion circuit 112 is connected to the first input end of the first inversion circuit 111, the second input end of the second inversion circuit 112 is connected to the second input end of the first inversion circuit 111, the output end of the second inversion circuit 112 is connected to the input end of the second level conversion circuit 114, and the second inversion circuit 112 is used to invert the input signal TX_O and send it to the input end of the second level conversion circuit 114.

[0098] The first buffer 115 is connected to the output end of the first level conversion circuit 113 and the gate of the first driving tube K1 respectively. The second buffer 116 is connected to the output end of the second level conversion circuit 114 and the gate of the second driving tube K2 respectively.

[0099] Figure 7 FIG. 1 is a schematic diagram of another IO circuit provided by an embodiment of the present invention. Figure 7 As shown, the first inversion circuit 111 includes a NAND gate U1. The first input terminal of the NAND gate U1 serves as the first input terminal of the first inversion circuit 111, the second input terminal of the NAND gate U1 serves as the second input terminal of the first inversion circuit 111, and the output terminal of the NAND gate U1 serves as the output terminal of the first inversion circuit 111.

[0100] And / or, the second inversion circuit 112 includes a first inverter 1121 and a NOR gate U2. The input end of the first inverter 1121 serves as the second input end of the second inversion circuit 112, and the output end of the first inverter 1121 is connected to the second input end of the NOR gate U2.

[0101] The first input terminal of the NOR gate U2 serves as the first input terminal of the second inversion circuit 112 , and the output terminal of the NOR gate U2 serves as the output terminal of the second inversion circuit 112 .

[0102] The first stage buffer 115 includes a second inverter 1151 and a third inverter 1152. The second inverter 1151 and the third inverter 1152 are connected in series and connected to the gate of the first driving tube K1.

[0103] And / or, the second stage buffer 116 includes a fourth inverter 1161 and a fifth inverter 1162. The fourth inverter 1161 and the fifth inverter 1162 are connected in series and connected to the gate of the second driving tube K2.

[0104] Specifically, the first inverter 1121 includes a seventh transistor M7 and an eighth transistor M8. The second inverter 1151 includes a ninth transistor M9 and a tenth transistor M10. The third inverter 1152 includes an eleventh transistor M11 and a twelfth transistor M12. The fourth inverter 1161 includes a thirteenth transistor M13 and a fourteenth transistor M14. The fifth inverter 1162 includes a fifteenth transistor M15 and a sixteenth transistor M16.

[0105] Continue to refer Figure 7 The specific working principle of the pre-driving circuit 11 is:

[0106] When the enable signal TX_EN is high and effective, the output of the NAND gate U1 is the inverted signal of the input signal TX_O, and the output of the NOR gate U2 is also the inverted signal of TX_O. The first level conversion circuit 113 and the second level conversion circuit 114 are still the inverted signal of the input signal TX_O after conversion, and they are still the inverted signal of the input signal TX_O after two-stage inverted amplification.

[0107] Specifically, when the enable signal TX_EN is effective at a high level and the input signal TX_O is at a high level, the outputs of the NAND gate U1 and the NOR gate U2 are both at a low level, which are still at a low level after being inverted by the first level conversion circuit 113, the second inverter 1151 and the third inverter 1152, and are still at a low level after being inverted by the second level conversion circuit 114, the fourth inverter 1161 and the fifth inverter 1162. The first drive tube K1 is turned on at a low level, the second drive tube K2 is turned off at a low level, and the signal output terminal PAD outputs the power supply voltage.

[0108] When the enable signal TX_EN is effective at a high level and the input signal TX_O is at a low level, the outputs of the NAND gate U1 and the NOR gate U2 are both at a high level, which are still at a high level after being inverted by the first level conversion circuit 113, the second inverter 1151 and the third inverter 1152, and are still at a high level after being inverted by the second level conversion circuit 114, the fourth inverter 1161 and the fifth inverter 1162. The first drive tube K1 is cut off at a high level, the second drive tube K2 is turned on at a high level, and the signal output terminal PAD outputs a ground voltage.

[0109] When the enable signal TX_EN is at a low level and is invalid, no matter the input signal TX_O is at a low level or a high level, the NAND gate U1 outputs a high level, or the NAND gate U2 outputs a low level. The first drive tube K1 is turned off at a high level, and the second drive tube K2 is turned off at a low level, and the signal output terminal PAD of the IO circuit 10 is in a high impedance state.

[0110] Figure 8 FIG. 1 is a schematic diagram of another IO circuit provided by an embodiment of the present invention. Figure 8 As shown, the IO circuit 10 includes: a pre-driving circuit 11, a final driving circuit 12 and a driving increasing circuit 13.

[0111] Optionally, the pre-driving circuit 11 includes a first inversion circuit 111, a second inversion circuit 112, a first level conversion circuit 113, a second level conversion circuit 114, a first-stage buffer 115, and a second-stage buffer 116. The first inversion circuit 111 includes a NAND gate U1. The second inversion circuit 112 includes a first inverter 1121 and a NOR gate U2. The first-stage buffer 115 includes a second inverter 1151 and a third inverter 1152. The second-stage buffer 116 includes a fourth inverter 1161 and a fifth inverter 1162. The first inverter 1121 includes a seventh transistor M7 and an eighth transistor M8. The second inverter 1151 includes a ninth transistor M9 and a tenth transistor M10. The third inverter 1152 includes an eleventh transistor M11 and a twelfth transistor M12. The fourth inverter 1161 includes a thirteenth transistor M13 and a fourteenth transistor M14. The fifth inverter 1162 includes a fifteenth transistor M15 and a sixteenth transistor M16.

[0112] Optionally, the final drive circuit 12 includes a first drive tube K1 and a second drive tube K2 , and the final drive circuit 12 also includes a first control terminal Ctr1 and a second control terminal Ctr2 .

[0113] Optionally, the driving increasing circuit 13 includes a current source 131, a first power tube Mp1, a second power tube Mp2, a current mirror unit 132 and a controller 133. The controller 133 includes a combinational logic resistor 1330, a first buffer 1331, a second buffer 1332 and a register 1333. The current mirror unit 132 includes a first current mirror 1321, a second current mirror 1322 and a third current mirror 1323. The first current mirror 1321 includes a first transistor M1 and a second transistor M2. The second current mirror 1322 includes a third transistor M3 and a fourth transistor M4. The third current mirror 1323 includes a fifth transistor M5 and a sixth transistor M6.

[0114] Based on the same inventive concept, an embodiment of the present invention further provides a chip, including the IO circuit provided by any of the above embodiments, having the corresponding functional modules and beneficial effects of the IO circuit, and the similarities are not repeated here.

[0115] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An IO circuit, characterized in that: include: Pre-driving circuit, final driving circuit and driving enhancement circuit; The final drive circuit is connected to the signal output terminal of the IO circuit; The pre-driving circuit is connected to the control end of the final driving circuit, and the pre-driving circuit is used to control the final driving circuit to output a level signal corresponding to the input signal at least according to the input signal received; wherein the input signal is output by the pre-stage controller; The drive increasing circuit is connected to the control end of the final drive circuit and receives the drive enhancement configuration signal and the input signal respectively; It is used to provide a driving current to the control end of the final-stage driving circuit according to the transition edge of the input signal when the driving enhancement configuration signal is valid, so as to enhance the driving current of the final-stage driving circuit.

2. The IO circuit according to claim 1, characterized in that: The final stage driving circuit includes a first driving tube and a second driving tube, and the final stage driving circuit also includes a first control terminal and a second control terminal; The first electrode of the first driving tube is connected to a power supply, the second electrode of the first driving tube is connected to the signal output end, and the gate of the first driving tube serves as the first control end of the final driving circuit; The first electrode of the second driving tube is grounded, the second electrode of the second driving tube is connected to the signal output end, and the gate of the second driving tube serves as the second control end of the final driving circuit; The pre-driving circuit is used to provide a conduction control signal to the gate of the first driving tube and a shutoff control signal to the gate of the second driving tube when the input signal is at a first level; and to provide a conduction control signal to the gate of the second driving tube and a shutoff control signal to the gate of the first driving tube when the input signal is at a second level; The drive increase circuit is used for providing a rising edge enhanced drive current to the gate of the first drive tube when the drive enhancement configuration signal is valid and the input signal jumps from the second level to the first level; When the driving enhancement configuration signal is valid and the input signal jumps from the first level to the second level, a falling edge enhancement driving current is provided to the gate of the second driving tube.

3. The IO circuit according to claim 2, characterized in that: The driving increasing circuit comprises a current source, a first power tube, a second power tube, a current mirror unit and a controller; The first end of the current source is connected to a power source, and the second end of the current source is respectively connected to the first electrode of the first power tube and the first electrode of the second power tube; The second electrode of the first power tube is connected to the first end of the current mirror unit, and the gate of the first power tube is connected to the first output end of the controller; The second electrode of the second power tube is connected to the second end of the current mirror unit, and the gate of the second power tube is connected to the second output end of the controller; The third end of the current mirror unit is connected to a power supply, the first output end of the current mirror unit is connected to the gate of the first driving tube, and the second output end of the current mirror unit is connected to the gate of the second driving tube; The first input terminal of the controller is connected to the input signal, and the second input terminal of the controller is connected to the enable signal. The controller is used to turn on the second power tube when both the enable signal and the drive enhancement configuration signal are valid and the input signal jumps from the second level to the first level, so that the first output terminal of the current mirror unit outputs a rising edge enhanced drive current; the enable signal is output by the pre-stage controller; The controller is also used to turn on the first power tube when both the enable signal and the drive enhancement configuration signal are valid and the input signal jumps from the first level to the second level, so that the second output end of the current mirror unit outputs a falling edge enhanced drive current.

4. The IO circuit according to claim 3, characterized in that: The controller is further configured to control the first power tube and the second power tube to be turned off when the enable signal is invalid.

5. The IO circuit according to claim 3 or 4, characterized in that: The controller includes a combinational logic circuit, a first buffer, a second buffer and a register; The data bits stored in the register include an enable control bit, the value stored in the enable control bit represents the effective state of the drive enhancement configuration signal for enabling the drive increase circuit; The input end of the first buffer is connected to the first output end of the combinational logic circuit, and the output end of the first buffer serves as the first output end of the controller; The input end of the second buffer is connected to the second output end of the combinational logic circuit, and the output end of the second buffer serves as the second output end of the controller; The first input end of the combinational logic circuit serves as the first input end of the controller, the second input end of the combinational logic circuit serves as the second input end of the controller, and the third input end of the combinational logic circuit is connected to the register. The combinational logic circuit is used to control the first buffer to output the first control signal and control the second buffer to output the second control signal when both the drive enhancement configuration signal and the enable signal are valid and the input signal jumps from the second level to the first level, so as to turn on the second power tube; The combinational logic circuit is also used to control the first buffer to output the second control signal and control the second buffer to output the first control signal to turn on the first power tube when both the drive enhancement configuration signal and the enable signal are valid and the input signal jumps from the first level to the second level; wherein the first control signal and the second control signal are high and low level signals to each other.

6. The IO circuit according to claim 3, characterized in that: The current mirror unit includes a first current mirror, a second current mirror and a third current mirror; The first end of the first current mirror serves as the first end of the current mirror unit, the second end of the first current mirror is connected to the first end of the third current mirror, the third end of the first current mirror is grounded, and the fourth end of the first current mirror is grounded; The first end of the second current mirror serves as the second end of the current mirror unit, the second end of the second current mirror is connected to the gate of the first driving tube, the third end of the second current mirror is grounded, and the fourth end of the second current mirror is grounded; The second end of the third current mirror is connected to the gate of the second driving tube, and the third end of the third current mirror is connected to the fourth end of the third current mirror and serves as the third end of the current mirror unit.

7. The IO circuit according to claim 6, characterized in that: The first current mirror includes a first transistor and a second transistor; The first electrode of the first transistor serves as the third end of the first current mirror, and the second electrode of the first transistor is connected to the gate of the first transistor and serves as the first end of the first current mirror; The first electrode of the second transistor serves as the fourth end of the first current mirror, the second electrode of the second transistor serves as the second end of the first current mirror, and the gate of the second transistor is connected to the gate of the first transistor; And / or, the second current mirror includes a third transistor and a fourth transistor; The first electrode of the third transistor serves as the third end of the second current mirror, and the second electrode of the third transistor is connected to the gate of the third transistor and serves as the first end of the second current mirror; The first electrode of the fourth transistor serves as the fourth end of the second current mirror, the second electrode of the fourth transistor serves as the second end of the second current mirror, and the gate of the fourth transistor is connected to the gate of the third transistor; And / or, the third current mirror includes a fifth transistor and a sixth transistor; The first electrode of the fifth transistor serves as the third end of the third current mirror, and the second electrode of the fifth transistor is connected to the gate of the fifth transistor and serves as the first end of the third current mirror; The first electrode of the sixth transistor serves as the fourth end of the third current mirror, the second electrode of the sixth transistor serves as the second end of the third current mirror, and the gate of the sixth transistor is connected to the gate of the fifth transistor.

8. The IO circuit according to claim 2, characterized in that: The pre-driving circuit comprises a first inversion circuit, a second inversion circuit, a first level conversion circuit, a second level conversion circuit, a first-stage buffer and a second-stage buffer; The first input end of the first negation circuit is connected to the input signal, the second input end of the first negation circuit is connected to the enable signal, the output end of the first negation circuit is connected to the input end of the first level conversion circuit, and the first negation circuit is used to invert the input signal and send it to the input end of the first level conversion circuit; The first input end of the second inversion circuit is connected to the first input end of the first inversion circuit, the second input end of the second inversion circuit is connected to the second input end of the first inversion circuit, the output end of the second inversion circuit is connected to the input end of the second level conversion circuit, and the second inversion circuit is used to invert the input signal and send it to the input end of the second level conversion circuit; The first-stage buffer is respectively connected to the output end of the first level conversion circuit and the gate of the first driving tube; The second-stage buffer is respectively connected to the output end of the second level conversion circuit and the gate of the second driving tube.

9. The IO circuit according to claim 8, characterized in that: The first negation circuit comprises a NAND gate; The first input end of the NAND gate serves as the first input end of the first inversion circuit, the second input end of the NAND gate serves as the second input end of the first inversion circuit, and the output end of the NAND gate serves as the output end of the first inversion circuit; and / or, The second inversion circuit includes a first inverter and a NOR gate; The input end of the first inverter serves as the second input end of the second inverter circuit, and the output end of the first inverter is connected to the second input end of the NOR gate; The first input end of the NOR gate serves as the first input end of the second inversion circuit, and the output end of the NOR gate serves as the output end of the second inversion circuit; and / or, the first-stage buffer includes a second inverter and a third inverter; The second inverter and the third inverter are connected in series and then connected to the gate of the first driving tube; and / or, The second stage buffer includes a fourth inverter and a fifth inverter; The fourth inverter and the fifth inverter are connected in series and connected to the gate of the second driving tube.

10. A chip, characterized in that: The IO circuit comprises the IO circuit according to any one of claims 1 to 9.