Reading Circuits and Electronic Devices

CN114242146BActive Publication Date: 2024-09-06GUANGZHOU INTELLIGENT CITY DEV INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111550957.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-17
Publication Date
2024-09-06
Estimated Expiration
2041-12-17

Smart Images

  • Figure CN114242146B
    Figure CN114242146B
Patent Text Reader

Abstract

The present invention provides a read circuit and an electronic device, wherein the read circuit comprises: a switch module, a shaping module and a logic control module connected to a processor; the switch module is used to send a voltage signal read from a storage module to the shaping module when receiving a read data enable signal sent by the processor; the shaping module is used to convert the voltage signal into a level signal and send it to the logic control module when receiving a read data control signal sent by the processor; the logic control module is used to receive a read data control signal and an output data enable signal sent by the processor, obtain target data according to the read data control signal and the level signal, and determine whether to send the target data to the processor according to the output data enable signal; wherein the switch module comprises a first inverted ratio tube and a second inverted ratio tube connected to each other, and the ratio of the gate width to the gate length of the first inverted ratio tube and the second inverted ratio tube is much less than 1. The read circuit and the electronic device provided by the present invention reduce the power consumption of the read circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of storage technology, and in particular to a reading circuit and an electronic device. Background Art

[0002] With the continuous development of the chip industry, the demand for memory in different chip designs is getting higher and higher. Electrically Erasable Programmable Read Only Memory (EEPROM) has the advantages of simple erasing operation and fast speed and is widely used in most chip designs. In order to read the logic signal stored in EEPROM, a read circuit is often required in the process of EEPROM design.

[0003] In the related art, the read circuit usually adopts a differential amplifier structure. When the threshold voltage of the Flotox tube of the memory changes, a differential input signal is generated at the input end of the differential amplifier, thereby achieving the purpose of reading "1" and reading "0".

[0004] However, in the above-mentioned related technologies, a stable tail current must be provided in order to work in a normal state. In order to obtain this stable tail current, it is necessary to additionally design an internal bandgap voltage reference circuit with higher precision. The internal bandgap voltage reference circuit provides a reference current to ensure that the tail current does not change with changes in process angle and temperature. However, the tail current and the internal bandgap voltage reference circuit will dissipate energy, thereby increasing the power consumption of the read circuit. Summary of the invention

[0005] In view of the problems existing in the prior art, an embodiment of the present invention provides a reading circuit and an electronic device.

[0006] The present invention provides a reading circuit, comprising a switch module, a shaping module and a logic control module connected to a processor, wherein the switch module is connected to a storage module and the shaping module respectively, and the logic control module is connected to the shaping module;

[0007] The switch module is used to send the voltage signal read from the storage module to the shaping module when receiving the read data enable signal sent by the processor;

[0008] The shaping module is used for, when receiving the read data control signal sent by the processor, converting the voltage signal into a level signal and then sending the signal to the logic control module;

[0009] The logic control module is used to receive the read data control signal and the output data enable signal sent by the processor, obtain target data according to the read data control signal and the level signal, and determine whether to send the target data to the processor according to the output data enable signal;

[0010] The switch module includes a first inverse ratio transistor and a second inverse ratio transistor which are connected to each other, and a ratio of a gate width to a gate length of the first inverse ratio transistor and the second inverse ratio transistor is much smaller than 1.

[0011] A read circuit provided according to the present invention further includes a buffer module, and the logic control module is connected to the processor through the buffer module;

[0012] The logic control module is specifically used to determine whether to send the target data to the buffer module according to the output data enable signal;

[0013] The buffer module is used to receive the output data enable signal sent by the processor, and when receiving the target data output by the logic control module, send the target data to the processor, and determine whether to cache the data last output by the logic control module according to the output data enable signal.

[0014] A read circuit provided according to the present invention further includes a first enabling module, through which the processor is connected to the logic control module and the buffer module respectively;

[0015] The first enabling module is configured to send a first switch signal and a second switch signal to the logic control module and send the first switch signal and the second switch signal to the buffer module when receiving the output data control signal sent by the processor; wherein a level signal of the first switch signal is opposite to a level signal of the output data control signal, and a level signal of the second switch signal is the same as a level signal of the output data control signal;

[0016] The logic control module is specifically configured to determine whether to send the target data to the buffer module according to the first switch signal and the second switch signal;

[0017] The buffer module is specifically configured to determine whether to cache the data last output by the logic control module according to the first switch signal and the second switch signal when receiving the target data output by the logic control module.

[0018] A reading circuit provided according to the present invention further includes a second enabling module, and the switch module is connected to the processor through the second enabling module;

