Data processing circuit based on eeprom

By using an inverter and control signal connected end-to-end in the EEPROM data processing circuit, the problems of write errors and data inconsistency in the EEPROM data processing process are solved, thereby achieving higher data processing accuracy and reduced power consumption.

CN117672317BActive Publication Date: 2026-11-27NEXWISE INTELLIGENCE CHINA LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311788057.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2026-11-27
Estimated Expiration
2043-12-22

AI Technical Summary

Technical Problem

EEPROMs are prone to write errors and data inconsistencies during data processing, resulting in low accuracy in data processing.

Method used

The input data is latched by a first inverter and a second inverter connected end to end, and the conduction and disconnection of NMOS or PMOS transistors are controlled by a control signal. Combined with the switching module and the control module, the accuracy of data transfer is ensured.

Benefits of technology

It effectively reduces noise interference in input data, improves the accuracy of data processing and storage address, and reduces power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117672317B_ABST
    Figure CN117672317B_ABST
Patent Text Reader

Abstract

The application provides an EEPROM-based data processing circuit and relates to the technical field of integrated circuits.The circuit comprises a data transfer module;the data transfer module comprises a first inverter, a second inverter, a first NMOS tube, a second NMOS tube, a first PMOS tube and a switch module;the first inverter and the second inverter are connected in a head-to-tail mode to play a latching role on input data, small spikes in the input data are reduced, and the accuracy of input data processing is improved;after the data is latched, the second NMOS tube or the first PMOS tube is controlled to be turned on, and then the latched data is output from the output end of the data transfer module;the switch module is further arranged between the second NMOS tube or the first PMOS tube and the output end of the data transfer module, and the switch module is controlled to be turned on or turned off through a first control signal, and then it is controlled whether the transferred data is output, so that the accuracy of the transferred address can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of integrated circuit technology, and in particular to a data processing circuit based on EEPROM. Background Technology

[0002] With the development of semiconductor technology, the capacity, speed, and cost of memory have been significantly improved. The emergence of electrically erasable programmable read-only memory (EEPROM) represents a further development and improvement of read-only memory (ROM) and flash memory technologies. Compared to ROM, EEPROM can be electrically erased and written, avoiding the need for physical modifications to the memory. Compared to flash memory, EEPROM offers faster erase and write speeds and is more convenient for programming individual bytes.

[0003] However, EEPROMs often suffer from problems such as data writing errors and data inconsistencies, resulting in low accuracy in data processing. Summary of the Invention

[0004] This invention provides a data processing circuit based on EEPROM to solve the problems of low accuracy in data processing caused by common issues in existing EEPROMs, such as data writing errors and data inconsistencies.

[0005] This invention provides a data processing circuit based on EEPROM, including a data transfer module; the data transfer module includes: a first inverter, a second inverter, a first NMOS transistor, a second NMOS transistor, a first PMOS transistor, and a switching module;

[0006] The gate of the first NMOS transistor serves as the data input terminal of the data transfer module. The source of the first NMOS transistor is grounded, and the drain of the first NMOS transistor is connected to the input terminal of the first inverter. The output terminal of the first inverter is connected to the input terminal of the second inverter. The output terminal of the second inverter is connected to the input terminal of the first inverter, the gate of the second NMOS transistor, and the gate of the first PMOS transistor. The source of the second NMOS transistor is connected to a first level Vdd, and the source of the first PMOS transistor is connected to a second level Vhh. The first level Vdd is less than the second level Vhh. The drain of the second NMOS transistor is connected to the drain of the first PMOS transistor and the input terminal of the switching module. The output terminal of the switching module serves as the output terminal of the data transfer module. The control terminal of the switching module is used to receive a first control signal, which is used to control the switching module to be turned on or off.

[0007] According to the EEPROM-based data processing circuit provided by the present invention, the data transfer module further includes a third NMOS transistor;

[0008] The drain of the third NMOS transistor is connected to the output of the first inverter, the source of the third NMOS transistor is grounded, and the gate of the third NMOS transistor serves as the cache data reset terminal of the data transfer module.

[0009] According to the present invention, a data processing circuit based on EEPROM is provided, the data processing circuit further includes a control module; the output terminal of the control module is connected to the cache data reset terminal of the data transfer module;

[0010] The control module is used to: when outputting transferred data through the output terminal of the data transfer module, send a cached data reset signal to the cached data reset terminal, the cached data reset signal being used to reset the cached data in the data transfer module.

[0011] According to the present invention, a data processing circuit based on EEPROM is provided, wherein the switching module includes a fourth NMOS transistor and a second PMOS transistor;

[0012] The source of the fourth NMOS transistor serves as the input terminal of the switching module. The source of the fourth NMOS transistor is connected to the source of the second PMOS transistor. The drain of the fourth NMOS transistor is connected to the drain of the second PMOS transistor. The drain of the fourth NMOS transistor serves as the output terminal of the switching module. The gate of the fourth NMOS transistor serves as the control terminal of the switching module. The gate of the second PMOS transistor is used to receive the inverse signal of the first control signal.

[0013] According to the EEPROM-based data processing circuit provided by the present invention, the data transfer module further includes a fifth NMOS transistor;

[0014] The drain of the fifth NMOS transistor is connected to the output terminal of the switching module, the source of the fifth NMOS transistor is grounded, and the gate of the fifth NMOS transistor serves as the output reset terminal of the data transfer module.

