[go: up one dir, main page]

WO2021135662A1 - Flash memory - Google Patents

Flash memory Download PDF

Info

Publication number
WO2021135662A1
WO2021135662A1 PCT/CN2020/128141 CN2020128141W WO2021135662A1 WO 2021135662 A1 WO2021135662 A1 WO 2021135662A1 CN 2020128141 W CN2020128141 W CN 2020128141W WO 2021135662 A1 WO2021135662 A1 WO 2021135662A1
Authority
WO
WIPO (PCT)
Prior art keywords
output
data
input
group
registers
Prior art date
Application number
PCT/CN2020/128141
Other languages
French (fr)
Chinese (zh)
Inventor
刘佳庆
张新展
Original Assignee
芯天下技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 芯天下技术股份有限公司 filed Critical 芯天下技术股份有限公司
Publication of WO2021135662A1 publication Critical patent/WO2021135662A1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/26Sensing or reading circuits; Data output circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits

Definitions

  • the present invention relates to the field of circuits, in particular to a flash memory.
  • serial interface flash memory is a commonly used data storage component, but all its operations such as instructions, addresses, and data are serial input and output, resulting in a slow data transmission rate, especially during read operations.
  • the prior art usually improves the frequency of the transmission clock and multi-pin multiplexing.
  • the former scheme is specifically: using an internal high-speed clock to sample the rising and falling edges of the external transmission clock separately , And use it as an internal clock signal or control signal for data transmission to achieve twice the transmission rate of the external transmission clock;
  • the latter scheme that is, the multi-pin multiplexing mechanism is similar to the parallel transmission of multiple lines, which can reach The transmission clock is twice or even four times the transmission rate; the combination of the foregoing two solutions can further increase the data transmission rate of the memory.
  • the disadvantage of the aforementioned two solutions is that due to the existence of the internal high-speed clock, the external clock has an upper limit problem.
  • the present invention proposes a flash memory.
  • the present invention provides a flash memory, which includes a bidirectional I/O interface, a processing unit, and a storage unit; the processing unit is electrically connected to the bidirectional I/O interface and the storage unit, respectively;
  • the bidirectional I/O interface is used to receive external clock signals and input data signals, and sample the input data signal on the rising edge of the clock signal to obtain the first set of input data; sample the input data signal on the falling edge of the clock signal to obtain the first group of input data. Two sets of input data;
  • the storage unit is used to store the first group of input data and the second group of input data; it is also used to output its stored data;
  • the processing unit is used to obtain the stored data output by the storage unit at the rising edge of the clock signal, obtain the first set of output data, and send the first set of output data to the bidirectional I/O interface for output by the bidirectional I/O interface; Obtain the stored data output by the storage unit at the falling edge of the clock signal and perform the shift operation processing on it to obtain the second set of output data, and send the second set of output data to the bidirectional I/O interface by the bidirectional I/O interface. O interface output.
  • the processing unit is also used to synchronize the first group of input data and the second group of input data to output the data synchronization result; the storage unit is also used to store the data synchronization result.
  • the bidirectional I/O interface includes an input interface;
  • the processing unit includes a combination unit electrically connected to the input interface and an input synchronization unit electrically connected to the combination unit and the storage unit;
  • the input interface includes:
  • the first set of registers is used to receive external clock signals and input data signals, and sample the input data signals on the rising edge of the clock signal to obtain the first set of input data;
  • the second set of registers is used to receive external clock signals and input data signals, and sample the input data signals on the falling edge of the clock signal to obtain the second set of input data;
  • the combination unit is electrically connected to the first set of registers and the second set of registers, and is used to combine the first set of input data and the second set of input data;
  • the input synchronization unit is used to synchronize the first group of input data with the second group of input data, and output the data synchronization result to the storage unit at the rising edge of the clock signal.
  • the first set of registers includes two D flip-flops, the D flip-flops have a CK terminal, a Q terminal and a D terminal; the CK terminals of the two D flip-flops of the first set of registers are used to pass clk
  • the signal line receives the external clock signal; the D terminals of the two D flip-flops of the first group of registers are used to receive the input data signal through the Data_in signal line;
  • the input interface also includes a first inverter; the second set of registers also includes two D flip-flops; the CK terminals of the two D flip-flops of the second set of registers are used to receive external signals through the clk signal line after the first inverter The D terminal of the two D flip-flops of the second set of registers is used to receive the input data signal through the Data_in signal line;
  • the combination unit includes a buffer Q[3:0], the input synchronization unit includes a D flip-flop; the CK terminal of the D flip-flop of the input synchronization unit is used to receive an external clock signal through the clk signal line; the D flip-flop of the input synchronization unit The D terminal of the D is electrically connected to the Q terminals of the two D flip-flops of the first set of registers and the Q terminal of the two D flip-flops of the second set of registers through the buffer Q[3:0]; the D of the input synchronization unit The Q terminal of the flip-flop is used to output the data synchronization result.
  • the bidirectional I/O interface further includes an output interface;
  • the processing unit includes a first output synchronization module, a second output synchronization module, a first shift unit, and a second shift unit;
  • the first output synchronization module is electrically connected with the storage unit, the first shift unit, the second shift unit and the output interface respectively;
  • the second output synchronization module is electrically connected with the second shift unit and the output interface respectively;
  • the first output synchronization module is used to obtain the stored data output by the storage unit at the rising edge of the clock signal, so as to synchronize the stored data output by the storage unit with the rising edge of the clock signal and send it to the first shift unit;
  • the first shift unit is used to perform the operation of shifting the data sent by the first output synchronization module by two bits to the left, so that the first output synchronization module shifts and outputs to the output interface by the highest bit of the stored data.
  • the first set of output data composed;
  • the first output synchronization module is also used to obtain the stored data output by the storage unit at the falling edge of the clock signal and send it to the second shift unit;
  • the second shift unit is used to move the data sent by the first output synchronization module one bit to the left, so that the second output synchronization module uses the falling edge of the clock signal to synchronize the data and shift it to the output interface
  • the second group of output data composed of the second high bit of the stored data is output.
  • the first output synchronization module includes a third set of registers and a fourth set of registers;
  • the first shift unit includes a first set of multiplexers composed of two multiplexers and two The second group of multiplexers composed of two multiplexers;
  • the third group of registers and the fourth group of registers each contain two D flip-flops;
  • the CK terminals of the two D flip-flops of the third group of registers and the CK terminals of the two D flip-flops of the fourth group of registers are used to receive external clock signals through the clk signal line;
  • the two D flip-flops of the third group of registers The D terminals of the are respectively connected to the two Y terminals of the first group of multiplexers;
  • the D terminals of the two D flip-flops of the fourth group of registers are respectively connected to the two Y terminals of the second group of multiplexers;
  • the two input terminals A of the first group of multiplexers are respectively connected to the storage unit for obtaining the stored data output by the storage unit;
  • the two input terminals B of the first group of multiplexers are respectively connected to the two registers of the fourth group
  • the Q terminals of a D flip-flop, and the two selection terminals SEL of the first group of multiplexers are connected through the data_sel signal line to obtain internal control signals;
  • the two input terminals A of the second group of multiplexers are respectively connected to the storage unit to obtain the stored data data [3:0] output by the storage unit;
  • the two selection terminals SEL of the second group of multiplexers pass data_sel Signal line connection, used to obtain internal control signals;
  • the second output synchronization module includes a fifth group of registers and a second inverter; the second shift unit includes a multiplexer; the fifth group of registers adopts D flip-flops; the CK terminal of the fifth group of registers is used to pass through the second After the inverter, the external clock signal is received through the clk signal line; the D terminal of the fifth group of registers is connected to the Q terminal of a D flip-flop in the third group of registers, and the input terminal A of the multiplexer of the second shift unit Connect the Q terminal of another D flip-flop in the third set of registers; the input B of the multiplexer of the second shift unit is connected to the Q terminal of the fifth set of registers; the multiplexer of the second shift unit
  • the selection terminal SEL terminal is used to receive an external clock signal through the clk signal line after the second inverter; the Y terminal of the multiplexer of the second shift unit is used to output the first group of output data and the second group of output data .
  • the bidirectional I/O interface further includes a switching unit and an input-output channel.
  • the switching unit is electrically connected to the input interface, the output interface, and the input-output channel, respectively, for connecting the input interface and the output interface.
  • One switch is connected to the input and output channels.
  • the switching unit includes a first tri-state buffer, a second tri-state buffer and a third inverter;
  • the enable terminal of the first three-state buffer is used to obtain the enable signal I/O_en, the input terminal of the first three-state buffer is connected to the input and output channels, and the output terminal of the first three-state buffer is connected to the input interface;
  • the enable terminal of the second three-state buffer is used to obtain the enable signal I/O_en through the third inverter, the output terminal of the second three-state buffer is connected to the input and output channels, and the input terminal of the second three-state buffer is connected Output Interface.
  • the flash memory of the present invention samples the input data signal on the rising edge and the falling edge of the clock signal SCK through the bidirectional I/O interface, and outputs two sets of data signals on the rising edge and the falling edge of the clock signal SCK through the bidirectional I/O interface. Output data to achieve twice the data input rate and data output rate under a low-frequency clock.
  • the flash memory of the present invention has novel design and strong practicability.
  • Figure 1 shows a block diagram of functional modules of a flash memory according to a preferred embodiment of the present invention
  • FIG. 2 shows a connection circuit diagram of the input interface and the processing unit of the bidirectional I/O interface of the flash memory shown in FIG. 1;
  • FIG. 3 shows a circuit diagram of the output interface of the bidirectional I/O interface of the flash memory shown in FIG. 1 and the connection circuit diagram of the processing unit of the preferred embodiment of the present invention
  • FIG. 4 shows a circuit diagram of the switching unit 18 of the bidirectional I/O interface 10 according to a preferred embodiment of the present invention.
  • Fig. 1 shows a block diagram of functional modules of a flash memory according to a preferred embodiment of the present invention.
  • the flash memory includes a bidirectional I/O interface 10, a processing unit 20, and a storage unit 30; the processing unit 20 is electrically connected to the bidirectional I/O interface 10 and the storage unit 30, respectively;
  • the bidirectional I/O interface 10 is used to receive the external clock signal SCK and the input data signal, and sample the input data signal on the rising edge of the clock signal SCK to obtain the first group of input data; and input the data signal on the falling edge of the clock signal SCK. Sampling to get the second set of input data;
  • the storage unit 30 is used to store the first set of input data and the second set of input data; it is also used to output its stored data;
  • the processing unit 20 is used to obtain the stored data output by the storage unit 30 at the rising edge of the clock signal SCK, obtain the first set of output data, and send the first set of output data to the bidirectional I/O interface 10 by the bidirectional I/O interface.
  • O interface 10 output; at the falling edge of the clock signal SCK to obtain the stored data output by the storage unit 30 and perform shift processing to obtain the second set of output data, and send the second set of output data to the bidirectional I
  • the /O interface 10 is output by the bidirectional I/O interface 10.
  • the input data signal is sampled at the rising edge and the falling edge of the clock signal SCK through the bidirectional I/O interface 10, and the input data signal is sampled at the rising edge and the falling edge of the clock signal SCK through the bidirectional I/O interface 10.
  • Two sets of output data can achieve twice the data input rate and data output rate under a low-frequency clock.
  • this embodiment mainly improves the I/O interface of the flash memory, so that double rate and external data can be used; the other components of the flash memory, the transmission between each part, and the control implementation scheme And the connection scheme with the outside (such as high level Vcc, ground GND, chip selection signals CS#, W#, and HOLD#) can adopt existing technologies.
  • the bidirectional I/O interface 10 is also used to obtain the third group of output data SO by selecting the clock signal SCK.
  • the processing unit 20 is also used to synchronize the first set of input data and the second set of input data, and output the data synchronization result;
  • the storage unit 30 is also used to store the data synchronization result;
  • the bidirectional I/O interface 10 includes an input interface 11;
  • the processing unit 20 includes a combination unit 15 electrically connected to the input interface 11, and an input synchronization unit 16 electrically connected to the combination unit 15 and the storage unit 30, respectively;
  • FIG. 2 shows a connection circuit diagram of the input interface of the bidirectional I/O interface of the flash memory shown in FIG. 1 and the processing unit.
  • the input interface 11 specifically includes:
  • the first set of registers 13 is used to receive the external clock signal SCK and the input data signal, and sample the input data signal on the rising edge of the clock signal SCK to obtain the first set of input data;
  • the second set of registers 14 is used to receive the external clock signal SCK and the input data signal, and sample the input data signal on the falling edge of the clock signal SCK to obtain the second set of input data;
  • the combination unit 15 is electrically connected to the first group of registers 13 and the second group of registers 14 respectively, and is used to combine the first group of input data and the second group of input data;
  • the input synchronization unit 16 is configured to synchronize the first group of input data and the second group of input data, and output the data synchronization result to the storage unit 30 at the rising edge of the clock signal SCK.
  • the first set of registers 13 includes two D flip-flops, the D flip-flops have CK, Q and D ends; the CK ends of the two D flip-flops of the first set of registers 13 are used to receive external clock signals through the clk signal line SCK; The D terminals of the two D flip-flops of the first set of registers 13 are used to receive the input data signal through the Data_in signal line; the input data signal is serial data, and the internal counter determines the effective data position of the first set of registers 13.
  • the input interface 11 also includes a first inverter 17; the second set of registers 14 also includes two D flip-flops; the CK terminals of the two D flip-flops of the second set of registers 14 are used to pass through the first inverter 17
  • the clk signal line receives the external clock signal SCK; the D terminals of the two D flip-flops of the second set of registers 14 are used to receive the input data signal through the Data_in signal line; the input data signal is serial data, and the internal counter judges the first set of registers 13 valid data location.
  • the combination unit 15 includes a buffer Q[3:0], the input synchronization unit 16 includes a D flip-flop; the CK end of the D flip-flop of the input synchronization unit 16 is used to receive the external clock signal SCK through the clk signal line; the input synchronization unit The D terminals of the 16 D flip-flops are electrically connected to the Q terminals of the two D flip-flops of the first set of registers 13 and the Q terminals of the two D flip-flops of the second set of registers 14 through the buffer Q[3:0]. Connection; the Q terminal of the D flip-flop of the input synchronization unit 16 is used to output the data synchronization result data[3:0].
  • the data transmission rate of the Data_in signal line can reach twice the rate of the clock signal SCK. It can be seen that the first set of registers 13 samples data on the rising edge of the clock signal SCK, and the second set of registers 14 samples data on the falling edge of the clock signal SCK.
  • the input synchronization unit 16 synchronizes the data output from the first set of registers 13 and the second set of registers 14, so that both sets of input data are synchronously output to the storage unit on the rising edge of the clock signal SCK; therefore, it can be used without changing the clock signal SCK.
  • the transmission rate of the input data is doubled.
  • the data rate is reduced inside the chip, which reduces power consumption and facilitates subsequent processing.
  • FIG. 3 shows a circuit diagram of the output interface of the bidirectional I/O interface of the flash memory shown in FIG. 1 and the connection circuit diagram of the processing unit in the preferred embodiment of the present invention.
  • the bidirectional I/O interface 10 further includes an output interface 12;
  • the processing unit 20 may specifically include a first output synchronization module 21, a second output synchronization module 22, a first shift unit 23, and a second shift unit 24. ;
  • the first output synchronization module 21 is electrically connected to the storage unit 30, the first shift unit 23, the second shift unit 24 and the output interface 12, respectively;
  • the second output synchronization module 22 is respectively connected to the second shift unit 24 and the output interface 12 Electrical connection;
  • the first output synchronization module 21 is used to obtain the stored data output by the storage unit 30 at the rising edge of the clock signal SCK, so as to use the rising edge of the clock signal SCK to synchronize the stored data output by the storage unit 30 and send it to the first A shift unit 23;
  • the first shift unit 23 is used to perform the operation of shifting the data sent by the first output synchronization module 21 to the left by two bits, so that the first output synchronization module 21 shifts to the output interface 12 to output the stored data.
  • the first set of output data composed of the highest bit;
  • the first output synchronization module 21 is also used to obtain the stored data output by the storage unit 30 at the falling edge of the clock signal SCK, and send it to the second shift unit 24;
  • the second shift unit 24 is used to perform the operation of shifting the data sent by the first output synchronization module 21 by one bit to the left, so that the second output synchronization module 22 uses the falling edge of the clock signal SCK to synchronize the data and to The output interface 12 shifts and outputs a second group of output data composed of the second high bit of the stored data.
  • the first output synchronization module 21 includes a third group of registers 25 and a fourth group of registers 26; the first shift unit 23 includes a first group of multiplexers composed of two multiplexers.
  • the second group of multiplexers 28 composed of two multiplexers 27 and the second group of multiplexers 28; the third group of registers 25 and the fourth group of registers 26 each include two D flip-flops;
  • the CK terminals of the two D flip-flops of the third group of registers 25 and the CK terminals of the two D flip-flops of the fourth group of registers 26 are both used to receive the external clock signal SCK through the clk signal line; the two of the third group of registers 25 The D terminals of each D flip-flop are respectively connected to the two Y terminals of the first group of multiplexers 27; the D terminals of the two D flip-flops of the fourth group of registers 26 are respectively connected to two of the second group of multiplexers 28 Y end;
  • the two input terminals A of the first group of multiplexers 27 are respectively connected to the storage unit 30 for obtaining the stored data data [3:0] output by the storage unit 30;
  • the two inputs of the first group of multiplexers 27 Terminal B is respectively connected to the Q terminals of the two D flip-flops of the fourth group of registers 26, and the two selection terminals SEL of the first group of multiplexers 27 are connected through the data_sel signal line for obtaining internal control signals;
  • the two input terminals A of the second group of multiplexers 28 are respectively connected to the storage unit 30 for obtaining the stored data data [3:0] output by the storage unit 30; two options of the second group of multiplexers 28
  • the terminal SEL is connected through the data_sel signal line for obtaining internal control signals;
  • the second output synchronization module 22 includes a fifth set of registers 29 and a second inverter 31; the second shift unit 24 includes a multiplexer; the fifth set of registers 29 are D flip-flops; the fifth set of registers 29 is CK
  • the terminal is used to receive the external clock signal SCK through the clk signal line after the second inverter 31; the D terminal of the fifth group of registers 29 is connected to the Q terminal of a D flip-flop in the third group of registers 25, and the second shift
  • the input terminal A of the multiplexer of the unit 24 is connected to the Q terminal of another D flip-flop in the third set of registers 25; the input terminal B of the multiplexer of the second shift unit 24 is connected to the fifth set of registers 29 Q terminal; the selection terminal SEL of the multiplexer of the second shift unit 24 is used to receive the external clock signal SCK through the clk signal line after the second inverter 31; when the clock signal SCK is high, select The Q terminal of the fifth set of registers
  • the D flip-flop connected to the input terminal A of the second shift unit 24 in the third set of registers 25 is selected to output data, so that the first The data Data_out output by the Y terminal of the multiplexer of the two shift unit 24 may be the first group of output data or the second group of output data.
  • the first output synchronization module 21 and the second output synchronization module 22 synchronize the two channels of data, and realize the double rate of data output without changing the clock frequency.
  • the bidirectional I/O interface 10 may also include a switching unit 18 and an input/output channel 19.
  • the switching unit 18 is electrically connected to the input interface 11, the output interface 12, and the input/output channel 19, respectively, for connecting the input interface 11 ,
  • One of the output interfaces 12 is switched to be connected to the input/output channel 19.
  • FIG. 4 shows a circuit diagram of the switching unit 18 of the bidirectional I/O interface 10 of the preferred embodiment of the present invention. Among them, the circuit structures of the input interface 11 and the output interface 12 are shown in Figure 2 and Figure 3 respectively;
  • the switching unit 18 includes a first tri-state buffer 32, a second tri-state buffer 33, and a third inverter 34; the enable terminal ENB of the first tri-state buffer 32 is used to obtain the enable signal I/O_en,
  • the input end of the first three-state buffer 32 is connected to the input/output channel 19, and the output end of the first three-state buffer 32 is connected to the input interface 11.
  • the output ends of the first three-state buffer 32 are respectively connected to the first group The D terminals of the two D flip-flops of the register 13 and the D terminals of the two D flip-flops of the second group of registers 14;
  • the enable terminal ENB of the second three-state buffer 33 is used to obtain the enable signal I/O_en via the third inverter 34, the output terminal of the second three-state buffer 33 is connected to the input and output channel 19, and the second three-state buffer
  • the input end of the converter 33 is connected to the output interface 12, specifically, the input end of the second three-state buffer 33 is connected to the Y end of the multiplexer of the second shift unit 24.
  • the first three-state buffer 32 When the enable signal I/O_en is at a high level, the first three-state buffer 32 is in a high-impedance state, and the second three-state buffer 33 is turned on. At this time, the input and output channel 19 is connected to the output interface 12, and the input and output channel The output channel in 19 is turned on to achieve double the data output rate; when the enable signal I/O_en is low, the second three-state buffer 33 is in a high-impedance state, and the first three-state buffer 32 is turned on, At this time, the input/output channel 19 is connected to the input interface 11, and the input channel in the input/output channel 19 is turned on, realizing twice the data input rate.

Landscapes

  • Information Transfer Systems (AREA)
  • Read Only Memory (AREA)

Abstract

A flash memory, comprising a bidirectional I/O interface (10), a processing unit (20) and a storage unit (30); the processing unit (20) is electrically connected to the bidirectional I/O interface (10) and the storage unit (30) respectively. The processing unit (20) is used for acquiring, at a rising edge of a clock signal (SCK), stored data outputted by the storage unit (30), so as to obtain a first group of output data, and sending the first group of output data to the bidirectional I/O interface (10) to be output by the bidirectional I/O interface (10); acquiring, at a falling edge of the clock signal (SCK), stored data outputted by the storage unit (30); and performing a shift operation processing thereon, so as to obtain a second group of output data, and sending the second group of output data to the bidirectional I/O interface (10) to be output by the bidirectional I/O interface (10).

Description

一种快闪存储器A kind of flash memory 技术领域Technical field
本发明涉及电路领域,尤其涉及一种快闪存储器。The present invention relates to the field of circuits, in particular to a flash memory.
背景技术Background technique
串行接口快闪存储器是常用的一种数据存储元器件,但其所有的操作比如指令、地址、数据都是串行输入输出,导致数据传输速率慢,在读操作时尤甚。The serial interface flash memory is a commonly used data storage component, but all its operations such as instructions, addresses, and data are serial input and output, resulting in a slow data transmission rate, especially during read operations.
为了提高数据的传输速率,现有技术通常在提高传输时钟的频率与多管脚复用上进行改进,前一种方案具体为:采用内部高速时钟对外部传输时钟的上升沿和下降沿分别采样,并以此作为内部时钟信号或控制信号来进行数据的传输,用以达到外部传输时钟两倍的传输速率;后一种方案即多管脚复用机制类似于多条线并行传输,可达到传输时钟的两倍甚至是四倍的传输速率;前述两种方案结合,还可以进一步提高存储器的数据传输速率。前述两种方案的不足之处在于由于内部高速时钟的存在,外部时钟存在上限问题,一般当外部时钟频率大于内部高速时钟的四分之一时,内部时钟信号或者控制信号将不会稳定的产生,导致数据无法传输,而且由于内部高速时钟的存在,功耗也会很大。而多管脚复用在某些状态下会有不能使用的问题。In order to increase the data transmission rate, the prior art usually improves the frequency of the transmission clock and multi-pin multiplexing. The former scheme is specifically: using an internal high-speed clock to sample the rising and falling edges of the external transmission clock separately , And use it as an internal clock signal or control signal for data transmission to achieve twice the transmission rate of the external transmission clock; the latter scheme, that is, the multi-pin multiplexing mechanism is similar to the parallel transmission of multiple lines, which can reach The transmission clock is twice or even four times the transmission rate; the combination of the foregoing two solutions can further increase the data transmission rate of the memory. The disadvantage of the aforementioned two solutions is that due to the existence of the internal high-speed clock, the external clock has an upper limit problem. Generally, when the frequency of the external clock is greater than a quarter of the internal high-speed clock, the internal clock signal or control signal will not be stably generated. , Resulting in data cannot be transmitted, and due to the existence of the internal high-speed clock, the power consumption will be very large. However, multi-pin multiplexing may not be used in some states.
发明内容Summary of the invention
本发明针对上述技术问题,提出一种快闪存储器。In view of the above technical problems, the present invention proposes a flash memory.
本发明所提出的技术方案如下:The technical scheme proposed by the present invention is as follows:
本发明提出了一种快闪存储器,包括双向I/O接口、处理单元以及存储单元;处理单元分别与双向I/O接口和存储单元电性连接;The present invention provides a flash memory, which includes a bidirectional I/O interface, a processing unit, and a storage unit; the processing unit is electrically connected to the bidirectional I/O interface and the storage unit, respectively;
双向I/O接口用于接收外部的时钟信号和输入数据信号,在时钟信号的上升沿对输入数据信号采样,得到第一组输入数据;在时钟信号的下降沿对输入数据信号采样,得到第二组输入数据;The bidirectional I/O interface is used to receive external clock signals and input data signals, and sample the input data signal on the rising edge of the clock signal to obtain the first set of input data; sample the input data signal on the falling edge of the clock signal to obtain the first group of input data. Two sets of input data;
存储单元用于存储第一组输入数据和第二组输入数据;还用于输出其已存储数据;The storage unit is used to store the first group of input data and the second group of input data; it is also used to output its stored data;
处理单元用于在时钟信号的上升沿获取由存储单元输出的已存储数据,得到第一组输出数据,并将该第一组输出数据发送给双向I/O接口由双向I/O接口输出;在时钟信号的下降沿获取由存储单元输出的已存储数据并对其进行移位运算处理,得到第二组输出数据,并将该第二组输出数据发送给双向I/O接口由双向I/O接口输出。The processing unit is used to obtain the stored data output by the storage unit at the rising edge of the clock signal, obtain the first set of output data, and send the first set of output data to the bidirectional I/O interface for output by the bidirectional I/O interface; Obtain the stored data output by the storage unit at the falling edge of the clock signal and perform the shift operation processing on it to obtain the second set of output data, and send the second set of output data to the bidirectional I/O interface by the bidirectional I/O interface. O interface output.
本发明上述的快闪存储器中,处理单元还用于将第一组输入数据和第二组输入数据进行同步,输出数据同步结果;存储单元还用于存储数据同步结果。In the above-mentioned flash memory of the present invention, the processing unit is also used to synchronize the first group of input data and the second group of input data to output the data synchronization result; the storage unit is also used to store the data synchronization result.
本发明上述的快闪存储器中,双向I/O接口包括输入接口;处理单元包括与输入接口电性连接的组合单元以及分别与组合单元和存储单元电性连接的输入同步单元;输入接口包括:In the above-mentioned flash memory of the present invention, the bidirectional I/O interface includes an input interface; the processing unit includes a combination unit electrically connected to the input interface and an input synchronization unit electrically connected to the combination unit and the storage unit; the input interface includes:
第一组寄存器,用于接收外部的时钟信号和输入数据信号,在时钟信号的上升沿 对输入数据信号采样,得到第一组输入数据;The first set of registers is used to receive external clock signals and input data signals, and sample the input data signals on the rising edge of the clock signal to obtain the first set of input data;
第二组寄存器,用于接收外部的时钟信号和输入数据信号,在时钟信号的下降沿对输入数据信号采样,得到第二组输入数据;The second set of registers is used to receive external clock signals and input data signals, and sample the input data signals on the falling edge of the clock signal to obtain the second set of input data;
组合单元,分别与第一组寄存器和第二组寄存器电性连接,用于组合第一组输入数据和第二组输入数据;The combination unit is electrically connected to the first set of registers and the second set of registers, and is used to combine the first set of input data and the second set of input data;
输入同步单元,用于将第一组输入数据和第二组输入数据进行同步,并在时钟信号的上升沿输出数据同步结果至存储单元。The input synchronization unit is used to synchronize the first group of input data with the second group of input data, and output the data synchronization result to the storage unit at the rising edge of the clock signal.
本发明上述的快闪存储器中,第一组寄存器包括两个D触发器,D触发器具有CK端、Q端和D端;第一组寄存器的两个D触发器的CK端用于通过clk信号线接收外部的时钟信号;第一组寄存器的两个D触发器的D端用于通过Data_in信号线接收输入数据信号;In the above-mentioned flash memory of the present invention, the first set of registers includes two D flip-flops, the D flip-flops have a CK terminal, a Q terminal and a D terminal; the CK terminals of the two D flip-flops of the first set of registers are used to pass clk The signal line receives the external clock signal; the D terminals of the two D flip-flops of the first group of registers are used to receive the input data signal through the Data_in signal line;
输入接口还包括第一反相器;第二组寄存器也包括两个D触发器;第二组寄存器的两个D触发器的CK端用于经第一反相器后通过clk信号线接收外部的时钟信号;第二组寄存器的两个D触发器的D端用于通过Data_in信号线接收输入数据信号;The input interface also includes a first inverter; the second set of registers also includes two D flip-flops; the CK terminals of the two D flip-flops of the second set of registers are used to receive external signals through the clk signal line after the first inverter The D terminal of the two D flip-flops of the second set of registers is used to receive the input data signal through the Data_in signal line;
组合单元包括缓冲器Q[3:0],输入同步单元包括一个D触发器;输入同步单元的D触发器的CK端用于通过clk信号线接收外部的时钟信号;输入同步单元的D触发器的D端通过缓冲器Q[3:0]分别与第一组寄存器的两个D触发器的Q端和第二组寄存器的两个D触发器的Q端电性连接;输入同步单元的D触发器的Q端用于输出数据同步结果。The combination unit includes a buffer Q[3:0], the input synchronization unit includes a D flip-flop; the CK terminal of the D flip-flop of the input synchronization unit is used to receive an external clock signal through the clk signal line; the D flip-flop of the input synchronization unit The D terminal of the D is electrically connected to the Q terminals of the two D flip-flops of the first set of registers and the Q terminal of the two D flip-flops of the second set of registers through the buffer Q[3:0]; the D of the input synchronization unit The Q terminal of the flip-flop is used to output the data synchronization result.
本发明上述的快闪存储器中,双向I/O接口还包括输出接口;处理单元包括第一输出同步模块、第二输出同步模块、第一移位单元以及第二移位单元;In the above-mentioned flash memory of the present invention, the bidirectional I/O interface further includes an output interface; the processing unit includes a first output synchronization module, a second output synchronization module, a first shift unit, and a second shift unit;
第一输出同步模块分别与存储单元、第一移位单元、第二移位单元及输出接口电性连接;第二输出同步模块分别与第二移位单元和输出接口电性连接;The first output synchronization module is electrically connected with the storage unit, the first shift unit, the second shift unit and the output interface respectively; the second output synchronization module is electrically connected with the second shift unit and the output interface respectively;
第一输出同步模块用于在时钟信号的上升沿获取由存储单元输出的已存储数据,以利用时钟信号的上升沿对由存储单元输出的已存储数据进行同步并发送给第一移位单元;The first output synchronization module is used to obtain the stored data output by the storage unit at the rising edge of the clock signal, so as to synchronize the stored data output by the storage unit with the rising edge of the clock signal and send it to the first shift unit;
第一移位单元用于将第一输出同步模块所发送的数据进行向左移动两位的运算,以便于第一输出同步模块向输出接口移位输出由所述已存储数据的最高比特位所组成的第一组输出数据;The first shift unit is used to perform the operation of shifting the data sent by the first output synchronization module by two bits to the left, so that the first output synchronization module shifts and outputs to the output interface by the highest bit of the stored data. The first set of output data composed;
第一输出同步模块还用于在时钟信号的下降沿获取由存储单元输出的已存储数据,并发送给第二移位单元;The first output synchronization module is also used to obtain the stored data output by the storage unit at the falling edge of the clock signal and send it to the second shift unit;
第二移位单元用于将第一输出同步模块所发送的数据进行向左移动一位的运算,以便于第二输出同步模块利用时钟信号的下降沿对该数据进行同步并向输出接口移位输出由所述已存储数据的第二高比特位所组成的第二组输出数据。The second shift unit is used to move the data sent by the first output synchronization module one bit to the left, so that the second output synchronization module uses the falling edge of the clock signal to synchronize the data and shift it to the output interface The second group of output data composed of the second high bit of the stored data is output.
本发明上述的快闪存储器中,第一输出同步模块包括第三组寄存器和第四组寄存器;第一移位单元包括由两个多路选择器组成的第一组多路选择器和由两个多路选择器组成的第二组多路选择器;第三组寄存器和第四组寄存器均包含两个D触发器;In the above flash memory of the present invention, the first output synchronization module includes a third set of registers and a fourth set of registers; the first shift unit includes a first set of multiplexers composed of two multiplexers and two The second group of multiplexers composed of two multiplexers; the third group of registers and the fourth group of registers each contain two D flip-flops;
第三组寄存器的两个D触发器的CK端和第四组寄存器的两个D触发器的CK端均用于通过clk信号线接收外部的时钟信号;第三组寄存器的两个D触发器的D端分别连接第一组多路选择器的两个Y端;第四组寄存器的两个D触发器的D端分别连接第二组多路选择器的两个Y端;The CK terminals of the two D flip-flops of the third group of registers and the CK terminals of the two D flip-flops of the fourth group of registers are used to receive external clock signals through the clk signal line; the two D flip-flops of the third group of registers The D terminals of the are respectively connected to the two Y terminals of the first group of multiplexers; the D terminals of the two D flip-flops of the fourth group of registers are respectively connected to the two Y terminals of the second group of multiplexers;
第一组多路选择器的两个输入端A分别连接存储单元,用于获取存储单元输出的已存储数据;第一组多路选择器的两个输入端B分别连接第四组寄存器的两个D触发器的Q端,第一组多路选择器的两个选择端SEL通过data_sel信号线连接,用于获取内部控制信号;The two input terminals A of the first group of multiplexers are respectively connected to the storage unit for obtaining the stored data output by the storage unit; the two input terminals B of the first group of multiplexers are respectively connected to the two registers of the fourth group The Q terminals of a D flip-flop, and the two selection terminals SEL of the first group of multiplexers are connected through the data_sel signal line to obtain internal control signals;
第二组多路选择器的两个输入端A分别连接存储单元,用于获取存储单元输出的已存储数据data[3:0];第二组多路选择器的两个选择端SEL通过data_sel信号线连接,用于获取内部控制信号;The two input terminals A of the second group of multiplexers are respectively connected to the storage unit to obtain the stored data data [3:0] output by the storage unit; the two selection terminals SEL of the second group of multiplexers pass data_sel Signal line connection, used to obtain internal control signals;
第二输出同步模块包括第五组寄存器和第二反相器;第二移位单元包括一个多路选择器;第五组寄存器采用D触发器;第五组寄存器的CK端用于经第二反相器后通过clk信号线接收外部的时钟信号;第五组寄存器的D端连接第三组寄存器中的一D触发器的Q端,第二移位单元的多路选择器的输入端A连接第三组寄存器中的另一D触发器的Q端;第二移位单元的多路选择器的输入端B连接第五组寄存器的Q端;第二移位单元的多路选择器的选择端SEL端用于经第二反相器后通过clk信号线接收外部的时钟信号;第二移位单元的多路选择器的Y端用于输出第一组输出数据和第二组输出数据。The second output synchronization module includes a fifth group of registers and a second inverter; the second shift unit includes a multiplexer; the fifth group of registers adopts D flip-flops; the CK terminal of the fifth group of registers is used to pass through the second After the inverter, the external clock signal is received through the clk signal line; the D terminal of the fifth group of registers is connected to the Q terminal of a D flip-flop in the third group of registers, and the input terminal A of the multiplexer of the second shift unit Connect the Q terminal of another D flip-flop in the third set of registers; the input B of the multiplexer of the second shift unit is connected to the Q terminal of the fifth set of registers; the multiplexer of the second shift unit The selection terminal SEL terminal is used to receive an external clock signal through the clk signal line after the second inverter; the Y terminal of the multiplexer of the second shift unit is used to output the first group of output data and the second group of output data .
本发明上述的快闪存储器中,双向I/O接口还包括切换单元和输入输出通道,切换单元分别与输入接口、输出接口以及输入输出通道电性连接,用于将输入接口、输出接口中的一个切换为和输入输出通道相连。In the above-mentioned flash memory of the present invention, the bidirectional I/O interface further includes a switching unit and an input-output channel. The switching unit is electrically connected to the input interface, the output interface, and the input-output channel, respectively, for connecting the input interface and the output interface. One switch is connected to the input and output channels.
本发明上述的快闪存储器中,切换单元包括第一三态缓冲器、第二三态缓冲器和第三反相器;In the above-mentioned flash memory of the present invention, the switching unit includes a first tri-state buffer, a second tri-state buffer and a third inverter;
第一三态缓冲器的使能端,用于获取使能信号I/O_en,第一三态缓冲器的输入端连接输入输出通道,第一三态缓冲器的输出端连接输入接口;The enable terminal of the first three-state buffer is used to obtain the enable signal I/O_en, the input terminal of the first three-state buffer is connected to the input and output channels, and the output terminal of the first three-state buffer is connected to the input interface;
第二三态缓冲器的使能端用于经第三反相器获取使能信号I/O_en,第二三态缓冲器的输出端连接输入输出通道,第二三态缓冲器的输入端连接输出接口。The enable terminal of the second three-state buffer is used to obtain the enable signal I/O_en through the third inverter, the output terminal of the second three-state buffer is connected to the input and output channels, and the input terminal of the second three-state buffer is connected Output Interface.
本发明的快闪存储器通过双向I/O接口在时钟信号SCK的上升沿和下降沿分别对输入数据信号采样,以及通过双向I/O接口在时钟信号SCK的上升沿和下降沿分别输出两组输出数据,实现低频率时钟下两倍的数据输入速率和数据输出速率。本发明的快闪存储器设计新颖,实用性强。The flash memory of the present invention samples the input data signal on the rising edge and the falling edge of the clock signal SCK through the bidirectional I/O interface, and outputs two sets of data signals on the rising edge and the falling edge of the clock signal SCK through the bidirectional I/O interface. Output data to achieve twice the data input rate and data output rate under a low-frequency clock. The flash memory of the present invention has novel design and strong practicability.
附图说明Description of the drawings
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with the accompanying drawings and embodiments. In the accompanying drawings:
图1示出了本发明优选实施例的快闪存储器的功能模块方框图;Figure 1 shows a block diagram of functional modules of a flash memory according to a preferred embodiment of the present invention;
图2示出了图1所示的快闪存储器的双向I/O接口的输入接口和处理单元的连接电路图;FIG. 2 shows a connection circuit diagram of the input interface and the processing unit of the bidirectional I/O interface of the flash memory shown in FIG. 1;
图3示出了本发明优选实施例的图1所示的快闪存储器的双向I/O接口的输出接口和处理单元的连接电路图;3 shows a circuit diagram of the output interface of the bidirectional I/O interface of the flash memory shown in FIG. 1 and the connection circuit diagram of the processing unit of the preferred embodiment of the present invention;
图4示出了本发明优选实施例的双向I/O接口10的切换单元18的电路图。FIG. 4 shows a circuit diagram of the switching unit 18 of the bidirectional I/O interface 10 according to a preferred embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的技术目的、技术方案以及技术效果更为清楚,以便于本领域技术 人员理解和实施本发明,下面将结合附图及具体实施例对本发明做进一步详细的说明。In order to make the technical objectives, technical solutions, and technical effects of the present invention clearer, so that those skilled in the art can understand and implement the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
如图1所示,图1示出了本发明优选实施例的快闪存储器的功能模块方框图。具体地,该快闪存储器,包括双向I/O接口10、处理单元20以及存储单元30;处理单元20分别与双向I/O接口10和存储单元30电性连接;As shown in Fig. 1, Fig. 1 shows a block diagram of functional modules of a flash memory according to a preferred embodiment of the present invention. Specifically, the flash memory includes a bidirectional I/O interface 10, a processing unit 20, and a storage unit 30; the processing unit 20 is electrically connected to the bidirectional I/O interface 10 and the storage unit 30, respectively;
双向I/O接口10用于接收外部的时钟信号SCK和输入数据信号,在时钟信号SCK的上升沿对输入数据信号采样,得到第一组输入数据;在时钟信号SCK的下降沿对输入数据信号采样,得到第二组输入数据;The bidirectional I/O interface 10 is used to receive the external clock signal SCK and the input data signal, and sample the input data signal on the rising edge of the clock signal SCK to obtain the first group of input data; and input the data signal on the falling edge of the clock signal SCK. Sampling to get the second set of input data;
存储单元30用于存储第一组输入数据和第二组输入数据;还用于输出其已存储数据;The storage unit 30 is used to store the first set of input data and the second set of input data; it is also used to output its stored data;
处理单元20用于在时钟信号SCK的上升沿获取由存储单元30输出的已存储数据,得到第一组输出数据,并将该第一组输出数据发送给双向I/O接口10由双向I/O接口10输出;在时钟信号SCK的下降沿获取由存储单元30输出的已存储数据并对其进行移位运算处理,得到第二组输出数据,并将该第二组输出数据发送给双向I/O接口10由双向I/O接口10输出。The processing unit 20 is used to obtain the stored data output by the storage unit 30 at the rising edge of the clock signal SCK, obtain the first set of output data, and send the first set of output data to the bidirectional I/O interface 10 by the bidirectional I/O interface. O interface 10 output; at the falling edge of the clock signal SCK to obtain the stored data output by the storage unit 30 and perform shift processing to obtain the second set of output data, and send the second set of output data to the bidirectional I The /O interface 10 is output by the bidirectional I/O interface 10.
在上述技术方案中,通过双向I/O接口10在时钟信号SCK的上升沿和下降沿分别对输入数据信号采样,以及通过双向I/O接口10在时钟信号SCK的上升沿和下降沿分别输出两组输出数据,实现低频率时钟下两倍的数据输入速率和数据输出速率。具体地,本实施例主要是对快闪存储器的I/O接口进行了改进,从而可以采用双倍的速率与外界数据;快闪存储器的其它组成部分、各部分之间的传输、控制实现方案、以及与外部的连接方案(比如高电平Vcc、地GND、片选信号CS#、W#及HOLD#)可采用现有技术。In the above technical solution, the input data signal is sampled at the rising edge and the falling edge of the clock signal SCK through the bidirectional I/O interface 10, and the input data signal is sampled at the rising edge and the falling edge of the clock signal SCK through the bidirectional I/O interface 10. Two sets of output data can achieve twice the data input rate and data output rate under a low-frequency clock. Specifically, this embodiment mainly improves the I/O interface of the flash memory, so that double rate and external data can be used; the other components of the flash memory, the transmission between each part, and the control implementation scheme And the connection scheme with the outside (such as high level Vcc, ground GND, chip selection signals CS#, W#, and HOLD#) can adopt existing technologies.
进一步地,在本实施例中,双向I/O接口10还用于通过时钟信号SCK选择得到第三组输出数据SO。Further, in this embodiment, the bidirectional I/O interface 10 is also used to obtain the third group of output data SO by selecting the clock signal SCK.
进一步地,在本实施例中,处理单元20还用于将第一组输入数据和第二组输入数据进行同步,输出数据同步结果;存储单元30还用于存储数据同步结果;Further, in this embodiment, the processing unit 20 is also used to synchronize the first set of input data and the second set of input data, and output the data synchronization result; the storage unit 30 is also used to store the data synchronization result;
具体地,双向I/O接口10包括输入接口11;处理单元20包括与输入接口11电性连接的组合单元15以及分别与组合单元15和存储单元30电性连接的输入同步单元16;Specifically, the bidirectional I/O interface 10 includes an input interface 11; the processing unit 20 includes a combination unit 15 electrically connected to the input interface 11, and an input synchronization unit 16 electrically connected to the combination unit 15 and the storage unit 30, respectively;
在本实施例中,如图1和图2所示,图2示出了图1所示的快闪存储器的双向I/O接口的输入接口和处理单元的连接电路图。输入接口11具体包括:In this embodiment, as shown in FIG. 1 and FIG. 2, FIG. 2 shows a connection circuit diagram of the input interface of the bidirectional I/O interface of the flash memory shown in FIG. 1 and the processing unit. The input interface 11 specifically includes:
第一组寄存器13,用于接收外部的时钟信号SCK和输入数据信号,在时钟信号SCK的上升沿对输入数据信号采样,得到第一组输入数据;The first set of registers 13 is used to receive the external clock signal SCK and the input data signal, and sample the input data signal on the rising edge of the clock signal SCK to obtain the first set of input data;
第二组寄存器14,用于接收外部的时钟信号SCK和输入数据信号,在时钟信号SCK的下降沿对输入数据信号采样,得到第二组输入数据;The second set of registers 14 is used to receive the external clock signal SCK and the input data signal, and sample the input data signal on the falling edge of the clock signal SCK to obtain the second set of input data;
组合单元15,分别与第一组寄存器13和第二组寄存器14电性连接,用于组合第一组输入数据和第二组输入数据;The combination unit 15 is electrically connected to the first group of registers 13 and the second group of registers 14 respectively, and is used to combine the first group of input data and the second group of input data;
输入同步单元16,用于将第一组输入数据和第二组输入数据进行同步,并在时钟信号SCK的上升沿输出数据同步结果至存储单元30。The input synchronization unit 16 is configured to synchronize the first group of input data and the second group of input data, and output the data synchronization result to the storage unit 30 at the rising edge of the clock signal SCK.
第一组寄存器13包括两个D触发器,D触发器具有CK端、Q端和D端;第一组寄存器13的两个D触发器的CK端用于通过clk信号线接收外部的时钟信号SCK;第一组寄存器13的两个D触发器的D端用于通过Data_in信号线接收输入数据信号;输入数据信号为串行数据,内 部计数器判断第一组寄存器13的有效数据位置。The first set of registers 13 includes two D flip-flops, the D flip-flops have CK, Q and D ends; the CK ends of the two D flip-flops of the first set of registers 13 are used to receive external clock signals through the clk signal line SCK; The D terminals of the two D flip-flops of the first set of registers 13 are used to receive the input data signal through the Data_in signal line; the input data signal is serial data, and the internal counter determines the effective data position of the first set of registers 13.
输入接口11还包括第一反相器17;第二组寄存器14也包括两个D触发器;第二组寄存器14的两个D触发器的CK端用于经第一反相器17后通过clk信号线接收外部的时钟信号SCK;第二组寄存器14的两个D触发器的D端用于通过Data_in信号线接收输入数据信号;输入数据信号为串行数据,内部计数器判断第一组寄存器13的有效数据位置。The input interface 11 also includes a first inverter 17; the second set of registers 14 also includes two D flip-flops; the CK terminals of the two D flip-flops of the second set of registers 14 are used to pass through the first inverter 17 The clk signal line receives the external clock signal SCK; the D terminals of the two D flip-flops of the second set of registers 14 are used to receive the input data signal through the Data_in signal line; the input data signal is serial data, and the internal counter judges the first set of registers 13 valid data location.
组合单元15包括缓冲器Q[3:0],输入同步单元16包括一个D触发器;输入同步单元16的D触发器的CK端用于通过clk信号线接收外部的时钟信号SCK;输入同步单元16的D触发器的D端通过缓冲器Q[3:0]分别与第一组寄存器13的两个D触发器的Q端和第二组寄存器14的两个D触发器的Q端电性连接;输入同步单元16的D触发器的Q端用于输出数据同步结果data[3:0]。The combination unit 15 includes a buffer Q[3:0], the input synchronization unit 16 includes a D flip-flop; the CK end of the D flip-flop of the input synchronization unit 16 is used to receive the external clock signal SCK through the clk signal line; the input synchronization unit The D terminals of the 16 D flip-flops are electrically connected to the Q terminals of the two D flip-flops of the first set of registers 13 and the Q terminals of the two D flip-flops of the second set of registers 14 through the buffer Q[3:0]. Connection; the Q terminal of the D flip-flop of the input synchronization unit 16 is used to output the data synchronization result data[3:0].
在上述技术方案中,Data_in信号线的数据传输速率可达到时钟信号SCK速率的两倍。可见,第一组寄存器13在时钟信号SCK的上升沿采样数据,第二组寄存器14在时钟信号SCK的下降沿采样数据。输入同步单元16将第一组寄存器13和第二组寄存器14输出的数据同步,使得两组输入数据均在时钟信号SCK的上升沿同步输出到存储单元;因此,可以在不改变时钟信号SCK的频率的情况下,实现了输入数据的传输速率加倍。同时,在芯片内部将数据速率降低,降低功耗的同时也便于后续处理。In the above technical solution, the data transmission rate of the Data_in signal line can reach twice the rate of the clock signal SCK. It can be seen that the first set of registers 13 samples data on the rising edge of the clock signal SCK, and the second set of registers 14 samples data on the falling edge of the clock signal SCK. The input synchronization unit 16 synchronizes the data output from the first set of registers 13 and the second set of registers 14, so that both sets of input data are synchronously output to the storage unit on the rising edge of the clock signal SCK; therefore, it can be used without changing the clock signal SCK. In the case of frequency, the transmission rate of the input data is doubled. At the same time, the data rate is reduced inside the chip, which reduces power consumption and facilitates subsequent processing.
上面只是本实施例的输入接口11、组合单元15以及输入同步单元16的一种实现方案,实际应用时也可以采用其它方案来实现本实施例的方案,只要保证在时钟信号SCK的上升沿和下降沿均采样输入数据信号,并一起在时钟信号SCK的上升沿和下降沿同步输送给存储单元30。The above is only an implementation scheme of the input interface 11, the combination unit 15 and the input synchronization unit 16 of this embodiment. In practical applications, other schemes can also be used to implement the scheme of this embodiment, as long as it is ensured that the rising edge of the clock signal SCK and The input data signal is sampled at the falling edges, and is simultaneously transmitted to the storage unit 30 at the rising and falling edges of the clock signal SCK.
进一步地,如图1和图3所示,图3示出了本发明优选实施例的图1所示的快闪存储器的双向I/O接口的输出接口和处理单元的连接电路图。本实施例中,双向I/O接口10还包括输出接口12;处理单元20具体可以包括第一输出同步模块21、第二输出同步模块22、第一移位单元23以及第二移位单元24;Further, as shown in FIGS. 1 and 3, FIG. 3 shows a circuit diagram of the output interface of the bidirectional I/O interface of the flash memory shown in FIG. 1 and the connection circuit diagram of the processing unit in the preferred embodiment of the present invention. In this embodiment, the bidirectional I/O interface 10 further includes an output interface 12; the processing unit 20 may specifically include a first output synchronization module 21, a second output synchronization module 22, a first shift unit 23, and a second shift unit 24. ;
第一输出同步模块21分别与存储单元30、第一移位单元23、第二移位单元24及输出接口12电性连接;第二输出同步模块22分别与第二移位单元24和输出接口12电性连接;The first output synchronization module 21 is electrically connected to the storage unit 30, the first shift unit 23, the second shift unit 24 and the output interface 12, respectively; the second output synchronization module 22 is respectively connected to the second shift unit 24 and the output interface 12 Electrical connection;
第一输出同步模块21用于在时钟信号SCK的上升沿获取由存储单元30输出的已存储数据,以利用时钟信号SCK的上升沿对由存储单元30输出的已存储数据进行同步并发送给第一移位单元23;The first output synchronization module 21 is used to obtain the stored data output by the storage unit 30 at the rising edge of the clock signal SCK, so as to use the rising edge of the clock signal SCK to synchronize the stored data output by the storage unit 30 and send it to the first A shift unit 23;
第一移位单元23用于将第一输出同步模块21所发送的数据进行向左移动两位的运算,以便于第一输出同步模块21向输出接口12移位输出由所述已存储数据的最高比特位所组成的第一组输出数据;The first shift unit 23 is used to perform the operation of shifting the data sent by the first output synchronization module 21 to the left by two bits, so that the first output synchronization module 21 shifts to the output interface 12 to output the stored data. The first set of output data composed of the highest bit;
第一输出同步模块21还用于在时钟信号SCK的下降沿获取由存储单元30输出的已存储数据,并发送给第二移位单元24;The first output synchronization module 21 is also used to obtain the stored data output by the storage unit 30 at the falling edge of the clock signal SCK, and send it to the second shift unit 24;
第二移位单元24用于将第一输出同步模块21所发送的数据进行向左移动一位的运算,以便于第二输出同步模块22利用时钟信号SCK的下降沿对该数据进行同步并向输出接口12移位输出由所述已存储数据的第二高比特位所组成的第二组输出数据。The second shift unit 24 is used to perform the operation of shifting the data sent by the first output synchronization module 21 by one bit to the left, so that the second output synchronization module 22 uses the falling edge of the clock signal SCK to synchronize the data and to The output interface 12 shifts and outputs a second group of output data composed of the second high bit of the stored data.
具体地,如图3所示,第一输出同步模块21包括第三组寄存器25和第四组寄存器26;第一移位单元23包括由两个多路选择器组成的第一组多路选择器27和由两个多路选择 器组成的第二组多路选择器28;第三组寄存器25和第四组寄存器26均包含两个D触发器;Specifically, as shown in FIG. 3, the first output synchronization module 21 includes a third group of registers 25 and a fourth group of registers 26; the first shift unit 23 includes a first group of multiplexers composed of two multiplexers. The second group of multiplexers 28 composed of two multiplexers 27 and the second group of multiplexers 28; the third group of registers 25 and the fourth group of registers 26 each include two D flip-flops;
第三组寄存器25的两个D触发器的CK端和第四组寄存器26的两个D触发器的CK端均用于通过clk信号线接收外部的时钟信号SCK;第三组寄存器25的两个D触发器的D端分别连接第一组多路选择器27的两个Y端;第四组寄存器26的两个D触发器的D端分别连接第二组多路选择器28的两个Y端;The CK terminals of the two D flip-flops of the third group of registers 25 and the CK terminals of the two D flip-flops of the fourth group of registers 26 are both used to receive the external clock signal SCK through the clk signal line; the two of the third group of registers 25 The D terminals of each D flip-flop are respectively connected to the two Y terminals of the first group of multiplexers 27; the D terminals of the two D flip-flops of the fourth group of registers 26 are respectively connected to two of the second group of multiplexers 28 Y end;
第一组多路选择器27的两个输入端A分别连接存储单元30,用于获取存储单元30输出的已存储数据data[3:0];第一组多路选择器27的两个输入端B分别连接第四组寄存器26的两个D触发器的Q端,第一组多路选择器27的两个选择端SEL通过data_sel信号线连接,用于获取内部控制信号;The two input terminals A of the first group of multiplexers 27 are respectively connected to the storage unit 30 for obtaining the stored data data [3:0] output by the storage unit 30; the two inputs of the first group of multiplexers 27 Terminal B is respectively connected to the Q terminals of the two D flip-flops of the fourth group of registers 26, and the two selection terminals SEL of the first group of multiplexers 27 are connected through the data_sel signal line for obtaining internal control signals;
第二组多路选择器28的两个输入端A分别连接存储单元30,用于获取存储单元30输出的已存储数据data[3:0];第二组多路选择器28的两个选择端SEL通过data_sel信号线连接,用于获取内部控制信号;The two input terminals A of the second group of multiplexers 28 are respectively connected to the storage unit 30 for obtaining the stored data data [3:0] output by the storage unit 30; two options of the second group of multiplexers 28 The terminal SEL is connected through the data_sel signal line for obtaining internal control signals;
第二输出同步模块22包括第五组寄存器29和第二反相器31;第二移位单元24包括一个多路选择器;第五组寄存器29为D触发器;第五组寄存器29的CK端用于经第二反相器31后通过clk信号线接收外部的时钟信号SCK;第五组寄存器29的D端连接第三组寄存器25中的一D触发器的Q端,第二移位单元24的多路选择器的输入端A连接第三组寄存器25中的另一D触发器的Q端;第二移位单元24的多路选择器的输入端B连接第五组寄存器29的Q端;第二移位单元24的多路选择器的选择端SEL端用于经第二反相器31后通过clk信号线接收外部的时钟信号SCK;当时钟信号SCK为高电平时,选择第五组寄存器29的Q端输出数据,当时钟信号SCK为低电平时,选择第三组寄存器25中的与第二移位单元24的输入端A相连的D触发器输出数据,从而使得第二移位单元24的多路选择器的Y端输出的数据Data_out,可以是第一组输出数据或者第二组输出数据。第一输出同步模块21和第二输出同步模块22将两路数据同步,在不改变时钟频率的情况下,实现了数据输出的双倍速率。The second output synchronization module 22 includes a fifth set of registers 29 and a second inverter 31; the second shift unit 24 includes a multiplexer; the fifth set of registers 29 are D flip-flops; the fifth set of registers 29 is CK The terminal is used to receive the external clock signal SCK through the clk signal line after the second inverter 31; the D terminal of the fifth group of registers 29 is connected to the Q terminal of a D flip-flop in the third group of registers 25, and the second shift The input terminal A of the multiplexer of the unit 24 is connected to the Q terminal of another D flip-flop in the third set of registers 25; the input terminal B of the multiplexer of the second shift unit 24 is connected to the fifth set of registers 29 Q terminal; the selection terminal SEL of the multiplexer of the second shift unit 24 is used to receive the external clock signal SCK through the clk signal line after the second inverter 31; when the clock signal SCK is high, select The Q terminal of the fifth set of registers 29 outputs data. When the clock signal SCK is low, the D flip-flop connected to the input terminal A of the second shift unit 24 in the third set of registers 25 is selected to output data, so that the first The data Data_out output by the Y terminal of the multiplexer of the two shift unit 24 may be the first group of output data or the second group of output data. The first output synchronization module 21 and the second output synchronization module 22 synchronize the two channels of data, and realize the double rate of data output without changing the clock frequency.
上面只是本实施例的输出接口12和处理单元20的一种连接实现方案,实际应用时也可以采用其它方案来实现本实施例的技术效果,只要保证在时钟信号的上升沿和下降沿均输出数据。The above is only a connection implementation scheme of the output interface 12 and the processing unit 20 of this embodiment. In practical applications, other schemes can also be used to achieve the technical effects of this embodiment, as long as it is ensured that both the rising and falling edges of the clock signal are output. data.
本实施例中,双向I/O接口10还可以包括切换单元18和输入输出通道19,切换单元18分别与输入接口11、输出接口12以及输入输出通道19电性连接,用于将输入接口11、输出接口12中的一个切换为和输入输出通道19相连。In this embodiment, the bidirectional I/O interface 10 may also include a switching unit 18 and an input/output channel 19. The switching unit 18 is electrically connected to the input interface 11, the output interface 12, and the input/output channel 19, respectively, for connecting the input interface 11 , One of the output interfaces 12 is switched to be connected to the input/output channel 19.
如图4所示,图4示出了本发明优选实施例的双向I/O接口10的切换单元18的电路图。其中,输入接口11、输出接口12的电路结构分别如图2、图3所示;As shown in FIG. 4, FIG. 4 shows a circuit diagram of the switching unit 18 of the bidirectional I/O interface 10 of the preferred embodiment of the present invention. Among them, the circuit structures of the input interface 11 and the output interface 12 are shown in Figure 2 and Figure 3 respectively;
切换单元18包括第一三态缓冲器32、第二三态缓冲器33和第三反相器34;第一三态缓冲器32的使能端ENB,用于获取使能信号I/O_en,第一三态缓冲器32的输入端连接输入输出通道19,第一三态缓冲器32的输出端连接输入接口11,具体来说,第一三态缓冲器32的输出端分别连接第一组寄存器13的两个D触发器的D端和第二组寄存器14的两个D触发器的D端;The switching unit 18 includes a first tri-state buffer 32, a second tri-state buffer 33, and a third inverter 34; the enable terminal ENB of the first tri-state buffer 32 is used to obtain the enable signal I/O_en, The input end of the first three-state buffer 32 is connected to the input/output channel 19, and the output end of the first three-state buffer 32 is connected to the input interface 11. Specifically, the output ends of the first three-state buffer 32 are respectively connected to the first group The D terminals of the two D flip-flops of the register 13 and the D terminals of the two D flip-flops of the second group of registers 14;
第二三态缓冲器33的使能端ENB用于经第三反相器34获取使能信号I/O_en,第二三态缓冲器33的输出端连接输入输出通道19,第二三态缓冲器33的输入端连接输出接口12,具体来说,第二三态缓冲器33的输入端连接第二移位单元24的多路选择器的Y端。The enable terminal ENB of the second three-state buffer 33 is used to obtain the enable signal I/O_en via the third inverter 34, the output terminal of the second three-state buffer 33 is connected to the input and output channel 19, and the second three-state buffer The input end of the converter 33 is connected to the output interface 12, specifically, the input end of the second three-state buffer 33 is connected to the Y end of the multiplexer of the second shift unit 24.
当使能信号I/O_en为高电平时,第一三态缓冲器32为高阻态,而第二三态缓冲器33接通,此时输入输出通道19和输出接口12相连,输入输出通道19中的输出通道打开,实现双倍的数据输出速率;当使能信号I/O_en为低电平时,第二三态缓冲器33为高阻态,而第一三态缓冲器32接通,此时输入输出通道19和输入接口11相连,输入输出通道19中的输入通道打开,实现两倍的数据输入速率。When the enable signal I/O_en is at a high level, the first three-state buffer 32 is in a high-impedance state, and the second three-state buffer 33 is turned on. At this time, the input and output channel 19 is connected to the output interface 12, and the input and output channel The output channel in 19 is turned on to achieve double the data output rate; when the enable signal I/O_en is low, the second three-state buffer 33 is in a high-impedance state, and the first three-state buffer 32 is turned on, At this time, the input/output channel 19 is connected to the input interface 11, and the input channel in the input/output channel 19 is turned on, realizing twice the data input rate.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the protection scope of the claims, and these all fall within the protection of the present invention.

Claims (8)

  1. 一种快闪存储器,其特征在于,包括双向I/O接口(10)、处理单元(20)以及存储单元(30);处理单元(20)分别与双向I/O接口(10)和存储单元(30)电性连接;A flash memory, which is characterized by comprising a bidirectional I/O interface (10), a processing unit (20) and a storage unit (30); the processing unit (20) is respectively connected to the bidirectional I/O interface (10) and the storage unit (30) Electrical connection;
    双向I/O接口(10)用于接收外部的时钟信号(SCK)和输入数据信号,在时钟信号(SCK)的上升沿对输入数据信号采样,得到第一组输入数据;在时钟信号(SCK)的下降沿对输入数据信号采样,得到第二组输入数据;The bidirectional I/O interface (10) is used to receive the external clock signal (SCK) and input data signal, and sample the input data signal on the rising edge of the clock signal (SCK) to obtain the first group of input data; in the clock signal (SCK) The falling edge of) samples the input data signal to obtain the second group of input data;
    存储单元(30)用于存储第一组输入数据和第二组输入数据;还用于输出其已存储数据;The storage unit (30) is used to store the first group of input data and the second group of input data; it is also used to output its stored data;
    处理单元(20)用于在时钟信号(SCK)的上升沿获取由存储单元(30)输出的已存储数据,得到第一组输出数据,并将该第一组输出数据发送给双向I/O接口(10)由双向I/O接口(10)输出;在时钟信号(SCK)的下降沿获取由存储单元(30)输出的已存储数据并对其进行移位运算处理,得到第二组输出数据,并将该第二组输出数据发送给双向I/O接口(10)由双向I/O接口(10)输出。The processing unit (20) is used to obtain the stored data output by the storage unit (30) at the rising edge of the clock signal (SCK), obtain the first set of output data, and send the first set of output data to the bidirectional I/O The interface (10) is output by the bidirectional I/O interface (10); at the falling edge of the clock signal (SCK), the stored data output by the storage unit (30) is obtained and the shift operation is performed to obtain the second set of output The second set of output data is sent to the bidirectional I/O interface (10) and output by the bidirectional I/O interface (10).
  2. 根据权利要求1所述的快闪存储器,其特征在于,处理单元(20)还用于将第一组输入数据和第二组输入数据进行同步,输出数据同步结果;存储单元(30)还用于存储数据同步结果。The flash memory according to claim 1, wherein the processing unit (20) is also used to synchronize the first group of input data and the second group of input data, and output the data synchronization result; the storage unit (30) also uses Used to store data synchronization results.
  3. 根据权利要求2所述的快闪存储器,其特征在于,双向I/O接口(10)包括输入接口(11);处理单元(20)包括与输入接口(11)电性连接的组合单元(15)以及分别与组合单元(15)和存储单元(30)电性连接的输入同步单元(16);输入接口(11)包括:The flash memory according to claim 2, wherein the bidirectional I/O interface (10) comprises an input interface (11); the processing unit (20) comprises a combination unit (15) electrically connected to the input interface (11) ) And an input synchronization unit (16) electrically connected to the combination unit (15) and the storage unit (30); the input interface (11) includes:
    第一组寄存器(13),用于接收外部的时钟信号(SCK)和输入数据信号,在时钟信号(SCK)的上升沿对输入数据信号采样,得到第一组输入数据;The first set of registers (13) are used to receive external clock signals (SCK) and input data signals, and sample the input data signals on the rising edge of the clock signal (SCK) to obtain the first set of input data;
    第二组寄存器(14),用于接收外部的时钟信号(SCK)和输入数据信号,在时钟信号(SCK)的下降沿对输入数据信号采样,得到第二组输入数据;The second set of registers (14) is used to receive the external clock signal (SCK) and input data signal, and sample the input data signal on the falling edge of the clock signal (SCK) to obtain the second set of input data;
    组合单元(15),分别与第一组寄存器(13)和第二组寄存器(14)电性连接,用于组合第一组输入数据和第二组输入数据;The combination unit (15) is electrically connected to the first set of registers (13) and the second set of registers (14), and is used to combine the first set of input data and the second set of input data;
    输入同步单元(16),用于将第一组输入数据和第二组输入数据进行同步,并在时钟信号(SCK)的上升沿输出数据同步结果至存储单元(30)。The input synchronization unit (16) is used for synchronizing the first group of input data and the second group of input data, and outputs the data synchronization result to the storage unit (30) at the rising edge of the clock signal (SCK).
  4. 根据权利要求3所述的快闪存储器,其特征在于,第一组寄存器(13)包括两个D触发器,D触发器具有CK端、Q端和D端;第一组寄存器(13)的两个D触发器的CK端用于通过clk信号线接收外部的时钟信号(SCK);第一组寄存器(13)的两个D触发器的D端用于通过Data_in信号线接收输入数据信号;The flash memory according to claim 3, wherein the first set of registers (13) includes two D flip-flops, the D flip-flops have a CK terminal, a Q terminal and a D terminal; the first set of registers (13) The CK terminals of the two D flip-flops are used to receive the external clock signal (SCK) through the clk signal line; the D terminals of the two D flip-flops of the first group of registers (13) are used to receive the input data signal through the Data_in signal line;
    输入接口(11)还包括第一反相器(17);第二组寄存器(14)也包括两个D触发器;第二组寄存器(14)的两个D触发器的CK端用于经第一反相器(17)后通过clk信号线接收外部的时钟信号(SCK);第二组寄存器(14)的两个D触发器的D端用于通过Data_in信号线接收输入数据信号;The input interface (11) also includes a first inverter (17); the second set of registers (14) also includes two D flip-flops; the CK terminals of the two D flip-flops of the second set of registers (14) are used for After the first inverter (17) receives the external clock signal (SCK) through the clk signal line; the D terminals of the two D flip-flops of the second set of registers (14) are used to receive the input data signal through the Data_in signal line;
    组合单元(15)包括缓冲器Q[3:0],输入同步单元(16)包括一个D触发器;输入同步单元(16)的D触发器的CK端用于通过clk信号线接收外部的时钟信号(SCK);输入同步单元(16)的D触发器的D端通过缓冲器Q[3:0]分别与第一组寄存器(13)的两个D触发器的Q端和第二组寄存器(14)的两个D触发器的Q端电性连接;输入同步单元(16)的D触发器的Q端用于输出数据同步结果。The combination unit (15) includes a buffer Q[3:0], the input synchronization unit (16) includes a D flip-flop; the CK terminal of the D flip-flop of the input synchronization unit (16) is used to receive an external clock through the clk signal line Signal (SCK); the D terminal of the D flip-flop input to the synchronization unit (16) is connected to the Q terminal of the two D flip-flops of the first set of registers (13) and the second set of registers through the buffer Q[3:0] The Q terminals of the two D flip-flops of (14) are electrically connected; the Q terminal of the D flip-flops of the input synchronization unit (16) is used to output the data synchronization result.
  5. 根据权利要求1所述的快闪存储器,其特征在于,双向I/O接口(10)还包括输出接口(12);处理单元(20)包括第一输出同步模块(21)、第二输出同步模块(22)、第一移位单元(23)以及第二移位单元(24);The flash memory according to claim 1, wherein the bidirectional I/O interface (10) further includes an output interface (12); the processing unit (20) includes a first output synchronization module (21), a second output synchronization module (21), and a second output synchronization module (21). Module (22), first shift unit (23) and second shift unit (24);
    第一输出同步模块(21)分别与存储单元(30)、第一移位单元(23)、第二移位单元(24)及输出接口(12)电性连接;第二输出同步模块(22)分别与第二移位单元(24)和输出接口(12)电性连接;The first output synchronization module (21) is electrically connected to the storage unit (30), the first shift unit (23), the second shift unit (24) and the output interface (12); the second output synchronization module (22) ) Are respectively electrically connected to the second shift unit (24) and the output interface (12);
    第一输出同步模块(21)用于在时钟信号(SCK)的上升沿获取由存储单元(30)输出的已存储数据,以利用时钟信号(SCK)的上升沿对由存储单元(30)输出的已存储数据进行同步并发送给第一移位单元(23);The first output synchronization module (21) is used to obtain the stored data output by the storage unit (30) at the rising edge of the clock signal (SCK), so as to use the rising edge of the clock signal (SCK) to output data from the storage unit (30). The stored data of is synchronized and sent to the first shift unit (23);
    第一移位单元(23)用于将第一输出同步模块(21)所发送的数据进行向左移动两位的运算,以便于第一输出同步模块(21)向输出接口(12)移位输出由所述已存储数据的最高比特位所组成的第一组输出数据;The first shift unit (23) is used to perform the operation of shifting the data sent by the first output synchronization module (21) to the left by two bits, so that the first output synchronization module (21) shifts to the output interface (12) Outputting the first group of output data consisting of the highest bit of the stored data;
    第一输出同步模块(21)还用于在时钟信号(SCK)的下降沿获取由存储单元(30)输出的已存储数据,并发送给第二移位单元(24);The first output synchronization module (21) is also used to obtain the stored data output by the storage unit (30) at the falling edge of the clock signal (SCK) and send it to the second shift unit (24);
    第二移位单元(24)用于将第一输出同步模块(21)所发送的数据进行向左移动一位的运算,以便于第二输出同步模块(22)利用时钟信号(SCK)的下降沿对该数据进行同步并向输出接口(12)移位输出由所述已存储数据的第二高比特位所组成的第二组输出数据。The second shift unit (24) is used to perform the operation of shifting the data sent by the first output synchronization module (21) by one bit to the left, so that the second output synchronization module (22) uses the falling of the clock signal (SCK) The data is synchronized along and shifted to the output interface (12) to output the second group of output data composed of the second high bit of the stored data.
  6. 根据权利要求5所述的快闪存储器,其特征在于,第一输出同步模块(21)包括第三组寄存器(25)和第四组寄存器(26);第一移位单元(23)包括由两个多路选择器组成的第一组多路选择器(27)和由两个多路选择器组成的第二组多路选择器(28);第三组寄存器(25)和第四组寄存器(26)均包含两个D触发器;The flash memory according to claim 5, wherein the first output synchronization module (21) includes a third group of registers (25) and a fourth group of registers (26); the first shift unit (23) includes The first group of multiplexers (27) composed of two multiplexers and the second group of multiplexers (28) composed of two multiplexers; the third group of registers (25) and the fourth group Each register (26) contains two D flip-flops;
    第三组寄存器(25)的两个D触发器的CK端和第四组寄存器(26)的两个D触发器的CK端均用于通过clk信号线接收外部的时钟信号(SCK);第三组寄存器(25)的两个D触发器的D端分别连接第一组多路选择器(27)的两个Y端;第四组寄存器(26)的两个D触发器的D端分别连接第二组多路选择器(28)的两个Y端;The CK terminals of the two D flip-flops of the third group of registers (25) and the CK terminals of the two D flip-flops of the fourth group of registers (26) are both used to receive an external clock signal (SCK) through the clk signal line; The D terminals of the two D flip-flops of the three groups of registers (25) are respectively connected to the two Y terminals of the first group of multiplexers (27); the D terminals of the two D flip-flops of the fourth group of registers (26) are respectively connected Connect the two Y ends of the second group of multiplexers (28);
    第一组多路选择器(27)的两个输入端A分别连接存储单元(30),用于获取存储单元(30)输出的已存储数据;第一组多路选择器(27)的两个输入端B分别连接第四组寄存器(26)的两个D触发器的Q端,第一组多路选择器(27)的两个选择端SEL通过data_sel信号线连接,用于获取内部控制信号;The two input terminals A of the first group of multiplexers (27) are respectively connected to the storage unit (30) for obtaining the stored data output by the storage unit (30); the two inputs of the first group of multiplexers (27) Two input terminals B are respectively connected to the Q terminals of the two D flip-flops of the fourth group of registers (26), and the two selection terminals SEL of the first group of multiplexers (27) are connected through the data_sel signal line to obtain internal control signal;
    第二组多路选择器(28)的两个输入端A分别连接存储单元(30),用于获取存储单元(30)输出的已存储数据data[3:0];第二组多路选择器(28)的两个选择端SEL通过data_sel信号线连接,用于获取内部控制信号;The two input terminals A of the second group of multiplexers (28) are respectively connected to the storage unit (30) for obtaining the stored data data [3:0] output by the storage unit (30); the second group of multiplexers The two selection terminals SEL of the device (28) are connected through the data_sel signal line for obtaining internal control signals;
    第二输出同步模块(22)包括第五组寄存器(29)和第二反相器(31);第二移位单元(24)包括一个多路选择器;第五组寄存器(29)采用D触发器;第五组寄存器(29)的CK端用于经第二反相器(31)后通过clk信号线接收外部的时钟信号(SCK);第五组寄存器(29)的D端连接第三组寄存器(25)中的一D触发器的Q端,第二移位单元(24)的多路选择器的输入端A连接第三组寄存器(25)中的另一D触发器的Q端;第二移位单元(24)的多路选择器的输入端B连接第五组寄存器(29)的Q端;第二移位单元(24)的多路选择器的选择端SEL端用于经第二反相器(31)后通过clk信号线接收外部的时钟信号(SCK);第二移位单元(24)的多路选择器的 Y端用于输出第一组输出数据和第二组输出数据。The second output synchronization module (22) includes a fifth set of registers (29) and a second inverter (31); the second shift unit (24) includes a multiplexer; the fifth set of registers (29) uses D Flip-flop; the CK terminal of the fifth group of registers (29) is used to receive the external clock signal (SCK) through the clk signal line after the second inverter (31); the D terminal of the fifth group of registers (29) is connected to the first The Q terminal of one D flip-flop in the three sets of registers (25), the input A of the multiplexer of the second shift unit (24) is connected to the Q terminal of another D flip-flop in the third set of registers (25) The input terminal B of the multiplexer of the second shift unit (24) is connected to the Q terminal of the fifth group of registers (29); the multiplexer of the second shift unit (24) is used for the selection terminal SEL terminal After passing through the second inverter (31), the external clock signal (SCK) is received through the clk signal line; the Y terminal of the multiplexer of the second shift unit (24) is used to output the first set of output data and the first set of output data. Two sets of output data.
  7. 根据权利要求1所述的快闪存储器,其特征在于,双向I/O接口(10)还包括切换单元(18)和输入输出通道(19),切换单元(18)分别与输入接口(11)、输出接口(12)以及输入输出通道(19)电性连接,用于将输入接口(11)、输出接口(12)中的一个切换为和输入输出通道(19)相连。The flash memory according to claim 1, wherein the bidirectional I/O interface (10) further comprises a switching unit (18) and an input/output channel (19), and the switching unit (18) is connected to the input interface (11) respectively. , The output interface (12) and the input/output channel (19) are electrically connected for switching one of the input interface (11) and the output interface (12) to be connected to the input/output channel (19).
  8. 根据权利要求7所述的快闪存储器,其特征在于,切换单元(18)包括第一三态缓冲器(32)、第二三态缓冲器(33)和第三反相器(34);The flash memory according to claim 7, wherein the switching unit (18) comprises a first tri-state buffer (32), a second tri-state buffer (33) and a third inverter (34);
    第一三态缓冲器(32)的使能端(ENB),用于获取使能信号I/O_en,第一三态缓冲器(32)的输入端连接输入输出通道(19),第一三态缓冲器(32)的输出端连接输入接口(11);The enable terminal (ENB) of the first three-state buffer (32) is used to obtain the enable signal I/O_en, the input terminal of the first three-state buffer (32) is connected to the input/output channel (19), and the first three-state buffer (32) is The output terminal of the state buffer (32) is connected to the input interface (11);
    第二三态缓冲器(33)的使能端(ENB)用于经第三反相器(34)获取使能信号I/O_en,第二三态缓冲器(33)的输出端连接输入输出通道(19),第二三态缓冲器(33)的输入端连接输出接口(12)。The enable terminal (ENB) of the second three-state buffer (33) is used to obtain the enable signal I/O_en via the third inverter (34), and the output terminal of the second three-state buffer (33) is connected to the input and output In the channel (19), the input end of the second three-state buffer (33) is connected to the output interface (12).