[0019] The second enabling module is configured to send the read data enabling signal to the switch module upon receiving the read data control signal sent by the processor.

[0020] According to a reading circuit provided by the present invention, the first inverse ratio transistor includes a first PMOS transistor, and the second inverse ratio transistor includes a second PMOS transistor;

[0021] The source of the first PMOS tube is connected to the drain of the second PMOS tube, the gate of the first PMOS tube is connected to the output end of the second enabling module, the drain of the first PMOS tube is connected to a power supply, the source of the second PMOS tube is connected to the storage module, the gate of the second PMOS tube is grounded, and the source of the second PMOS tube is connected to the input end of the shaping module as the output end of the switch module.

[0022] According to a reading circuit provided by the present invention, the shaping module includes a first NMOS tube, a second NMOS tube and a third PMOS tube;

[0023] The gate of the first NMOS tube is connected to the processor, the drain of the first NMOS tube is connected to the source of the second NMOS tube, the source of the first NMOS tube is grounded, the drain of the second NMOS tube is connected to the source of the third PMOS tube, the gate of the second NMOS tube and the gate of the third PMOS tube are connected to the source of the second PMOS tube as the input end of the shaping module, the drain of the third PMOS tube is connected to the power supply, and the source of the third PMOS tube is connected to the input end of the logic control module as the output end of the shaping module.

[0024] According to a read circuit provided by the present invention, the logic control module includes a NAND gate, a first NOT gate and a transmission gate;

[0025] The first input end of the NAND gate is connected to the source of the third PMOS tube as the input end of the logic control module, the second input end of the NAND gate is connected to the processor, the output end of the NAND gate is connected to the input end of the first NOT gate, the output end of the first NOT gate is connected to the input end of the transmission gate, the first control end of the transmission gate is connected to the first output end of the first enabling module, the second control end of the transmission gate is connected to the second output end of the first enabling module, and the output end of the transmission gate is connected to the first input end of the buffer module as the output end of the logic control module.

[0026] According to a read circuit provided by the present invention, the first enabling module includes a second NOT gate and a third NOT gate;

[0027] The input end of the second NOT gate is connected to the processor, the output end of the second NOT gate is connected to the input end of the third NOT gate, the output end of the second NOT gate is connected to the first control end of the transmission gate and the second input end of the buffer module as the first output end of the first enable module, and the output end of the third NOT gate is connected to the second control end of the transmission gate and the third input end of the buffer module as the second output end of the first enable module.

[0028] According to a read circuit provided by the present invention, the buffer module includes a fourth NOT gate, a fourth PMOS transistor, a fifth PMOS transistor, a third NMOS transistor and a fourth NMOS transistor;

[0029] The input end of the fourth NOT gate is connected to the output end of the transmission gate as the first input end of the buffer module, the input end of the fourth NOT gate is also connected to the source of the fifth PMOS tube and the drain of the third NMOS tube, the output end of the fourth NOT gate is connected to the gate of the fifth PMOS tube and the gate of the third NMOS tube, the source of the fourth PMOS tube is connected to the drain of the fifth PMOS tube, the gate of the fourth PMOS tube is connected to the output end of the third NOT gate as the third input end of the buffer module, and the drain of the fourth PMOS tube is connected to a power supply;

[0030] The source of the third NMOS tube is connected to the drain of the fourth NMOS tube, the gate of the fourth NMOS tube is connected to the output of the second NOT gate as the second input end of the buffer module, and the source of the fourth NMOS tube is grounded.

[0031] The present invention also provides an electronic device, comprising a processor, a storage module and any one of the above-mentioned reading circuits; the storage module is connected to the reading circuit and the processor respectively, and the reading circuit is connected to the processor.

[0032] The present invention provides a reading circuit and electronic device, based on a switch module including a first inverse ratio tube and a second inverse ratio tube, a voltage signal read from a storage module is sent to a shaping module, the shaping module converts the voltage signal into a level signal, and then a logic control module obtains target data corresponding to the voltage signal according to the level signal and a read data control signal, and finally determines whether to send the target data to a processor according to an output data enable signal, thereby completing the process of the processor reading the target data. Since the ratio of the gate width to the gate length of the first inverse ratio tube and the second inverse ratio tube in the switch module is much less than 1, the drain-source resistance of the first inverse ratio tube and the second inverse ratio tube is very large, so the current flowing from the power supply through the ground is only at the nanoampere level, thereby reducing the power consumption of the reading circuit. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0034] Figure 1 It is a storage circuit diagram of a single bit of the EEPROM provided by the present invention;

[0035] Figure 2 It is one of the principle diagrams of the reading circuit provided by the present invention;

