Read-write circuit, chip and read-write circuit control method
By designing a read-write circuit that utilizes reference voltages and control signals in high-speed optical communication links, the problem of extra pins and module occupation in the traditional Efuse read-write solution is solved, saving chip area and simplifying Efuse operations.
Patent Information
- Application Number
- CN202410573406.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-05-10
AI Technical Summary
In high-speed optical communication links using PAM4 technology, the traditional Efuse read and write solution requires additional pins and digital modules, which increases the chip area and hinders the miniaturization of the chip.
A read-write circuit is designed. Through the reference voltage generation module, write control module, read control module and efuse read-write module, multiple reference voltages and control signals are used to realize the read-write operation of Efuse. Only two external signals (control signal and power signal), reducing the number of pins and chip area.
It effectively reduces the chip's need for additional pins and digital modules, saves chip area, simplifies the Efuse reading and writing process, and avoids complex I2C communication interfaces and digital processing modules.
Smart Images

Figure CN118155674B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of integrated circuits, and in particular relates to a read-write circuit, a chip and a read-write circuit control method. Background Art
[0002] The rapidly growing demands for artificial intelligence, cloud computing, and big data have driven the development of 400G and 800G Ethernet, and have also put forward higher bandwidth requirements for data center networks. PAM4 technology uses 4 different signal levels to transmit signals, and each symbol period can represent 2 bits of logical information, so its baud rate is half the bit rate. Compared with the traditional NRZ technology that uses 2 signal levels to transmit signals, the use of PAM4 technology can bring higher efficiency to high-speed optical transmission. At the same time, the eye height of PAM4 is only 1 / 3 of that of NRZ technology, which makes it more sensitive to noise. Under the same noise conditions, PAM4 will lead to a higher bit error rate.
[0003] Therefore, at the receiving end of an optical communication link using PAM4 technology, in order to improve the consistency of key parameters such as the bandwidth of a high-speed PAM4 TIA, it is necessary to calibrate the reference voltage Vref and the reference current Iref to the target values during the ATE stage of chip mass production.
[0004] Figure 1 This is a flowchart of a commonly used calibration solution in the industry, that is, first, the reference voltage Vref and the reference current Iref are tested, and after comparing the test results with the target values, the control bits are adjusted accordingly, and the adjusted control bits are written into the Efuse register. Then, the power supply Fuse Power is powered on and Efuse burning begins. After completion, the reference voltage Vref and the reference current Iref of the chip operate at the target values.
[0005] In the Efuse programming process, additional pins are required on the chip to realize the transmission of control signals and data between the host computer and the chip. Usually, an I2C communication interface is used to communicate with the chip, which includes at least a clock pin CLK, a data line pin SDA and a reset pin Reset. Figure 2 It is a traditional Efuse read-write solution. The host computer 201 is connected to the digital module 203 inside the chip through the I2C interface module 202. The digital module 203 receives the control signal sent by the host computer 201 and after processing, it transmits the Efuse read-write signal to the Efuse IP 204 to operate the burning status of each control bit. When entering the burning sequence, the host computer 201 needs to simultaneously control the external HV module 205 to power the Efuse IP through the FP pin to complete the entire burning process.
[0006] It can be seen that the four pins SCL, SDA, Reset and FP in the traditional Efuse read and write solution are additional pins relative to the chip's own functions. These additional pins and the digital processing modules that must be connected to the communication interface will occupy a lot of chip area, which will hinder the chip's miniaturization.
[0007] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention
[0008] The object of the present invention is to provide a read-write circuit, a chip and a read-write circuit control method, which can reduce the chip's demand for additional pins and digital modules and effectively reduce the chip area.
[0009] In order to achieve the above object, a technical solution provided by a specific embodiment of the present invention is as follows: a read-write circuit, comprising:
[0010] A reference voltage generation module, used for generating multiple reference voltages;
[0011] A write control module, comprising a first control unit and a second control unit connected to the reference voltage generation module, wherein the first control unit generates a first write enable signal based on a control signal and a corresponding reference voltage, and the second control unit generates a comparison signal based on the control signal and the corresponding reference voltage, and generates a second write enable signal based on the comparison signal and the first write enable signal;
[0012] a read control module, configured to generate a read enable signal based on the first write enable signal and the comparison signal; and
[0013] A first efuse read-write module and a second efuse read-write module, wherein the first efuse read-write module is used to perform write operations based on a first write enable signal and a power supply signal and to perform read operations based on a read enable signal, and the second efuse read-write module is used to perform write operations based on a second write enable signal and a power supply signal and to perform read operations based on a read enable signal.
[0014] In one or more embodiments of the present invention, a plurality of second control units are sequentially arranged, and the next second control unit generates a comparison signal based on the control signal and the corresponding reference voltage, and generates a second write enable signal based on the comparison signal and the comparison signal generated by the previous second control unit.
[0015] In one or more embodiments of the present invention, the reference voltage generating module includes a plurality of resistors connected in series between a power supply voltage and a ground voltage.
[0016] In one or more embodiments of the present invention, the first control unit includes a first comparator, a first end of the first comparator is used to receive a control signal, a second end of the first comparator is used to receive a corresponding reference voltage, and an output end of the first comparator is used to output a first write enable signal.
[0017] In one or more embodiments of the present invention, the second control unit includes a second comparator and a first logic unit, the first end of the second comparator is used to receive a control signal, the second end of the second comparator is used to receive a corresponding reference voltage, the output end of the second comparator is used to output a comparison signal, and the first logic unit is used to perform a logical operation on the comparison signal and the first write enable signal to generate a second write enable signal.
[0018] In one or more embodiments of the present invention, the first logic unit is an XOR gate.
[0019] In one or more embodiments of the present invention, the read control module includes an OR gate and an inverter, the OR gate is used to perform an OR operation on the first write enable signal and the comparison signal, the input end of the inverter is connected to the output end of the OR gate, and the inverter is used to perform a NOT operation on the output signal of the OR gate to generate a read enable signal.
[0020] The present invention also discloses a chip, including the read-write circuit, the chip having a first pin and a second pin, the first pin is used to connect a write control module and a control signal, and the second pin is used to connect a first efuse read-write module, a second efuse read-write module and a power signal.
[0021] In one or more embodiments of the present invention, the chip also includes a reference circuit, which is connected to the output end of the first efuse read-write module and the output end of the second efuse read-write module, and the reference circuit outputs different reference voltages and reference currents based on the write operation of the first efuse read-write module and / or the second efuse read-write module.
[0022] The present invention also discloses a read-write circuit control method. Based on the read-write circuit, the read-write circuit control method includes:
[0023] Generate multiple reference voltages through a reference voltage generation module;
[0024] generating a first write enable signal based on a control signal and a corresponding reference voltage through a first control unit, generating a comparison signal based on the control signal and the corresponding reference voltage through a second control unit, and generating a second write enable signal based on the comparison signal and the first write enable signal;
[0025] generating a read enable signal based on the first write enable signal and the comparison signal by a read control module;
[0026] The first efuse read / write module performs write operations based on the first write enable signal and the power signal and performs read operations based on the read enable signal, and the second efuse read / write module performs write operations based on the second write enable signal and the power signal and performs read operations based on the read enable signal.
[0027] Compared with the prior art, the read-write circuit, chip and read-write circuit control method of the present invention only require two external signals (control signal and power signal) to complete the read and write operations of the efuse read-write module, so that only two pins are needed on the chip to receive external signals, and no complex I2C and other communication interface modules and digital modules are required, which greatly saves the number of pins and chip area. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 A calibration flow chart of a read-write circuit in the prior art;
[0030] Figure 2 It is a schematic diagram of a reading and writing system in the prior art;
[0031] Figure 3 is a circuit schematic diagram of a read-write circuit in an embodiment of the present invention;
[0032] Figure 4 is a truth table of each signal of the read / write circuit in one embodiment of the present invention;
[0033] Figure 5 FIG. 4 is a flow chart of a read / write circuit in an embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions 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.
[0035] Unless explicitly stated otherwise, throughout the specification and claims, the term “comprise” or variations such as “include” or “comprising”, etc., will be understood to include the stated elements or components but not to exclude other elements or components.
[0036] "Coupled" or "connected" or "connected" in the specification includes both direct connection and indirect connection. Indirect connection is a connection through an intermediate medium, such as a connection through an electrically conductive medium, which may have parasitic inductance or parasitic capacitance; indirect connection may also include connection through other active or passive devices on the basis of achieving the same or similar functional purposes, such as connection through circuits or components such as switches and follower circuits. In addition, in the present invention, words such as "first" and "second" are mainly used to distinguish one technical feature from another technical feature, and do not necessarily require or imply that there is a certain actual relationship, quantity or order between these technical features.
[0037] like Figure 3 As shown, a read / write circuit in an embodiment of the present invention includes: a reference voltage generating module 10, a write control module, a read control module 30, a first efuse read / write module Efuse6 Read / Write and a second efuse read / write module.
[0038] The reference voltage generating module 10 is used to generate multiple reference voltages. The reference voltage generating module 10 includes multiple resistors connected in series between the power supply voltage and the ground voltage. Multiple gradient reference voltages are generated through the multiple resistors. The number of reference voltages is equal to the total number of the first efuse read / write module Efuse6 Read / Write and the second efuse read / write module.
[0039] In one embodiment, the total number of the first efuse read / write module Efuse6 Read / Write and the second efuse read / write module is 6, i.e., 6 efuse control bits, so 7 series resistors are used to divide the voltage to obtain 6 different reference voltages, and the 6 different reference voltages arranged in order from high to low are Vref6, Vref5, Vref4, Vref3, Vref2, and Vref1, and two adjacent reference voltages form a voltage interval.
[0040] The write control module includes a first control unit 21 and a second control unit 22 connected to the reference voltage generating module 10. The first control unit 21 generates a first write enable signal Bit6_write_en based on the control signal BitSel and the corresponding reference voltage Vref6, and the second control unit 22 generates a comparison signal based on the control signal BitSel and the corresponding reference voltage, and generates a second write enable signal based on the comparison signal and the first write enable signal Bit6_write_en.
[0041] A plurality of second control units 22 are sequentially provided, and the next second control unit 22 generates a comparison signal based on the control signal BitSel and the corresponding reference voltage, and generates a second write enable signal based on the comparison signal and the comparison signal generated by the previous second control unit 22. In one embodiment, one first control unit 21 is provided, and five second control units 22 are provided. In other embodiments, the number of the first control unit 21 and the second control unit 22 can be increased or decreased as needed.
[0042] like Figure 3 As shown, the first control unit 21 includes a first comparator Comp6, a first end of the first comparator Comp6 is used to receive a control signal BitSel, a second end of the first comparator Comp6 is used to receive a corresponding reference voltage Vref6, and an output end of the first comparator Comp6 is used to output a first write enable signal Bit6_write_en, and the first write enable signal Bit6_write_en is also a comparison signal Vout6 output by the first comparator Comp6.
[0043] like Figure 3 As shown, a second control unit 22 is used as an example for structural description. The second control unit 22 includes a second comparator Comp5 and a first logic unit. The first end of the second comparator Comp5 is used to receive the control signal BitSel, the second end of the second comparator Comp5 is used to receive the reference voltage Vref5, the second comparator Comp5 is used to compare the control signal BitSel with the reference voltage Vref5, the output end of the second comparator Comp5 is used to output the comparison signal Vout5, and the first logic unit is used to perform a logic operation on the comparison signal and the first write enable signal Bit6_write_en to generate a second write enable signal. In one embodiment, the first logic unit is an exclusive NOR gate XNOR5.
[0044] from Figure 3It can be seen that the five second control units 22 correspond to the five second comparators Comp5, Comp4, Comp3, Comp2 and Comp1 and the five XNOR gates XNOR5, XNOR4, XNOR3, XNOR2 and XNOR1, respectively, and can obtain five comparison signals Vout5, Vout4, Vout3, Vout2 and Vout1 and five second write enable signals Bit5_write_en, Bit4_write_en, Bit3_write_en, Bit2_write_en and Bit1_write_en. The multiple second comparators can compare the voltage interval formed by the control signal BitSel and the reference voltage. When the control signal BitSel is in the reference voltage interval, the second control unit in which the reference voltage interval is located will generate a corresponding write enable signal.
[0045] like Figure 3 As shown, the read control module 30 is used to generate a read enable signal Efuse_read_en based on the first write enable signal Bit6_write_en and the comparison signals Vout5 , Vout4 , Vout3 , Vout2 and Vout1 .
[0046] In one embodiment, the read control module 30 includes an OR gate OR and an inverter N. The OR gate OR is used to perform an OR operation on the first write enable signal Bit6_write_en and the comparison signals Vout5, Vout4, Vout3, Vout2, and Vout1 output by each second control unit 22. The input end of the inverter N is connected to the output end of the OR gate OR. The inverter N is used to perform a negation operation on the output signal Vout0 of the OR gate OR to generate a read enable signal Efuse_read_en.
[0047] like Figure 3 As shown, the first efuse read / write module Efuse6 Read / Write is used to perform a write operation based on the first write enable signal Bit6_write_en and the power signal FuesPower and to perform a read operation based on the read enable signal Efuse_read_en.
[0048] In one embodiment, there are five second efuse read / write modules, namely, second efuse read / write modules Efuse5Read / Write, Efuse4 Read / Write, Efuse3 Read / Write, Efuse2 Read / Write, and Efuse1 Read / Write. Each second efuse read / write module performs a write operation based on the corresponding second write enable signal Bit5_write_en, Bit4_write_en, Bit3_write_en, Bit2_write_en, and Bit1_write_en and the power signal FuesPower, and performs a read operation based on the read enable signal Efuse_read_en. In other embodiments, the number of the first efuse read / write module Efuse6 Read / Write and the second efuse read / write module can be increased or decreased as needed.
[0049] like Figure 3 As shown, six branches are formed by one first control unit 21 and five second control units 22 to output six write enable signals, which also correspond to the first efuse read / write module Efuse6 Read / Write and five second efuse read / write modules.
[0050] Among them, the non-inverting input terminal of the first comparator Comp6 in the first branch is connected to the control signal BitSel, the inverting input terminal of the first comparator Comp6 is connected to the reference voltage Vref6 with the largest voltage value, and the comparison signal Vout6 output by the first comparator Comp6 is the first write enable signal Bit6_write_en of the first efuse read / write module Efuse6 Read / Write.
[0051] The non-inverting input terminal of the second comparator Comp5 in the second branch is connected to the control signal BitSel, the inverting input terminal of the second comparator Comp5 is connected to the reference voltage Vref5 having the second largest voltage value, the comparison signal Vout5 output by the second comparator Comp5 is connected to the first input terminal of the X-NOR gate XNOR5, the second input terminal of the X-NOR gate XNOR5 is connected to the output terminal of the first comparator Comp6 to receive the comparison signal Vout6, and the output signal of the X-NOR gate XNOR5 is the second write enable signal Bit5_write_en of the second efuse read / write module Efuse5 Read / Write.
[0052] The circuit structure of the remaining four branches is the same as that of the second branch, that is, the non-phase input terminal of each second comparator is connected to the control signal BitSel, and the inverting input terminal of each second comparator is connected to the reference voltages Vref4, Vref3, Vref2, and Vref1 in sequence. At the same time, the output terminal of each comparator is connected to the first input terminal of the XOR gate of the branch where it is located, and the second input terminal of the XOR gate is connected to the output terminal of the second comparator of the adjacent previous branch (the reference voltage is one level higher). The output signal of the XOR gate of each branch is the second write enable signal Bit4_write_en, Bit3_write_en, Bit2_write_en, and Bit1_write_en of the corresponding four second efuse read-write modules.
[0053] The comparison signals Vout6~Vout1 output by the first comparator Comp6 and the five second comparators Comp5 are all connected to the input of the OR gate OR, and the output of the OR gate OR is connected to the input of the inverter N. The output signal of the inverter N is the effective read enable signal Efuse_read_en for the first efuse read / write module Efuse6 Read / Write and the five second efuse read / write modules. According to the characteristics of the OR gate OR, only when the control voltage BitSel is lower than the minimum reference voltage Vref1, that is, when the outputs of the first comparator Comp6 and the five second comparators Comp5 are all low, the output of the OR gate OR is low, and then passes through the inverter N, so that the read enable signal Efuse_read_en is high.
[0054] Each efuse read-write module is connected to the corresponding write enable signal, read enable signal and power signal FuesPower, and is used to complete the write operation of the corresponding efuse read-write module under the common control of the corresponding write enable signal and the power signal FusePower, and complete the read operation of all efuse read-write modules under the control of the read enable signal Efuse_read_en. In one embodiment, when a write operation is required, the power supply is powered on to generate the power signal FusePower and cooperate with the corresponding high-level write enable signal to control the corresponding efuse read-write module to perform a write operation. When the read enable signal Efuse_read_en is at a high level, the host computer performs a read operation on the on-off status of all efuse read-write modules.
[0055] When any write enable signal is at a high level, the corresponding efuse read / write module performs a write operation; when the read enable signal Efuse_read_en is at a high level, all efuse read / write modules perform a read operation. For a control signal BitSel, through the logic processing of the write control module and the read control module 30, at the same time, only one of the write enable signal and the read enable signal Efuse_read_en of all efuse read / write modules will be at a high level, and the others will be at a low level, so that the corresponding efuse read / write module is in a write operation state or a read operation state, that is, it can realize the analysis of read and write operations and the selection control of the written efuse read / write module. Figure 4 for Figure 3 The truth tables of the comparison signals, write enable signals and read enable signals and the analysis results of the write control module and the read control module 30 under the corresponding different control signals BitSel (the control signal BitSel can fall into the interval less than the reference voltage Vref1, the interval between the reference voltages Vref1 and Vref2, the interval between the reference voltages Vref2 and Vref3, the interval between the reference voltages Vref3 and Vref4, the interval between the reference voltages Vref4 and Vref5, the interval between the reference voltages Vref5 and Vref6, or the interval greater than the reference voltage Vref6 according to the setting).
[0056] The present invention also discloses a chip, including the above-mentioned read-write circuit, the chip has a first pin P and a second pin Q, the first pin P is used to connect the in-phase input end of each comparator of the write control module and the control signal BitSel, the second pin Q is used to connect the FP end of the first efuse read-write module Efuse6 Read / Write, the FP end of the second efuse read-write module and the power signal FuesPower.
[0057] Based on this read-write circuit, the chip only needs to connect the two pins of the control signal BitSel and the power signal FusePower to complete the reading and burning operations of the corresponding efuse read-write module, and does not require complex I2C and other communication interface modules and digital modules, which greatly saves chip area.
[0058] The chip also includes a reference circuit BandGap, which is connected to the output end of the first efuse read-write module Efuse6Read / Write and the output end of the second efuse read-write module. The reference circuit BandGap outputs different reference voltages and reference currents based on the write operation of the first efuse read-write module Efuse6 Read / Write and / or the second efuse read-write module.
[0059] from Figure 4It can be seen that after each efuse read / write module completes the burning according to the instruction of the control signal BitSel, that is, each comparator outputs a comparison signal by comparing the control signal BitSel with each reference voltage, based on the number and position of high-level comparison signals in the comparison signals Vout1, Vout2, Vout3, Vout4, Vout5, and Vout6 output by each comparator and the position of the corresponding high-level write enable signals in the write enable signals Bit6_write_en, Bit5_write_en, Bit4_write_en, Bit3_write_en, Bit2_write_en, and Bit1_write_en, the reference circuit BandGap will output a reference voltage and reference current that match the target value.
[0060] like Figure 5 As shown, the present invention also discloses a read-write circuit control method. Based on the above-mentioned read-write circuit, the read-write circuit control method includes:
[0061] A plurality of reference voltages Vref6 , Vref5 , Vref4 , Vref3 , Vref2 , and Vref1 are generated by the reference voltage generating module 10 .
[0062] The first control unit 21 generates a first write enable signal Bit6_write_en based on the control signal BitSel and the corresponding reference voltage, and the second control unit 22 generates a comparison signal based on the control signal BitSel and the corresponding reference voltage, and generates a second write enable signal based on the comparison signal and the first write enable signal Bit6_write_en.
[0063] There are multiple second control units 22. In one embodiment, there are 5 second control units 22. The inverting input terminal of each second comparator is connected to the reference voltages Vref5, Vref4, Vref3, Vref2, and Vref1 in sequence. At the same time, the output terminal of each second comparator is connected to the first input terminal of the XNOR gate XNOR5, XNOR4, XNOR3, XNOR2, and XNOR1 of the branch where it is located. The second input terminal of each XNOR gate is connected to the output terminal of the second comparator of the adjacent previous branch (the reference voltage is one level higher). The output signal of the XNOR gate of each branch is the second write enable signal Bit5_write_en, Bit4_write_en, Bit3_write_en, Bit2_write_en, and Bit1_write_en of the corresponding five second efuse read-write modules.
[0064] The read enable signal Efuse_read_en is generated by the read control module 30 based on the first write enable signal Bit6_write_en and the comparison signal.
[0065] The first efuse read / write module Efuse6 Read / Write performs write operations based on the first write enable signal Bit6_write_en and the power signal FuesPower, and performs read operations based on the read enable signal Efuse_read_en; the second efuse read / write module performs write operations based on the second write enable signal and the power signal FuesPower, and performs read operations based on the read enable signal Efuse_read_en.
[0066] There are multiple second efuse read-write modules. In one embodiment, there are 5 second efuse read-write modules. Each efuse read-write module is connected to the corresponding write enable signal, read enable signal and power signal FuesPower, and is used to complete the write operation of the corresponding efuse read-write module under the joint control of the corresponding write enable signal and the power signal FusePower, and to complete the read operation of all efuse read-write modules under the control of the read enable signal Efuse_read_en.
[0067] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description. According to the above teachings, many changes and variations can be made, and the present invention can be implemented in other forms, structures, arrangements, proportions, and with other components, materials and parts, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present invention, so that those skilled in the art can implement and utilize various different exemplary embodiments of the present invention and various different options and changes without departing from the scope and spirit of the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved.
[0068] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. A read-write circuit, characterized in that: include: A reference voltage generation module, used for generating multiple reference voltages; A write control module, comprising a first control unit and a second control unit connected to the reference voltage generation module, wherein the first control unit generates a first write enable signal based on a control signal and a corresponding reference voltage, and the second control unit generates a comparison signal based on the control signal and the corresponding reference voltage, and generates a second write enable signal based on the comparison signal and the first write enable signal; A read control module, configured to generate a read enable signal based on the first write enable signal and the comparison signal; as well as A first efuse read-write module and a second efuse read-write module, wherein the first efuse read-write module is used to perform write operations based on a first write enable signal and a power supply signal and to perform read operations based on a read enable signal, and the second efuse read-write module is used to perform write operations based on a second write enable signal and a power supply signal and to perform read operations based on a read enable signal.
2. The read-write circuit according to claim 1, characterized in that: There are multiple second control units arranged in sequence, and the next second control unit generates a comparison signal based on the control signal and the corresponding reference voltage, and generates a second write enable signal based on the comparison signal and the comparison signal generated by the previous second control unit.
3. The read-write circuit according to claim 1, characterized in that: The reference voltage generating module includes a plurality of resistors connected in series between a power supply voltage and a ground voltage.
4. The read-write circuit according to claim 1, characterized in that: The first control unit includes a first comparator, a first end of the first comparator is used to receive a control signal, a second end of the first comparator is used to receive a corresponding reference voltage, and an output end of the first comparator is used to output a first write enable signal.
5. The read / write circuit according to claim 1, characterized in that: The second control unit includes a second comparator and a first logic unit, the first end of the second comparator is used to receive a control signal, the second end of the second comparator is used to receive a corresponding reference voltage, the output end of the second comparator is used to output a comparison signal, and the first logic unit is used to perform a logical operation on the comparison signal and the first write enable signal to generate a second write enable signal.
6. The read-write circuit according to claim 5, characterized in that: The first logic unit is an XOR gate.
7. The read / write circuit according to claim 1, characterized in that: The read control module includes an OR gate and an inverter, wherein the OR gate is used to perform an OR operation on the first write enable signal and the comparison signal, the input end of the inverter is connected to the output end of the OR gate, and the inverter is used to perform a NOT operation on the output signal of the OR gate to generate a read enable signal.
8. A chip, characterized in that: Comprising the read-write circuit as described in any one of claims 1 to 7, the chip has a first pin and a second pin, the first pin is used to connect the write control module and the control signal, and the second pin is used to connect the first efuse read-write module, the second efuse read-write module and the power signal.
9. The chip according to claim 8, characterized in that: The chip also includes a reference circuit, which is connected to the output end of the first efuse read-write module and the output end of the second efuse read-write module, and the reference circuit outputs different reference voltages and reference currents based on the write operation of the first efuse read-write module and / or the second efuse read-write module.
10. A read-write circuit control method, characterized in that: For the read-write circuit according to any one of claims 1 to 7, the read-write circuit control method comprises: Generate multiple reference voltages through a reference voltage generation module; generating a first write enable signal based on a control signal and a corresponding reference voltage through a first control unit, generating a comparison signal based on the control signal and the corresponding reference voltage through a second control unit, and generating a second write enable signal based on the comparison signal and the first write enable signal; generating a read enable signal based on the first write enable signal and the comparison signal by a read control module; The first efuse read / write module performs write operations based on the first write enable signal and the power signal and performs read operations based on the read enable signal, and the second efuse read / write module performs write operations based on the second write enable signal and the power signal and performs read operations based on the read enable signal.