PCT/CN2020/128141 2019-12-30 2020-11-11 Flash memory WO2021135662A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911387774.3 2019-12-30
CN201911387774.3A CN111210861B (en) 2019-12-30 2019-12-30 Flash memory

Publications (1)

Publication Number Publication Date
WO2021135662A1 true WO2021135662A1 (en) 2021-07-08

Family

ID=70789435

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/128141 WO2021135662A1 (en) 2019-12-30 2020-11-11 Flash memory

Country Status (2)

Country Link
CN (1) CN111210861B (en)
WO (1) WO2021135662A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111210861B (en) * 2019-12-30 2020-09-29 深圳市芯天下技术有限公司 Flash memory

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120026811A1 (en) * 2010-07-27 2012-02-02 Sony Corporation Integrated semiconductor device
CN103247325A (en) * 2012-02-07 2013-08-14 北京兆易创新科技股份有限公司 Flash memory with serial I/O interface
CN108270436A (en) * 2016-12-30 2018-07-10 中国科学院电子学研究所 Control code latch cicuit and clock data recovery circuit
CN108964668A (en) * 2018-06-19 2018-12-07 龙迅半导体(合肥)股份有限公司 A kind of serial parallel conversion multiplex circuit
CN110489363A (en) * 2019-10-08 2019-11-22 灿芯半导体(上海)有限公司 Transmitting line based on DDR write access
CN111210861A (en) * 2019-12-30 2020-05-29 深圳市芯天下技术有限公司 Flash memory

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7940100B2 (en) * 2007-09-24 2011-05-10 Qualcomm, Incorporated Delay circuits matching delays of synchronous circuits
US9385724B1 (en) * 2013-10-03 2016-07-05 Altera Corporation Methods for operating configurable storage and processing blocks at double and single data rates
US10014041B1 (en) * 2016-12-23 2018-07-03 Texas Instruments Incorporated Integrated circuits, methods and interface circuitry to synchronize data transfer between high and low speed clock domains

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120026811A1 (en) * 2010-07-27 2012-02-02 Sony Corporation Integrated semiconductor device
CN103247325A (en) * 2012-02-07 2013-08-14 北京兆易创新科技股份有限公司 Flash memory with serial I/O interface
CN108270436A (en) * 2016-12-30 2018-07-10 中国科学院电子学研究所 Control code latch cicuit and clock data recovery circuit
CN108964668A (en) * 2018-06-19 2018-12-07 龙迅半导体(合肥)股份有限公司 A kind of serial parallel conversion multiplex circuit
CN110489363A (en) * 2019-10-08 2019-11-22 灿芯半导体(上海)有限公司 Transmitting line based on DDR write access
CN111210861A (en) * 2019-12-30 2020-05-29 深圳市芯天下技术有限公司 Flash memory