[0036] Figure 3 This is the second schematic diagram of the reading circuit provided by the present invention;

[0037] Figure 4 This is the third schematic diagram of the reading circuit provided by the present invention;

[0038] Figure 5 This is the fourth schematic diagram of the reading circuit provided by the present invention;

[0039] Figure 6 This is the fifth schematic diagram of the reading circuit provided by the present invention;

[0040] Figure 7 is a circuit diagram of a switch module provided by the present invention;

[0041] Figure 8 It is a circuit diagram of the shaping module provided by the present invention;

[0042] Fig. 9 is a circuit diagram of a logic control module provided by the present invention;

[0043] Fig.10 is a circuit diagram of a first enabling module provided by the present invention;

[0044] Fig.11 is a circuit diagram of a buffer module provided by the present invention;

[0045] Fig.12 is a circuit diagram of a second enabling module provided by the present invention;

[0046] Fig.13 is a circuit diagram of a reading circuit provided by the present invention;

[0047] Fig.14 It is a circuit principle diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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 are within the scope of protection of the present invention.

[0049] The storage unit of EEPROM usually uses high-voltage control signals to change the threshold voltage of the floating gate tunneling oxide transistor (Flotox) to achieve the purpose of storing data. Flotox tubes generally have two gates, namely the control gate and the floating gate, so most of them use a two-layer Poly process. There is an area with a very thin oxide layer between the floating gate and the drain area. This area is called the tunnel area. When the electric field in the tunnel area reaches a certain level, a conductive channel will be generated between the drain area and the floating gate. Electrons can pass through this conductive channel in both directions to form a current. By changing the amount of charge stored on the floating gate, the threshold voltage of the Flotox tube can be changed to achieve the purpose of data storage.

[0050] The storage principle of EEPROM is as follows:

[0051] Figure 1 : is a storage circuit diagram of a single bit of the EEPROM provided by the present invention, such as Figure 1 As shown, a single-bit storage circuit includes a gate tube and a control tube, and the control tube is a Flotox tube, wherein nsga1_64 is used as a gate tube, ncgea1_64 and ncgpa1_64 are two states of the control tube, the threshold voltage corresponding to ncgea1_64 is 4.9 volts (V), and the threshold voltage corresponding to ncgpa1_64 is -0.58V. The gate and drain bias states of the control tube can be changed by a high-voltage signal, and the gate of the control tube can be injected and extracted to change the threshold voltage of the control tube, thereby changing the data stored in the EEPROM. In addition, the SG terminal represents the gate of the gate tube, and the CG terminal represents the gate of the control tube. When the FS terminal is at a low potential, the FS terminal is the source of the control tube, and the SD is the drain of the gate tube.

[0052] When performing the "erase" operation, the SG and CG ports are simultaneously connected to a high-voltage pulse greater than 15.5V, the SD terminal is connected to 0 level, and the FS terminal is grounded. At this time, the strong electric field generated in the tunnel area of ​​the control tube will attract electrons in the drain area to pass through the tunnel area to reach the floating gate, forming a storage charge, which increases the threshold voltage of the control tube to 4.9V, making it a high threshold voltage tube; during the read operation, the control tube will not be turned on and is in the off state, and the drain voltage of the control tube is 1.5V at this time; after passing through the read circuit, the output voltage is 0V.

[0053] When performing a "write" operation, the control gates of the storage cells where "1" is written should be discharged. To this end, when writing "1", the CG terminal of the control tube is set to 0 level, and a high-voltage pulse greater than 15.5V is connected to the SD terminal and the SG terminal at the same time. The FS terminal can be connected to the ground through an Nmos tube working in the cut-off area, and the CG terminal is connected to the "0" level. At this time, the stored charge on the control gate of the control tube will be discharged through the tunnel area, so that the threshold voltage of the control tube drops to -0.58V; during the read operation, the voltage read out of the drain end of the control tube should be 0V.

[0054] Combine the following Figure 2-Figure 13 The reading circuit of the present invention is described.

[0055] Figure 2 is one of the schematic diagrams of the reading circuit provided by the present invention, such as Figure 2 As shown, the read circuit includes a switch module 102, a shaping module 103 and a logic control module 104 connected to the processor 101, the switch module 102 is connected to the storage module 105 and the shaping module 106 respectively, and the logic control module 104 is connected to the shaping module 103.

[0056] The switch module 102 is used to send the voltage signal read from the storage module to the shaping module 103 when receiving the read data enable signal sent by the processor.

[0057] The shaping module 103 is used for, upon receiving the read data control signal sent by the processor 101 , converting the voltage signal into a level signal and sending the signal to the logic control module 104 .

