Storage device and input / output buffer control method thereof

By adjusting the power supply voltage and clock frequency and dynamically switching the access mode of the input and output circuits, the problem of shortened battery life of low-pin-digit storage at high clock frequency is solved, and power-saving control and energy efficiency improvement are achieved.

CN113948134BActive Publication Date: 2024-10-11WINBOND ELECTRONICS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110694734.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-07-17
Filing Date
2021-06-22
Publication Date
2024-10-11
Estimated Expiration
2041-06-22

AI Technical Summary

Technical Problem

Low pin-count storage consumes a large amount of current at high clock frequencies, resulting in shortened battery life. In the prior art, access time is independent of clock frequency and current drive force control does not depend on the operating mode.

Method used

By adjusting the power supply voltage and clock frequency, register setting codes are generated to dynamically switch the access mode of the input and output circuits, thereby adjusting the access time and achieving power-saving control.

Benefits of technology

The battery life is extended and the energy efficiency of the storage device is improved by dynamically adjusting the current driving force.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113948134B_ABST
    Figure CN113948134B_ABST
Patent Text Reader

Abstract

The present invention provides a storage device and an input / output buffer control method thereof, wherein the storage device includes a virtual static random access memory and a controller. The virtual static random access memory includes an input / output circuit having a high-speed mode circuit and a slow mode circuit. The controller adjusts a power supply voltage and a clock frequency according to an operation mode of the storage device, and generates a register setting code based on the adjusted power supply voltage and the adjusted clock frequency. The virtual static random access memory enables one of the high-speed mode circuit and the slow mode circuit according to the register setting code, and disables the other of the high-speed mode circuit and the slow mode circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a semiconductor circuit, and in particular to a storage device and an input / output buffer control method thereof. Background Art

[0002] In recent years, low pin count memory (LPC memory) has been widely used in the Internet of Things (IOT) and wearable devices. However, due to the need to operate at a higher clock frequency, the input and output circuit (IO circuit) of low pin count memory consumes a lot of current. In addition, the access time in the prior art is independent of the clock frequency, and the current driving force control does not depend on the operation mode and clock frequency, resulting in a shortened battery life. Summary of the invention

[0003] In view of this, the present invention provides a storage device and an input / output buffer control method thereof, which are used to generate a register setting code according to a power supply voltage and a clock frequency, and enable a high-speed mode circuit or a slow mode circuit in an input / output circuit according to the register setting code to dynamically adjust the access time of the input / output circuit, thereby providing power saving control and extending battery life.

[0004] An embodiment of the present invention provides a storage device. The storage device includes a virtual static random access memory and a controller. The virtual static random access memory includes an input-output circuit having a high-speed mode circuit and a slow-speed mode circuit. The controller is coupled to the virtual static random access memory, and the controller adjusts the power supply voltage and the clock frequency according to the operation mode of the storage device, and generates a register setting code based on the adjusted power supply voltage and the adjusted clock frequency. The virtual static random access memory enables one of the high-speed mode circuit and the slow-speed mode circuit according to the register setting code, and disables the other of the high-speed mode circuit and the slow-speed mode circuit.

[0005] An embodiment of the present invention provides an input / output buffer control method, which is applicable to a storage device, wherein the storage device includes a virtual static random access memory and a controller. The virtual static random access memory includes an input / output circuit having a high-speed mode circuit and a slow-speed mode circuit. The input / output buffer control method includes adjusting a power supply voltage and a clock frequency according to an operation mode of the storage device. A register setting code is generated based on the adjusted power supply voltage and the adjusted clock frequency. One of the high-speed mode circuit and the slow-speed mode circuit is enabled according to the register setting code, and the other of the high-speed mode circuit and the slow-speed mode circuit is disabled.

[0006] Based on the above, in an embodiment of the present invention, the storage device and its input / output buffer control method are used to adjust the power supply voltage and the clock frequency according to the operation mode, generate a register setting code through the adjusted power supply voltage and the clock frequency, and enable the high-speed mode circuit or the slow mode circuit in the input / output circuit according to the register setting code to dynamically adjust the access time of the input / output circuit, thereby providing power saving control and extending battery life.