[0015] According to the present invention, a data processing circuit based on EEPROM is provided, wherein the data transfer module includes a write data transfer module and an erase data transfer module;

[0016] When the data transfer module includes the write data transfer module, the first control signal is the write data control signal;

[0017] When the data transfer module includes the data eraser module, the first control signal is the data eraser control signal.

[0018] According to the present invention, a data processing circuit based on EEPROM is provided, the data processing circuit further includes a data reading module, the data reading module including: an AND gate, a sixth NMOS transistor, a seventh NMOS transistor, an eighth NMOS transistor, a first switch transistor, and a second switch transistor;

[0019] The first input of the AND gate serves as the read data enable terminal of the read data module, and the second input of the AND gate serves as the bit control terminal of the read data module. The output of the AND gate is connected to the gate of the sixth NMOS transistor and the gate of the seventh NMOS transistor, respectively. The source of the seventh NMOS transistor serves as the data output terminal of the read data module, and the drain of the seventh NMOS transistor is connected to the source of the sixth NMOS transistor. The drain of the sixth NMOS transistor is connected to the source of the eighth NMOS transistor and the first terminal of the first switch transistor, respectively. The gate and drain of the eighth NMOS transistor are connected to the first level Vdd. The second terminal of the first switch transistor is used to receive the read data detection level Vread. The third terminal of the first switch transistor is connected to the first terminal of the second switch transistor. The third terminal of the second switch transistor is grounded, and the second terminal of the second switch transistor serves as the read data control terminal of the read data module.

[0020] According to an EEPROM-based data processing circuit provided by the present invention, the first switching transistor is configured to: when the first switching transistor stores stored data, increase the conduction threshold of the first switching transistor to a third level, the third level being greater than the read data detection level Vread; when the first switching transistor does not store stored data, decrease the conduction threshold of the first switching transistor to a fourth level, the fourth level being less than or equal to the read data detection level Vread; and when the read data detection level Vread is greater than or equal to the conduction threshold, turn on the first terminal and the third terminal of the first switching transistor.

[0021] The second switch is configured to: reduce the resistance value of the second switch to less than a first threshold when a high level is received through the second terminal of the second switch; and increase the resistance value of the second switch to a second threshold when a low level is received through the second terminal of the second switch, wherein the second threshold is greater than the first threshold, and the resistance value of the second switch is the equivalent resistance value between the first terminal and the third terminal of the second switch.

[0022] According to the present invention, a data processing circuit based on EEPROM is provided, the data processing circuit further includes a NOR gate;

[0023] The first input terminal of the NOR gate is used to receive a write data control signal, the second input terminal of the NOR gate is used to receive an erase data control signal, and the output terminal of the NOR gate is connected to the read data control terminal of the read data module.

[0024] The NOR gate is configured to: output a low level when the write data control signal or the erase data control signal is received; and output a high level when neither the write data control signal nor the erase data control signal is received.

[0025] According to the present invention, a data processing circuit based on EEPROM is provided, the data processing circuit further includes a read mode output buffer module, the input terminal of the read mode output buffer module is connected to the data output terminal of the read data module, and the read mode output buffer module includes: a third PMOS transistor, a fourth PMOS transistor, a fifth PMOS transistor, a sixth PMOS transistor, a seventh PMOS transistor, a ninth NMOS transistor, a tenth NMOS transistor, an eleventh NMOS transistor, a twelfth NMOS transistor, and a third inverter;

[0026] The drain of the third PMOS transistor is connected to the gate of the fifth PMOS transistor and the gate of the ninth NMOS transistor, respectively. The drain of the third PMOS transistor serves as the input terminal of the read mode output buffer module. The gate of the third PMOS transistor is grounded. The source of the third PMOS transistor is connected to the drain of the fourth PMOS transistor. The sources of the fourth PMOS transistor and the fifth PMOS transistor are connected to the first level Vdd. The drain of the fifth PMOS transistor is connected to the drain of the ninth NMOS transistor. The source of the ninth NMOS transistor is connected to the drain of the tenth NMOS transistor. The source of the tenth NMOS transistor is grounded. The gate of the tenth NMOS transistor is used to receive the second control signal. The gate of the fourth PMOS transistor is used to receive the inverse signal of the second control signal. The drain of the ninth NMOS transistor... The gate of the PMOS transistor is connected to the input terminal of the third inverter. The output terminal of the third inverter is connected to the source of the sixth PMOS transistor. The drain of the sixth PMOS transistor is connected to the source of the seventh PMOS transistor. The drain of the seventh PMOS transistor is connected to the input terminal of the third inverter and the drain of the eleventh NMOS transistor. The source of the eleventh NMOS transistor is connected to the drain of the twelfth NMOS transistor. The source of the twelfth NMOS transistor is grounded. The gate of the sixth PMOS transistor is used to receive the third control signal. The gate of the twelfth NMOS transistor is used to receive the inverted signal of the third control signal. The gate of the seventh PMOS transistor is connected to the gate of the eleventh NMOS transistor and the output terminal of the third inverter. The output terminal of the third inverter serves as the output terminal of the read mode output buffer module.