[0058] The logic control module 104 is used to receive the read data control signal and the output data enable signal sent by the processor 101, obtain target data according to the read data control signal and the level signal, and determine whether to send the target data to the processor 101 according to the output data enable signal.

[0059] The switch module 102 includes a first inverse proportional transistor and a second inverse proportional transistor connected to each other, and the ratio of the gate width to the gate length of the first inverse proportional transistor and the second inverse proportional transistor is much smaller than 1, that is, the ratio of the gate width to the gate length is less than or equal to a preset value, which may be 0.015.

[0060] For example, when the processor 101 needs to read data, it sends a read data enable signal to the switch module 102 and the storage module 105, and sends a read data control signal to the shaping module 103; when the switch module 102 receives the read data enable signal, it sends the voltage signal read from the storage module 105 to the shaping module 103, and the shaping module 103 converts the voltage signal into a level signal and sends it to the logic control module 104, and then the logic control module 104 determines the target data corresponding to the voltage signal based on the level signal and the read data control signal sent by the processor 101; finally, based on the output data enable signal sent by the processor 101, it is determined whether to send the target data to the processor 101. When the output data enable signal is at a high level, the target data is sent to the processor 101; when the output data enable signal is at a low level, the target data is not sent to the processor 101.

[0061] Specifically, the voltage signal read out from the storage module 105 is determined according to the read timing controlled by the processor 101. If the storage module 105 connected to the switch module 102 is a high-threshold control tube at this time, the voltage signal read out from the storage module 105 is a first voltage signal; if the storage module 105 connected to the switch module 102 is a low-threshold control tube at this time, the voltage signal read out from the storage module 105 is a second voltage signal.

[0062] The present invention provides a reading circuit, based on a switch module including a first inverse ratio transistor and a second inverse ratio transistor, sending a voltage signal read from a storage module to a shaping module, the shaping module converts the voltage signal into a level signal, and then the logic control module obtains the target data corresponding to the voltage signal according to the level signal and the read data control signal, and finally determines whether to send the target data to the processor according to the output data enable signal, thereby completing the process of the processor reading the target data. Since the ratio of the gate width to the gate length of the first inverse ratio transistor and the second inverse ratio transistor in the switch module is much less than 1, the drain-source resistance of the first inverse ratio transistor and the second inverse ratio transistor is very large, so the current flowing from the power supply through the ground is only at the nanoampere level, thereby reducing the power consumption of the reading circuit.

[0063] Further, Figure 3 This is the second schematic diagram of the reading circuit provided by the present invention, such as Figure 3 As shown, the read circuit further includes a buffer module 106 , and the logic control module 104 is connected to the processor 101 via the buffer module 106 .

[0064] The logic control module 104 is specifically configured to determine whether to send the target data to the buffer module 106 according to the output data enable signal.

[0065] The buffer module 106 is used to receive the output data enable signal sent by the processor 101, and when receiving the target data output by the logic control module 104, send the target data to the processor 101, and determine whether to cache the data last output by the logic control module 104 according to the output data enable signal.

[0066] For example, when the output data enable signal is at a high level, the logic control module 104 sends the target data to the processor 101 through the buffer module 106, completing the processor 101's read operation on the storage module 105. At this time, the buffer module does not store the target data; when the output data enable signal is at a low level, the logic control module 104 does not send the target data to the buffer module 106. At this time, the buffer module 106 latches the data last output by the logic control module 104 to ensure that the data last output by the logic control module 104 is not lost.

[0067] Further, Figure 4 This is the third schematic diagram of the reading circuit provided by the present invention, such as Figure 4 As shown, the read circuit further includes a first enabling module 107 , and the processor 101 is connected to the logic control module 104 and the buffer module 106 respectively through the first enabling module 107 .

[0068] The first enabling module 107 is configured to send a first switch signal and a second switch signal to the logic control module 104 and send the first switch signal and the second switch signal to the buffer module 106 upon receiving the output data control signal sent by the processor 101 .

[0069] The logic control module 104 is specifically configured to determine whether to send the target data to the buffer module 106 according to the first switch signal and the second switch signal.

[0070] The buffer module 106 is specifically configured to determine whether to cache the data last output by the logic control module 104 according to the first switch signal and the second switch signal when receiving the target data output by the logic control module 104 .

[0071] The level signal of the first switch signal is opposite to the level signal of the output data enable signal, and the level signal of the second switch signal is the same as the level signal of the output data enable signal.

[0072] For example, the output data enable signal sent by the processor 101 is converted into a first switch signal and a second switch signal through the first enable module 107. In this way, the processor 101 only needs to send the output data enable signal, and there is no need to send the first switch signal and the second switch signal at the same time, thereby reducing the occupancy of the input and output ports of the processor 101.