Also Published As

Publication number Publication date
CN111210861B (en) 2020-09-29
CN111210861A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
CN100518051C (en) Device and method for synchronous data transmission using a reference signal
US8654864B2 (en) System and method for selectively performing single-ended and differential signaling
KR101679462B1 (en) Enhancement of input/output for non source-synchronous interfaces
US20110116337A1 (en) Synchronising between clock domains
US9201449B1 (en) Method and apparatus for source-synchronous capture using a first-in-first-out unit
US7783911B2 (en) Programmable bus driver launch delay/cycle delay to reduce elastic interface elasticity requirements
KR101441028B1 (en) Low power serdes architecture using serial i/o burst gating
US7668022B2 (en) Integrated circuit for clock generation for memory devices
US7447110B2 (en) Integrated circuit devices having dual data rate (DDR) output circuits therein
US5357613A (en) Time-domain boundary buffer method and apparatus
EP3136436A1 (en) Multi-chip structure having flexible input/output chips
WO2021135662A1 (en) Flash memory
US7461186B2 (en) Data handover unit for transferring data between different clock domains by parallelly reading out data bits from a plurality of storage elements
US20140129885A1 (en) Scan clock generator and related method thereof
US7574635B1 (en) Circuit for and method of testing a memory device
US6900665B2 (en) Transfer of digital data across asynchronous clock domains
US8185714B1 (en) Method and apparatus for strobe-based source-synchronous capture using a first-in-first-out unit
US9106575B2 (en) Multiplexing multiple serial interfaces
US20030056039A1 (en) Data buffer
US7631211B1 (en) Sharing elements in multiple data-rate I/O
CN112542193B (en) FLASH memory of SPI interface for reading data at high speed
US6418176B1 (en) Forwarded clock recovery with variable latency
GB2368152A (en) A DMA data buffer using parallel FIFO memories
CN103247323A (en) Flash memory with serial interface
US7752475B2 (en) Late data launch for a double data rate elastic interface

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20908595

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20908595

Country of ref document: EP

Kind code of ref document: A1