[0027] The data processing circuit based on EEPROM provided by this invention utilizes a first inverter and a second inverter connected end-to-end to latch the input data. After latching the data, either a second NMOS transistor or a first PMOS transistor can be selectively turned on, thereby outputting the latched data from the output terminal of the data transfer module. It should be noted that a switch module is also provided between the second NMOS transistor or the first PMOS transistor and the output terminal of the data transfer module. This switch is controlled to turn on or off via a first control signal, thereby controlling whether the transferred data is output. Compared to related technologies where EEPROMs suffer from write errors and data inconsistencies, this invention, using a first inverter and a second inverter connected end-to-end, latches the input data, effectively reducing spikes in the input data and eliminating noise interference, ensuring undistorted stored data and significantly improving the accuracy of input data processing. Furthermore, the timing control of the first control signal to output the transferred data effectively improves the accuracy of the transfer address. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0029] Figure 1 This is one of the structural schematic diagrams of the EEPROM-based data processing circuit provided by the present invention;

[0030] Figure 2 This is the second schematic diagram of the structure of the EEPROM-based data processing circuit provided by the present invention;

[0031] Figure 3 This is a schematic diagram of the data reading module in the EEPROM-based data processing circuit provided by the present invention;

[0032] Figure 4 This is a schematic diagram of the read mode output buffer module in the EEPROM-based data processing circuit provided by the present invention;

[0033] Figure 5 This is the third schematic diagram of the data processing circuit based on EEPROM provided by the present invention;

[0034] Figure 6 This is the fourth schematic diagram of the data processing circuit based on EEPROM provided by the present invention;

[0035] Figure 7 This is a schematic diagram of the level conversion circuit in the EEPROM-based data processing circuit provided by the present invention.

[0036] Figure label:

[0037] 100: Data processing circuit based on EEPROM;

[0038] 101: Data transfer module; 102: Data read module; 103: NOR gate; 104: Read mode output buffer module;

[0039] 1011: First inverter; 1012: Second inverter; M1: First NMOS transistor; M2: Second NMOS transistor; Q1: First PMOS transistor; 1013: Switch module; M3: Third NMOS transistor; M4: Fourth NMOS transistor; Q2: Second PMOS transistor; M5: Fifth NMOS transistor;

[0040] 1021: AND gate; M6: Sixth NMOS transistor; M7: Seventh NMOS transistor; M8: Eighth NMOS transistor; 1022: First switch transistor; 1023: Second switch transistor;

[0041] Q3: Third PMOS transistor; Q4: Fourth PMOS transistor; Q5: Fifth PMOS transistor; Q6: Sixth PMOS transistor; Q7: Seventh PMOS transistor; M9: Ninth NMOS transistor; M10: Tenth NMOS transistor; M11: Eleventh NMOS transistor; M12: Twelfth NMOS transistor; 1041: Third inverter. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0043] The data processing circuit based on EEPROM of the present invention will now be described with reference to the accompanying drawings.

[0044] Figure 1 This is one of the structural schematic diagrams of the EEPROM-based data processing circuit provided by the present invention, such as... Figure 1 As shown, the EEPROM-based data processing circuit 100 includes a data transfer module 101;

[0045] The data transfer module 101 includes: a first inverter 1011, a second inverter 1012, a first NMOS transistor M1, a second NMOS transistor M2, a first PMOS transistor Q1, and a switching module 1013.

[0046] The specific circuit connection structure is as follows:

[0047] The gate of the first NMOS transistor M1 serves as the data input terminal of the data transfer module 101. The source of the first NMOS transistor M1 is grounded, the drain of the first NMOS transistor M1 is connected to the input of the first inverter 1011, the output of the first inverter 1011 is connected to the input of the second inverter 1012, the output of the second inverter 1012 is connected to the input of the first inverter 1011, the gate of the second NMOS transistor M2 and the gate of the first PMOS transistor Q1, the source of the second NMOS transistor M2 is connected to a first level Vdd, the source of the first PMOS transistor Q1 is connected to a second level Vhh, the first level Vdd is less than the second level Vhh, the drain of the second NMOS transistor M2 is connected to the drain of the first PMOS transistor Q1 and the input of the switching module 1013, the output of the switching module 1013 serves as the output of the data transfer module 101, and the control terminal of the switching module 1013 is used to receive a first control signal, which is used to control the switching module 1013 to be turned on or off.

[0048] In related technologies, since EEPROM is a non-volatile memory that retains data persistently after it is written, if the input data changes during data processing such as writing and erasing, it may lead to problems such as writing data errors and data inconsistency. In addition, noise from other circuits during the input process may cause errors in identifying the data storage location or incorrect storage location, resulting in low accuracy of data processing.

[0049] To address the above problems, this invention proposes a data processing circuit based on EEPROM.

[0050] Specifically, the data processing circuit based on EEPROM includes a data transfer module for transferring data. In the data transfer module, a first inverter and a second inverter connected end to end can be used to latch the input data, so as to remove small spikes in the input data and output the data.

[0051] For example, such as Figure 1As shown, the gate of the first NMOS transistor M1 serves as the data in terminal. Data is input to the data transfer module 101 from the data in terminal. For example, if a high level is input from the data in terminal, the first NMOS transistor M1 is turned on, grounding the input terminal of the first inverter 1011, which is equivalent to inputting a low level to the first inverter 1011. After the first inverter 1011 outputs a high level, it inputs the high level to the second inverter 1012. After the second inverter 1012 outputs a low level, it inputs the low level to the input terminal of the first inverter 1011, the gate of the second NMOS transistor M2, and the gate of the first PMOS transistor Q1. At this time, the input of the first inverter 1011 remains at a low level, the second NMOS transistor M2 is turned off, and the first PMOS transistor Q1 is turned on. The first PMOS transistor Q1 takes the higher second level Vhh as a high level and outputs it through the switching module 1013. It can be seen that in the data transfer module 101, data is input from the data in terminal. When the input is high, the output from the data transfer module 101 is also high. The same applies when the input is low. This will not be elaborated further here.