[0073] Further, Figure 5 This is the fourth schematic diagram of the reading circuit provided by the present invention, such as Figure 5 As shown, the reading circuit further includes a second enabling module 108 , and the switch module 102 is connected to the processor 101 via the second enabling module 108 .

[0074] The second enabling module 1081 is configured to send the read data enabling signal to the switch module 102 upon receiving the read data control signal sent by the processor 101 .

[0075] The level signal of the read data control signal is opposite to the level signal of the read data enable signal.

[0076] For example, the read data control signal sent by the processor 101 is converted into a read data enable signal through the second enabling module 108. In this way, the processor 101 only needs to send the read data control signal, and there is no need to send the read data control signal and the read data enable signal at the same time, thereby further reducing the occupancy of the input and output ports of the processor 101.

[0077] Further, Figure 6 5 is the schematic diagram of the reading circuit provided by the present invention, such as Figure 6 As shown, the reading circuit further includes a driving module 109 , and the driving module 109 is connected to the buffer module 106 and the processor 101 respectively.

[0078] The driving module 109 is configured to send the target data to the processor 101 when converting the current at the output end of the buffer module 106 into a current matching the load.

[0079] The load may be the processor 101. Since the input equivalent load capacitance of the processor 101 is much larger than the equivalent load capacitance of a single MOS tube, the current at the output of the buffer module 106 does not match the input current of the processor 101. Therefore, the current at the output of the buffer module 106 needs to be converted into a current matching the input of the processor 101 through the driving module 109. Specifically, the driving circuit 109 may use a NOT gate with a certain resistance.

[0080] Optionally, Figure 7 is a circuit diagram of the switch module provided by the present invention, such as Figure 7As shown, the first inverse ratio transistor includes a first P-type metal oxide semiconductor (positive channel Metal Oxide Semiconductor, PMOS) transistor M0, and the second inverse ratio transistor includes a second PMOS transistor M1.

[0081] The source of the first PMOS tube M0 is connected to the drain of the second PMOS tube M1, the gate of the first PMOS tube M0 is connected to the output end of the second enabling module, the drain of the first PMOS tube M0 is connected to the power supply, the source of the second PMOS tube M1 is connected to the storage module 105, the gate of the second PMOS tube M1 is grounded, and the source of the second PMOS tube M1 is connected to the input end of the shaping module 103 as the output end of the switch module.

[0082] The first PMOS transistor and the second PMOS transistor may both be enhanced PMOS transistors, and the level signals of the read data enable signal and the read data control signal are opposite.

[0083] Furthermore, if Figure 7 As shown, the single-bit storage circuit of the storage module 105 is also included, wherein M2 is a control tube of the single-bit storage circuit, and M3 is a selection tube of the single-bit storage circuit.

[0084] It should be noted that Figure 7 EEREAD_EN, CG, SG, FS and data are all network labels for circuit connection, GNDA indicates grounding, VDDA indicates power connection, EEREAD_EN indicates a read data enable signal, and data indicates a voltage signal output by the storage module 105.

[0085] Optionally, Figure 8 is a circuit diagram of the shaping module provided by the present invention, such as Figure 8 As shown, the shaping module 103 includes a first N-type metal oxide semiconductor (NMOS) tube M4, a second NMOS tube M5 and a third PMOS tube M6.

[0086] The gate of the first NMOS tube M4 is connected to the processor, the drain of the first NMOS tube M4 is connected to the source of the second NMOS tube M5, the source of the first NMOS tube M4 is grounded, the drain of the second NMOS tube M5 is connected to the source of the third PMOS tube M6, the gate of the second NMOS tube M5 and the gate of the third PMOS tube M6 are connected to the source of the second PMOS tube M1 as the input end of the shaping module 103, the drain of the third PMOS tube M6 is connected to the power supply, and the source of the third PMOS tube M6 is connected to the input end of the logic control module 104 as the output end of the shaping module 103.

[0087] It should be noted that Figure 8 DPXH, EEREAD and data in the figure are network labels used for circuit connection. EEREAD represents the read data control signal, and DPXH represents the connection with the input terminal of T1 below.

[0088] Optionally, Fig. 9 is a circuit diagram of the logic control module provided by the present invention, such as Fig. 9 As shown, the logic control module 104 includes a NAND gate T1 , a first NOT gate Y1 , and a transmission gate C1 .