[0007] In order to make the above features and advantages of the present invention more clearly understood, embodiments are given below with reference to the accompanying drawings for detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 is a schematic diagram of a storage device according to an embodiment of the present invention;

[0009] Figure 2 is a circuit block diagram of a virtual static random access memory according to an embodiment of the present invention;

[0010] Figure 3A is a flow chart of determining the command address bit according to an embodiment of the present invention;

[0011] Figure 3B is a flow chart of determining the command address bit according to an embodiment of the present invention;

[0012] Figure 4 is a circuit block diagram of an address latch decoding circuit according to an embodiment of the present invention;

[0013] Figure 5 is a timing diagram of a page access sequence according to an embodiment of the present invention;

[0014] Figure 6 is a flow chart of a continuous reading and writing method according to an embodiment of the present invention;

[0015] Figure 7 is a flow chart of an input / output buffer control method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0016] Reference Figure 1 The storage device 10 may include a virtual static random access memory 110 and a controller 120. The virtual static random access memory 110 includes an input-output circuit 130. The input-output circuit 130 includes a high-speed mode circuit 140 and a slow-speed mode circuit 150. The controller 120 is coupled to the virtual static random access memory 110.

[0017] In different embodiments, the storage device 10 may be an octal flash memory, a ferroelectric random access memory (FRAM), an electrically-erasable programmable read-only memory (EEPROM), or other storage.

[0018] Reference Figure 2 , the virtual static random access memory 110 includes an input-output circuit 130, a command decoder 210, and a storage array 220. The input-output circuit 130 is coupled to the command decoder 210 to serve as an input-output interface between the internal circuit and the external circuit of the virtual static random access memory 110. Further, the input-output circuit 130 includes an input receiver 160, and the input receiver 160 includes a high-speed mode circuit 140 and a slow-speed mode circuit 150. The command decoder 210 is coupled between the input-output circuit 130 and the storage array 220. The command decoder 210 is used to decode the register setting code CR received from the controller 120 and generate an input control signal CTLRX and a transmission control signal CTLTX. The storage array 220 is composed of a plurality of storage cells, and performs data writing or reading control on the storage cells specified by the microprocessor 170. In one embodiment, the virtual SRAM 110 may be composed of a DRAM as a core and a SRAM as an interface. In one embodiment, the virtual SRAM 110 may also include other devices, such as an address latch and decode circuit 230 and a datapath 240, but not limited thereto. In one embodiment, the memory array 220 includes an array 250_1, sense amplifiers 260_1 ... sense amplifiers 260_N-1 and array 250_N, an X decoder 270, and a Y decoder / second sense amplifier 280.

[0019] Reference Figure 2 The controller 120 includes a microprocessor 170 , a power management circuit 180 and a power circuit 190 .

[0020] The microprocessor 170 is coupled to the virtual static random access memory 110. The microprocessor 170 provides a differential clock signal CK, a differential clock signal CK# and a chip select signal CS# to the virtual static random access memory 110. There is also a bidirectional data bus DQ and a read / write data selection signal RWDS between the virtual static random access memory 110 and the microprocessor 170. Regarding the clock frequency adjustment of the differential clock signal CK and the differential clock signal CK#, specifically, the microprocessor 170 generates a power management control signal CTLPWR and adjusts the clock frequency according to the operation mode of the storage device 10, for example, when pointing to the low power consumption mode, the frequency is adjusted from 400MHz to 133MHz. And the microprocessor 170 generates the corresponding command address bit CA and the register setting code CR according to the change of the clock frequency. According to design requirements, the microprocessor 170 can be a central processing unit (CPU), or other programmable microprocessors, digital signal processors (DSP), programmable controllers, application specific integrated circuits (ASIC) or other similar components or combinations of the above components.

[0021] The power management circuit 180 is coupled to the microprocessor 170, and the power management circuit 180 generates a power control signal CTLVDDQ according to the power management control signal CTLPWR. For example, when the microprocessor 170 indicates to enter the low power mode, the microprocessor 170 sends a power management control signal CTLPWR of a high logic level to the power management circuit 180. Then, the power management circuit 180 sends a power control signal CTLVDDQ of a low logic level to the power circuit 190 according to the power management control signal CTLPWR of a high logic level.