[0052] The data transfer module 101 of the present invention uses a first inverter and a second inverter connected end to end to latch the input data, thereby removing small spikes caused by noise interference in the input data and improving the accuracy of input data processing.

[0053] For the switching module, the switching module controls its conduction or disconnection through the first control signal. For example, if the first control signal is high level and the switching module is an NMOS transistor, the high level can control the NMOS transistor to conduct. The specific implementation structure of the switching module is not limited here.

[0054] Optionally, the data transfer module 101 includes a write data transfer module and an erase data transfer module;

[0055] When the data transfer module 101 includes the write data transfer module, the first control signal is the write data control signal;

[0056] When the data transfer module 101 includes the erase data transfer module, the first control signal is the erase data control signal.

[0057] Specifically, the above-mentioned data transfer module can be applied to data transfer for writing and erasing data. When the data transfer module 101 includes a write data transfer module, the write data control signal (write signal) can be used as the first control signal to control the switch module. Similarly, when the data transfer module 101 includes an erase data transfer module, the erase data control signal (erase signal) can be used as the first control signal to control the switch module.

[0058] In the EEPROM-based data processing circuit provided in this embodiment of the invention, a first inverter and a second inverter connected end-to-end can be used to latch the input data. After latching the data, either the second NMOS transistor or the first PMOS transistor can be selectively turned on, thereby outputting the latched data from the output terminal of the data transfer module. It should be noted that a switch module is also provided between the second NMOS transistor or the first PMOS transistor and the output terminal of the data transfer module. The switch module is turned on or off by a first control signal, thereby controlling whether the transferred data is output. Compared with the problems of write data errors and data inconsistency in related technologies, this embodiment of the invention uses a first inverter and a second inverter connected end-to-end to latch the input data, effectively reducing small spikes in the input data, that is, eliminating the noise influence of input interference, ensuring that the stored data is not distorted, and effectively improving the accuracy of input data processing. In addition, the timing control of whether to output the transferred data by the first control signal can effectively improve the accuracy of the transfer address.

[0059] Optionally, Figure 2 This is the second schematic diagram of the data processing circuit based on EEPROM provided by the present invention, as shown below. Figure 2 As shown, the data transfer module 101 may further include a third NMOS transistor M3;

[0060] The drain of the third NMOS transistor M3 is connected to the output terminal of the first inverter 1011, the source of the third NMOS transistor M3 is grounded, and the gate of the third NMOS transistor M3 serves as the buffer data reset terminal (BuffReset terminal) of the data transfer module 101.

[0061] Specifically, the data transfer module can also be configured with a third NMOS transistor M3 to achieve cached data reset.

[0062] Optionally, the data processing circuit further includes a control module; the output of the control module is connected to the cache data reset terminal of the data transfer module, and the control module... Figure 2 Not shown in the middle;

[0063] The control module is used to: when outputting transferred data through the output terminal of the data transfer module, send a cached data reset signal to the cached data reset terminal, the cached data reset signal being used to reset the cached data in the data transfer module.

[0064] Specifically, the data transfer module's cache data reset function is implemented by setting a third NMOS transistor. Specifically, the control module controls the third NMOS transistor to reset the cache data in the data transfer module after the previous data transfer is completed, and then proceed with the next data transfer process. This can effectively improve the accuracy of data transfer, and thus improve the accuracy of input data processing.

[0065] For example, the control module can output a high level to turn on the third NMOS transistor, which in turn grounds the output of the first inverter. This resets the data buffered in the latch formed by the first and second inverters. It should be noted that the buffer data reset signal is not always high; it returns to a low level after the buffer data is reset to ensure that the data transfer module can continue to work normally after the reset.

[0066] Optionally, such as Figure 2 As shown, the switching module 1013 may include a fourth NMOS transistor M4 and a second PMOS transistor Q2;

[0067] The source of the fourth NMOS transistor M4 serves as the input terminal of the switching module 1013. The source of the fourth NMOS transistor M4 is connected to the source of the second PMOS transistor Q2. The drain of the fourth NMOS transistor M4 is connected to the drain of the second PMOS transistor Q2. The drain of the fourth NMOS transistor M4 serves as the output terminal of the switching module 1013. The gate of the fourth NMOS transistor M4 serves as the control terminal of the switching module 1013. The gate of the second PMOS transistor Q2 is used to receive the inverse signal (writeN signal or eraseN signal) of the first control signal.

[0068] Specifically, this embodiment of the invention provides an implementation of a switching module, which specifically includes a fourth NMOS transistor and a second PMOS transistor, which can be controlled to be turned on or off by a first control signal and its inverse signal, thereby controlling whether to output the transferred data.

[0069] It should be noted that the inverse signal of the first control signal can be understood as follows: when the first control signal is high, the inverse signal of the first control signal is low, and vice versa; when the first control signal is low, the inverse signal of the first control signal is high.

