Memory Reading Speed Regulating Circuit
20210151113 ยท 2021-05-20
Assignee
Inventors
Cpc classification
G11C2211/5646
PHYSICS
G11C7/222
PHYSICS
International classification
Abstract
The present invention discloses a memory reading speed regulating circuit, which uses a reading pulse to trigger an internal flag register to set to 1, and ensures that a data reading operation of a memory reading circuit is completed through a process that a reading operation completed pulse fed back by the memory reading circuit clears the value of the internal flag register to 0; when the reading operation is not completed within specified time, the value of the internal flag register is still 1, and a main controller speeds up the reading speed configuration of the memory reading circuit, and sends a rough regulation operation enable signal again to make a rough regulation judgment. The present invention can reduce the data reading power consumption of the memory and improve the reliability of the data reading operation.
Claims
1. A memory reading speed regulating circuit, wherein the memory reading speed regulating circuit comprises a main controller and a reading control circuit; the reading control circuit comprises a reading operation controller, a reading operation circuit, a clock control circuit and an internal flag register; the main controller, when a self-regulation operation enable end is in a trigger state, sends a rough regulation operation enable signal to the reading operation controller; and if an output configuration slow signal is received after the rough regulation operation enable signal is sent, outputs speeded-up reading control configuration information to a memory reading circuit, controls the reading speed configuration of the memory reading circuit to speed up, and sends the rough regulation operation enable signal to the reading operation controller again; the reading operation controller, when the rough regulation operation enable signal is received, sends a rough regulation execution enable signal to the reading operation circuit and the clock control circuit; the clock control circuit, when the rough regulation execution enable signal is received, sends an acquisition pulse to the reading operation circuit at a subsequent first system clock pulse trigger edge, and sends a reading pulse to the internal flag register and the memory reading circuit at a subsequent second system clock pulse trigger edge; the internal flag register is set to 1 when a reading pulse trigger edge arrives and is cleared to 0 when a reading operation completed pulse fed back by the memory reading circuit is received; the reading operation circuit, after the rough regulation execution enable signal sent by the reading operation controller is received, if the acquisition pulse sent by the clock control circuit is received, sends a rough reading address to the memory reading circuit; the reading operation circuit, if the value of the internal flag register is 0 after a system clock cycle after the rough reading address is sent, outputs a configuration satisfy signal to the main controller, and otherwise outputs a configuration slow signal to the main controller; the memory reading circuit, after the rough reading address is received, reads data according to the rough reading address when the reading pulse is received, and after reading is completed, outputs the reading operation completed pulse to the internal flag register.
2. The memory reading speed regulating circuit according to claim 1, wherein the main controller, after the rough regulation operation enable signal is sent, if the output configuration satisfy signal is received, ends a rough regulation stage, starts a fine regulation stage and sends a fine regulation operation enable signal to the reading operation controller; then if an output configuration fast signal is received, outputs speeded-down reading control configuration information to the memory reading circuit, controls the reading speed configuration of the memory reading circuit to speed down, and sends the fine regulation operation enable signal to the reading operation controller again; the reading operation controller, when the fine regulation operation enable signal is received, sends a fine regulation execution enable signal to the reading operation circuit and the clock control circuit; the clock control circuit, when the fine regulation execution enable signal is received, sends an acquisition pulse to the reading operation circuit at a subsequent first system clock pulse trigger edge, and sends a reading pulse to the internal flag register and the memory reading circuit at a subsequent second system clock pulse trigger edge; the reading operation circuit, after the fine regulation execution enable signal is received, if the acquisition pulse sent by the clock control circuit is received, sends a fine reading address to the memory reading circuit; the reading operation circuit, if the data read by the memory reading circuit after one system clock cycle after the fine reading address be sent is consistent with reference data, outputs a configuration satisfy signal to the main controller, and otherwise outputs a configuration fast signal to the main controller; the memory reading circuit, after the fine reading address is received, reads the data according to the fine reading address when the reading pulse is received, sends the data to the reading operation circuit, and after reading is completed, outputs the reading operation completed pulse to the internal flag register.
3. The memory reading speed regulating circuit according to claim 2, wherein the rough reading address is an address contained in the rough regulation execution enable signal, an address set in the reading operation circuit or an address randomly generated by the reading operation circuit.
4. The memory reading speed regulating circuit according to claim 2, wherein the fine reading address is an address contained in the fine regulation execution enable signal or an address set in the reading operation circuit.
5. The memory reading speed regulating circuit according to claim 2, wherein the fine reading address is the address of four physically distributed corners in the entire storage area of the memory.
6. The memory reading speed regulating circuit according to claim 2, wherein the reference data is reference data contained in the fine regulation execution enable signal or reference data set in the reading operation circuit.
7. The memory reading speed regulating circuit according to claim 1, wherein the main controller is capable of being set to a standard reading mode and a high-speed reading mode through a precise speed control end; when the main controller enters the fine regulation stage and sends the fine regulation operation enable signal to the reading operation controller, if the output configuration satisfy signal is received: if the main controller is set to the standard reading mode, the fine regulation under the standard reading mode is completed, and the current reading control configuration information is used as a standard reading control configuration; if the main controller is set to the high-speed reading mode, speeded-up reading control configuration information is output to the memory reading circuit, the reading speed configuration of the memory reading circuit is controlled to speed up, the fine regulation operation enable signal is sent to the reading operation controller again, the fine regulation under the high-speed reading mode is completed until the main controller receives the output configuration fast signal, and the previous reading control configuration information is used as a high-speed reading control configuration; the reading speed of the memory reading circuit under the high-speed reading control configuration is faster than the reading speed of the memory reading circuit under the standard reading control configuration.
8. The memory reading speed regulating circuit according to claim 7, wherein after the main controller enters the fine regulation stage and sends the fine regulation operation enable signal to the reading operation controller, when the output configuration fast signal is received, speeded-down reading control configuration information is output to the memory reading circuit, the reading speed configuration of the memory reading circuit is controlled to speed down, the fine regulation operation enable signal is sent to the reading operation controller again, the fine regulation is completed until the main controller receives the output configuration satisfy signal, and the current reading control configuration information is used as the reading control configuration of the current reading mode.
9. The memory reading speed regulating circuit according to claim 7, wherein after the memory reading speed regulating circuit is initialized, the self-regulation operation enable end of the main controller is in a standby state, the main controller outputs a reliable reading control configuration to the memory reading circuit, and controls the memory reading circuit to read the data according to the reliable reading control configuration; the reading speed of the memory reading circuit under the reliable reading control configuration is slower than the reading speed of the memory reading circuit under the standard reading control configuration.
10. The memory reading speed regulating circuit according to claim 1, wherein the main controller outputs the reading control configuration information to an analog self-regulating circuit which converts the reading control configuration information into an analog regulating quantity and sends the analog regulating quantity to the memory reading circuit, and controls the reading speed configuration of the memory reading circuit.
11. The memory reading speed regulating circuit according to claim 1, wherein the main controller, when the self-regulation operation enable end is in a standby state, controls the reading control circuit to stop working and outputs a reading control configuration result.
12. The memory reading speed regulating circuit according to claim 1, wherein the system clock pulse trigger edge, acquisition pulse trigger edge and reading pulse trigger edge are rising edges.
13. The memory reading speed regulating circuit according to claim 1, wherein the memory reading speed regulating circuit and the memory are integrated in the same chip.
14. The memory reading speed regulating circuit according to claim 1, wherein the memory reading speed regulating circuit is used as a peripheral circuit of the memory.
15. The memory reading speed regulating circuit according to claim 1, wherein the memory is a nonvolatile memory.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to describe the technical solution of the present invention more clearly, the drawings required by the present invention will be briefly described below. Obviously, the drawings in the following description are only some embodiments of the present invention. One skilled in the art can obtain other drawings according to these drawings without contributing any inventive labor.
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
DETAILED DESCRIPTION
[0053] The technical solution of the present invention will be clearly and completely described below with reference to the drawings. Obviously, the described embodiments are part of the embodiments of the present invention, instead of all of them. Based on the embodiments in the present invention, all other embodiments obtained by one skilled in the art without contributing any inventive labor shall fall into the protection scope of the present invention.
Embodiment 1
[0054] As illustrated in
[0055] the reading control circuit comprises a reading operation controller, a reading operation circuit, a clock control circuit and an internal flag register;
[0056] the main controller, when a self-regulation operation enable end is in a trigger state (for example, high-level state), sends a rough regulation operation enable signal to the reading operation controller; and if an output configuration slow signal is received after the rough regulation operation enable signal is sent, outputs speeded-up reading control configuration information to a memory reading circuit, controls the reading speed configuration of the memory reading circuit to speed up, and sends the rough regulation operation enable signal to the reading operation controller again;
[0057] the reading operation controller, when the rough regulation operation enable signal is received, sends a rough regulation execution enable signal to the reading operation circuit and the clock control circuit;
[0058] the clock control circuit, when the rough regulation execution enable signal is received, sends an acquisition pulse to the reading operation circuit at a subsequent first system clock pulse trigger edge, and sends a reading pulse to the internal flag register and the memory reading circuit at a subsequent second system clock pulse trigger edge;
[0059] the internal flag register is set to 1 when a reading pulse trigger edge arrives and is cleared to 0 when a reading operation completed pulse fed back by the memory reading circuit is received;
[0060] the reading operation circuit, after the rough regulation execution enable signal sent by the reading operation controller is received, if the acquisition pulse sent by the clock control circuit is received, sends a rough reading address to the memory reading circuit;
[0061] the reading operation circuit, if the value of the internal flag register is 0 after a system clock cycle after the rough reading address is sent, outputs a configuration satisfy signal to the main controller, and otherwise outputs a configuration slow signal to the main controller;
[0062] the memory reading circuit, after the rough reading address is received, reads data according to the rough reading address when the reading pulse is received, and after reading is completed, outputs the reading operation completed pulse to the internal flag register.
[0063] The memory reading speed regulating circuit according to embodiment 1 is a kind of reading speed regulating circuit based on the actual application environment, can regulate the reading speed of nonvolatile memories such as Flash based on the actual application scenario, and in the application with low performance requirements, can regulate the performance of the memory reading circuit, reduce the system reading power consumption and improve the reading reliability; in the application with high performance requirements, can improve the performance of the memory reading circuit and satisfy the high application requirements. The memory reading speed regulating circuit uses the reading pulse to trigger the internal flag register to set to 1, and ensures that the data reading operation of the memory reading circuit is completed through a process that the reading operation completed pulse fed back by the memory reading circuit clears the value of the internal flag register to 0; when the reading operation is completed within specified time (a system clock cycle), the value of the internal flag register remains at the original value 0; when the reading operation is not completed, the value of the internal flag register is still 1, which indicates that the reading speed configuration of the memory reading circuit is slow, and the main controller speeds up the reading speed configuration of the memory reading circuit, and sends the rough regulation operation enable signal again to make a rough regulation judgment. The memory reading speed regulating circuit, by judging whether the memory completes the reading operation within the specified time based on the value of the internal flag register and using the judgment result as a basis of regulating the analog reading circuit configuration of the memory, can adapt to automatically regulate the data reading operation speed of the memory reading circuit under different application scenarios, reduce the data reading power consumption of the memory and improve the reliability of the data reading operation.
Embodiment 2
[0064] Based on the memory reading speed regulating circuit according to embodiment 1, the main controller, after the rough regulation operation enable signal is sent, if the output configuration satisfy signal is received, ends a rough regulation stage, starts a fine regulation stage and sends a fine regulation operation enable signal to the reading operation controller; then if an output configuration fast signal is received, outputs speeded-down reading control configuration information to the memory reading circuit, controls the reading speed configuration of the memory reading circuit to speed down, and sends the fine regulation operation enable signal to the reading operation controller again;
[0065] the reading operation controller, when the fine regulation operation enable signal is received, sends a fine regulation execution enable signal to the reading operation circuit and the clock control circuit;
[0066] the clock control circuit, when the fine regulation execution enable signal is received, sends an acquisition pulse to the reading operation circuit at a subsequent first system clock pulse trigger edge, and sends a reading pulse to the internal flag register and the memory reading circuit at a subsequent second system clock pulse trigger edge;
[0067] the reading operation circuit, after the fine regulation execution enable signal is received, if the acquisition pulse sent by the clock control circuit is received, sends a fine reading address to the memory reading circuit;
[0068] the reading operation circuit, if the data read by the memory reading circuit after one system clock cycle after the fine reading address be sent is consistent with reference data, outputs a configuration satisfy signal to the main controller, and otherwise outputs a configuration fast signal to the main controller;
[0069] the memory reading circuit, after the fine reading address is received, reads the data according to the fine reading address when the reading pulse is received, sends the data to the reading operation circuit, and after reading is completed, outputs the reading operation completed pulse to the internal flag register.
[0070] In the memory reading speed regulating circuit according to embodiment 2, the main controller controls the reading control circuit to adaptively regulate the reading speed of the memory through two processes, i.e., rough regulation and fine regulation; in the fine regulation process, the memory reading circuit reads the target data in the specific address, compares whether the target data in the specific address of the memory is consistent with the reference data, if not, controls the reading speed configuration of the memory reading circuit to speed down to ensure that the data in the memory can be read accurately.
Embodiment 3
[0071] Based on the memory reading speed regulating circuit according to embodiment 2, the main controller is capable of being set to a standard reading mode and a high-speed reading mode through a precise speed control end;
[0072] when the main controller enters the fine regulation stage and sends the fine regulation operation enable signal to the reading operation controller, if the output configuration satisfy signal is received:
[0073] if the main controller is set to the standard reading mode, the fine regulation under the standard reading mode is completed, and the current reading control configuration information is used as a standard reading control configuration;
[0074] if the main controller is set to the high-speed reading mode, speeded-up reading control configuration information is output to the memory reading circuit, the reading speed configuration of the memory reading circuit is controlled to speed up, the fine regulation operation enable signal is sent to the reading operation controller again, the fine regulation under the high-speed reading mode is completed until the main controller receives the output configuration fast signal, and the previous reading control configuration information is used as a high-speed reading control configuration;
[0075] the reading speed of the memory reading circuit under the high-speed reading control configuration is faster than the reading speed of the memory reading circuit under the standard reading control configuration.
[0076] Preferably, after the main controller enters the fine regulation stage and sends the fine regulation operation enable signal to the reading operation controller, when the output configuration fast signal is received, which indicates that the reading speed of the memory reading circuit is fast and cannot satisfy the actual reliable reading requirement of the reading circuit, speeded-down reading control configuration information is output to the memory reading circuit, the reading speed configuration of the memory reading circuit is controlled to speed down, the fine regulation operation enable signal is sent to the reading operation controller again, the fine regulation is completed until the main controller receives the output configuration satisfy signal, and the current reading control configuration information is used as the reading control configuration of the current reading mode.
[0077] The memory reading speed regulating circuit according to embodiment 3 can be set to the standard reading mode or high-speed reading mode through the precise speed control end of the main controller and the reading control configuration of the memory reading circuit is performed according to different reading modes, such that the memory reading result is more reliable.
[0078] In the low-power application, the memory reading speed regulating circuit according to embodiment 3 can reduce the power consumption of the system analog circuit and increase the reliability of the reading circuit by regulating the reading control configuration of the memory reading circuit with the decrease of the system clock. In the standard-performance application, the memory reading speed regulating circuit according to embodiment 3 can accurately obtain the reading speed that satisfies the application condition, thus avoiding the waste of performance and power.
Embodiment 4
[0079] Based on the memory reading speed regulating circuit according to embodiment 3, after the memory reading speed regulating circuit is initialized, the self-regulation operation enable end of the main controller is in a standby state (for example, low-level state), the main controller outputs a reliable reading control configuration to the memory reading circuit, and controls the memory reading circuit to read the data according to the reliable reading control configuration;
[0080] the reading speed of the memory reading circuit under the reliable reading control configuration is slower than the reading speed of the memory reading circuit under the standard reading control configuration.
[0081] Preferably, the main controller, when the self-regulation operation enable end is in a standby state (for example, low-level state), controls the reading control circuit to stop working and outputs a reading control configuration result (a reading control configuration result under the standard reading mode and a reading control configuration result under the high-speed reading mode).
[0082] Preferably, the main controller outputs the reading control configuration information to an analog self-regulating circuit which converts the reading control configuration information into an analog regulating quantity and sends the analog regulating quantity to the memory reading circuit, and controls the reading speed configuration of the memory reading circuit.
[0083] Preferably, the rough reading address is an address contained in the rough regulation execution enable signal, an address set in the reading operation circuit or an address randomly generated by the reading operation circuit.
[0084] Preferably, the fine reading address is an address contained in the fine regulation execution enable signal or an address set in the reading operation circuit.
[0085] Preferably, the fine reading address is the address of four physically distributed corners in the entire storage area of the memory.
[0086] Preferably, the reference data is reference data contained in the fine regulation execution enable signal or reference data set in the reading operation circuit.
[0087] Preferably, the system clock pulse trigger edge, acquisition pulse trigger edge and reading pulse trigger edge are rising edges.
[0088] Preferably, the memory reading speed regulating circuit and the memory are integrated in the same chip.
[0089] Preferably, the memory reading speed regulating circuit is used as a peripheral circuit of the memory.
[0090] Preferably, the memory is a nonvolatile memory.
[0091] The above embodiments are only preferred embodiments of the present invention and are not used for limiting the present invention. Any modifications, equivalent replacements, improvements and the like shall be included in the protection scope of the present invention.