[0022] The power circuit 190 is coupled to the virtual SRAM 110, the microprocessor 170, and the power management circuit 180. The power circuit 190 generates a power voltage VDDQ according to the power control signal CTLVDDQ and provides it to the microprocessor 170 and the virtual SRAM 110. Continuing with the above example, when the power circuit 190 receives the power control signal CTLVDDQ of a low logic level, the power circuit 190 increases the power voltage VDDQ and provides it to the microprocessor 170 and the virtual SRAM 110, for example, increasing the power voltage VDDQ from 1.2V to 1.8V.

[0023] On the contrary, when the microprocessor 170 instructs to enter the high-speed mode, the microprocessor 170 sends a power management control signal CTLPWR of a low logic level to the power management circuit 180. Then, the power management circuit 180 sends a power control signal CTLVDDQ of a high logic level to the power circuit 190 according to the power management control signal CTLPWR of a low logic level. When the power circuit 190 receives the power control signal CTLVDDQ of a high logic level, the power circuit 190 increases the power voltage VDDQ and provides it to the microprocessor 170 and the virtual static random access memory 110, for example, reducing the power voltage VDDQ from 1.8V to 1.2V.

[0024] Reference Figure 3A , in step S310, the storage device 10 starts accessing. Next, in step S311, the command decoder 210 in the virtual static random access memory 110 determines whether the access is a storage access (AS=0) or a register access (AS=1) according to the address space bit AS in the command address bit CA. When it is a storage access (AS=0), the process proceeds to step S312, and when it is a register access (AS=1), the process proceeds to step S313. In step S312, the storage device 10 performs array access to the storage array 220. In step S313, the storage device 10 performs register access to the command decoder 210, and determines the operation mode CR

[15] in the register setting code CR stored by the command decoder 210. When the mode setting CR

[15] is 0b, the process proceeds to step S314. When the mode setting CR

[15] is 1b, the process proceeds to step S315. For details about the mode setting CR

[15] in the register setting code CR, please refer to Table 1.

[0025]

Table 1

[0026]

[0027] In step S314, it indicates that the input-output circuit 130 is determined to operate in the slow mode, and the command decoder 210 outputs the input control signal CTLRX of a low logic level (i.e., CTLRX=L) and the transmission control signal CTLTX of a low logic level (i.e., CTLTX=L). In step S315, it indicates that the input-output circuit 130 is determined to operate in the high-speed mode, and the command decoder 210 outputs the input control signal CTLRX of a high logic level (i.e., CTLRX=H) and the transmission control signal CTLTX of a high logic level (i.e., CTLTX=H).

[0028] Reference Figure 3B, in step S320, the storage device 10 starts accessing. Next, in step S321, the command decoder 210 in the virtual static random access memory 110 determines whether the access is a storage access (AS=0) or a register access (AS=1) according to the address space bit AS in the command address bit CA. When it is a storage access (AS=0), the process proceeds to step S322, and when it is a register access (AS=1), the process proceeds to step S323. In step S322, the storage device 10 performs array access to the storage array 220. In step S323, the storage device 10 performs register access to the command decoder 210 and determines the delay count CR[7:4] in the register setting code CR stored in the command decoder 210. When the delay count CR[7:4] is 5, 6, 7, or 8 clocks, the process proceeds to step S324. When the delay count CR[7:4] is 12, 14, or 16 clocks, the process proceeds to step S325. For details of the delay count CR[7:4] in the register setting code CR, please refer to Table 1. In step S324, it is determined that the input-output circuit 130 will operate in the slow mode, and the command decoder 210 outputs a low logic level input control signal CTLRX (i.e., CTLRX=L) and a low logic level transmission control signal CTLTX (i.e., CTLTX=L). In step S325, it is determined that the input-output circuit 130 will operate in the high-speed mode, and the command decoder 210 outputs a high logic level input control signal CTLRX (i.e., CTLRX=H) and a high logic level transmission control signal CTLTX (i.e., CTLTX=H).

[0029] Reference Figure 2 , Figure 3A , Figure 3B As shown in Table 1, when the microprocessor 170 indicates to enter the low power mode, the microprocessor 170 reduces the clock frequency, for example, from 400 MHz to 133 MHz. Then the microprocessor 170 generates a command address bit CA and a register setting code CR according to the frequency change (as shown in Table 1). The command address bit CA at least includes the address space bit AS, and the register setting code CR at least includes the mode setting CR