[0070] Optionally, such as Figure 2 As shown, the data transfer module 101 also includes a fifth NMOS transistor M5;

[0071] The drain of the fifth NMOS transistor M5 is connected to the output terminal of the switching module 1013, the source of the fifth NMOS transistor M5 is grounded, and the gate of the fifth NMOS transistor M5 serves as the output reset terminal (CLR terminal) of the data transfer module 101.

[0072] Specifically, in this embodiment of the invention, a fifth NMOS transistor is provided, and a signal is received through the output reset terminal to control the fifth NMOS transistor to be turned on or off. When the fifth NMOS transistor is turned on, the output of the data transfer module will be pulled low, thereby resetting the output of the data transfer module.

[0073] Optionally, Figure 3 This is a schematic diagram of the data reading module in the EEPROM-based data processing circuit provided by the present invention, as shown below. Figure 3 As shown, the data processing circuit 100 further includes a data reading module 102, which includes: an AND gate 1021, a sixth NMOS transistor M6, a seventh NMOS transistor M7, an eighth NMOS transistor M8, a first switch 1022, and a second switch 1023; Figure 3 The first switch 1022 and the second switch 1023 are shown in the form of NMOS transistors. It should be noted that they are different from ordinary NMOS transistors.

[0074] The first input terminal of AND gate 1021 serves as the read data enable terminal (ReadEN terminal) of the read data module 102, and the second input terminal of AND gate 1021 serves as the bit control terminal (Byte terminal) of the read data module 102. The output terminal of AND gate 1021 is connected to the gate of the sixth NMOS transistor M6 and the gate of the seventh NMOS transistor M7, respectively. The source of the seventh NMOS transistor M7 serves as the data output terminal (data terminal) of the read data module 102, and the drain of the seventh NMOS transistor M7 is connected to the source of the sixth NMOS transistor M6. The drains of the sixth NMOS transistor M6 are connected to the source of the eighth NMOS transistor M8 and the first terminal of the first switch transistor 1022, respectively. The gate and drain of the eighth NMOS transistor M8 are connected to the first level Vdd. The second terminal of the first switch transistor 1022 is used to receive the read data detection level Vread. The third terminal of the first switch transistor 1022 is connected to the first terminal of the second switch transistor 1023. The third terminal of the second switch transistor 1023 is grounded. The second terminal of the second switch transistor 1023 serves as the read data control terminal of the read data module 102.

[0075] Optionally, the first switch 1022 is configured to: when the first switch 1022 stores stored data, increase the conduction threshold of the first switch 1022 to a third level, the third level being greater than the read data detection level Vread; when the first switch 1022 does not store stored data, decrease the conduction threshold of the first switch 1022 to a fourth level, the fourth level being less than or equal to the read data detection level Vread; and when the read data detection level Vread is greater than or equal to the conduction threshold, turn on the first terminal and the third terminal of the first switch 1022.

[0076] The second switch 1023 is configured to: reduce the resistance value of the second switch 1023 to less than a first threshold when a high level is received through the second terminal of the second switch 1023; and increase the resistance value of the second switch 1023 to a second threshold when a low level is received through the second terminal of the second switch 1023, wherein the second threshold is greater than the first threshold, and the resistance value of the second switch 1023 is the equivalent resistance value between the first terminal and the third terminal of the second switch 1023.

[0077] Specifically, this invention also provides a specific implementation of the data reading module. Compared with the problem of high power consumption caused by the use of current to control the reading circuit in traditional read storage elements, this invention can control the first switch used for storing data by using voltage, specifically the data detection level Vread, and determine whether the first switch has stored data by the output voltage. At the same time, in conjunction with the second switch as an inverting transistor, when the second terminal of the second switch receives a high level, the resistance value of the second switch is reduced to less than the first threshold, which can significantly reduce the operating power consumption of the circuit.

[0078] It should be noted that, in the embodiments of the present invention, the inverted transistor refers to a transistor whose source and drain resistance can be considered very small when the gate of the inverted transistor is at a high level.

[0079] Optionally, such as Figure 3 As shown, the data processing circuit 100 further includes a NOR gate 103;

[0080] The first input terminal of the NOR gate 103 is used to receive a write data control signal, the second input terminal of the NOR gate 103 is used to receive an erase data control signal, and the output terminal of the NOR gate 103 is connected to the read data control terminal of the read data module 102.

[0081] The NOR gate 103 is configured to: output a low level when the write data control signal or the erase data control signal is received; and output a high level when neither the write data control signal nor the erase data control signal is received.

[0082] Specifically, in this embodiment of the invention, a NOR gate is used to provide a control signal to the read data control terminal of the read data module. Specifically, when the NOR gate receives a write data control signal or an erase data control signal, it outputs a low level to the read data control terminal of the read data module. At this time, the resistance value of the second switch is a higher second threshold, and it can be considered that the second switch is off and not working. However, when the NOR gate does not receive a write data control signal or an erase data control signal, it is considered that the read data process can be performed at this time, so it outputs a high level to the read data control terminal of the read data module. At this time, the resistance value of the second switch is pulled down to less than the first threshold, and it can be considered that the second switch is conducting at this time to assist the first switch in determining whether data is stored.