[0089] The first input end of the NAND gate T1 is connected to the source of the third PMOS tube M6 as the input end of the logic control module 104, the second input end of the NAND gate T1 is connected to the processor 101, the output end of the NAND gate T1 is connected to the input end of the first NOT gate Y1, the output end of the first NOT gate Y1 is connected to the input end of the transmission gate C1, the first control end of the transmission gate C1 is connected to the first output end of the first enabling module 107, the second control end of the transmission gate C1 is connected to the second output end of the first enabling module 107, and the output end of the transmission gate C1 is connected to the first input end of the buffer module 106 as the output end of the logic control module 104.

[0090] It should be noted that Fig. 9 DPXH, EEREAD, DSI, NDSI and MBSJ in the figure are network labels used for circuit connection, NDSI represents the first switch signal, and DSI represents the second switch signal.

[0091] Optionally, Fig.10 is a circuit diagram of the first enabling module provided by the present invention, such as Fig.10 As shown, the first enabling module 107 includes a second NOT gate Y2 and a third NOT gate Y3.

[0092] The input end of the second NOT gate Y2 is connected to the processor 101, the output end of the second NOT gate Y2 is connected to the input end of the third NOT gate Y3, the output end of the second NOT gate Y2 is connected to the first control end of the transmission gate C1 and the second input end of the buffer module 106 as the first output end of the first enabling module 107, and the output end of the third NOT gate Y3 is connected to the second control end of the transmission gate C1 and the third input end of the buffer module 106 as the second output end of the first enabling module 107.

[0093] It should be noted that Fig.10 DATASYN_EEDBO, NDSI and DSI are all network labels used for circuit connection, and DATASYN_EEDBO represents the output data enable signal.

[0094] Optionally, Fig.11 is a circuit diagram of the buffer module provided by the present invention, such as Fig.11 As shown, the buffer module 106 includes a fourth NOT gate Y4, a fourth PMOS transistor M7, a fifth PMOS transistor M8, a third NMOS transistor M9 and a fourth NMOS transistor M10.

[0095] The input end of the fourth NOT gate Y4 is connected to the output end of the transmission gate C1 as the first input end of the buffer module 106, the input end of the fourth NOT gate Y4 is also connected to the source of the fifth PMOS tube M8 and the drain of the third NMOS tube M9, the output end of the fourth NOT gate Y4 is connected to the gate of the fifth PMOS tube M8 and the gate of the third NMOS tube M9, the source of the fourth PMOS tube M7 is connected to the drain of the fifth PMOS tube M8, the gate of the fourth PMOS tube M7 is connected to the output end of the third NOT gate Y3 as the third input end of the buffer module 106, and the drain of the fourth PMOS tube M7 is connected to the power supply;

[0096] The source of the third NMOS tube M9 is connected to the drain of the fourth NMOS tube M10 , the gate of the fourth NMOS tube M10 is connected to the output of the second NOT gate as the second input end of the buffer module, and the source of the fourth NMOS tube M10 is grounded.

[0097] It should be noted that Fig.11 MBSJ, OUT, DSI and NDSI are network labels used for circuit connections.

[0098] Optionally, Fig.12 is a circuit diagram of the second enabling module provided by the present invention, such as Fig.12 As shown, the second enabling module 108 includes a fifth NOT gate Y5.

[0099] An input end of the fifth NOT gate Y5 is connected to the processor 101 , and an output end of the fifth NOT gate Y5 is connected to the gate of the first PMOS transistor M0 .

[0100] It should be noted that Fig.12 EEREAD_EN and EEREAD in are network labels used for circuit connection.

[0101] Optionally, Fig.13 is a circuit diagram of a reading circuit provided by the present invention, such as Fig.13 As shown below, based on Fig.13 Describe the working principle of the read circuit:

[0102] Specifically, EEREAD is a read data control signal, EEREAD_EN is a read data enable signal (active at low level), VDDA is 1.5V; the data read from the storage module 105 is output through the data terminal. When EEREAD is enabled at a high level "1", EEREAD_EN is at a low level "0", at which time, M0 and M1 are turned on; in the read timing, Figure 7 The SG and CG terminals in the circuit are connected to a 1.5V voltage at the same time, and the FS terminal is grounded. At this time, the selection tube M3 is turned on. If the control tube M2 is a high threshold tube at this time, the control tube is turned off, and the port voltage of the data end is pulled up to the voltage of VDDA 1.5V through M0 and M1; then the gate voltage loaded on M4 and M5 is 1.5V. Since EEREAD is a high level "1", M6 is turned on, M5 is also turned on, and M4 is turned off. Then the level signal output by the shaping module 103 (the level signal output by the source of M6) is a low level "0".