[15] and the delay count CR[7:4]. The virtual static random access memory 110 receives the command address bit CA and enables the high-speed mode circuit 140 or the slow-speed mode circuit 150 according to the command address bit CA and the register setting code CR.

[0030] Therefore, refer to Figure 1 , Figure 2 , Figure 3A , Figure 3BAs shown in Table 1, the controller 120 can adjust the power supply voltage VDDQ and the clock frequencies of the differential clock signal CK and the differential clock signal CK# according to the operation mode of the memory device 10, and generate a register setting code CR corresponding to the adjusted power supply voltage VDDQ and the adjusted clock frequency. Then, the virtual static random access memory 110 can enable one of the high-speed mode circuit 140 and the slow mode circuit 150 according to the register setting code CR, and disable the other of the high-speed mode circuit 140 and the slow mode circuit 150. In other words, the virtual static random access memory 110 enables one of the high-speed mode circuit 140 and the slow mode circuit 150 according to the input control signal CTLRX, and disables the other of the high-speed mode circuit 140 and the slow mode circuit 150.

[0031] Specifically, when the virtual static random access memory 110 determines that the input and output circuit 130 is set to the high-speed mode according to the register setting code CR (i.e., CTLRX=H), the high-speed mode circuit 140 is enabled and the slow mode circuit 150 is disabled. When the virtual static random access memory 110 determines that the input and output circuit 130 is set to the slow mode according to the register setting code CR (i.e., CTLRX=L), the slow mode circuit 150 is enabled and the high-speed mode circuit 140 is disabled.

[0032] about Figure 4 The input receiver 160 includes an inverter NOT1, a high-speed mode circuit 140, a slow-mode circuit 150, and a NAND gate NAND1. The inverter NOT1 receives and inverts the input control signal CTLRX to generate an inverted input control signal CTLRXB. The high-speed mode circuit 140 is coupled to the inverter NOT1, and the high-speed mode circuit 140 receives the inverted input control signal CTLRXB and the input signal VIN to generate a high-speed mode voltage VN. The slow-mode circuit 150, coupled to the inverter NOT1, is configured to receive the inverted input control signal CTLRXB and the input signal VIN to generate a slow-mode voltage VS. The NAND gate NAND1 couples the high-speed mode circuit 140 and the slow-mode circuit 150, and the NAND gate NAND1 performs a NAND operation on the high-speed mode voltage VN and the slow-mode voltage VS to generate an output signal VOUT. When determining that the input / output circuit 130 will operate in the high-speed mode, the inverted input control signal CTLRXB enables the high-speed mode circuit 140 and disables the slow-mode circuit 150. When determining that the input / output circuit 130 will operate in the slow mode, the inverted input control signal CTLRXB disables the high-speed mode circuit 140 and enables the slow-mode circuit 150.

[0033] The high-speed mode circuit 140 includes an inverter NOT2, a switch SW1, a differential amplifier DA, a series resistor RS, a switch SW2, and a switch SW3. The inverter NOT2 is coupled to the inverter NOT1, and the inverter NOT2 receives an inverted input control signal CTLRXB to generate a node voltage N1. The first end of the first switch SW1 is coupled to the power supply voltage VDDQ, the control end of the first switch SW1 is coupled to the node voltage N1, and the second end of the first switch SW1 is coupled to the high-speed mode voltage VN. The differential amplifier DA includes a transistor NM1, a transistor NM2, and a current mirror load, and the current mirror load includes a transistor PM1 and a transistor PM2. The first end of the transistor NM1 is coupled to the high-speed mode voltage VN, the control end of the transistor NM1 is coupled to the input signal VIN, and the second end of the transistor NM1 is coupled to the node voltage N2. The first end of the transistor NM2 is coupled to the node voltage N3, the control end of the transistor NM2 receives the reference voltage VREF generated by the series resistor RS through voltage division, and the second end of the transistor NM2 is coupled to the node voltage N2. The first end of transistor PM1 is coupled to power supply voltage VDDQ, the control end of transistor PM1 is coupled to node voltage N3, and the second end of transistor PM1 is coupled to high-speed mode voltage VN. The first end of transistor PM2 is coupled to power supply voltage VDDQ, the control end of transistor PM2 is coupled to node voltage N3, and the second end of transistor PM2 is coupled to node voltage N3. The series resistor RS includes a first resistor R1 and a second resistor R2, and the series resistor RS performs a voltage division operation through the first resistor R1 and the second resistor R2 to generate a reference voltage VREF. The first end of the series resistor RS is coupled to power supply voltage VDDQ, the second end of the series resistor RS is coupled to switch SW3, and the voltage division end of the series resistor RS is coupled to the control end of transistor NM2. The first resistor R1 is coupled between power supply voltage VDDQ and reference voltage VREF, and the second resistor R2 is coupled between reference voltage VREF and switch SW3. The first end of the switch SW2 is coupled to the node voltage N2 in the differential amplifier DA, the control end of the switch SW2 is coupled to the node voltage N1, and the second end of the switch SW2 is coupled to the ground voltage GND. The first end of the switch SW3 is coupled to the second resistor R2, the control end of the switch SW3 is coupled to the node voltage N1, and the second end of the switch SW3 is coupled to the ground voltage GND.