[0083] Optionally, Figure 4 This is a schematic diagram of the read mode output buffer module in the EEPROM-based data processing circuit provided by the present invention, as shown below. Figure 4 As shown, the data processing circuit 100 further includes a read mode output buffer module 104, the input of which is connected to the data output of the read data module 102.

[0084] The read mode output buffer module 104 includes: a third PMOS transistor Q3, a fourth PMOS transistor Q4, a fifth PMOS transistor Q5, a sixth PMOS transistor Q6, a seventh PMOS transistor Q7, a ninth NMOS transistor M9, a tenth NMOS transistor M10, an eleventh NMOS transistor M11, a twelfth NMOS transistor M12, and a third inverter 1041;

[0085] The drain of the third PMOS transistor Q3 is connected to the gate of the fifth PMOS transistor Q5 and the gate of the ninth NMOS transistor M9. The drain of the third PMOS transistor Q3 serves as the data input terminal (data terminal) of the read mode output buffer module 104. The gate of the third PMOS transistor Q3 is grounded. The source of the third PMOS transistor Q3 is connected to the drain of the fourth PMOS transistor Q4. The sources of the fourth PMOS transistor Q4 and the fifth PMOS transistor Q5 are connected to the first level Vdd. The drain of the fifth PMOS transistor Q5 is connected to the drain of the ninth NMOS transistor M9. The source of the ninth NMOS transistor M9 is connected to the drain of the tenth NMOS transistor M10. The source of the tenth NMOS transistor M10 is grounded. The gate of the tenth NMOS transistor M10 is used to receive the second control signal (EEread signal). The gate of the fourth PMOS transistor Q4 is used to receive the inverse signal of the second control signal (EEreadN signal). The drain of the ninth NMOS transistor M9 is also connected to the... The input terminal of the third inverter 1041 is connected to the source of the sixth PMOS transistor Q6. The drain of the sixth PMOS transistor Q6 is connected to the source of the seventh PMOS transistor Q7. The drain of the seventh PMOS transistor Q7 is connected to both the input terminal of the third inverter 1041 and the drain of the eleventh NMOS transistor M11. The source of the eleventh NMOS transistor M11 is connected to the drain of the twelfth NMOS transistor M12. The source of the transistor is grounded. The gate of the sixth PMOS transistor Q6 is used to receive the third control signal (Control signal). The gate of the twelfth NMOS transistor M12 is used to receive the inverted signal of the third control signal (ControlN signal). The gate of the seventh PMOS transistor Q7 is connected to the gate of the eleventh NMOS transistor M11 and the output terminal of the third inverter 1041, respectively. The output terminal of the third inverter 1041 serves as the output terminal (Vout terminal) of the read mode output buffer module 104.

[0086] The following is combined Figure 4 Here's an example to illustrate the working principle of the read-mode output buffer module 104:

[0087] When the input data at the data terminal is high, assuming the EEread signal is high, both the fourth PMOS transistor Q4 and the tenth NMOS transistor M10 are turned on, pulling the gates of the fifth PMOS transistor Q5 and the ninth NMOS transistor M9 high. The fifth PMOS transistor Q5 is turned off, and the ninth NMOS transistor M9 is turned on, pulling the input of the third inverter 1041 low. The third inverter 1041 outputs a high level. Alternatively, assuming the Control signal is low, both the sixth PMOS transistor Q6 and the twelfth NMOS transistor M12 are turned on. The high level output of the third inverter 1041 will turn off the seventh PMOS transistor Q7 and turn on the eleventh NMOS transistor M11. This means that the seventh PMOS transistor Q7 and the eleventh NMOS transistor M11 can be equivalent to an inverter. This equivalent inverter, when connected end-to-end with the third inverter, forms an equivalent latch, which can remove small spikes in the input data and improve the accuracy of data processing.

[0088] The following example illustrates the EEPROM-based data processing circuit provided by this invention.

[0089] This invention provides a data processing circuit based on EEPROM to solve the problem of noise interference when inputting data, as well as to ensure reliable data transmission and integrity, and reduce power consumption.

[0090] Figure 5 This is the third schematic diagram of the data processing circuit based on EEPROM provided by the present invention, as shown below. Figure 5 As shown, the data processing circuit based on EEPROM may include an erase buffer, a write buffer, a bus control module, a write transfer module, and an erase transfer module.

[0091] The erase data enable module is used to output the erase data control signal (erase signal) and the inverse signal of the erase data control signal (eraseN signal). Specifically, the HV_Erase signal can be processed by two-stage inverters.

[0092] The write enable module is used to output the write control signal (write signal) and the inverse of the write control signal (writeN signal). Specifically, the HV_Write signal can be processed by two stages of inverters.

[0093] The bus control module is used to control the transfer input position, specifically which bit to perform the erase or write operation. This is controlled by the transfer enable terminal (TransferEN terminal) and the bit control terminal (Byte terminal). The TransferEN terminal and the Byte terminal serve as the two input terminals of a NAND gate. The output terminal of the NAND gate is output through a buffer as the data in terminal, which is then input to the erase data enable module and the write data enable module.

[0094] The write data transfer module and the erase data transfer module can eliminate noise interference and provide the location of the transferred data. They also have buffer reset and output reset functions.

[0095] The data processing circuit may also include a data reading module and a read mode output buffer module. The read mode output buffer module is used to further process the data output by the data reading module and buffer it into a bistable circuit before outputting it.