[0103] At this time, the first input terminal of the NAND gate T1 of the logic control module 104 is a low level "0", and the second input terminal of the NAND gate T1 is a high level "1", then the NAND gate T1 outputs a high level "1", and Y1 outputs a low level "0"; at this time, if the output data enable signal is a high level "1", then NDSI is a low level "0", DSI is a high level "1", and the transmission gate C1 is turned on, then the low level "0" output by Y1 is input to Y4; M7 and M10 are turned off, which is equivalent to a short circuit, Y4 outputs a high level "1", and then the driving module Y6 outputs a low level "0", that is, the data output by DataOut is a low level "0", thereby completing a read "0" operation. If the output data enable signal is low level "0", NDSI is low level "1", DSI is high level "0", transmission gate C1 is cut off, at this time M7 and M10 are turned on (equivalent to a wire), M8 and M9 form an inverter, and the inverter and Y4 form a buffer circuit to latch the data previously received by Y4 (the data output by Y1 last time) until the next output data enable signal is high level "1", the data output by DataOut will be flipped.

[0104] On the contrary, if the control tube M2 is a low threshold tube at this time, the control tube M2 is turned on. Since the resistance of the two inverse ratio tubes M0 and M1 is much larger than the resistance of the control tube M2 and the selection tube M3, the voltage on VDDA will be borne by the two inverse ratio tubes M0 and M1 after voltage division. Therefore, under the action of the control tube M2, the port voltage of the data end is pulled down to 0V; the gate voltage loaded on M4 and M5 is 0V. Since EEREAD is a high level "1", M6 is turned on, M5 is turned off, and M4 is turned on. Then the level signal output by the shaping module 103 (the level signal output by the source of M6) is a high level "1".

[0105] At this time, the first input terminal of the NAND gate T1 of the logic control module 104 is high level "1", and the second input terminal of the NAND gate T1 is high level "1", then the NAND gate T1 outputs low level "0", and Y1 outputs high level "1"; at this time, if the output data enable signal is high level "1", then NDSI is low level "0", DSI is high level "1", and the transmission gate C1 is turned on, then the high level "1" output by Y1 is input to Y4, Y4 outputs low level "0", and then the driver module Y6 outputs high level "1", that is, the data output by DataOut is high level "1", thereby completing a read "1" operation. If the output data enable signal is low level "0", then NDSI is low level "1", DSI is high level "0", and the transmission gate C1 is turned off, at this time M7 and M10 are turned on (equivalent to a wire), M8 and M9 form an inverter, and the inverter and Y4 form a buffer circuit to latch the data previously received by Y4 (the data output by Y1 last time).

[0106] The present invention provides a read circuit. Since the ratio of the gate width to the gate length of the first inverse proportional transistor and the second inverse proportional transistor in the switch module is much smaller than 1, the drain-source resistance of the first inverse proportional transistor and the second inverse proportional transistor is very large, so the current flowing from the power supply through the ground is only at the nanoampere level, thereby reducing the power consumption of the read circuit; in addition, the present invention only requires the cooperation of logic gates such as a shaping module and a logic control module to complete the entire read circuit design of the EEPROM, the circuit structure is simple, no additional debugging work is required, and no reference circuit is required to work normally, thereby reducing the size of the entire read circuit, and the read circuit can be compatible with a large process angle and temperature change range.

[0107] Fig.14 is a circuit schematic diagram of the electronic device provided by the present invention, such as Fig.14 As shown, the electronic device includes a processor 1401, a storage module 1402 and a read circuit 1403 as described in any of the above embodiments; the storage module 1402 is connected to the read circuit 1403 and the processor 1401 respectively, and the read circuit 1403 is connected to the processor 1401.

[0108] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A read circuit, characterized in that: It includes a switch module, a shaping module and a logic control module connected to the processor, the switch module is connected to the storage module and the shaping module respectively, and the logic control module is connected to the shaping module; The switch module is used to send the voltage signal read from the storage module to the shaping module when receiving the read data enable signal sent by the processor; The shaping module is used for, when receiving the read data control signal sent by the processor, converting the voltage signal into a level signal and then sending the signal to the logic control module; The logic control module is used to receive the read data control signal and the output data enable signal sent by the processor, obtain target data according to the read data control signal and the level signal, and determine whether to send the target data to the processor according to the output data enable signal; The switch module includes a first inverse ratio transistor and a second inverse ratio transistor which are connected to each other, and a ratio of a gate width to a gate length of the first inverse ratio transistor and the second inverse ratio transistor is much smaller than 1.

2. The read circuit according to claim 1, characterized in that It also includes a buffer module, and the logic control module is connected to the processor through the buffer module; The logic control module is specifically used to determine whether to send the target data to the buffer module according to the output data enable signal; The buffer module is used to receive the output data enable signal sent by the processor, and when receiving the target data output by the logic control module, send the target data to the processor, and determine whether to cache the data last output by the logic control module according to the output data enable signal.