[0034] Specifically, when the input control signal CTLRX is at a high logic level (i.e., CTLRX=H), since the inverting input control signal CTLRXB is at a low logic level (i.e., CTLRXB=L), the node voltage N1 in the high-speed mode circuit 140 is at a high logic level, so that the switch SW1 is not turned on, and the switches SW2 and SW3 are turned on to the ground voltage GND, so that the series resistor RS can divide the power supply voltage VDDQ to generate the reference voltage VREF, and the differential amplifier DA generates the high-speed mode voltage VN by comparing the input signal VIN with the reference voltage VREF. In contrast, since the input control signal CTLRX is at a high logic level (i.e., CTLRX=H), the inverting input control signal CTLRXB is at a low logic level (i.e., CTLRXB=L), the switch SW4 in the slow-speed mode circuit 150 is not turned on and the switch SW5 is turned on, so that the slow-mode voltage VS is fixed at a high logic level. Therefore, when the input control signal CTLRX is at a high logic level (i.e., CTLRX=H), the high-speed mode circuit 140 receives the input signal VIN and generates a high-speed mode voltage VN, and the NAND gate NAND1 performs a NAND operation on the high-speed mode voltage VN generated by the input signal VIN and the slow-mode voltage VS fixed at a high logic level to generate an output signal VOUT.

[0035] The slow mode circuit 150 includes an inverter NOT3, a switch SW4, and a switch SW5. A first end of the inverter NOT3 is coupled to a power supply voltage VDDQ, an input end of the inverter NOT3 is coupled to an input signal VIN, and an output end of the inverter NOT3 is coupled to the slow mode voltage VS. The inverter NOT3 is composed of a transistor PM3 and a transistor NM3. A first end of the switch SW4 is coupled to a second end of the inverter NOT3, a control end of the switch SW4 receives an inverted input control signal CTLRXB, and a second end of the switch SW4 is coupled to a ground voltage GND. A first end of the switch SW5 is coupled to a power supply voltage VDDQ, a control end of the switch SW5 receives an inverted input control signal CTLRXB, and a second end of the switch SW5 is coupled to the slow mode voltage VS.

[0036] Specifically, when the input control signal CTLRX is at a low logic level (i.e., CTLRX=L), since the inverting input control signal CTLRXB is at a high logic level (i.e., CTLRXB=H), the node voltage N1 in the high-speed mode circuit 140 is at a low logic level, so that the switch SW1 is turned on and the high-speed mode voltage VN is fixed at a high logic level, while the switches SW2 and SW3 are not turned on, and the series resistor RS cannot divide the power supply voltage VDDQ to generate the reference voltage VREF. In contrast, since the input control signal CTLRX is at a low logic level (i.e., CTLRX=L), the inverting input control signal CTLRXB is at a high logic level (i.e., CTLRXB=H), the switch SW4 in the slow-speed mode circuit 150 is turned on and the switch SW5 is not turned on, so that the inverter NOT3 inverts the input signal VIN and outputs the slow-speed mode voltage VS. Therefore, when the input control signal CTLRX is at a low logic level (i.e., CTLRX=L), the slow mode circuit 150 receives the input signal VIN and generates a slow mode voltage VS, and the NAND gate NAND1 performs a NAND operation on the high-speed mode voltage VN fixed at a high logic level and the slow mode voltage VS generated by the input signal VIN to generate an output signal VOUT.