[0096] Specifically, the HV_Write and HV_Erase signals control the selection of WriteBuffer and EraseBuffer respectively, and the input data flows in through the main switch Transfer_EN. Figure 2 At the data in terminal, the input data is transferred into a bistable data transfer module composed of inverters connected end to end. The buffered data then controls the M2 and Q1 transistors to select whether to turn on Vhh or Vdd, and is output to the storage device after passing through the switching module.

[0097] Meanwhile, the data transfer module has a cached data reset function. Before the next data arrives, the BuffReset terminal is turned on, the output terminal of the first inverter is grounded, and the data transferred last time is cleared, thus avoiding the impact of the previous data on the next data transfer.

[0098] The data transfer module also has an output reset function. After the switch module is turned off, the CLR terminal can be turned on to ground the output of the data transfer module, which can reset all output data to zero.

[0099] Figure 6 This is the fourth schematic diagram of the data processing circuit based on EEPROM provided by the present invention, as shown below. Figure 6 As shown, in the write data enable module or erase data enable module, compared to Figure 2 It also adds a PMOS transistor controlled by the TransferEN terminal. When the TransferEN terminal outputs a low level, the PMOS transistor is turned on. The principle of the rest of the circuit is the same. Figure 2 Corresponding implementation examples.

[0100] This invention also provides a data reading module, such as... Figure 3As shown, M8 is the control transistor, controlling the activation of the control circuit. Therefore, this MOS transistor is usually in the on state during read mode. The first switching transistor is the storage transistor, for example, an NMOS transistor. When the data stored in the first switching transistor is 1, the voltage turn-on threshold of the NMOS transistor will rise. When the first switching transistor receives the detection voltage Vread, if there is stored data, the first switching transistor will not conduct due to the increased turn-on threshold, and the output of point Q will be a high potential Vhh. If no data is stored, the first switching transistor will conduct, and point Q will be grounded through the inverting transistor (the second switching transistor), and the output potential of point Q will be zero. At this time, the two output potentials mentioned above are controlled by the read logic and the Byte logic to output the voltage read. This voltage is output to the data terminal, and then... Figure 4 After being controlled by the EEread logic, the data is transferred to the bistable circuit controlled by Control and then output.

[0101] Figure 7 This is a schematic diagram of the level conversion circuit in the EEPROM-based data processing circuit provided by the present invention, as shown below. Figure 7 As shown, the level conversion circuit can convert the input digital logic from the Vdd voltage domain to the Vhh voltage domain.

[0102] In this embodiment of the invention, by transferring the data to a latch equivalent to an inverter connected end to end, data errors caused by interference or other factors during the data writing process can be avoided, reducing the interference of input data caused by noise. At the same time, the use of multiple logic control can ensure the accuracy of the transfer address. Furthermore, by using a test voltage to control the storage element, and in conjunction with an inverting transistor, the power consumption can be significantly reduced compared to traditional read circuits.