3. The read circuit according to claim 2, characterized in that: It also includes a first enabling module, through which the processor is connected to the logic control module and the buffer module respectively; The first enabling module is configured to send a first switch signal and a second switch signal to the logic control module and send the first switch signal and the second switch signal to the buffer module when receiving the output data control signal sent by the processor; wherein a level signal of the first switch signal is opposite to a level signal of the output data control signal, and a level signal of the second switch signal is the same as a level signal of the output data control signal; The logic control module is specifically configured to determine whether to send the target data to the buffer module according to the first switch signal and the second switch signal; The buffer module is specifically configured to determine whether to cache the data last output by the logic control module according to the first switch signal and the second switch signal when receiving the target data output by the logic control module.

4. The read circuit according to claim 3, characterized in that: It also includes a second enabling module, and the switch module is connected to the processor through the second enabling module; The second enabling module is configured to send the read data enabling signal to the switch module upon receiving the read data control signal sent by the processor.

5. The read circuit according to claim 4, characterized in that: The first inverse ratio transistor includes a first PMOS transistor, and the second inverse ratio transistor includes a second PMOS transistor; The source of the first PMOS tube is connected to the drain of the second PMOS tube, the gate of the first PMOS tube is connected to the output end of the second enabling module, the drain of the first PMOS tube is connected to a power supply, the source of the second PMOS tube is connected to the storage module, the gate of the second PMOS tube is grounded, and the source of the second PMOS tube is connected to the input end of the shaping module as the output end of the switch module.

6. The read circuit according to claim 5, characterized in that The shaping module includes a first NMOS tube, a second NMOS tube and a third PMOS tube; The gate of the first NMOS tube is connected to the processor, the drain of the first NMOS tube is connected to the source of the second NMOS tube, the source of the first NMOS tube is grounded, the drain of the second NMOS tube is connected to the source of the third PMOS tube, the gate of the second NMOS tube and the gate of the third PMOS tube are connected to the source of the second PMOS tube as the input end of the shaping module, the drain of the third PMOS tube is connected to the power supply, and the source of the third PMOS tube is connected to the input end of the logic control module as the output end of the shaping module.

7. The read circuit according to claim 6, characterized in that: The logic control module includes a NAND gate, a first NOT gate and a transmission gate; The first input end of the NAND gate is connected to the source of the third PMOS tube as the input end of the logic control module, the second input end of the NAND gate is connected to the processor, the output end of the NAND gate is connected to the input end of the first NOT gate, the output end of the first NOT gate is connected to the input end of the transmission gate, the first control end of the transmission gate is connected to the first output end of the first enabling module, the second control end of the transmission gate is connected to the second output end of the first enabling module, and the output end of the transmission gate is connected to the first input end of the buffer module as the output end of the logic control module.

8. The read circuit according to claim 7, characterized in that: The first enabling module includes a second NOT gate and a third NOT gate; The input end of the second NOT gate is connected to the processor, the output end of the second NOT gate is connected to the input end of the third NOT gate, the output end of the second NOT gate is connected to the first control end of the transmission gate and the second input end of the buffer module as the first output end of the first enable module, and the output end of the third NOT gate is connected to the second control end of the transmission gate and the third input end of the buffer module as the second output end of the first enable module.

9. The read circuit according to claim 8, characterized in that The buffer module includes a fourth NOT gate, a fourth PMOS tube, a fifth PMOS tube, a third NMOS tube and a fourth NMOS tube; The input end of the fourth NOT gate is connected to the output end of the transmission gate as the first input end of the buffer module, the input end of the fourth NOT gate is also connected to the source of the fifth PMOS tube and the drain of the third NMOS tube, the output end of the fourth NOT gate is connected to the gate of the fifth PMOS tube and the gate of the third NMOS tube, the source of the fourth PMOS tube is connected to the drain of the fifth PMOS tube, the gate of the fourth PMOS tube is connected to the output end of the third NOT gate as the third input end of the buffer module, and the drain of the fourth PMOS tube is connected to a power supply; The source of the third NMOS tube is connected to the drain of the fourth NMOS tube, the gate of the fourth NMOS tube is connected to the output of the second NOT gate as the second input end of the buffer module, and the source of the fourth NMOS tube is grounded.

10. An electronic device, characterized in that: It comprises a processor, a storage module and a reading circuit as described in any one of claims 1 to 9; the storage module is connected to the reading circuit and the processor respectively, and the reading circuit is connected to the processor.