[0037] It should be noted that when the slow mode circuit 150 is enabled in the slow mode (i.e., CTLRX=L), compared to when the high-speed mode circuit 140 is enabled in the high-speed mode (i.e., CTLRX=H), the input signal VIN in the slow mode circuit 150 in the slow mode undergoes an additional delay of an inverter (i.e., inverter NOT3) compared to the high-speed mode circuit 140 in the high-speed mode. It should be noted that this embodiment is only an example, and the present invention does not limit the number of inverters that generate delays. Therefore, in the slow mode (i.e., CTLRX=L), although the input and output responses of the input receiver 160 are relatively slow, the current consumption is less than the current consumption in the high-speed mode circuit 140, thereby extending the battery life.

[0038] Reference Figure 5, the storage device 10 also includes an off-chip driver (OCD) 500, which is at least configured in the input-output circuit 130 and includes a data selection signal DQS (not shown) and a data bus DQ. The off-chip driver 500 includes a first off-chip driver 510 and a second off-chip driver 520. The off-chip driver 500 is used to buffer the input data DATA_IN according to the transmission control signal CTLTX to generate the output data DATA_OUT. The first off-chip driver 510 receives the input control signal CTLRX, and the first off-chip driver 510 is enabled or disabled according to the transmission control signal CTLTX. The second off-chip driver 520 is configured to operate normally, and the off-chip driver 500 is used to dynamically adjust the current driving force from the input data DATA_IN buffer to the output data DATA_OUT according to the transmission control signal CTLTX, and then provide the output data DATA_OUT after the adjusted current driving force to the data bus DQ.

[0039] In detail, the first off-chip driver 510 includes an off-chip driver control circuit 530 and an output stage 540. The off-chip driver control circuit 530 receives a transmission control signal CTLTX and input data DATA_IN, and the off-chip driver control circuit 530 is enabled or disabled according to the transmission control signal CTLTX to adjust the voltage provided to the output stage 540. The output stage 540 includes a transistor PM4 and a transistor NM4 to generate output data DATA_OUT according to the voltage provided by the off-chip driver control circuit 530. On the other hand, the second off-chip driver 520 includes an off-chip driver control circuit 550 and an output stage 560. The off-chip driver control circuit 550 receives the input data DATA_IN to adjust the voltage provided to the output stage 540. The output stage 560 includes a transistor PM5 and a transistor NM5 to generate output data DATA_OUT according to the voltage provided by the off-chip driver control circuit 550.

[0040] Specifically, when the virtual static random access memory 110 determines that the input-output circuit 130 is set to the high-speed mode according to the register setting code CR, the first off-chip driver 510 is enabled according to the transmission control signal CTLTX. When the virtual static random access memory 110 determines that the input-output circuit 130 is set to the slow mode according to the register setting code CR, the first off-chip driver 510 is disabled according to the transmission control signal CTLTX. Since the second off-chip driver 520 is configured to operate normally, both the first off-chip driver 510 and the second off-chip driver 520 are enabled in the high-speed mode, and only the second off-chip driver 520 is enabled in the slow mode. In other words, the off-chip driver 500 can adjust the current driving force of the data input and output through the register setting code CR to provide the best DQ bus driving capability according to the high-speed mode or the slow mode.