[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A data processing circuit based on EEPROM, characterized in that, It includes a data transfer module; the data transfer module includes: a first inverter, a second inverter, a first NMOS transistor, a second NMOS transistor, a first PMOS transistor, and a switching module; The gate of the first NMOS transistor serves as the data input terminal of the data transfer module. The source of the first NMOS transistor is grounded, and the drain of the first NMOS transistor is connected to the input terminal of the first inverter. The output terminal of the first inverter is connected to the input terminal of the second inverter. The output terminal of the second inverter is connected to the input terminal of the first inverter, the gate of the second NMOS transistor, and the gate of the first PMOS transistor. The source of the second NMOS transistor is connected to a first level Vdd, and the source of the first PMOS transistor is connected to a second level Vhh. The first level Vdd is less than the second level Vhh. The drain of the second NMOS transistor is connected to the drain of the first PMOS transistor and the input terminal of the switching module. The output terminal of the switching module serves as the output terminal of the data transfer module. The control terminal of the switching module is used to receive a first control signal, which is used to control the switching module to be turned on or off. The data processing circuit further includes a data reading module, which includes: an AND gate, a sixth NMOS transistor, a seventh NMOS transistor, an eighth NMOS transistor, a first switch transistor, and a second switch transistor; The first input of the AND gate serves as the read data enable terminal of the read data module, and the second input of the AND gate serves as the bit control terminal of the read data module. The output of the AND gate is connected to the gate of the sixth NMOS transistor and the gate of the seventh NMOS transistor, respectively. The source of the seventh NMOS transistor serves as the data output terminal of the read data module, and the drain of the seventh NMOS transistor is connected to the source of the sixth NMOS transistor. The drain of the sixth NMOS transistor is connected to the source of the eighth NMOS transistor and the first terminal of the first switch transistor, respectively. The gate and drain of the eighth NMOS transistor are connected to the first level Vdd. The second terminal of the first switch transistor is used to receive the read data detection level Vread. The third terminal of the first switch transistor is connected to the first terminal of the second switch transistor. The third terminal of the second switch transistor is grounded, and the second terminal of the second switch transistor serves as the read data control terminal of the read data module.

2. The data processing circuit based on EEPROM according to claim 1, characterized in that, The data transfer module also includes a third NMOS transistor; The drain of the third NMOS transistor is connected to the output of the first inverter, the source of the third NMOS transistor is grounded, and the gate of the third NMOS transistor serves as the cache data reset terminal of the data transfer module.

3. The data processing circuit based on EEPROM according to claim 2, characterized in that, The data processing circuit also includes a control module; the output of the control module is connected to the cache data reset terminal of the data transfer module. The control module is used to: when outputting transferred data through the output terminal of the data transfer module, send a cached data reset signal to the cached data reset terminal, the cached data reset signal being used to reset the cached data in the data transfer module.

4. The EEPROM-based data processing circuit according to any one of claims 1 to 3, characterized in that, The switching module includes a fourth NMOS transistor and a second PMOS transistor; The source of the fourth NMOS transistor serves as the input terminal of the switching module. The source of the fourth NMOS transistor is connected to the source of the second PMOS transistor. The drain of the fourth NMOS transistor is connected to the drain of the second PMOS transistor. The drain of the fourth NMOS transistor serves as the output terminal of the switching module. The gate of the fourth NMOS transistor serves as the control terminal of the switching module. The gate of the second PMOS transistor is used to receive the inverse signal of the first control signal.

5. The EEPROM-based data processing circuit according to any one of claims 1 to 3, characterized in that, The data transfer module also includes a fifth NMOS transistor; The drain of the fifth NMOS transistor is connected to the output terminal of the switching module, the source of the fifth NMOS transistor is grounded, and the gate of the fifth NMOS transistor serves as the output reset terminal of the data transfer module.

6. The EEPROM-based data processing circuit according to any one of claims 1 to 3, characterized in that, The data transfer module includes a write data transfer module and an erase data transfer module; When the data transfer module includes the write data transfer module, the first control signal is the write data control signal; When the data transfer module includes the data eraser module, the first control signal is the data eraser control signal.

7. The data processing circuit based on EEPROM according to claim 1, characterized in that, The first switch is used to: when the first switch has stored data, increase the conduction threshold of the first switch to a third level, the third level being greater than the read data detection level Vread; If the first switch does not store any data, the conduction threshold of the first switch is lowered to a fourth level, which is less than or equal to the read data detection level Vread. When the read data detection level Vread is greater than or equal to the conduction threshold, the first terminal and the third terminal of the first switch are turned on. The second switch is configured to: reduce the resistance value of the second switch to less than a first threshold when a high level is received through the second terminal of the second switch; and increase the resistance value of the second switch to a second threshold when a low level is received through the second terminal of the second switch, wherein the second threshold is greater than the first threshold, and the resistance value of the second switch is the equivalent resistance value between the first terminal and the third terminal of the second switch.

8. The EEPROM-based data processing circuit according to claim 1 or 7, characterized in that, The data processing circuit also includes an NOR gate; The first input terminal of the NOR gate is used to receive a write data control signal, the second input terminal of the NOR gate is used to receive an erase data control signal, and the output terminal of the NOR gate is connected to the read data control terminal of the read data module. The NOR gate is configured to: output a low level when the write data control signal or the erase data control signal is received; and output a high level when neither the write data control signal nor the erase data control signal is received.

9. The EEPROM-based data processing circuit according to claim 1 or 7, characterized in that, The data processing circuit further includes a read mode output buffer module. The input terminal of the read mode output buffer module is connected to the data output terminal of the read data module. The read mode output buffer module includes: a third PMOS transistor, a fourth PMOS transistor, a fifth PMOS transistor, a sixth PMOS transistor, a seventh PMOS transistor, a ninth NMOS transistor, a tenth NMOS transistor, an eleventh NMOS transistor, a twelfth NMOS transistor, and a third inverter. The drain of the third PMOS transistor is connected to the gate of the fifth PMOS transistor and the gate of the ninth NMOS transistor, respectively. The drain of the third PMOS transistor serves as the input terminal of the read mode output buffer module. The gate of the third PMOS transistor is grounded. The source of the third PMOS transistor is connected to the drain of the fourth PMOS transistor. The sources of the fourth PMOS transistor and the fifth PMOS transistor are connected to the first level Vdd. The drain of the fifth PMOS transistor is connected to the drain of the ninth NMOS transistor. The source of the ninth NMOS transistor is connected to the drain of the tenth NMOS transistor. The source of the tenth NMOS transistor is grounded. The gate of the tenth NMOS transistor is used to receive the second control signal. The gate of the fourth PMOS transistor is used to receive the inverse signal of the second control signal. The drain of the ninth NMOS transistor... The gate of the PMOS transistor is connected to the input terminal of the third inverter. The output terminal of the third inverter is connected to the source of the sixth PMOS transistor. The drain of the sixth PMOS transistor is connected to the source of the seventh PMOS transistor. The drain of the seventh PMOS transistor is connected to the input terminal of the third inverter and the drain of the eleventh NMOS transistor. The source of the eleventh NMOS transistor is connected to the drain of the twelfth NMOS transistor. The source of the twelfth NMOS transistor is grounded. The gate of the sixth PMOS transistor is used to receive the third control signal. The gate of the twelfth NMOS transistor is used to receive the inverted signal of the third control signal. The gate of the seventh PMOS transistor is connected to the gate of the eleventh NMOS transistor and the output terminal of the third inverter. The output terminal of the third inverter serves as the output terminal of the read mode output buffer module.

Citation Information

Patent Citations

  • Micro-power-consumption EEPROM sensitive amplifier circuit

    CN104269189A

  • Voltage multiplexing selection circuit for EEPROM port and EEPROM system comprising voltage multiplexing selection circuit

    CN112582005A