[0041] Reference Figure 2 , Figure 6 , the read / write data strobe signal RWDS is used to inform the microprocessor 170 of the state change of the operation mode of the virtual static random access memory 110. Since a transition time is required to update the power supply voltage VDDQ, the virtual static random access memory 110 can use the read / write data strobe signal RWDS to inform the microprocessor 170 about the operation mode of the virtual static random access memory 110 while waiting for the transition time. Specifically, in step S610, the virtual static random access memory 110 starts accessing. Then, in step S620, it is determined whether the power supply voltage VDDQ has been adjusted. If the power supply voltage VDDQ has not been adjusted, step S625 is entered. When the power supply voltage VDDQ has been adjusted, step S630 is entered. In step S630, the logic level of the read / write data strobe signal RWDS is controlled. When the read / write data strobe signal RWDS is a low logic level (i.e., RWDS=L), step S640 is entered. When the read / write data selection signal RWDS is at a high logic level (i.e., RWDS=H), the process returns to step S630 and changes to step S650 to notify the microprocessor 170 that the power supply voltage VDDQ is being adjusted. In step S640, the microprocessor 170 is informed that it is ready to receive transactions for array access. In step S650, the microprocessor 170 is informed that the current operation mode is being adjusted.

[0042] Reference Figure 7In step S710, the controller 120 adjusts the power supply voltage VDDQ and the clock frequency according to the operation mode of the memory device 10. Then, in step S720, the controller 120 generates a register setting code CR based on the adjusted power supply voltage VDDQ and the adjusted clock frequency. In step S730, the virtual static random access memory 110 enables one of the high-speed mode circuit 140 and the slow-speed mode circuit 150 according to the register setting code CR, and disables the other of the high-speed mode circuit 140 and the slow-speed mode circuit 150.

[0043] In summary, in an embodiment of the present invention, the storage device and the input / output buffer control method thereof are used to adjust the power supply voltage and the clock frequency according to the operation mode, generate a register setting code through the adjusted power supply voltage and the clock frequency, enable the high-speed mode circuit or the slow-speed mode circuit in the input / output circuit according to the register setting code, so as to dynamically adjust the access time of the input / output circuit. The current driving force of the off-chip driver data is adjusted through the register setting code. In addition, the microprocessor can be notified of the state change of the power supply voltage. The present invention optimizes the control of the input / output circuit through the operation mode, so as to achieve a faster speed and extend the battery life.

[0044] Although the present invention has been disclosed as above by way of embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the claims.

Claims

1. A storage device, characterized in that: include: A virtual static random access memory including an input-output circuit having a high-speed mode circuit and a slow-speed mode circuit; as well as a controller coupled to the virtual static random access memory, configured to adjust a power supply voltage and a clock frequency according to an operation mode of the storage device, and to generate a register setting code based on the adjusted power supply voltage and the adjusted clock frequency, wherein the virtual static random access memory enables one of the high-speed mode circuit and the slow-speed mode circuit according to the register setting code, and disables the other of the high-speed mode circuit and the slow-speed mode circuit, The virtual static random access memory further includes a command decoder, which is used to receive and decode the register setting code to generate an input control signal and a transmission control signal. The storage device further includes an off-chip driver, and the off-chip driver includes: A first off-chip driver receives the input control signal, wherein the first off-chip driver is enabled or disabled according to the transmission control signal; as well as The second off-chip driver is configured to be always enabled. The off-chip driver is used to dynamically adjust the current driving force of the off-chip driver according to the transmission control signal.

2. The storage device according to claim 1, characterized in that When the virtual static random access memory determines that the input and output circuit is set to a high-speed mode according to the register setting code, enabling the high-speed mode circuit and disabling the slow mode circuit; and When the virtual static random access memory determines that the input and output circuit is set to a slow mode according to the register setting code, the slow mode circuit is enabled and the high speed mode circuit is disabled.

3. The storage device according to claim 1, characterized in that: The register setting code includes a mode setting or a delay count.

4. The storage device according to claim 1, characterized in that: The virtual static random access memory enables one of the high-speed mode circuit and the slow-mode circuit and disables the other of the high-speed mode circuit and the slow-mode circuit according to the input control signal.

5. The storage device according to claim 1, characterized in that: The controller further comprises: A microprocessor coupled to the virtual static random access memory, wherein the microprocessor generates a power management control signal and adjusts the clock frequency according to the operation mode of the storage device, and the microprocessor generates the register setting code according to the change of the clock frequency, wherein a data bus and a read / write data strobe signal are provided between the microprocessor and the virtual static random access memory; A power management circuit coupled to the microprocessor, wherein the power management circuit generates a power control signal according to the power management control signal; and The power circuit is coupled to the virtual static random access memory, the microprocessor and the power management circuit. The power circuit generates a power voltage according to the power control signal and provides the power voltage to the microprocessor and the virtual static random access memory.

6. The storage device according to claim 1, characterized in that: The input-output circuit further includes an input receiver, the input receiver including A first inverter configured to receive and invert the input control signal to generate an inverted input control signal; a high-speed mode circuit, coupled to the first inverter, configured to receive the inverted input control signal and an input signal to generate a high-speed mode voltage; a slow mode circuit, coupled to the first inverter, configured to receive the inverted input control signal and the input signal to generate a slow mode voltage; as well as The NAND gate is coupled to the high-speed mode circuit and the slow-speed mode circuit, and is configured to receive the high-speed mode voltage and the slow-speed mode voltage, and perform a NAND logic operation on the high-speed mode voltage and the slow-speed mode voltage to generate the output signal.

7. The storage device according to claim 6, characterized in that: The high-speed mode circuit comprises: a second inverter, coupled to the first inverter, configured to receive the inverted input control signal to generate a first node voltage; a first switch, wherein a first terminal of the first switch is coupled to a power supply voltage, a control terminal of the first switch is coupled to the first node voltage, and a second terminal of the first switch is coupled to the high-speed mode voltage; a differential amplifier having a current mirror load and configured to receive the input signal to generate the high-speed mode voltage; A series resistor, wherein a first end of the series resistor is coupled to the power supply voltage, the series resistor comprises a first resistor and a second resistor, the series resistor generates a reference voltage by voltage division operation, and the first resistor is coupled between the power supply voltage and the reference voltage, a second switch, wherein a first terminal of the second switch is coupled to the differential amplifier, a control terminal of the second switch is coupled to the first node voltage, and a second terminal of the second switch is coupled to a ground voltage; and A third switch, wherein a first terminal of the third switch is coupled to the second resistor, a control terminal of the third switch is coupled to the first node voltage, and a second terminal of the third switch is coupled to the ground voltage.

8. The storage device according to claim 6, characterized in that: The slow mode circuit comprises: a third inverter, wherein a first terminal of the third inverter is coupled to the power supply voltage, an input terminal of the third inverter is coupled to an input signal, and an output terminal of the third inverter is coupled to the slow mode voltage; a fourth switch, wherein a first terminal of the fourth switch is coupled to the second terminal of the third inverter, a control terminal of the fourth switch receives the inverted input control signal, and a second terminal of the fourth switch is coupled to a ground voltage; and A fifth switch, wherein a first terminal of the fifth switch is coupled to the power supply voltage, a control terminal of the fifth switch receives the inverted input control signal, and a second terminal of the fifth switch is coupled to the slow mode voltage.

9. The storage device according to claim 1, characterized in that: When the virtual static random access memory determines that the input-output circuit is set to a high-speed mode according to the register setting code, enabling the first off-chip driver according to the transmission control signal; as well as When the virtual static random access memory determines that the input-output circuit is set to a slow mode according to the register setting code, the first off-chip driver is disabled according to the transmission control signal.

10. The storage device according to claim 5, characterized in that: The read / write data strobe signal is used to enable the microprocessor to know the operation mode of the virtual static random access memory.

11. An input / output buffer control method, applicable to a storage device, characterized in that: The storage device includes a virtual static random access memory and a controller, the virtual static random access memory includes an input-output circuit having a high-speed mode circuit and a slow-speed mode circuit, and the input-output buffer control method includes: Adjusting the power supply voltage and the clock frequency according to the operation mode of the storage device; generating a register setting code based on the adjusted power supply voltage and the adjusted clock frequency; and enabling one of the high-speed mode circuit and the slow-speed mode circuit and disabling the other of the high-speed mode circuit and the slow-speed mode circuit according to the register setting code, The virtual static random access memory further includes a command decoder, which is used to receive and decode the register setting code to generate an input control signal and a transmission control signal. The storage device further includes an off-chip driver, the off-chip driver including a first off-chip driver and a second off-chip driver, the first off-chip driver receiving the input control signal and being enabled or disabled according to the transmission control signal, the second off-chip driver being configured to be always enabled, The input-output buffer control method further includes: The current driving force of the off-chip driver is dynamically adjusted according to the transmission control signal.