WO2022126635A1 - Read/write controller, memory and electronic device - Google Patents

Read/write controller, memory and electronic device Download PDF

Info

Publication number
WO2022126635A1
WO2022126635A1 PCT/CN2020/137718 CN2020137718W WO2022126635A1 WO 2022126635 A1 WO2022126635 A1 WO 2022126635A1 CN 2020137718 W CN2020137718 W CN 2020137718W WO 2022126635 A1 WO2022126635 A1 WO 2022126635A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock
write
read
circuit
state
Prior art date
Application number
PCT/CN2020/137718
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 华为技术有限公司
Priority to PCT/CN2020/137718 priority Critical patent/WO2022126635A1/en
Priority to CN202080107127.7A priority patent/CN116457886A/en
Publication of WO2022126635A1 publication Critical patent/WO2022126635A1/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/32Timing circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/22Read-write [R-W] timing or clocking circuits; Read-write [R-W] control signal generators or management 

Definitions

  • the present application relates to the technical field of memory, and in particular, to a read-write controller, a memory and an electronic device.
  • FeRAM ferroelectric random access memory
  • PCRAM phase change random access memory
  • MRAM magnetic random access memory
  • ReRAM resistive random access memory
  • the memory in the prior art uses the same clock signal as the operating clock for each of its internal circuits. In this way, the write operation of the memory is actually coupled with other operations, so that the memory can only execute the write operation and other operations according to the same working clock, but cannot execute the writing according to the working clock required by itself. operate. This approach reduces the write flexibility of the memory.
  • the present application provides a read-write controller to improve the writing flexibility of a memory.
  • the present application provides a read-write controller, a memory and an electronic device to improve the writing flexibility of the memory.
  • the present application provides a read/write controller, including a clock generation circuit, a multi-state write circuit, a row decoding circuit and a column decoding circuit.
  • the clock generating circuit includes a first clock output terminal and a second clock output terminal, and the clock frequency of the first clock signal output by the first clock output terminal is higher than the clock frequency of the second clock signal output by the second clock output terminal.
  • the first clock output terminal can be connected to the input terminal of the multi-state write circuit, and the output terminal of the multi-state write circuit can be connected to the storage array. In this way, the multi-state write circuit can be provided by the first clock signal output by the first clock output terminal. Under the operating clock, at least two states are written to the memory array in one clock cycle.
  • the second clock output terminal can be connected to the input terminal of the row decoding circuit and the input terminal of the column decoding circuit respectively, and the output terminal of the row decoding circuit and the output terminal of the column decoding circuit can be respectively connected to the storage array.
  • the circuit and the column decoding circuit can perform respective decoding operations under the operating clock provided by the second clock signal.
  • the read-write controller can use a separate operating clock to execute Multi-state write operation, this method realizes the decoupling of multi-state write operation and other operations, which not only helps to improve the flexibility of multi-state write operation, but also does not adjust the working clock corresponding to read and write operations. affect the normal operation of other circuits.
  • the multi-state write circuit in this way can write at least two states in one clock cycle, instead of writing one state in each clock cycle, so this way also helps to improve the read-write controller's performance. write efficiency.
  • the above design can flexibly configure the current working clock of the multi-state write circuit according to the current process deviation of the memory, so as to make the write operation of the read-write controller match the current Process deviation, improve the ability of the read-write controller to deal with different process deviations.
  • the read/write controller may further include a sense amplifier, the clock control end of the sense amplifier may be connected to the first clock output end, the first input end of the sense amplifier may be connected to the reference unit in the storage array, and the sense amplifier The second input terminal of the sensor can be connected to at least one storage unit in the storage array, and the output terminal of the sense amplifier can be connected to a reading device.
  • a separate operating clock is configured through the sense amplifier, so that the read-write controller can also use a separate operating clock to perform the read operation. This method realizes the decoupling of the read operation from other operations, which is helpful for Improve the flexibility of read operations.
  • the design sets the same working clock for the sense amplifier and the multi-state writing circuit, without distributing the working clock separately, so it can further reduce the complexity of the circuit structure and the circuit cost while independently controlling the read and write operations.
  • the sense amplifier when the memory array is in the readout mode, within one cycle of the first clock signal, if the first clock signal switches from the second level to the first level, the sense amplifier obtains the reference cell The reference signal in and the storage signal in at least one storage unit, and the data stored in the storage unit is obtained by calculating according to the reference signal and the storage signal.
  • the design can flexibly adjust the turn-on time of the sense amplifier by adjusting the level switching time of the clock signal. For example, the sense amplifier can be turned on in advance when the bit line is charged and discharged quickly to improve the read efficiency, or when the charge and discharge of the bit line is slow. Turn on the sense amplifier to improve the accuracy of reading. This method not only makes the read-write controller adapt to different reading scenarios, but also does not require additional components such as inverters, which helps to reduce the cost and cost of the read-write controller. The complexity of the circuit structure.
  • the clock generation circuit capable of generating two clock signals may have various possibilities, such as:
  • the clock generating circuit may further include a first clock generator and a frequency divider.
  • the output end of the first clock generator is connected to the first clock output end and the input end of the frequency divider, respectively.
  • the frequency divider The output terminal is connected to the second clock output terminal.
  • the first clock generator can generate the first clock signal and provide it to the first clock output terminal and the frequency divider respectively.
  • the first clock signal can be provided to the multi-state writing circuit (and the sense amplifier) through the first clock output terminal. ), on the other hand, it can also be divided into a lower frequency second clock signal by a frequency divider and supplied to the second clock output terminal, which is supplied to the row decoding circuit and the column decoding circuit by the second clock output terminal.
  • the design can obtain two different frequency clock signals through a clock generator and a frequency divider.
  • the clock generation circuit may further include a second clock generator and a frequency multiplier, and the output end of the second clock generator is respectively connected to the second clock output end and the input end of the frequency multiplier, and the frequency multiplier is The output end of the device is connected to the first clock output end.
  • the second clock generator can generate the second clock signal and provide it to the second clock output terminal and the frequency multiplier respectively.
  • the second clock signal can be provided to the row decoding circuit and the column decoding circuit through the second clock output terminal.
  • the circuit can also be divided into a higher frequency first clock signal by a frequency multiplier and then supplied to the first clock output terminal, which is then supplied to the multi-state writing circuit (and the sense amplifier) by the first clock output terminal.
  • the design can obtain two different frequency clock signals through a clock generator and a frequency multiplier.
  • the clock generating circuit may further include a third clock generator and a fourth clock generator, the output end of the third clock generator is connected to the first clock output end, and the output end of the fourth clock generator Connect the second clock output.
  • a third clock generator can generate and provide a first clock signal to a first clock output for supply to the multi-state write circuit (and sense amplifier) via the first clock output
  • a fourth clock generator can generate a second The clock signal is also supplied to the second clock output terminal to be supplied to the row decoding circuit and the column decoding circuit through the second clock output terminal.
  • the design can obtain two clock signals with different frequencies through two clock generators.
  • the multi-state write circuit may include an inverter, a first metal oxide semiconductor (MOS) transistor and a second MOS transistor, an input terminal of the inverter and a second MOS transistor.
  • the gates of the MOS tubes are respectively connected to the input terminals of the multi-state writing circuit, the output terminals of the inverters are connected to the gates of the first MOS tubes, the sources of the first MOS tubes are connected to the first power supply, and the sources of the second MOS tubes are connected to For the second power supply, the drain of the first MOS transistor and the drain of the second MOS transistor are connected to the storage array.
  • This design can realize continuous writing of at least two states to the memory cell in one clock cycle through only one inverter and two MOS tubes, which not only simplifies the circuit structure, but also enables the two MOS tubes to be at the same level of the clock signal.
  • the read-write controller can realize the switching of the writing state by controlling the level switching of the clock signal.
  • the multi-state write circuit when the memory array is in the write mode, within one cycle of the first clock signal, if the first clock signal switches from the first level to the second level, the multi-state write circuit will write to the The memory array writes the first state, and if the first clock signal switches from the second level to the first level, the multi-state write circuit writes the second state to the memory array.
  • the multi-state writing circuit can start to write the second state just after the writing time corresponding to the process deviation, so as to accurately track the process deviation of the memory and improve the The ability of the read-write controller to withstand the effects of various process variations.
  • the present application provides a memory, including a storage array and the read-write controller according to any one of the above first aspects, the read-write controller can be connected to the storage array, the storage array can be used to store data, read and write The controller can write data to the storage array, or read data from the storage array.
  • the present application provides an electronic device, comprising a printed circuit board (PCB) and the memory provided in the second aspect above, where the memory is provided on a surface of the PCB.
  • PCB printed circuit board
  • the electronic devices include, but are not limited to: smart phones, smart watches, tablet computers, virtual reality (VR) devices, augmented reality (AR) devices, in-vehicle devices, desktop computers, personal computers, handheld computer or personal digital assistant.
  • VR virtual reality
  • AR augmented reality
  • FIG. 1 exemplarily shows a schematic diagram of the internal structure of a memory to which an embodiment of the present application is applicable;
  • FIG. 2 exemplarily shows a schematic structural diagram of a read-write controller provided by an embodiment of the present application
  • FIG. 3 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application
  • FIG. 4 exemplarily shows a schematic diagram of a multi-state write solution provided by an embodiment of the present application
  • FIG. 5 exemplarily shows a schematic diagram of another multi-state write scheme provided by an embodiment of the present application.
  • FIG. 6 exemplarily shows a performance comparison diagram of a multi-state write circuit provided by an embodiment of the present application
  • FIG. 7 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • FIG. 8 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • FIG. 9 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • FIG. 10 exemplarily shows a comparison diagram of a reading scheme provided by an embodiment of the present application.
  • FIG. 11 exemplarily shows a read-write control sequence diagram provided by an embodiment of the present application.
  • FIG. 12 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • FIG. 13 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • FIG. 14 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • the read-write controller disclosed in this application can be applied to devices with read-write functions, for example, can be applied to storage devices that only have read-write functions, such as memories, and can also be applied to electronic devices with read-write functions and other functions. equipment.
  • the read-write controller may be an independent unit, and the unit may be embedded in an electronic device and can perform read-write control of the memory of the electronic device.
  • the read-write controller may also be a unit packaged inside the electronic device, and is used to implement the read-write control function of the memory of the electronic device.
  • the electronic device may be a portable electronic device including functions such as a personal digital assistant and/or a music player, such as a mobile phone, a tablet computer, a wearable device with wireless communication capabilities (eg, a smart watch), or a vehicle-mounted device.
  • portable electronic devices include, but are not limited to, carry-on Or portable electronic devices with other operating systems.
  • the aforementioned portable electronic device may also be, for example, a laptop computer (Laptop) having a touch-sensitive surface (eg, a touch panel). It should also be understood that, in some other embodiments of the present application, the above-mentioned electronic device may also be a desktop computer having a touch-sensitive surface (eg, a touch panel).
  • the memory may be volatile memory, or may include both volatile and nonvolatile memory.
  • Volatile memory may be random access memory (RAM), which acts as an external cache.
  • RAM random access memory
  • many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (direct rambus RAM, DR RAM), and new types of memories such as FeRAM, PCRAM, MRAM and ReRAM.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory Memory (erasable PROM, EPROM), electrically erasable programmable read-only memory
  • ROM read-only memory
  • PROM programmable read-only memory
  • EPROM erasable programmable read-only memory Memory
  • the read-write controller in this application can be used to read data in the non-volatile memory and/or the volatile memory, and can also be used to Write data to volatile memory. It should be noted that the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
  • FIG. 1 exemplarily shows a schematic diagram of the internal structure of a memory to which an embodiment of the present application is applied.
  • the illustrated memory 100 is only an example, and that the memory 100 may have more or fewer components than those shown, two or more components may be combined, or may have different component configurations .
  • the various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the memory 100 may include a memory array 110 and a read-write controller 120 .
  • the read/write controller 120 may include a clock generation circuit 121 , a read/write driving circuit 122 , a row decoding circuit 123 , a word line (WL) circuit 124 , a column decoding circuit 125 , a sense amplifier 126 and an input/output driving circuit 127 Wait.
  • each component in the read-write controller 120 refers to functional components, and these components can be set as separate components, or can be implemented in one device, or can be set in at least two devices in any combination. This application does not specifically limit this.
  • the storage array 110 used for storing data, is a matrix array formed by a plurality of storage cells arranged in rows and columns. Wherein, each storage unit in the plurality of storage units can store 1-bit binary data, such as 0 or 1. Multiple storage units may be located on different disks or on different tracks of the same disk. When multiple storage units are located on different disks, this arrangement actually combines multiple disks into one disk for use: when data needs to be stored, the data is split into multiple data segments and stored separately on multiple disks In; when data needs to be fetched, multiple disks act together to output their corresponding data segments in parallel. Using this arrangement to store data in the memory can not only effectively improve the reading and writing efficiency of the data through parallel access of multiple disks, but also improve the space utilization of the memory through the array arrangement.
  • the clock generating circuit 121 is used to provide the working clock to each component in the read-write controller 120 .
  • the clock generation circuit 121 may have a plurality of clock output terminals, and each clock output terminal of the plurality of clock output terminals may be connected to one or more components in the read/write controller 120, so as to send the clock output terminal to the connected device through each clock output terminal.
  • One or more components provide the operating clock.
  • the clock generation circuit 121 may include five clock output terminals, namely, clock output terminal A 1 , clock output terminal A 2 , clock output terminal A 3 , clock output terminal A 4 and clock output terminal A 4 , and clock output terminal A 2 .
  • the clock output terminal A1 is respectively connected to the sense amplifier 126 and the input and output driving circuit 127, and the clock generating circuit 121 can provide the same working clock to the sensitive amplifier 126 and the input and output driving circuit 127 through the clock output terminal A1 ;
  • the clock output terminal A 2 is connected to the read-write drive circuit 122, and the clock generation circuit 121 can provide a working clock to the read-write drive circuit 122 through the clock output terminal A 2 ;
  • the clock output terminal A 3 is connected to the word line circuit 124, and the clock generation circuit 121 can pass the clock output terminal.
  • the memory array 110 may also have an operating clock.
  • the operating clock of the storage array 110 may be provided by the clock generating circuit 121, or may be provided by a separate clock generator packaged inside the storage array 110, or may be provided by other components in the electronic device, which are not specifically limited in this application.
  • the row decoding circuit 123 is used for decoding the row address information to obtain the row where the target storage unit is located.
  • the word line circuit 124 may include a plurality of word lines corresponding to a plurality of rows of memory cells in the memory array 110, the input end of each word line is connected to the output end of the row decoding circuit 123, and the output end of each word line Connect to the control terminal of the corresponding row of storage units.
  • the row decoding circuit 123 decodes and obtains the row where the target memory cell is located, it can also send a decoding selection signal to the target word line connected to the row where the target memory cell is located in the word line circuit 124 to instruct the target word line to work, and send a decoding selection signal to the target word line.
  • the other word lines in word line circuit 124 send decode off signals to instruct the other word lines to wait.
  • the target word line When the target word line is working, it can output the first word line signal (such as a high level) to the connected memory cell row to turn on the connected memory cell row, and other word lines can output to the connected memory cell row while waiting.
  • a second word line signal (eg, low) to turn off the connected row of memory cells.
  • the column decoding circuit 125 is used for decoding the column address information to obtain the column where the target memory cell is located.
  • the read-write driving circuit 122 is used for reading and writing data in the target storage unit.
  • the input terminal of the read-write driving circuit 122 is connected to the output terminal of the column decoding circuit 125 (not shown in FIG. 1 ), and the output terminal of the read-write driving circuit 122 is connected to each memory cell.
  • the column decoding circuit 125 decodes the column where the target memory cell is located, it can send instruction information to the read-write driving circuit 122 to instruct the read-write driving circuit 122 to read and write the data of the column where the target memory cell is located.
  • only the row where the target memory cell is located is turned on, so the data read and written by the read-write driving circuit 122 is the data in the target memory cell.
  • the read-write driving circuit 122 can cooperate with other circuits in the read-write controller 120 to realize the read-write operation of the data in the storage array.
  • the following is a detailed introduction from the two aspects of writing data and reading data:
  • the read-write driving circuit 122 can combine the row decoding circuit 123 , the word line circuit 124 and the column decoding circuit 125 to write data into the memory array 110 .
  • the external device 200 such as a read-write device or a processor
  • the external device 200 can first send a message to the read-write driving circuit 122 A write request, and the write request carries the row address information and column address information of the target memory cell.
  • the read-write drive circuit 122 sends the row address information carried in the write request to the row decoding circuit 123, and the row decoding circuit 123 decodes the row address information to determine the row where the target memory cell is located.
  • the row decoding The circuit 123 sends a decoding selection signal to the target word line corresponding to the memory cells in the third row in the word line circuit 124, so that the target word line turns on the memory cells in the third row.
  • the read-write driving circuit 122 can also send the column address information carried in the write request to the column decoding circuit 125, and the column decoding circuit 125 decodes the column address information to obtain the fourth column of the column where the target memory cell is located, Therefore, the column decoding circuit 125 returns a response to the read-write driving circuit 122 to instruct the read-write driving circuit 122 to write data to the target memory cells in the third row that have been turned on in the memory cells in the fourth column.
  • the read-write drive circuit 122 is provided with a write circuit (such as a multi-state write circuit), and the read-write drive circuit triggers the clock generation circuit 121 to output the level corresponding to the data to be written to the write circuit.
  • the clock generation circuit 121 is triggered to output a high level to the write circuit, and the high level and the local reference level of the write circuit form a first voltage difference to drive the write circuit to write "0" to the target memory cell
  • the clock generation circuit 121 is triggered to output a low level to the write circuit, the low level and the local reference level of the write circuit form a second voltage difference to drive the write circuit to write to the target memory cell Enter “1". It can be seen from this that in the scenario of continuously writing two states, the generation time of the first voltage difference and the second voltage difference corresponding to the two states to be written determines when to start writing the two states.
  • the read-write driving circuit 122 can also read the data in the memory array 110 in conjunction with the row decoding circuit 123 , the word line circuit 124 , the column decoding circuit 125 and the sense amplifier 126 . Assuming that the external device 200 wants to read the data stored in the target storage unit located at the third row and the fourth column of the storage array 110, the external device 200 can first send a read request to the read-write driving circuit 122, and in the read The fetch request carries the row address information and column address information of the target memory cell.
  • the read-write driving circuit 122 can first open the target memory at the third row and the fourth column of the memory array 110 in conjunction with the row decoding circuit 123, the word line circuit 124 and the column decoding circuit 125 according to the same logic as the above-mentioned write operation. unit. After that, the read-write drive circuit 122 can trigger (eg, output a low level) the opened target memory cell (and the reference cell) through the level of the clock generation circuit 121. The charge and discharge operation will be described later. No description) to perform charging and discharging, and then after a fixed time delay or through the control of the reference unit, the sense amplifier is turned on, so that the sense amplifier 126 determines according to the potential difference between the target memory cell and the reference cell to store in the opened target memory cell. The data. It can be seen that in the reading scenario, the ON time of the sense amplifier determines when to start reading data.
  • the input and output driving circuit 127 is used to strengthen the driving to realize the interaction between the read-write controller 120 and the external device 200 .
  • the I/O driving circuit 127 can first obtain the data read by the sense amplifier 126 , and then increase the driving electrical signal (eg, driving current) to output to the external device 200 the data.
  • the I/O driving circuit 127 can first increase the driving electrical signal (eg, driving current) to obtain the data to be written from the external device 200, and then The data to be written is sent to the writing circuit in the read-write driving circuit 122, so that the writing circuit can write the data to be written into the storage array 110 according to the above-mentioned writing logic.
  • driving electrical signal eg, driving current
  • the memory 100 may also include other components, such as a main memory data register (MDR) and a main memory address register (MAR), etc., which will not be repeated here.
  • MDR main memory data register
  • MAR main memory address register
  • the clock generation circuit provides the same working clock with a fixed frequency to each component in the read-write controller through each clock output terminal (eg, the above-mentioned clock output terminal A 1 to clock output terminal A 5 ).
  • the current read-write control scheme depends on the specific circuit structure.
  • each time node involved in the read-write control process is basically fixed, which leads to the adjustability of the read-write control. poor.
  • the second state can only be written at a fixed time interval corresponding to the circuit structure after starting to write the first state.
  • the memory may require different write times under the influence of different process deviations.
  • the read-write controller may take a long time to accurately write the first state to the storage array. In this case, the read-write controller actually needs a longer time interval to improve the accuracy of the written data.
  • the read-write controller may be able to accurately write the first state to the storage array in a very short time.
  • the read-write controller actually needs a short time interval to Maximize write speed while accurately writing data.
  • the read-write method of the fixed time interval in the prior art cannot make the read-write performance of the read-write controller meet the requirements of different process scenarios, resulting in a weak ability of the read-write controller to cope with the influence of different process deviations.
  • the present application provides a read-write controller, which is used to provide a separate working clock for key circuits (such as multi-state write circuits and sense amplifiers) related to read-write in the read-write controller, so as to improve the read-write control
  • key circuits such as multi-state write circuits and sense amplifiers
  • the ability of the read-write controller to cope with the influence of different process deviations is further improved.
  • connection in the following embodiments of the present application refers to electrical connection, and the connection of two electrical elements may be a direct or indirect connection between two electrical elements.
  • connection between A and B can be either a direct connection between A and B, or an indirect connection between A and B through one or more other electrical components, such as the connection between A and B, or the direct connection between A and C, C and B are directly connected, and A and B are connected through C.
  • the "1" and “0” in the 1 level and the 0 level in the digital signal are “1” and “0” in the logic operation, not the voltage value of the signal voltage of the digital signal.
  • the 1 level in the digital signal means that the signal voltage of the digital signal is greater than the threshold voltage
  • the 0 level means that the signal voltage of the digital signal is less than the threshold voltage.
  • a high level is used to represent a 1 level in the digital signal
  • a low level is used to represent a 0 level in the digital signal.
  • FIG. 2 exemplarily shows a schematic structural diagram of a read-write controller provided by an embodiment of the present application.
  • the read-write controller 120 includes a clock generation circuit 121 and a key read-write circuit. 130 and the non-critical read-write circuit 140, the critical read-write circuit 130 and the non-critical read-write circuit 140 are respectively connected to the storage array 110.
  • the clock generating circuit 121 includes a first clock output terminal (B 1 ) and a second clock output terminal (B 2 ).
  • the clock output terminal B1 is connected to the clock control terminal of the key read-write circuit 130, and the clock generation circuit 121 can output the first clock signal (Input) to the key read-write circuit 130 through the clock output terminal B1, so that the key read-write circuit 130 can be
  • the key read and write operations to the memory array 110 are implemented under the working clock provided by the clock signal Input.
  • the clock output terminal B2 is connected to the clock control terminal of the non-critical reading and writing circuit 140, and the clock generating circuit 121 can output a second clock signal (Inner) to the non-critical reading and writing circuit 140 through the clock output terminal B2, so as to facilitate non-critical reading and writing
  • the circuit 140 performs other operations, such as row decoding, row decoding, word line selection and enhanced driving, on the memory array 110 under the operating clock provided by the clock signal Inner except the above-mentioned key read and write operations.
  • the clock frequency of the clock signal Input is higher than the clock frequency of the clock signal Inner.
  • the key read-write circuit 130 refers to a circuit that can decide when to start reading and writing data in the target storage unit according to its own operating clock, such as the multi-state write circuit described below and/or FIG. 1 .
  • the illustrated sense amplifier can also include other circuits that can decide when to start reading and writing, such as the circuit for generating the first voltage difference and the second voltage difference in the read-write driving circuit 122 shown in FIG. In the scenario where only one state is written, the circuit for determining the writing time of one state, etc., is not specifically limited.
  • the non-critical read-write circuit 140 refers to one or more other circuits other than the critical read-write circuit 130, for example, the row decoding circuit 123, the column decoding circuit 125, the read-write driver shown in FIG. 1 may be included.
  • the circuit 122 (or a circuit other than the circuit for generating the first voltage difference and the second voltage difference in the read-write driving circuit 122 ) or the input-output driving circuit 127 or the like. In this way, by configuring different working clocks for key read-write circuits and non-critical read-write circuits, it is helpful to realize the decoupling of key read-write operations and other operations. The flexibility of the key read-write circuit can be effectively improved, and the normal operation of the non-critical read-write circuit will not be affected.
  • FIG. 3 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • the critical read-write circuit 130 includes a multi-state write circuit 128, and the non-critical read-write circuit 130 includes a multi-state write circuit 128.
  • the circuit 140 includes a row decoding circuit 123 and a column decoding circuit 125 .
  • the clock generation circuit 121 can output the first clock signal (Input) to the multi-state write circuit 128 through the clock output terminal B1, and the multi-state write circuit 128 can provide the clock signal Input according to the clock signal Input. At least two states are written to the memory array 110 within one clock cycle of the operating clock.
  • the clock generation circuit 121 can also output a second clock signal (Inner) to the row decoding circuit 123 and the column decoding circuit 125 through the clock output terminal B2, so that the row decoding circuit 123 and the column decoding circuit 125 are in the clock signal Inner.
  • the row decoding and column decoding described above are performed under the provided working clock.
  • the row decoding circuit 123 can decode the row address information under the working clock provided by the clock signal Inner to determine the row where the target memory cell is located and send the data to the target memory cell.
  • the word line circuit sends an instruction
  • the column decoding circuit 125 can decode the column address information under the operating clock provided by the clock signal Inner to determine the column where the target memory cell is located and return a response to the read-write driving circuit.
  • the clock frequency of the clock signal Input is higher than the clock frequency of the clock signal Inner.
  • the clock signal Input can correspond to at least two level changes, and correspondingly, the multi-state writing circuit 128 can also correspond to at least two output voltages.
  • the two output voltages can form at least two voltage differences.
  • the read/write controller 120 can be based on the at least two voltages within one clock cycle of the clock signal Input. The voltage difference completes the write control of at least two states.
  • the multi-state write circuit 128 performs at least two-state write operations under a fast operating clock, while other circuits perform other operations in the memory (such as row decoding, row decoding, etc.) under a slow operating clock. , word line selection and enhanced drive, etc.), and can also write at least two states quickly while minimizing the power consumption required for other operations of the memory.
  • the multi-state write circuit 128 shown in FIG. 3 may correspond to the word line circuit 124 shown in FIG. 1 .
  • the multi-state write circuit 128 refers to the word line circuit 124 , or the multi-state write circuit 128 is A functional component in word line circuit 124 .
  • the multi-state write circuit 128 is a functional component in the word line circuit 124, other circuits in the word line circuit 124 except the multi-state write circuit 128 still operate based on the clock signal Inner.
  • the above content actually provides the operation clock for the row decoding circuit 123 and the column decoding circuit 125 through the clock signal Inner, which is only an optional implementation.
  • the clock signal Inner may also be used to provide an operating clock to any one or any plurality of circuits except the multi-state write circuit 128 shown in FIG. 1 .
  • the clock output terminal B2 can also be connected to the clock control terminal of the read - write driving circuit 122, the clock control terminal of the row decoding circuit 123, the clock control terminal of the column decoding circuit 125, and the input and output drivers respectively.
  • This embodiment not only enables the read-write controller to control the write operation of the multi-state write circuit based on a separate working clock, but also minimizes the number of clocks that the read-write controller needs to generate, which is helpful for simplifying the overall read-write controller. Reduce the cost of the read-write controller based on the control logic.
  • the read-write controller is configured with different operating clocks for the multi-state write circuit and other circuits in the read-write controller (such as the row decoding circuit and the column decoding circuit), so that the multi-state write circuit A multi-state write operation can be performed using a separate operating clock (for the convenience of explaining the scheme, this article exemplarily refers to "an operation of writing at least two states in one clock cycle" with "multi-state write operation"), in this way there are Helps achieve decoupling of multi-state write operations from other operations. In this way, by adjusting the operating clock corresponding to the multi-state write circuit, not only the flexibility of the multi-state write operation can be effectively improved, but also the normal operation of other circuits will not be affected.
  • the multi-state write circuit 128 can write at least two states within one clock cycle of the clock signal Input. There are many possibilities for the multi-state write circuit 128 that can realize this function, and two possible solutions are exemplarily introduced below.
  • FIG. 4 exemplarily shows a schematic diagram of a multi-state write scheme provided by an embodiment of the present application, wherein:
  • the multi-state write circuit 128 may include a reverse delay chain 1281 and two metal oxide semiconductor (MOS) transistors of the same type, such as P-channel MOS transistor P11 and P-channel MOS transistor P12 , or N-channel MOS transistors P11 and N MOS transistor P 12 of the channel.
  • the reverse delay chain 1281 may be composed of an odd number of inverters connected end to end.
  • An inverter is a basic electronic device that accepts an input signal and outputs an output signal that is inverted from the input signal.
  • the input signal of the inverter can be a digital signal, and the level of the input signal can be divided into high level and low level. If the inverter receives a high level input signal, the inverter can output a low level. If the inverter receives a low-level input signal, the inverter can output a high-level output signal.
  • the source of the MOS transistor P11 can be connected to the power supply V11 , the gate of the MOS transistor P11 and the input terminal of the reverse delay chain 1281 can be connected to the clock output terminal B1 respectively, and the drain of the MOS transistor P11 can be connected to storage array 110 .
  • the source of the MOS transistor P 12 can be connected to the power supply V 12 , the gate of the MOS transistor P 12 can be connected to the output terminal of the reverse delay chain 1281 , and the drain of the MOS transistor P 12 can be connected to the memory array 110 .
  • Fig. 4(b) shows the control sequence when at least two states are written according to this circuit structure, wherein the "Input" line in Fig. 4(b) shows the level of the clock signal Input Changes, the "write signal” line in (b) of FIG. 4 shows the change of the write signal.
  • the "Input" line in Fig. 4(b) shows the level of the clock signal Input Changes
  • the "write signal” line in (b) of FIG. 4 shows the change of the write signal.
  • the clock generation circuit 121 When the cycle duration of one cycle of the clock signal Input is greater than 2.7ns, if the clock generation circuit 121 outputs the clock signal Input according to the “Input” line shown in (b) in FIG. 4 , then: when the clock signal Input is at a low power Usually, the low-level signal is directly loaded on the gate of the MOS transistor P11 after being transmitted through the link L11, so that the source and drain of the MOS transistor P11 are turned off, and on the other hand, it is transmitted through the link L12. After the reverse processing of the phase device (it is still a low-level signal), it is loaded on the gate of the MOS transistor P12 to make the source and drain of the MOS transistor P12 cut off.
  • the MOS transistor P11 and the MOS transistor P11 Both are turned off, the voltage at point K is 0, and the read/write controller 120 does not write data to the storage array 110 .
  • the clock signal Input is switched from a low level to a high level "1"
  • the read-write drive circuit 122 in the read-write controller 120 is at the voltage corresponding to this level state (assuming it is V 10 ), the high level
  • the signal is directly loaded on the gate of the MOS transistor P11 after being transmitted through the link L11, so that the source and drain of the MOS transistor P11 are turned on, and on the other hand, the 27 inverters on the link L12 are reversely processed.
  • the gate is loaded on the gate of the MOS transistor P12 with a delay of 2.7ns , so that the source and the drain of the MOS transistor P12 are turned on.
  • the MOS transistor P11 is turned on and the MOS transistor P12 is turned off, the voltage at point K is V11 , and the read-write drive circuit 122
  • a voltage difference V 10 -V 11 is formed between the voltage V 10 in the multi-state write circuit 128 and the voltage V 11 of the multi-state write circuit 128 , so the read-write drive circuit 122 can write the voltage difference V 10 -V 11 to the memory array 110 status (eg write "0").
  • the multi-state write circuit 128 shown in (a) of FIG. 4 can write to the memory array 110 within one clock cycle of the Input of the clock signal. Two states are written.
  • the time interval between the start of writing of the first state and the start of writing of the second state depends on the delay duration of the reverse delay chain 1281
  • the delay duration of the reverse delay chain 1281 is related to the number of inverters included in the reverse delay chain 1281 .
  • the number of inverters set in the read/write controller 120 cannot be changed after the read/write controller 120 is shipped from the factory.
  • the scheme can actually write each state with a fixed write duration.
  • different process deviations may require different writing durations, if some process deviations are used to write a state, it only takes 0.3ns, while some process deviations require 1ns to write a state.
  • each inverter in the reverse delay chain 1281 can also be used. Connect a first switch component before and lead a line with a second switch component to the gate of the MOS transistor P12 before the first switch component, by controlling the on-off of each first switch component and each second switch component.
  • the required number of inverters are configured to be valid and other inverters to be invalid, so as to change the delay time of the reverse delay chain 1281 .
  • this method needs to set more switch components and more inverters in the multi-state write circuit 128, it may make the circuit structure of the read/write controller 120 more complicated, and increase the size of the read/write controller 120.
  • the delay time of the reverse delay chain 1281 can be adjusted, which is helpful for the read/write controller 120 to flexibly adjust the write time of one state when writing at least two states continuously.
  • FIG. 5 exemplarily shows a schematic diagram of another multi-state write scheme provided by an embodiment of the present application, wherein:
  • FIG. 5 illustrates the circuit structure of the multi-state writing scheme.
  • the multi-state writing circuit 128 may include an inverter (T ) and two metal oxide semiconductor (MOS) transistors of the same type, such as P-channel MOS transistor P 21 and P-channel MOS transistor P 22 , or N-channel MOS transistor P 21 and N MOS transistor P 22 of the channel.
  • T inverter
  • MOS metal oxide semiconductor
  • the input terminal of the inverter T and the gate of the MOS transistor P 21 can be connected to the clock output terminal B 1 respectively, the output terminal of the inverter T can be connected to the gate of the MOS transistor P 22 , and the source of the MOS transistor P 21
  • the power supply V21 is connected, the drain of the MOS transistor P21 is connected to the memory array 110, the source of the MOS transistor P22 is connected to the power supply V22 , and the drain of the MOS transistor P22 is connected to the memory array.
  • Figure (b) in FIG. 5 illustrates the control sequence when at least two states are written according to this circuit structure, wherein the “Inner” line in (b) in Figure 5 illustrates the level of the clock signal Inner Changes, the “Input” line in (b) in FIG. 5 shows the level change of the clock signal Input, and the “write signal” line in (b) in FIG. 5 shows the write signal. Changes.
  • the “Inner” line in (b) in Figure 5 illustrates the level of the clock signal Inner Changes
  • the “Input” line in (b) in FIG. 5 shows the level change of the clock signal Input
  • the “write signal” line in (b) in FIG. 5 shows the write signal. Changes.
  • the "Inner” line outputs the clock signal Inner and the “Input” line outputs the clock signal Input, then in a level state of the clock signal Inner (such as a high level "1"), the read-write control
  • the voltage corresponding to the read-write drive circuit 122 in the device 120 is in this level state (assuming V 20 ): when the clock signal Input is switched to a high level, the high-level signal is directly loaded on the MOS after being transmitted through the link L21
  • the gate of the transistor P21 turns on the source and drain of the MOS transistor P21 , which is converted into a low-level signal after reverse processing by the inverter T on the link L22 and is loaded on the gate of the MOS transistor P22 to The source and drain of the MOS transistor P22 are turned off.
  • the MOS transistor P21 is turned on and the MOS transistor P22 is turned off, and the voltage at point K is V21 .
  • the voltage difference between the voltage V 20 in the read-write drive circuit 122 and the voltage V 21 output by the multi-state write circuit 128 is V 20 -V 21 , so the read-write drive circuit 122 can write to the memory array. 110 writes the state corresponding to the voltage difference V 20 -V 21 (eg, writes "0").
  • the low level signal is directly loaded on the gate of the MOS transistor P21 after being transmitted through the link L21 to turn off the source and drain of the MOS transistor P21 ,
  • the inverter T on the circuit L22 is converted into a high-level signal after reverse processing and is loaded on the gate of the MOS transistor P22 to turn on the source and drain of the MOS transistor P22 .
  • the MOS transistor P21 It is turned off and the MOS transistor P 21 is turned on, and the voltage at point K is V 22 .
  • the voltage difference between the voltage V 20 in the read-write drive circuit 122 and the voltage V 22 output by the multi-state write circuit 128 is V 20 -V 22 , so the read-write drive circuit 122 can send the memory array to the 110 writes the state corresponding to the voltage difference V 20 -V 22 (eg, writes "1").
  • the clock signal Inner switches to another level state (such as a high level "0")
  • the read-write drive circuit 122 controls the memory to sleep according to the level state and the level state of the multi-state write circuit 128, that is, to maintain The memory is not being written to.
  • the multi-state circuit 128 shown in (a) of FIG. 5 can write to the memory array 110 within one clock cycle of the clock signal Input two states.
  • the write operation of at least two states can be realized under one level state of the clock signal Inner: for example, when the clock signal Input is One state will be written to the memory array 110 based on the voltage difference V 20 -V 21 when the high level is high, and another state will be written to the memory array 110 based on the voltage difference V 20 -V 22 when the clock signal Input is switched from high level to low level. state, so the above scheme is actually triggering the write operation of another state when the clock signal Input is level switched.
  • the time interval from starting to write one state to starting to write another state depends on the level switching moment of the clock signal Input (for example, the falling edge of the above example Triggering time): the later the clock signal Input triggers the level switching, the longer the writing time left for a state, the read-write driving circuit 122 will stop after a longer writing time from the start of writing a state Write this state and start writing another state; the earlier the clock signal Input triggers the level switch, the shorter the writing time left for one state, and the read and write drive circuit 122 starts to write a state after a very short period of time. Write time to stop writing to that state and start writing to another state.
  • the level switching moment of the clock signal Input is related to the cycle duration of one cycle of the clock signal Input (the longer the cycle duration of one cycle is, the longer the clock signal Input will be. Switch the level earlier, when the period of a cycle is shorter, the clock signal Input will switch the level later). Therefore, the read/write controller 120 can also adjust the period corresponding to the clock signal Input through the clock generation circuit 121. The time interval when the multi-state write circuit 128 writes different states is changed to improve the ability of the multi-state write circuit 128 to resist the influence of different process variations.
  • the read-write controller 120 can configure the frequency of the clock signal Input through the clock generation circuit 121 as Smaller value, in this way, the cycle duration of the current cycle of the clock signal Input is relatively prolonged, which means that the clock signal Input will start switching levels after a long time, so that the current state being written can correspond to more Write time, which helps to ensure that the current state being written is successfully written into the storage array 110 before starting to write another state, which effectively improves the writing accuracy when two states are continuously written.
  • the read/write controller 120 may configure the frequency of the clock signal Input through the clock generation circuit 121 to be A larger value, in this way, the cycle duration of the current cycle of the clock signal Input is relatively short, which means that the clock signal Input will start switching levels after a short period of time, so the state currently being written corresponds to less This helps to start writing another state as soon as possible when the current state can be quickly written to the storage array 110, so as to improve the writing speed of consecutively writing two states.
  • the current process deviation may be detected by the user in real time, or may be preset in the description parameters of the memory by those skilled in the art, which is not specifically limited.
  • FIG. 6 exemplarily shows a performance comparison diagram of a multi-state write circuit provided by an embodiment of the present application.
  • the uppermost node line ie, the “Input” line shown in FIG. 6
  • the two lines in the middle correspond to the multi-state write circuit with an inverted delay chain (that is, the multi-state write circuit 128 shown in (a) in FIG.
  • multi-state Write circuit 1 which is assumed to be called multi-state Write circuit 1), wherein the solid line in these two lines (ie the "1.1-write one state” line shown in Figure 6) is the control line corresponding to the multi-state write circuit 1 when writing the first state , the dotted line in these two lines (ie, the “1.2-write another state” line shown in FIG. 6 ) is the corresponding control line when the multi-state write circuit 1 writes the second state.
  • the following two lines correspond to the multi-state write circuit that realizes multi-state writing by switching the level state (that is, the multi-state write circuit 128 shown in (a) of FIG.
  • the solid line in these two lines is the control line corresponding to the multi-state writing circuit 2 when writing the first state
  • the dotted line in the line ie, the "2.2-write another state” line shown in FIG. 6
  • the corresponding control line when the multi-state write circuit 2 writes the second state.
  • Table 1 exemplarily shows the write performance comparison table of these two multi-state write circuits:
  • the delay duration of the inverting delay chain is 2.7ns, and the process variation of the memory causes at least 14.5ns to be successfully written into the memory array for a state. in this case:
  • the read-write controller using the multi-state writing circuit 1 After detecting that the clock signal Input is switched to a high level, the read-write controller using the multi-state writing circuit 1 starts to write the first state to the storage array (due to the delay in signal transmission, it is detected that the clock signal Input starts to switch to a high level. The time E 11 of the level is later than the time E 10 ) when the clock signal Input actually starts to switch to the high level. After that, after the delay time of 2.7ns in the reverse delay chain (ie time E 12 ), the read/write controller using the multi-state write circuit 1 stops writing the first state and starts writing the second state. Obviously, 2.7ns is very short compared to 14.5ns.
  • the read-write controller using the multi-state write circuit 2 After detecting that the clock signal Input switches to a high level, the read-write controller using the multi-state write circuit 2 starts to write the first state to the storage array (due to the delay in signal transmission, it is detected that the clock signal Input starts to switch to a high level.
  • the time of the level is later than the time when the clock signal Input actually starts to switch to the high level, and the time E 21 when the first state is started to be written is later than the time E 20 when the clock signal Input actually triggers the rising edge).
  • the read-write controller using the multi-state write circuit 2 determines that the current process deviation is 14.5ns.
  • the read-write controller can maintain the high level of the clock signal Input for a period of 14.5ns through the clock generation circuit, so as to The first state continues to be written in the 14.5ns duration, until after 14.5ns, the read-write controller controls the clock signal Input to switch from high level to low level through the clock generation circuit (that is, after 14.5ns, the clock signal Input is triggered
  • the falling edge of the clock signal Input2 can also be changed by setting the corresponding cycle duration of the clock signal Input2 to 29ns to change the falling edge of the clock signal Input) to stop writing the first state and start writing the second state (due to There is a delay in signal transmission, so it is detected that the time when the clock signal Input starts to switch to a low level is later than the time when the clock signal Input actually starts to switch to a low level, and the time E 23 starts to write the second state is also later than the clock The time E 22 ) when the signal Input actually triggers the falling edge.
  • the timing of the falling edge of the clock signal Input is adjusted by the clock generating circuit, so that the read-write controller using the multi-state writing circuit 2 can be just at 14.5 corresponding to the process deviation. After ns, it starts to write the second state. In this way, the duration of 14.5ns is enough for the read-write controller to successfully write the first state into the memory of this process deviation.
  • the scheme utilizes the adjustable falling edge of the clock signal, and can accurately track the process deviation of the memory by adjusting the coming moment of the falling edge. into performance.
  • the multi-state writing circuit 128 including one inverter and two MOS transistors of the same type as an example. It should be understood that as long as the circuit structure of "turning on the MOS transistor P 21 and the MOS transistor P 22 through different levels" can be realized, it is within the protection scope of the present application.
  • the multi-state writing circuit 128 may also include an inverting delay chain composed of an odd number of inverters connected end to end and two MOS transistors of the same type, and the connection relationship is still as follows shown in Figure 5.
  • the clock signal Input is directly loaded on the MOS tube P21 on the one hand, and on the other hand, it is converted into an opposite clock signal after reverse processing by an odd number of inverters and then loaded on the MOS tube P22 , so The MOS transistor P21 and the MOS transistor P22 of the same type are turned on and turned off at the same level. In this way, in the case where the power supply connected to the source of the MOS transistor P21 is different from the power supply connected to the source of the MOS transistor P22 , the MOS transistor P21 and the MOS transistor P22 of the same type are at the level of the clock signal Input.
  • the multi-state writing circuit 128 may also include two different types of MOS transistors, and does not include an inverter or includes an inversion delay chain formed by an even number of inverters connected end to end .
  • the clock signal is directly loaded on a certain type of MOS transistor P21 , and on the other hand, it is converted into the same clock signal after reverse processing by an even number of inverters and then loaded on another type of MOS transistor P21.
  • MOS transistor P 22 (or directly loaded on another type of MOS transistor P 22 without inverter processing), so different types of MOS transistor P 21 and MOS transistor P 22 are turned on at the same level a deadline.
  • the different types of the MOS transistor P21 and the MOS transistor P22 are at the level of the clock signal Input.
  • the voltage applied to the memory array can also be changed, so this method can also change the writing duration of a state by adjusting the timing at which the clock signal Input switches the level.
  • the above content mainly introduces the specific implementation process of the read-write controller writing at least two states.
  • the specific implementation process of the read/write controller to read data will be further introduced from the second embodiment.
  • the second embodiment is only introduced by taking the read-write controller 120 shown in FIG. 5 as an example, and each solution in the second embodiment is also applicable to any read-write controller in the above-mentioned first embodiment, such as The read/write controller 120 shown in FIG. 3 or FIG. 4 will not be described in detail in this application.
  • the read/write controller may further include a sense amplifier, such as the sense amplifier 126 shown in FIG. 1
  • the storage array may include a reference unit (eg R) and at least one storage unit, such as storage unit 1, storage unit 2.
  • the storage unit M ⁇ N where M and N are both positive integers.
  • the storage unit 1 to the storage unit M ⁇ N may be arranged in the form of an M ⁇ N matrix.
  • the read operation of the target memory cell can be performed in conjunction with the sense amplifier. Before the read operation starts, the read-write controller first precharges the two bit lines corresponding to the reference cell R and the target memory cell to the same high level.
  • the read-write controller drives the target memory cell selected by the word line circuit to charge and discharge its corresponding bit line according to the data stored therein (called a preparation stage). Because the size of the target memory cell is small and its driving capability is very weak, the electrical signal on the bit line corresponding to the target memory cell varies less with charging and discharging, resulting in two electrical signals output from the reference cell R and the target memory cell. The difference in the signal is also small. In this case, the read-write controller can also turn on the sense amplifier. The turned-on sense amplifier will calculate the differential input signal according to the electrical signals output from the two bit lines, and amplify the differential input signal into a larger output signal.
  • This larger output signal is judged to determine whether the data stored in the memory cell is a "0" or a "1" (referred to as the decision stage). It can be seen that the turn-on moment of the sense amplifier is the watershed between the preparation stage and the decision stage. Once the sense amplifier is turned on, the sense amplifier can read the electrical signals on the two bit lines (hereinafter the two electrical signals are referred to as reference signals and store signal), and perform the subsequent decision process. The earlier the sense amplifier is turned on, the differential input signal between the target memory cell and the reference cell R may not yet be formed, resulting in less accurate data read by the sense amplifier.
  • the differential input signal between the target memory cell and the reference cell R may have already been formed, so that the operation of the sense amplifier to read out data is not timely. It can be seen that when to control the opening of the sense amplifier is particularly important for improving the read performance of the read-write controller.
  • FIG. 7 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • the read-write controller 120 may further include an odd-numbered inverter head and tail
  • the reverse delay chain 129 and the sense amplifier 126 are connected together, the input end of the reverse delay chain 129 is connected to the clock output end B 2 , and the output end of the reverse delay chain 129 is connected to the clock control end (C 11 ) of the sense amplifier 126 ), the first input terminal (C 12 ) of the sense amplifier 126 is connected to the reference cell R in the memory array 110, and the second input terminal (C 13 ) of the sense amplifier 126 is connected to the target memory cell (such as the memory cell MN) in the memory array 110 ), the output terminal (C 14 ) of the sense amplifier 126 is connected to the reading device 200 .
  • the clock generation circuit 121 can output the clock signal Inner through the clock output terminal B2, and when the clock signal Inner is at a high level, the high level triggers the target memory unit MN to The corresponding bit line performs the charge and discharge operation, and on the other hand, the reverse delay chain 129 is reversed to a low level and then delayed and transmitted to the sense amplifier 126 to turn on the sense amplifier 126. In this way, the sense amplifier 126 starts at the target memory cell MN. After charging and discharging, the reference signal of the reference unit R and the storage signal of the target storage unit MN are obtained after the delay time corresponding to the reverse delay chain 129, and the data stored in the target storage unit MN is calculated based on these two signals.
  • the turn-on moment of the sense amplifier 126 actually depends on the delay time of the reverse delay chain 129, and the delay time of the reverse delay chain 129 depends on the reverse delay chain
  • the number of inverters included in 129 In general, after the read/write controller 120 leaves the factory, the number of inverters in the reverse delay chain 129 is fixed, so this solution can actually only enter the judgment stage after a fixed-length preparation stage. If the turn-on time of the sense amplifier 126 is to be adjusted, a third switch assembly can also be connected before each inverter in the reverse delay chain 129, and a fourth switch with a strip can be connected before the third switch assembly.
  • the circuit of the component is connected to the clock control terminal C 11 of the sense amplifier 126, and the required number of inverters are configured to be valid by controlling the on-off of each third switch component and each fourth switch component, and other inverters are invalid, so as to change the inverter.
  • Delay time to delay chain 129 Although this method requires more switch components and more inverters, the delay time of the reverse delay chain 129 can be adjusted, which is helpful for the read/write controller 120 to flexibly adjust the sensitivity of the sense amplifier 126. Open time.
  • FIG. 8 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • the read-write controller 120 may further include a sense amplifier 126 .
  • the clock control terminal (C 21 ) and the first input terminal (C 22 ) are respectively connected to the reference unit R in the storage array 110, and the second input terminal (C 23 ) of the sense amplifier 126 is connected to the target storage unit in the storage array 110 (eg memory unit MN), the output terminal (C 24 ) of the sense amplifier 126 is connected to the reading device 200 .
  • a potential difference threshold is preset locally in the reference unit R.
  • the clock generation circuit 121 can output the clock signal Inner through the clock output terminal B2 .
  • the clock signal Inner is at a high level, the high level
  • the level-triggered target memory cell MN performs a charge-discharge operation on the corresponding bit line.
  • the reference cell R can also detect the electrical signal on the bit line corresponding to the target memory cell MN, and determine the electrical signal on the bit line corresponding to the target memory cell MN and the bit line corresponding to the reference cell R When the potential difference between the electrical signals on the above reaches a locally preset potential difference threshold, the reference unit R may send a sense amplifier enable (sense amplifier enable, SAE) signal to the clock control terminal of the sense amplifier 126 to turn on the sense amplifier 126 .
  • SAE sense amplifier enable
  • the sense amplifier 126 can start to acquire the reference signal of the reference cell R and the storage signal of the target memory cell MN when the electrical signal on the bit line corresponding to the target memory cell MN reaches a certain change, and calculates the target based on these two signals.
  • the SAE signal may be an electrical signal with an enabling function, such as a voltage signal or a current signal.
  • the locally preset potential difference threshold stored in the reference unit R may be set by those skilled in the art according to experience, or may be determined by experiments, which is not specifically limited.
  • the turn-on moment of the sense amplifier 126 is actually determined by the locally preset potential difference threshold stored in the reference cell R, and the reference cell R will charge and discharge the target memory cell to the voltage on the bit line.
  • the SAE signal is sent when the electrical signal and the electrical signal on the bit line of the reference unit R reach a locally preset potential difference threshold.
  • the locally preset potential difference threshold actually belongs to a preset value, which basically cannot be changed after the memory is shipped from the factory, which leads to poor adjustability of the turn-on moment of the sense amplifier 126 . Under different process deviation scenarios, the sense amplifier 126 may need to correspond to different turn-on times.
  • the potential difference between the two bit lines of the target memory cell and the reference cell R is sufficient for execution Judgment, in this case, even if it does not continue to charge and discharge but directly enters the judgment stage, more accurate data can be read out.
  • the solution of using the reference unit R to control the opening of the sense amplifier 126 cannot be applied to this working scenario.
  • FIG. 9 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • the read-write controller 120 may further include a sense amplifier 126 .
  • the clock control terminal (C 31 ) is connected to the clock output terminal B 1
  • the first input terminal (C 32 ) of the sense amplifier 126 is connected to the reference unit R in the memory array 110
  • the second input terminal (C 33 ) of the sense amplifier 126 is connected to the storage
  • the output terminal (C 34 ) of the sense amplifier 126 is connected to the reading device 200 .
  • the clock generation circuit 121 can output the clock signal Input to the sense amplifier 126 through the clock output terminal B1 , and output the clock signal Inner through the clock output terminal B2.
  • the clock signal Inner is at a high level
  • the high level signal can trigger the target memory cell MN to perform a charge-discharge operation on the corresponding bit line.
  • the read/write controller 120 can also turn on the sense amplifier 126 at any time as needed. For example, when the sense amplifier 126 needs to be turned on, the clock signal Input is switched to a low level through the clock generation circuit 121.
  • the low level signal can be directly applied to the On the clock control terminal of the sense amplifier 126 (triggering the SAE signal) to turn on the sense amplifier 126, the sense amplifier 126 calculates and obtains the data stored in the target memory unit MN based on the acquired reference signal and the stored signal.
  • the turn-on time of the sense amplifier 126 can be flexibly adjusted by adjusting the level switching time of the independent clock signal, which not only can
  • the read-write controller 120 is adapted to different reading scenarios without additional components such as inverters, thereby helping to reduce the cost of the read-write controller 120 and the complexity of the circuit structure. Further, considering that the read operation and the write operation of the read/write controller 120 are generally not performed at the same time, the solution sets the same operating clock for the sense amplifier 126 and the multi-state write circuit 128, without distributing the operating clock separately. , this method can further reduce the complexity of the circuit structure and reduce the circuit cost while independently controlling the read and write operations.
  • the read-write controller 120 may also combine the reference unit R and the clock signal Input to comprehensively turn on the sense amplifier 126 .
  • the clock control terminal C 31 of the sense amplifier 126 can also be connected to the clock output terminal B 1 and the reference unit R through a switch, and the control terminal of the switch is connected to the read-write drive circuit 122 .
  • the read-write driving circuit 122 can control the switch to connect to the clock control of the sense amplifier 126
  • the clock control terminal C 31 of the sense amplifier 126 and the reference unit R are disconnected from the terminal C 31 and the clock output terminal B 1 .
  • the sense amplifier 126 can be turned on in advance under the control of the clock signal Input to execute the decision in advance, which helps the read/write controller 120 to read data as soon as possible.
  • the read-write driving circuit 122 can control the switch to connect to the clock control terminal C of the sense amplifier 126. 31 and the reference unit R, disconnect the clock control terminal C 31 and the clock output terminal B 1 of the sense amplifier 126 .
  • the reference unit R can acquire the electrical signal on the bit line corresponding to the target storage unit in real time, and calculate the potential difference between the electrical signal and the electrical signal on the bit line corresponding to the reference unit R,
  • the reference unit R can turn on the sense amplifier 126, so that the sense amplifier 126 can be between the target memory unit and the reference unit R. The judgment is started only when the potential difference between them is large enough, which helps to improve the reading accuracy of the read/write controller 120 .
  • FIG. 10 exemplarily shows a comparison diagram of a reading scheme provided by an embodiment of the present application.
  • the three lines above correspond to the reading method of using the reference unit to turn on the sense amplifier shown in FIG. 7 (called It is the reading mode 1), wherein the node line in these three lines (that is, the “Innner” line shown in FIG. 10 ) is the level change line of the clock signal Inner corresponding to the reading mode 1.
  • the solid line (that is, the "SAE1" line shown in Figure 10) is the change line of the SAE signal received by the sense amplifier in the reading mode 1, and the dotted line among these three lines (that is, the "Q1" line shown in Figure 10) It is the change line of the read data signal of the sense amplifier in read mode 1.
  • the following three lines correspond to the reading method (called reading method 2) of turning on the sense amplifier by switching the level state shown in FIG.
  • Table 2 exemplarily shows the reading performance comparison table of the above two reading schemes:
  • the target memory cell needs at least 92.34ns to complete charging and discharging. in this case:
  • the target memory cell detects that the clock signal Inner is switched to a high level at time Y11 as shown in FIG.
  • the corresponding bit lines are charged and discharged, and the charging and discharging are completed after 92.34 ns.
  • the reference unit detects the charge and discharge at the time Y 12 as shown in FIG. 10 to meet the potential difference threshold preset locally by the reference unit, so that the reference unit can trigger the SAE signal of the sense amplifier at the time Y 12 as shown in FIG. 10 .
  • Turn on the sense amplifier So far, the preparation stage is over, and the sense amplifier enters the decision stage.
  • the sense amplifier can read out data at time Y 13 as illustrated in FIG. 10 . Based on this, the read method using the reference cell to turn on the sense amplifier takes a total of 94ns to read out data.
  • the target memory unit detects that the clock signal Inner is switched to a high level at time Y 21 as shown in FIG. 10 , so the target memory unit is at time Y 21 as shown in FIG. 10 .
  • the corresponding bit line starts charging and discharging, and ends charging and discharging after 92.34 ns.
  • the read-write controller determines the process deviation of the current circuit environment so that a potential difference can be formed at a time interval of 39.9ns for charging and discharging, the read-write controller can switch the clock signal Input to a low power level through the clock generation circuit at the moment Y 22 as shown in Figure 10. level to trigger the sense amp to turn on in advance.
  • the preparation stage is over, and the sense amplifier enters the decision stage.
  • the sense amplifier since the sense amplifier is turned on in advance, the potential difference of the electrical signals output on the two bit lines is small, so the sense amplifier may take a longer time (such as 9.1ns) to judge the reading. Therefore, the sense amplifier Data can be read out at time Y 33 as illustrated in FIG. 10 . Based on this, the reading method of turning on the sense amplifier by switching the level state only needs 49ns to read data.
  • the reading method of turning on the sense amplifier by switching the level state can turn on the sense amplifier in advance.
  • this method makes the decision time of the sense amplifier longer, the whole readout time is longer than that of the reference unit turning on the sense amplifier.
  • the reading method is optimized by 47.8%, which is 56.8% better than the reading method in which the sense amplifier is turned on in the reference unit in the preparation stage.
  • how long to turn on the sense amplifier in advance it can be set by those skilled in the art based on experience, or it can be calculated according to experiments.
  • the duration of the phase can reduce the probability of reading errors caused by rapid reading in some extreme cases.
  • FIG. 11 exemplarily shows a read-write control sequence diagram provided by an embodiment of the present application.
  • the read-write control sequence involves the following control signals: input clock signal Input, input clock signal Inner, write enable An enable signal WEN, a read enable signal REN, an input/output signal DATA, a word line signal WL, a sense amplifier enable signal SAE, and a readout data signal Q.
  • the input and output signal DATA refers to the signal received by the read-write controller from the external device, such as the write request signal sent by the external device to the read-write controller and the read request sent by the external device to the read-write controller. signal etc.
  • the write enable signal WEN and the read enable signal REN are used to enable the write mode and read mode of the read-write controller respectively. Switch to the write mode, when the read enable signal REN is triggered (eg low level trigger), the read-write controller switches to the read mode accordingly.
  • the read data signal Q refers to the signal that the read-write controller sends the read data to the external device.
  • the word line signal WL is implemented in the entire read-write logic of the read-write controller, not only can the row of memory cells be opened according to the row of the target memory cell decoded by the row decoding circuit, so that the read-write drive circuit can open the row in the row.
  • the storage unit In the storage unit, read and write operations are performed on the target storage unit according to the column of the target storage unit decoded by the column decoding circuit, and the data to be written can also be written into the target storage unit when the write operation is performed, and when the read operation is performed.
  • the charging and discharging of the target storage unit is triggered according to the data stored in the target storage unit.
  • the sense amplifier enable signal SAE is used to turn on the sense amplifier. When the sense amplifier enable signal SAE is triggered (eg, triggered at a high level), the sense amplifier acquires the electrical signals output from the two bit lines and starts the decision.
  • the write enable signal WEN, the read state of the word line signal WL, the read enable signal REN, the input and output signals DATA and the read data signal Q can be triggered by the input clock signal Inner, while the word line signal WL
  • the write status and sense amplifier enable signal SAE can be triggered by the input clock signal Input.
  • the input clock signal Input, the input clock signal Inner, the write enable signal WEN, the input and output signal DATA and the word line signal WL can be combined to complete the write operation.
  • the external device can send a write request to the read-write controller at the time h1, and the write request belongs to an input Output signal DATA.
  • the write request triggers the write enable signal WEN at time h2 (if the signal transmission delay is not considered, the time h2 is the time h1; if the signal transmission delay is considered, the time h2 is later than the time h1)
  • the write controller switches to write mode.
  • the read-write drive circuit When in the write mode, in a level state of the clock signal Inner (as shown in Figure 11, it is in a high level state from time x1 to time x2), the read-write drive circuit has a fixed level, and the word line has a fixed level.
  • the circuit triggers the word line signal WL to be at different levels according to the level change of the input clock signal Input. For example, when the input clock signal Input switches to a high level at the h3 time, the word line circuit will be based on the high level at the h4 time ( If the signal transmission delay is not considered, then the h4 time is the h3 time.
  • the h4 time is later than the h3 time) to trigger the word line signal WL to be at a high level.
  • the voltage difference between the level of the driving circuit and the high level of the word line signal WL gradually writes the first state (eg "0") into the memory array until the input clock signal Input switches to a low level.
  • the word line circuit will be at the time h6 based on the low level (if the signal transmission delay is not considered, the time h6 is the time h5, if the signal transmission delay is considered, Then the time h6 is later than the time h5) to trigger the word line signal WL to be at a low level.
  • the read-write drive circuit ends the writing process according to the voltage difference between the level of the read-write drive circuit and the low level of the word line signal WL. one state and initiates writing to the second state (eg "1").
  • the read-write controller can also adjust the time h5 within the time period t1 through the clock generation circuit to change the arrival time of the time h6.
  • the read-write controller can adjust the time h5 to a later time value in the time period t1 through the clock generation circuit, so that the time h6 can also come later, so that the word line signal WL can be switched Switching to low a long time after going high gives the memory more time to write the first state.
  • the read-write controller can adjust the time h5 to an earlier time value in the time period t1 through the clock generation circuit.
  • the time h6 can also come earlier, so that the word line signal WL can be switched to the low level within a short time after switching to the high level, and the memory can quickly start writing the second state. After that, when the writing of the second state is completed, the word line signal WL can be restored to the sleep level at the moment h7, thereby ending the writing operation.
  • the write enable signal WEN switches to a low level state at time h8, so that the read-write controller exits the write mode. At this point, the read-write controller completes the write operation.
  • the input clock signal Input, the input clock signal Inner, the read enable signal REN, the input and output signal DATA, the word line signal WL, the sense amplifier enable signal SAE and the read data signal Q can be passed through Combined action to synthesize the read operation.
  • the external device when the external device needs to read the data in the memory, the external device can send a read request to the read-write controller at time m1, and the read request belongs to an input and output signal DATA .
  • the read request triggers the read enable signal REN at time m2 (if the signal transmission delay is not considered, the time m2 is the time m1; if the signal transmission delay is considered, the time m2 is later than the time m1)
  • the write controller switches to read mode.
  • the read-write controller starts the discharge operation according to the level change of the input clock signal Inner. For example, when the input clock signal Inner switches to a high level at the time of y1, the word line circuit will start the discharge operation based on the high level.
  • Time m4 (if the signal transmission delay is not considered, the time m4 is the time y1; if the signal transmission delay is considered, the time m4 is later than the time y1) to trigger the word line signal WL to switch to a low level (the low level can be It is the same as the low level in the write state, or it can be different, not limited), so that the bit line corresponding to the target memory cell is charged and discharged, until the input clock signal Inner switches to the low level at the moment of y2 to trigger the word line The signal WL switches to the sleep level, or until the charging and discharging of the target memory cell is completed.
  • the low level can be It is the same as the low level in the write state, or it can be different, not limited
  • the sense amplifier is not triggered to be turned on. Until the input clock signal Input switches to a low level at the m5 time, the low level will be at the m6 time (if the signal transmission delay is not considered, the m6 time is the m5 time, and if the signal transmission delay is considered, the m6 time is late.
  • the read-write controller can also adjust the time m5 within the time period t2 through the clock generation circuit to change the arrival time of the time m6. For example, when it is determined that the current circuit environment is good and the currently used opening time is late, The read-write controller can trigger the falling edge of the input clock signal Input in advance through the clock generation circuit, that is, the time m5 can be controlled in advance.
  • the time m6 can also come in advance, so that the sense amplifier can be turned on earlier and enter the judgment stage earlier. , to shorten the readout time.
  • the read-write controller can send the read data to the external device at time m7 through the read data signal Q. So far, the read-write controller completes the read operation.
  • the read-write controller can switch the level of the separate working clock to advance or delay to write another state or read out the judgment, In this way, the writing duration and the reading duration of the read-write controller can have a wide adjustable range. Even under the influence of severe process deviation, the read-write controller can adjust the write duration and read duration to meet the requirements of the process deviation under the support of the wide adjustable range, and try to take into account the read and write as much as possible. Accuracy and read-write efficiency, effectively improve the read-write performance of the read-write controller.
  • the possible structure of the clock generation circuit 121 is further introduced from the third embodiment.
  • the third embodiment is only introduced by taking the read/write controller 120 shown in FIG. 9 as an example, and each solution in the third embodiment is also applicable to any read/write in the above-mentioned first or second embodiment.
  • the controller such as the read/write controller 120 shown in FIG. 3 , FIG. 4 , FIG. 7 or FIG. 7 , will not be described in detail in this application.
  • the clock generation circuit 121 capable of generating the clock signal Input and the clock signal Inner may have various possibilities. Three possible implementations are exemplified below:
  • FIG. 12 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • the clock generation circuit 121 may further include a first clock generator 1211 and a frequency divider
  • the output terminal of the first clock generator 1211 is connected to the clock output terminal B 1 and the input terminal of the frequency divider 1212 respectively, and the output terminal of the frequency divider 1212 is connected to the clock output terminal B 2 .
  • the first clock generator 1211 can generate the clock signal Input and provide it to the clock output terminal B1 and the frequency divider 1212, respectively. In this way, the clock signal Input can be output to multiple clock outputs through the clock output terminal B1 on the one hand.
  • the state writing circuit 128 and the sense amplifier 126 can also be divided into a lower frequency clock signal Inner via the frequency divider 1212 and then provided to the clock output terminal B 2 , so that the lower frequency clock signal Inner can be divided by the clock output terminal B 2 .
  • the clock signal Inner is output to one or more other circuits in addition to the multi-state write circuit 128 and the sense amplifier 126 .
  • the read-write driving circuit 122 can send the first indication information to the first clock generator 1211 when the level of the clock signal Input needs to be switched in advance. In this way, the first clock generator 1211 After receiving the first indication information, the level can be switched in advance according to the instruction of the first indication information.
  • the first indication information may further indicate how far in advance to switch.
  • the read-write driving circuit 122 can send the second indication information to the first clock generator 1211 when the level of the clock signal Input needs to be delayed and switched.
  • the first clock generator 1211 can The switching level is delayed according to the instruction of the second instruction information.
  • the second indication information may further indicate how long to delay the handover.
  • the frequency divider 1212 may be any device capable of realizing a frequency reduction function, such as a D flip-flop as shown in FIG. 12 .
  • a D flip-flop as shown in FIG. 12 .
  • the multi-state writing is realized through the inverting delay chain 1281 as shown in Figure 4.
  • the solution, to achieve a delay of 20ns requires at least 100-200 inverters.
  • the read/write controller shown in FIG. 12 can have fewer circuit components, which helps to save the space occupied by the read/write controller.
  • the frequency divider 1212 can also divide the clock signal Input into a plurality of clock signals with different frequencies, and provide them to other circuits except the multi-state writing circuit 128 and the sense amplifier 126 respectively. In this way, other circuits can also correspond to different operating clocks respectively, which helps to independently adjust other operations in the memory and further improves the flexibility of the read-write controller.
  • FIG. 13 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • the clock generation circuit 121 may further include a second clock generator 1213 and a frequency multiplier
  • the output terminal of the second clock generator 1213 is connected to the clock output terminal B 2 and the input terminal of the frequency multiplier 1214 respectively, and the output terminal of the frequency multiplier 1214 is connected to the clock output terminal B 1 .
  • the second clock generator 1213 can generate the clock signal Inner and provide it to the clock output terminal B 2 and the frequency multiplier 1214, respectively.
  • One or more other circuits other than the writing circuit 128 and the sense amplifier 126 can be multiplied by the frequency multiplier 1214 to a higher frequency clock signal Input and then provided to the clock output terminal B 1 , so as to pass the clock output terminal B 1 outputs the higher frequency clock signal Input to the multi-state write circuit 128 and the sense amplifier 126.
  • the frequency multiplier 1214 can be any device capable of realizing the frequency up-conversion function, such as a phase-locked loop. According to the clock generation circuit 121 shown in FIG. 13 , when the read-write driving circuit 122 needs to switch the level of the clock signal Input in advance, it can send the third instruction information to the frequency multiplier 1214 .
  • the frequency multiplier 1214 receives the After the third indication information, the level can be switched in advance according to the instruction of the third indication information.
  • the third indication information may further indicate how far in advance to switch.
  • the read-write driving circuit 122 can send the fourth indication information to the frequency multiplier 1214 when the level of the clock signal Input needs to be delayed and switched. In this way, the frequency multiplier 1214 can follow the fourth indication after receiving the fourth indication information.
  • the fourth indication information may further indicate how long to delay the handover.
  • the frequency multiplier 1214 may further divide the clock signal Inner into two clock signals with different frequencies, and provide them to the multi-state writing circuit 128 and the sense amplifier 126 respectively.
  • the multi-state write circuit 128 and the sense amplifier 126 can also correspond to different operating clocks respectively, which helps to individually adjust the read and write operations in the memory and further improves the flexibility of the read and write controller 120 .
  • FIG. 14 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
  • the clock generation circuit 121 may further include a third clock generator 1215 and a fourth clock generator 1215 .
  • the output terminal of the third clock generator 1215 is connected to the clock output terminal B 1
  • the output terminal of the fourth clock generator 1216 is connected to the clock output terminal B 2 .
  • the third clock generator 1215 may generate and provide the clock signal Input to the clock output terminal B 1 to output the clock signal Input to the multi-state write circuit 128 and the sense amplifier 126 through the clock output terminal B 1 .
  • Fourth clock generator 1216 may generate and provide clock signal Inner to clock output B 2 to output clock signal Inner to one or more other than multi-state write circuit 128 and sense amplifier 126 through clock output B 2 . circuit.
  • the read-write driving circuit 122 when it needs to switch the level of the clock signal Input in advance, it can send the fifth instruction information to the third clock generator 1215 .
  • the third clock generator 1215 After receiving the fifth indication information, the level can be switched in advance according to the instruction of the fifth indication information.
  • the fifth indication information may further indicate how far in advance to switch.
  • the read-write driving circuit 122 can send the sixth indication information to the third clock generator 1215 when the level of the clock signal Input needs to be delayed and switched.
  • the third clock generator 1215 can The switching level is delayed according to the instruction of the sixth instruction information.
  • the sixth indication information may further indicate how long to delay the handover.
  • Embodiment 3 merely exemplarily introduces three possible structures of the clock generating circuit. It should be understood that the present application does not limit the clock generation circuit to only have these structures. As long as the clock generation circuit capable of generating two clock signals with different frequencies is within the scope of protection of the present application, the present application will not address them one by one. Repeat.
  • each component in the above embodiments of the present application refers to functional devices, and the present application does not limit the specific implementation of these functional components.
  • the MOS transistors described above can also be replaced with other devices, such as transistors, which can be switched on and off through level switching.
  • embodiments of the present application further provide a memory, including any of the above-mentioned read-write controllers and a storage array.
  • the read-write controller can be connected to the storage array, and is used for reading and writing data in the storage array according to the solutions introduced in the above embodiments.
  • the embodiments of the present application further provide an electronic device, the electronic device includes the above-mentioned memory and a PCB, and the memory is provided on the surface of the PCB.
  • the electronic device includes, but is not limited to, a smartphone, a smart watch, a tablet, a VR device, an AR device, an in-vehicle device, a desktop computer, a personal computer, a handheld computer, or a personal digital assistant.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line, DSL) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, high-density digital video discs (DVDs)), or semiconductor media (eg, solid state discs, SSD)) etc.
  • a component may be, but is not limited to, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer.
  • an application running on a computing device and the computing device may be components.
  • One or more components may reside within a process and/or thread of execution, and a component may be localized on one computer and/or distributed between two or more computers.
  • these components can execute from various computer readable media having various data structures stored thereon.
  • a component may, for example, be based on a signal having one or more data packets (eg, data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet interacting with other systems via signals) Communicate through local and/or remote processes.
  • data packets eg, data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet interacting with other systems via signals
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .

Abstract

A read/write controller, a memory and an electronic device, which are used for improving the write flexibility of the memory. The read/write controller comprises a clock generation circuit, a multi-state write circuit, a row decoding circuit and a column decoding circuit. The clock generation circuit provides a first clock signal to the multi-state write circuit, and provides a second clock signal to the row decoding circuit and the column decoding circuit. By configuring a separate working clock to the multi-state write circuit, the read/write controller is enabled to flexibly configure the current working clock of the multi-state write circuit according to the current process deviation, which not only helps to improve the flexibility of a multi-state write operation, but also enables the write operation to better match the current process deviation by adjusting the current working clock of the multi-state write circuit, thereby improving the capability of the read/write controller to cope with different process deviations. Furthermore, the multi-state write circuit can also write at least two states into a memory array in one clock cycle of the first clock signal, thus further contributing to improving the writing efficiency of the read/write controller.

Description

一种读写控制器、存储器及电子设备A read-write controller, memory and electronic equipment 技术领域technical field
本申请涉及存储器技术领域,尤其涉及一种读写控制器、存储器及电子设备。The present application relates to the technical field of memory, and in particular, to a read-write controller, a memory and an electronic device.
背景技术Background technique
近年来,随着半导体技术的发展与普及,众多新型存储器也不断涌现,如铁电随机存取存储器(ferroelectric random access memory,FeRAM)、相变随机存取存储器(phase change random access memory,PCRAM)、磁性随机存取存储器(magnetic random access memory,MRAM)和阻变随机存取存储器(resistive random access memory,ReRAM)等。这些新型存储器具有更小的存储单元尺寸,并能以更低的功耗实现更快的存取速度,在现阶段得到了越来越广泛的应用。In recent years, with the development and popularization of semiconductor technology, many new types of memory have emerged, such as ferroelectric random access memory (FeRAM), phase change random access memory (PCRAM) , magnetic random access memory (magnetic random access memory, MRAM) and resistive random access memory (resistive random access memory, ReRAM) and so on. These new types of memories have smaller memory cell size and can achieve faster access speed with lower power consumption, and have been more and more widely used at this stage.
然而,现有技术中的存储器对其内部各电路都使用同一时钟信号作为工作时钟。这种方式实际上将存储器的写入操作和其它各项操作耦合在一起,使得存储器只能按照同一工作时钟执行写入操作和其它各项操作,而无法按照自己所需的工作时钟执行写入操作。这种方式降低了存储器的写入灵活性。However, the memory in the prior art uses the same clock signal as the operating clock for each of its internal circuits. In this way, the write operation of the memory is actually coupled with other operations, so that the memory can only execute the write operation and other operations according to the same working clock, but cannot execute the writing according to the working clock required by itself. operate. This approach reduces the write flexibility of the memory.
有鉴于此,本申请提供一种读写控制器,用以提高存储器的写入灵活性。In view of this, the present application provides a read-write controller to improve the writing flexibility of a memory.
发明内容SUMMARY OF THE INVENTION
本申请提供一种读写控制器、存储器及电子设备,用以提高存储器的写入灵活性。The present application provides a read-write controller, a memory and an electronic device to improve the writing flexibility of the memory.
第一方面,本申请提供一种读写控制器,包括时钟产生电路、多状态写电路、行译码电路和列译码电路。其中,时钟产生电路包括第一时钟输出端和第二时钟输出端,第一时钟输出端输出的第一时钟信号的时钟频率高于第二时钟输出端输出的第二时钟信号的时钟频率。其中,第一时钟输出端可以连接多状态写电路的输入端,多状态写电路的输出端可以连接存储阵列,如此,多状态写电路可以在第一时钟输出端输出的第一时钟信号提供的工作时钟下,在一个时钟周期内向存储阵列写入至少两个状态。第二时钟输出端可以分别连接行译码电路的输入端和列译码电路的输入端,行译码电路的输出端和列译码电路的输出端可以分别连接存储阵列,如此,行译码电路和列译码电路能在第二时钟信号提供的工作时钟下执行各自的译码操作。In a first aspect, the present application provides a read/write controller, including a clock generation circuit, a multi-state write circuit, a row decoding circuit and a column decoding circuit. The clock generating circuit includes a first clock output terminal and a second clock output terminal, and the clock frequency of the first clock signal output by the first clock output terminal is higher than the clock frequency of the second clock signal output by the second clock output terminal. The first clock output terminal can be connected to the input terminal of the multi-state write circuit, and the output terminal of the multi-state write circuit can be connected to the storage array. In this way, the multi-state write circuit can be provided by the first clock signal output by the first clock output terminal. Under the operating clock, at least two states are written to the memory array in one clock cycle. The second clock output terminal can be connected to the input terminal of the row decoding circuit and the input terminal of the column decoding circuit respectively, and the output terminal of the row decoding circuit and the output terminal of the column decoding circuit can be respectively connected to the storage array. The circuit and the column decoding circuit can perform respective decoding operations under the operating clock provided by the second clock signal.
在上述设计中,通过为多状态写电路和读写控制器中的其它电路(如行译码电路和列译码电路)配置不同的工作时钟,使得读写控制器可以使用单独的工作时钟执行多状态写操作,这种方式实现了对多状态写操作与其它操作的解耦,不仅有助于提高多状态写操作的灵活性,还不会在调整读写操作对应的工作时钟的情况下影响到其它电路的正常工作。且,该方式下的多状态写电路能在一个时钟周期内写入至少两个状态,而不用在每个时钟周期内写入一个状态,因此这种方式还有助于提高读写控制器的写入效率。此外,上述设计通过为多状态写电路提供单独的工作时钟,还能根据存储器当前的工艺偏差灵活配置多状态写电路当前的工作时钟,以尽量使读写控制器的写入操作更加匹配当前的工艺偏差,提高读写控制器应对不同工艺偏差的能力。In the above design, by configuring different operating clocks for the multi-state write circuit and other circuits in the read-write controller (such as the row decoding circuit and the column decoding circuit), the read-write controller can use a separate operating clock to execute Multi-state write operation, this method realizes the decoupling of multi-state write operation and other operations, which not only helps to improve the flexibility of multi-state write operation, but also does not adjust the working clock corresponding to read and write operations. affect the normal operation of other circuits. Moreover, the multi-state write circuit in this way can write at least two states in one clock cycle, instead of writing one state in each clock cycle, so this way also helps to improve the read-write controller's performance. write efficiency. In addition, by providing a separate working clock for the multi-state write circuit, the above design can flexibly configure the current working clock of the multi-state write circuit according to the current process deviation of the memory, so as to make the write operation of the read-write controller match the current Process deviation, improve the ability of the read-write controller to deal with different process deviations.
在一种可能的设计中,读写控制器还可以包括灵敏放大器,灵敏放大器的时钟控制端 可以连接第一时钟输出端,灵敏放大器的第一输入端可以连接存储阵列中的参考单元,灵敏放大器的第二输入端可以连接存储阵列中的至少一个存储单元,灵敏放大器的输出端可以连接读取设备。在上述设计中,通过灵敏放大器配置单独的工作时钟,使得读写控制器还可以使用单独的工作时钟执行读取操作,这种方式实现了对读取操作与其它操作的解耦,有助于提高读取操作的灵活性。更进一步的,该设计为灵敏放大器和多状态写电路设置了同一工作时钟,而没有单独分配工作时钟,因此还能在独立控制读写操作的同时进一步降低电路结构的复杂性,降低电路成本。In a possible design, the read/write controller may further include a sense amplifier, the clock control end of the sense amplifier may be connected to the first clock output end, the first input end of the sense amplifier may be connected to the reference unit in the storage array, and the sense amplifier The second input terminal of the sensor can be connected to at least one storage unit in the storage array, and the output terminal of the sense amplifier can be connected to a reading device. In the above design, a separate operating clock is configured through the sense amplifier, so that the read-write controller can also use a separate operating clock to perform the read operation. This method realizes the decoupling of the read operation from other operations, which is helpful for Improve the flexibility of read operations. Furthermore, the design sets the same working clock for the sense amplifier and the multi-state writing circuit, without distributing the working clock separately, so it can further reduce the complexity of the circuit structure and the circuit cost while independently controlling the read and write operations.
在一种可能的设计中,当存储阵列处于读出模式时,在第一时钟信号的一个周期内,若第一时钟信号从第二电平切换到第一电平,则灵敏放大器获取参考单元中的参考信号以及至少一个存储单元中的存储信号,并根据参考信号和存储信号计算得到存储单元中存储的数据。该设计能通过调整时钟信号的电平切换时刻灵活调整灵敏放大器的开启时刻,如可以在位线充放电较快时提前开启灵敏放大器以提高读取效率,或在位线充放电较慢时晚开启灵敏放大器以提高读取的准确性,这种方式不仅能使读写控制器适应于不同的读取场景,还无需额外设置反相器等部件,有助于降低读写控制器的成本和电路结构的复杂性。In a possible design, when the memory array is in the readout mode, within one cycle of the first clock signal, if the first clock signal switches from the second level to the first level, the sense amplifier obtains the reference cell The reference signal in and the storage signal in at least one storage unit, and the data stored in the storage unit is obtained by calculating according to the reference signal and the storage signal. The design can flexibly adjust the turn-on time of the sense amplifier by adjusting the level switching time of the clock signal. For example, the sense amplifier can be turned on in advance when the bit line is charged and discharged quickly to improve the read efficiency, or when the charge and discharge of the bit line is slow. Turn on the sense amplifier to improve the accuracy of reading. This method not only makes the read-write controller adapt to different reading scenarios, but also does not require additional components such as inverters, which helps to reduce the cost and cost of the read-write controller. The complexity of the circuit structure.
本申请中,能生成两个时钟信号的时钟产生电路可以有多种可能,例如:In this application, the clock generation circuit capable of generating two clock signals may have various possibilities, such as:
在一种可能的设计中,时钟产生电路还可以包括第一时钟生成器和分频器,第一时钟生成器的输出端分别连接第一时钟输出端和分频器的输入端,分频器的输出端连接第二时钟输出端。如此,第一时钟生成器可以生成第一时钟信号并分别提供给第一时钟输出端和分频器,一方面第一时钟信号可以通过第一时钟输出端提供给多状态写电路(和灵敏放大器),另一方面还可以通过分频器分频为更低频率的第二时钟信号并提供给第二时钟输出端,由第二时钟输出端提供给行译码电路和列译码电路。该设计能通过一个时钟生成器和一个分频器得到两种不同频率的时钟信号。In a possible design, the clock generating circuit may further include a first clock generator and a frequency divider. The output end of the first clock generator is connected to the first clock output end and the input end of the frequency divider, respectively. The frequency divider The output terminal is connected to the second clock output terminal. In this way, the first clock generator can generate the first clock signal and provide it to the first clock output terminal and the frequency divider respectively. On the one hand, the first clock signal can be provided to the multi-state writing circuit (and the sense amplifier) through the first clock output terminal. ), on the other hand, it can also be divided into a lower frequency second clock signal by a frequency divider and supplied to the second clock output terminal, which is supplied to the row decoding circuit and the column decoding circuit by the second clock output terminal. The design can obtain two different frequency clock signals through a clock generator and a frequency divider.
在另一种可能的设计中,时钟产生电路还可以包括第二时钟生成器和倍频器,第二时钟生成器的输出端分别连接第二时钟输出端和倍频器的输入端,倍频器的输出端连接第一时钟输出端。如此,第二时钟生成器可以生成第二时钟信号并分别提供给第二时钟输出端和倍频器,一方面第二时钟信号可以通过第二时钟输出端提供给行译码电路和列译码电路,另一方面还可以通过倍频器分频为更高频率的第一时钟信号后提供给第一时钟输出端,由第一时钟输出端提供给多状态写电路(和灵敏放大器)。该设计能通过一个时钟生成器和一个倍频器得到两种不同频率的时钟信号。In another possible design, the clock generation circuit may further include a second clock generator and a frequency multiplier, and the output end of the second clock generator is respectively connected to the second clock output end and the input end of the frequency multiplier, and the frequency multiplier is The output end of the device is connected to the first clock output end. In this way, the second clock generator can generate the second clock signal and provide it to the second clock output terminal and the frequency multiplier respectively. On the one hand, the second clock signal can be provided to the row decoding circuit and the column decoding circuit through the second clock output terminal. The circuit, on the other hand, can also be divided into a higher frequency first clock signal by a frequency multiplier and then supplied to the first clock output terminal, which is then supplied to the multi-state writing circuit (and the sense amplifier) by the first clock output terminal. The design can obtain two different frequency clock signals through a clock generator and a frequency multiplier.
在又一种可能的设计中,时钟产生电路还可以包括第三时钟生成器和第四时钟生成器,第三时钟生成器的输出端连接第一时钟输出端,第四时钟生成器的输出端连接第二时钟输出端。如此,第三时钟生成器可以生成第一时钟信号并提供给第一时钟输出端,以通过第一时钟输出端提供给多状态写电路(和灵敏放大器),第四时钟生成器可以生成第二时钟信号并提供给第二时钟输出端,以通过第二时钟输出端提供给行译码电路和列译码电路。该设计能通过两个时钟生成器得到两种不同频率的时钟信号。In yet another possible design, the clock generating circuit may further include a third clock generator and a fourth clock generator, the output end of the third clock generator is connected to the first clock output end, and the output end of the fourth clock generator Connect the second clock output. As such, a third clock generator can generate and provide a first clock signal to a first clock output for supply to the multi-state write circuit (and sense amplifier) via the first clock output, and a fourth clock generator can generate a second The clock signal is also supplied to the second clock output terminal to be supplied to the row decoding circuit and the column decoding circuit through the second clock output terminal. The design can obtain two clock signals with different frequencies through two clock generators.
在一种可能的设计中,多状态写电路可以包括反相器、第一金属-氧化物-半导体型(metal oxide semiconductor,MOS)管和第二MOS管,反相器的输入端和第二MOS管的栅极分别连接多状态写电路的输入端,反相器的输出端连接第一MOS管的栅极,第一MOS管的源极连接第一电源,第二MOS管的源极连接第二电源,第一MOS管的漏极和第二MOS管的漏极连接存储阵列。该设计可以仅通过一个反相器和两个MOS管实现在一个时 钟周期内向存储单元连续写入至少两个状态,不仅能简化电路结构,还能使两个MOS管在时钟信号的同一电平下处于相反的状态,如此,读写控制器通过控制时钟信号的电平切换就能实现写入状态的切换。In one possible design, the multi-state write circuit may include an inverter, a first metal oxide semiconductor (MOS) transistor and a second MOS transistor, an input terminal of the inverter and a second MOS transistor. The gates of the MOS tubes are respectively connected to the input terminals of the multi-state writing circuit, the output terminals of the inverters are connected to the gates of the first MOS tubes, the sources of the first MOS tubes are connected to the first power supply, and the sources of the second MOS tubes are connected to For the second power supply, the drain of the first MOS transistor and the drain of the second MOS transistor are connected to the storage array. This design can realize continuous writing of at least two states to the memory cell in one clock cycle through only one inverter and two MOS tubes, which not only simplifies the circuit structure, but also enables the two MOS tubes to be at the same level of the clock signal. In the opposite state, the read-write controller can realize the switching of the writing state by controlling the level switching of the clock signal.
在一种可能的设计中,当存储阵列处于写入模式时,在第一时钟信号的一个周期内,若第一时钟信号从第一电平切换到第二电平,则多状态写电路向存储阵列写入第一状态,若第一时钟信号从第二电平切换到第一电平,则多状态写电路向存储阵列写入第二状态。该设计能通过调节第一时钟信号的电平切换时刻,能使多状态写电路刚好在工艺偏差所对应的写入时长后再开始写入第二个状态,以准确追踪存储器的工艺偏差,提高读写控制器抵御多种工艺偏差的影响的能力。In a possible design, when the memory array is in the write mode, within one cycle of the first clock signal, if the first clock signal switches from the first level to the second level, the multi-state write circuit will write to the The memory array writes the first state, and if the first clock signal switches from the second level to the first level, the multi-state write circuit writes the second state to the memory array. In this design, by adjusting the level switching moment of the first clock signal, the multi-state writing circuit can start to write the second state just after the writing time corresponding to the process deviation, so as to accurately track the process deviation of the memory and improve the The ability of the read-write controller to withstand the effects of various process variations.
第二方面,本申请提供一种存储器,包括存储阵列和如上述第一方面任一项所述的读写控制器,读写控制器可以连接存储阵列,存储阵列可以用于存储数据,读写控制器可以向该存储阵列写入数据,或,从该存储阵列中读取数据。In a second aspect, the present application provides a memory, including a storage array and the read-write controller according to any one of the above first aspects, the read-write controller can be connected to the storage array, the storage array can be used to store data, read and write The controller can write data to the storage array, or read data from the storage array.
第三方面,本申请提供一种电子设备,包括印刷电路板(printed circuit board,PCB)和上述第二方面中所提供的存储器,该存储器设置在PCB的表面。In a third aspect, the present application provides an electronic device, comprising a printed circuit board (PCB) and the memory provided in the second aspect above, where the memory is provided on a surface of the PCB.
具体地,该电子设备包括但不限于:智能手机、智能手表、平板电脑、虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、车载设备、台式计算机、个人计算机、手持式计算机或个人数字助理。Specifically, the electronic devices include, but are not limited to: smart phones, smart watches, tablet computers, virtual reality (VR) devices, augmented reality (AR) devices, in-vehicle devices, desktop computers, personal computers, handheld computer or personal digital assistant.
本申请的上述各个方面或其它方面具体将在以下的实施例中进行详细的介绍。The above-mentioned aspects or other aspects of the present application will be described in detail in the following embodiments.
附图说明Description of drawings
图1示例性示出本申请实施例适用的一种存储器的内部结构示意图;FIG. 1 exemplarily shows a schematic diagram of the internal structure of a memory to which an embodiment of the present application is applicable;
图2示例性示出本申请实施例提供的一种读写控制器的结构示意图;FIG. 2 exemplarily shows a schematic structural diagram of a read-write controller provided by an embodiment of the present application;
图3示例性示出本申请实施例提供的另一种读写控制器的结构示意图;FIG. 3 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application;
图4示例性示出本申请实施例提供的一种多状态写方案的示意图;FIG. 4 exemplarily shows a schematic diagram of a multi-state write solution provided by an embodiment of the present application;
图5示例性示出本申请实施例提供的另一种多状态写方案的示意图;FIG. 5 exemplarily shows a schematic diagram of another multi-state write scheme provided by an embodiment of the present application;
图6示例性示出本申请实施例提供的一种多状态写电路的性能对比图;FIG. 6 exemplarily shows a performance comparison diagram of a multi-state write circuit provided by an embodiment of the present application;
图7示例性示出本申请实施例提供的又一种读写控制器的结构示意图;FIG. 7 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application;
图8示例性示出本申请实施例提供的又一种读写控制器的结构示意图;FIG. 8 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application;
图9示例性示出本申请实施例提供的又一种读写控制器的结构示意图;FIG. 9 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application;
图10示例性示出本申请实施例提供的一种读取方案的对比图;FIG. 10 exemplarily shows a comparison diagram of a reading scheme provided by an embodiment of the present application;
图11示例性示出本申请实施例提供的一种读写控制时序图;FIG. 11 exemplarily shows a read-write control sequence diagram provided by an embodiment of the present application;
图12示例性示出本申请实施例提供的又一种读写控制器的结构示意图;FIG. 12 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application;
图13示例性示出本申请实施例提供的又一种读写控制器的结构示意图;FIG. 13 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application;
图14示例性示出本申请实施例提供的又一种读写控制器的结构示意图。FIG. 14 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application.
具体实施方式Detailed ways
本申请所公开的读写控制器可以适用于具有读写功能的设备,例如可以适用于只具有读写功能的存储设备,如存储器,也可以适用于具有读写功能且还具有其它功能的电子设备。在本申请一些实施例中,读写控制器可以是一个独立的单元,该单元可以嵌入在电子 设备中,并能对该电子设备的存储器进行读写控制。在本申请另一些实施例中,读写控制器也可以是封装在电子设备内部的单元,用于实现该电子设备的存储器的读写控制功能。电子设备可以是包含诸如个人数字助理和/或音乐播放器等功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴设备(如智能手表)、或车载设备等。便携式电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2020137718-appb-000001
或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是诸如具有触敏表面(例如触控面板)的膝上型计算机(Laptop)等。还应当理解的是,在本申请其他一些实施例中,上述电子设备也可以是具有触敏表面(例如触控面板)的台式计算机。
The read-write controller disclosed in this application can be applied to devices with read-write functions, for example, can be applied to storage devices that only have read-write functions, such as memories, and can also be applied to electronic devices with read-write functions and other functions. equipment. In some embodiments of the present application, the read-write controller may be an independent unit, and the unit may be embedded in an electronic device and can perform read-write control of the memory of the electronic device. In other embodiments of the present application, the read-write controller may also be a unit packaged inside the electronic device, and is used to implement the read-write control function of the memory of the electronic device. The electronic device may be a portable electronic device including functions such as a personal digital assistant and/or a music player, such as a mobile phone, a tablet computer, a wearable device with wireless communication capabilities (eg, a smart watch), or a vehicle-mounted device. Exemplary embodiments of portable electronic devices include, but are not limited to, carry-on
Figure PCTCN2020137718-appb-000001
Or portable electronic devices with other operating systems. The aforementioned portable electronic device may also be, for example, a laptop computer (Laptop) having a touch-sensitive surface (eg, a touch panel). It should also be understood that, in some other embodiments of the present application, the above-mentioned electronic device may also be a desktop computer having a touch-sensitive surface (eg, a touch panel).
示例性地,存储器可以是易失性存储器,或可包括易失性和非易失性存储器两者。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM),又如FeRAM、PCRAM、MRAM和ReRAM等新型存储器。当存储器还包括非易失性存储器时,该非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器Illustratively, the memory may be volatile memory, or may include both volatile and nonvolatile memory. Volatile memory may be random access memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (direct rambus RAM, DR RAM), and new types of memories such as FeRAM, PCRAM, MRAM and ReRAM. When the memory further includes non-volatile memory, the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory Memory (erasable PROM, EPROM), electrically erasable programmable read-only memory
(electrically EPROM,EEPROM)或闪存。当存储器包括易失性存储器和非易失性存储器两者时,本申请中的读写控制器可以用于读出非易失性存储器和/或易失性存储器中的数据,还可以用于向易失性存储器中写入数据。应注意,本申请描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。(electrically EPROM, EEPROM) or flash memory. When the memory includes both volatile memory and non-volatile memory, the read-write controller in this application can be used to read data in the non-volatile memory and/or the volatile memory, and can also be used to Write data to volatile memory. It should be noted that the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。需要理解的是,在本申请的下列描述中,“多个”可以理解为“至少两个”。“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。例如,下文所指出的“第一时钟信号”和“第二时钟信号”,只是用于指示不同的时钟信号,而并不具有先后顺序、优先级或重要程度上的不同。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It should be understood that in the following description of the present application, "a plurality" can be understood as "at least two". Words such as "first" and "second" are only used for the purpose of distinguishing and describing, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order. For example, the "first clock signal" and "second clock signal" mentioned below are only used to indicate different clock signals, and do not have differences in order, priority or importance.
图1示例性示出本申请实施例适用的一种存储器的内部结构示意图。FIG. 1 exemplarily shows a schematic diagram of the internal structure of a memory to which an embodiment of the present application is applied.
应理解,图示存储器100仅是一个范例,并且存储器100可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated memory 100 is only an example, and that the memory 100 may have more or fewer components than those shown, two or more components may be combined, or may have different component configurations . The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
如图1所示,存储器100可以包括存储阵列110和读写控制器120。读写控制器120可以包括时钟产生电路121、读写驱动电路122、行译码电路123、字线(word line,WL)电路124、列译码电路125、灵敏放大器126和输入输出驱动电路127等。其中,读写控制器120中的各个部件是指功能部件,这些部件可以作为单独的器件分别进行设置,也可以在一个器件中实现,还可以按照任意组合的方式设置在至少两个器件中,本申请对此不作具体限定。As shown in FIG. 1 , the memory 100 may include a memory array 110 and a read-write controller 120 . The read/write controller 120 may include a clock generation circuit 121 , a read/write driving circuit 122 , a row decoding circuit 123 , a word line (WL) circuit 124 , a column decoding circuit 125 , a sense amplifier 126 and an input/output driving circuit 127 Wait. Among them, each component in the read-write controller 120 refers to functional components, and these components can be set as separate components, or can be implemented in one device, or can be set in at least two devices in any combination. This application does not specifically limit this.
下面结合图1对存储器100中的各个部件进行详细的介绍:Each component in the memory 100 will be described in detail below with reference to FIG. 1 :
存储阵列110,用于存储数据,是由多个存储单元按照行列方式所排列成的矩阵阵列。其中,多个存储单元中的每个存储单元都能存放1位二进制数据,如0或1。多个存储单元可能位于不同的磁盘,也可能位于同一磁盘的不同磁道。当多个存储单元位于不同的磁盘时,这种排列方式实际上将多个磁盘合并为一个磁盘来使用:在需要存储数据时,将数据拆分为多个数据段并分别存储在多个磁盘中;在需要取出数据时,多个磁盘一起动作以并行输出各自所对应的数据段。在存储器中采用这种排列方式存储数据,不仅能通过多个磁盘的并行存取有效提高数据的读写效率,还能通过阵列排列方式提高存储器的空间利用率。The storage array 110, used for storing data, is a matrix array formed by a plurality of storage cells arranged in rows and columns. Wherein, each storage unit in the plurality of storage units can store 1-bit binary data, such as 0 or 1. Multiple storage units may be located on different disks or on different tracks of the same disk. When multiple storage units are located on different disks, this arrangement actually combines multiple disks into one disk for use: when data needs to be stored, the data is split into multiple data segments and stored separately on multiple disks In; when data needs to be fetched, multiple disks act together to output their corresponding data segments in parallel. Using this arrangement to store data in the memory can not only effectively improve the reading and writing efficiency of the data through parallel access of multiple disks, but also improve the space utilization of the memory through the array arrangement.
时钟产生电路121,用于向读写控制器120中的各个部件提供工作时钟。时钟产生电路121可以具有多个时钟输出端,多个时钟输出端中的每个时钟输出端可以连接读写控制器120中的一个或多个部件,以通过每个时钟输出端向所连接的一个或多个部件提供工作时钟。如图1所示,在该示例中:时钟产生电路121可以包括五个时钟输出端,即时钟输出端A 1、时钟输出端A 2、时钟输出端A 3、时钟输出端A 4和时钟输出端A 5;时钟输出端A 1分别连接灵敏放大器126和输入输出驱动电路127,时钟产生电路121可以通过时钟输出端A 1向灵敏放大器126和输入输出驱动电路127提供同一工作时钟;时钟输出端A 2连接读写驱动电路122,时钟产生电路121可以通过时钟输出端A 2向读写驱动电路122提供工作时钟;时钟输出端A 3连接字线电路124,时钟产生电路121可以通过时钟输出端A 3向字线电路124提供工作时钟;时钟输出端A 4连接行译码电路123,时钟产生电路121可以通过时钟输出端A 4向行译码电路123提供工作时钟;时钟输出端A 5连接列译码电路125,时钟产生电路121可以通过时钟输出端A 5向列译码电路125提供工作时钟。示例性地,虽然图1中未示出,但存储阵列110也可以具有工作时钟。存储阵列110的工作时钟可以由时钟产生电路121提供,也可以由存储阵列110内部封装的单独的时钟生成器提供,还可以由电子设备中的其它部件提供,本申请对此不作具体限定。 The clock generating circuit 121 is used to provide the working clock to each component in the read-write controller 120 . The clock generation circuit 121 may have a plurality of clock output terminals, and each clock output terminal of the plurality of clock output terminals may be connected to one or more components in the read/write controller 120, so as to send the clock output terminal to the connected device through each clock output terminal. One or more components provide the operating clock. As shown in FIG. 1 , in this example, the clock generation circuit 121 may include five clock output terminals, namely, clock output terminal A 1 , clock output terminal A 2 , clock output terminal A 3 , clock output terminal A 4 and clock output terminal A 4 , and clock output terminal A 2 . Terminal A5 ; the clock output terminal A1 is respectively connected to the sense amplifier 126 and the input and output driving circuit 127, and the clock generating circuit 121 can provide the same working clock to the sensitive amplifier 126 and the input and output driving circuit 127 through the clock output terminal A1 ; the clock output terminal A 2 is connected to the read-write drive circuit 122, and the clock generation circuit 121 can provide a working clock to the read-write drive circuit 122 through the clock output terminal A 2 ; the clock output terminal A 3 is connected to the word line circuit 124, and the clock generation circuit 121 can pass the clock output terminal. A3 provides the working clock to the word line circuit 124 ; the clock output terminal A4 is connected to the row decoding circuit 123, and the clock generating circuit 121 can provide the working clock to the row decoding circuit 123 through the clock output terminal A4 ; the clock output terminal A5 is connected to The column decoding circuit 125 and the clock generating circuit 121 can provide the column decoding circuit 125 with a working clock through the clock output terminal A5. Illustratively, although not shown in FIG. 1 , the memory array 110 may also have an operating clock. The operating clock of the storage array 110 may be provided by the clock generating circuit 121, or may be provided by a separate clock generator packaged inside the storage array 110, or may be provided by other components in the electronic device, which are not specifically limited in this application.
行译码电路123,用于译码行地址信息得到目标存储单元所在的行。The row decoding circuit 123 is used for decoding the row address information to obtain the row where the target storage unit is located.
字线电路124,可以包括与存储阵列110中的多行存储单元一一对应的多条字线,每条字线的输入端连接行译码电路123的输出端,每条字线的输出端连接所对应的一行存储单元的控制端。行译码电路123在译码得到目标存储单元所在的行后,还可以向字线电路124中目标存储单元所在的行所连接的目标字线发送译码选择信号以指示目标字线工作,向字线电路124中的其它字线发送译码关闭信号以指示其它字线等待。目标字线在工作时可以向所连接的存储单元行输出第一字线信号(如高电平)以开启所连接的存储单元行,其它字线在等待时可以向所连接的存储单元行输出第二字线信号(如低电平)以关闭所连接的存储单元行。The word line circuit 124 may include a plurality of word lines corresponding to a plurality of rows of memory cells in the memory array 110, the input end of each word line is connected to the output end of the row decoding circuit 123, and the output end of each word line Connect to the control terminal of the corresponding row of storage units. After the row decoding circuit 123 decodes and obtains the row where the target memory cell is located, it can also send a decoding selection signal to the target word line connected to the row where the target memory cell is located in the word line circuit 124 to instruct the target word line to work, and send a decoding selection signal to the target word line. The other word lines in word line circuit 124 send decode off signals to instruct the other word lines to wait. When the target word line is working, it can output the first word line signal (such as a high level) to the connected memory cell row to turn on the connected memory cell row, and other word lines can output to the connected memory cell row while waiting. A second word line signal (eg, low) to turn off the connected row of memory cells.
列译码电路125,用于译码列地址信息得到目标存储单元所在的列。The column decoding circuit 125 is used for decoding the column address information to obtain the column where the target memory cell is located.
读写驱动电路122,用于读写目标存储单元中的数据。读写驱动电路122的输入端连接列译码电路125的输出端(图1未进行示意),读写驱动电路122的输出端连接各个存储单元。列译码电路125在译码得到目标存储单元所在的列后,可以向读写驱动电路122发送指示信息,以指示读写驱动电路122读写目标存储单元所在的列的数据。此时,只有目标存储单元所在的行开启,因此读写驱动电路122读写的数据即为目标存储单元中的数据。The read-write driving circuit 122 is used for reading and writing data in the target storage unit. The input terminal of the read-write driving circuit 122 is connected to the output terminal of the column decoding circuit 125 (not shown in FIG. 1 ), and the output terminal of the read-write driving circuit 122 is connected to each memory cell. After the column decoding circuit 125 decodes the column where the target memory cell is located, it can send instruction information to the read-write driving circuit 122 to instruct the read-write driving circuit 122 to read and write the data of the column where the target memory cell is located. At this time, only the row where the target memory cell is located is turned on, so the data read and written by the read-write driving circuit 122 is the data in the target memory cell.
按照上述内容可知,读写驱动电路122可以联合读写控制器120中的其它电路实现对 存储阵列中的数据的读写操作。下面分别从写入数据和读取数据两个方面进行详细介绍:According to the above content, the read-write driving circuit 122 can cooperate with other circuits in the read-write controller 120 to realize the read-write operation of the data in the storage array. The following is a detailed introduction from the two aspects of writing data and reading data:
读写驱动电路122可以联合行译码电路123、字线电路124和列译码电路125向存储阵列110中写入数据。假设外部设备200(如读写设备或处理器)要向位于存储阵列110的第三行第四列处的目标存储单元写入“0”,则外部设备200可以先向读写驱动电路122发送一个写入请求,并在该写入请求中携带目标存储单元的行地址信息和列地址信息。读写驱动电路122将该写入请求中携带的行地址信息发送给行译码电路123,行译码电路123译码该行地址信息确定目标存储单元所在的行为第三行,因此行译码电路123向字线电路124中第三行存储单元对应的目标字线发送译码选择信号,使目标字线开启第三行存储单元。之后,读写驱动电路122还可以将该写入请求中携带的列地址信息发送给列译码电路125,列译码电路125译码列地址信息得到目标存储单元所在的列为第四列,因此列译码电路125向读写驱动电路122返回响应,以指示读写驱动电路122向第四列存储单元中已开启的第三行目标存储单元写入数据。其中,读写驱动电路122中设置有写入电路(如多状态写电路),读写驱动电路触发时钟产生电路121输出待写入数据对应的电平至写入电路,如在需要写入“0”时触发时钟产生电路121向写入电路输出高电平,该高电平与写入电路本地的参考电平形成第一电压差以驱动写入电路向目标存储单元写入“0”,在需要写入“1”时触发时钟产生电路121向写入电路输出低电平,该低电平与写入电路本地的参考电平形成第二电压差以驱动写入电路向目标存储单元写入“1”。由此可知,在连续写入两个状态的场景中,待写入的两个状态所对应的第一电压差和第二电压差的产生时间决定了何时开始写入这两个状态。The read-write driving circuit 122 can combine the row decoding circuit 123 , the word line circuit 124 and the column decoding circuit 125 to write data into the memory array 110 . Assuming that the external device 200 (such as a read-write device or a processor) wants to write “0” to the target memory cell located at the third row and fourth column of the memory array 110 , the external device 200 can first send a message to the read-write driving circuit 122 A write request, and the write request carries the row address information and column address information of the target memory cell. The read-write drive circuit 122 sends the row address information carried in the write request to the row decoding circuit 123, and the row decoding circuit 123 decodes the row address information to determine the row where the target memory cell is located. Therefore, the row decoding The circuit 123 sends a decoding selection signal to the target word line corresponding to the memory cells in the third row in the word line circuit 124, so that the target word line turns on the memory cells in the third row. After that, the read-write driving circuit 122 can also send the column address information carried in the write request to the column decoding circuit 125, and the column decoding circuit 125 decodes the column address information to obtain the fourth column of the column where the target memory cell is located, Therefore, the column decoding circuit 125 returns a response to the read-write driving circuit 122 to instruct the read-write driving circuit 122 to write data to the target memory cells in the third row that have been turned on in the memory cells in the fourth column. Among them, the read-write drive circuit 122 is provided with a write circuit (such as a multi-state write circuit), and the read-write drive circuit triggers the clock generation circuit 121 to output the level corresponding to the data to be written to the write circuit. 0", the clock generation circuit 121 is triggered to output a high level to the write circuit, and the high level and the local reference level of the write circuit form a first voltage difference to drive the write circuit to write "0" to the target memory cell, When "1" needs to be written, the clock generation circuit 121 is triggered to output a low level to the write circuit, the low level and the local reference level of the write circuit form a second voltage difference to drive the write circuit to write to the target memory cell Enter "1". It can be seen from this that in the scenario of continuously writing two states, the generation time of the first voltage difference and the second voltage difference corresponding to the two states to be written determines when to start writing the two states.
读写驱动电路122还可以联合行译码电路123、字线电路124、列译码电路125和灵敏放大器126读取存储阵列110中的数据。假设外部设备200要读取位于存储阵列110的第三行第四列处的目标存储单元中存储的数据,则外部设备200可以先向读写驱动电路122发送一个读取请求,并在该读取请求中携带目标存储单元的行地址信息和列地址信息。读写驱动电路122可以先按照与上述写入操作相同的逻辑,联合行译码电路123、字线电路124和列译码电路125打开位于存储阵列110的第三行第四列处的目标存储单元。之后,读写驱动电路122可以通过时钟产生电路121的电平触发(如输出低电平)已打开的目标存储单元(和参考单元,该充放电操作具体将在后文进行介绍,此次先不做说明)进行充放电,之后延时固定时长后或通过参考单元的控制来开启灵敏放大器,以使灵敏放大器126根据目标存储单元和参考单元之间的电势差确定已打开的目标存储单元中存储的数据。由此可知,在读取场景中,灵敏放大器的开启时间决定了何时开始读取数据。The read-write driving circuit 122 can also read the data in the memory array 110 in conjunction with the row decoding circuit 123 , the word line circuit 124 , the column decoding circuit 125 and the sense amplifier 126 . Assuming that the external device 200 wants to read the data stored in the target storage unit located at the third row and the fourth column of the storage array 110, the external device 200 can first send a read request to the read-write driving circuit 122, and in the read The fetch request carries the row address information and column address information of the target memory cell. The read-write driving circuit 122 can first open the target memory at the third row and the fourth column of the memory array 110 in conjunction with the row decoding circuit 123, the word line circuit 124 and the column decoding circuit 125 according to the same logic as the above-mentioned write operation. unit. After that, the read-write drive circuit 122 can trigger (eg, output a low level) the opened target memory cell (and the reference cell) through the level of the clock generation circuit 121. The charge and discharge operation will be described later. No description) to perform charging and discharging, and then after a fixed time delay or through the control of the reference unit, the sense amplifier is turned on, so that the sense amplifier 126 determines according to the potential difference between the target memory cell and the reference cell to store in the opened target memory cell. The data. It can be seen that in the reading scenario, the ON time of the sense amplifier determines when to start reading data.
输入输出驱动电路127,用于加强驱动以实现读写控制器120与外部设备200之间的交互。例如,在外部设备200请求读取存储阵列110中的数据时,输入输出驱动电路127可以先获取灵敏放大器126读出的数据,之后增大驱动电信号(如驱动电流)以向外部设备200输出该数据。又例如,在外部设备200请求向存储阵列110中写入数据时,输入输出驱动电路127可以先增大驱动电信号(如驱动电流)以从外部设备200获取待写入数据,之后再将该待写入数据发送给读写驱动电路122中的写入电路,以便于写入电路按照上述写入逻辑将待写入数据写入存储阵列110。The input and output driving circuit 127 is used to strengthen the driving to realize the interaction between the read-write controller 120 and the external device 200 . For example, when the external device 200 requests to read the data in the memory array 110 , the I/O driving circuit 127 can first obtain the data read by the sense amplifier 126 , and then increase the driving electrical signal (eg, driving current) to output to the external device 200 the data. For another example, when the external device 200 requests to write data into the storage array 110, the I/O driving circuit 127 can first increase the driving electrical signal (eg, driving current) to obtain the data to be written from the external device 200, and then The data to be written is sent to the writing circuit in the read-write driving circuit 122, so that the writing circuit can write the data to be written into the storage array 110 according to the above-mentioned writing logic.
尽管图1中未示出,存储器100还可以包括其它部件,如主存数据寄存器(memory data register,MDR)和主存地址寄存器(memory address register,MAR)等,在此不予赘述。Although not shown in FIG. 1 , the memory 100 may also include other components, such as a main memory data register (MDR) and a main memory address register (MAR), etc., which will not be repeated here.
现阶段,时钟产生电路通过各个时钟输出端(如上述时钟输出端A 1至时钟输出端A 5) 为读写控制器中的各部件提供固定频率的同一工作时钟。这实际上将读写控制器的读写操作以及其它各项操作(如译码操作、打开行的操作、打开列的操作和加强驱动的操作等)都耦合在一起,导致读写控制器只能按照同一工作时钟执行各项操作,而无法按照自己所需的工作时钟执行读写操作,从而读写控制器的读写灵活性较差。且,现阶段的读写控制方案依赖于具体的电路结构,只要电路结构固定了,那么读写控制流程中所涉及到的各个时间节点基本也就固定了,这导致读写控制的可调性较差。例如,在连续写入两个状态时,现阶段只能在开始写第一个状态之后间隔电路结构所对应的固定的时间间隔再写入第二个状态。然而,存储器在不同的工艺偏差影响下可能会需要不同的写入时间,例如当工艺偏差较大时,读写控制器可能需要很长的时间才能准确地将第一个状态写入存储阵列,这种情况下,读写控制器实际上需要一个较长的时间间隔来提高写入数据的准确性。当工艺偏差较小时,读写控制器可能在很短的时间内就能准确地将第一个状态写入存储阵列,这种情况下,读写控制器实际上需要一个较短的时间间隔以在准确写入数据的情况下尽量提高写入速度。显然,现有技术中的这种固定时间间隔的读写方式无法使读写控制器的读写性能满足不同工艺场景的需求,导致读写控制器应对不同工艺偏差影响的能力较弱。 At this stage, the clock generation circuit provides the same working clock with a fixed frequency to each component in the read-write controller through each clock output terminal (eg, the above-mentioned clock output terminal A 1 to clock output terminal A 5 ). This actually couples the read and write operations of the read-write controller and other operations (such as decoding operations, row-opening operations, column-opening operations, and driver-enhancing operations, etc.) It can perform various operations according to the same working clock, but cannot perform read and write operations according to its own required working clock, so the read-write controller has poor read-write flexibility. Moreover, the current read-write control scheme depends on the specific circuit structure. As long as the circuit structure is fixed, each time node involved in the read-write control process is basically fixed, which leads to the adjustability of the read-write control. poor. For example, when two states are continuously written, the second state can only be written at a fixed time interval corresponding to the circuit structure after starting to write the first state. However, the memory may require different write times under the influence of different process deviations. For example, when the process deviation is large, the read-write controller may take a long time to accurately write the first state to the storage array. In this case, the read-write controller actually needs a longer time interval to improve the accuracy of the written data. When the process variation is small, the read-write controller may be able to accurately write the first state to the storage array in a very short time. In this case, the read-write controller actually needs a short time interval to Maximize write speed while accurately writing data. Obviously, the read-write method of the fixed time interval in the prior art cannot make the read-write performance of the read-write controller meet the requirements of different process scenarios, resulting in a weak ability of the read-write controller to cope with the influence of different process deviations.
基于此,本申请提供一种读写控制器,用于为读写控制器中与读写相关的关键电路(如多状态写电路和灵敏放大器)提供单独的工作时钟,以在提高读写控制器的读写灵活性的基础上,进一步提高读写控制器应对不同工艺偏差影响的能力。Based on this, the present application provides a read-write controller, which is used to provide a separate working clock for key circuits (such as multi-state write circuits and sense amplifiers) related to read-write in the read-write controller, so as to improve the read-write control On the basis of the read-write flexibility of the controller, the ability of the read-write controller to cope with the influence of different process deviations is further improved.
下面基于图1所示意的存储器,以具体的实施例介绍本申请所提供的读写控制器的具体结构。需要指出的是,本申请下列实施例中的“连接”指的是电连接,两个电学元件连接可以是两个电学元件之间的直接或间接连接。例如,A与B连接,既可以是A与B直接连接,也可以是A与B之间通过一个或多个其它电学元件间接连接,如A与B连接,也可以是A与C直接连接,C与B直接连接,A与B之间通过C实现了连接。应理解,数字信号中的1电平和0电平中“1”和“0”是逻辑运算中的“1”和“0”,并不是数字信号的信号电压的电压值。大多数情况下,数字信号中的1电平指的是数字信号的信号电压大于阈值电压,0电平指的是数字信号的信号电压小于阈值电压。为了便于表述,本申请实施例接下来以高电平表示数字信号中的1电平,以低电平表示数字信号中的0电平。Based on the memory shown in FIG. 1 , the specific structure of the read-write controller provided by the present application is described below with specific embodiments. It should be noted that the "connection" in the following embodiments of the present application refers to electrical connection, and the connection of two electrical elements may be a direct or indirect connection between two electrical elements. For example, the connection between A and B can be either a direct connection between A and B, or an indirect connection between A and B through one or more other electrical components, such as the connection between A and B, or the direct connection between A and C, C and B are directly connected, and A and B are connected through C. It should be understood that the "1" and "0" in the 1 level and the 0 level in the digital signal are "1" and "0" in the logic operation, not the voltage value of the signal voltage of the digital signal. In most cases, the 1 level in the digital signal means that the signal voltage of the digital signal is greater than the threshold voltage, and the 0 level means that the signal voltage of the digital signal is less than the threshold voltage. For ease of expression, in the following embodiments of the present application, a high level is used to represent a 1 level in the digital signal, and a low level is used to represent a 0 level in the digital signal.
【实施例一】[Example 1]
图2示例性示出本申请实施例提供的一种读写控制器的结构示意图,如图2所示,在本申请实施例中,读写控制器120包括时钟产生电路121、关键读写电路130和非关键读写电路140,关键读写电路130和非关键读写电路140分别连接存储阵列110。其中,时钟产生电路121包括第一时钟输出端(B 1)和第二时钟输出端(B 2)。时钟输出端B 1连接关键读写电路130的时钟控制端,时钟产生电路121可以通过时钟输出端B 1向关键读写电路130输出第一时钟信号(Input),以便于关键读写电路130在时钟信号Input所提供的工作时钟下实现对存储阵列110的关键读写操作。时钟输出端B 2连接非关键读写电路140的时钟控制端,时钟产生电路121可以通过时钟输出端B 2向非关键读写电路140输出第二时钟信号(Inner),以便于非关键读写电路140在时钟信号Inner所提供的工作时钟下对存储阵列110执行除上述关键读写操作以外的其它操作,如行译码、行译码、字线选择和加强驱动等。其中,时钟信号Input的时钟频率高于时钟信号Inner的时钟频率。 FIG. 2 exemplarily shows a schematic structural diagram of a read-write controller provided by an embodiment of the present application. As shown in FIG. 2 , in the embodiment of the present application, the read-write controller 120 includes a clock generation circuit 121 and a key read-write circuit. 130 and the non-critical read-write circuit 140, the critical read-write circuit 130 and the non-critical read-write circuit 140 are respectively connected to the storage array 110. The clock generating circuit 121 includes a first clock output terminal (B 1 ) and a second clock output terminal (B 2 ). The clock output terminal B1 is connected to the clock control terminal of the key read-write circuit 130, and the clock generation circuit 121 can output the first clock signal (Input) to the key read-write circuit 130 through the clock output terminal B1, so that the key read-write circuit 130 can be The key read and write operations to the memory array 110 are implemented under the working clock provided by the clock signal Input. The clock output terminal B2 is connected to the clock control terminal of the non-critical reading and writing circuit 140, and the clock generating circuit 121 can output a second clock signal (Inner) to the non-critical reading and writing circuit 140 through the clock output terminal B2, so as to facilitate non-critical reading and writing The circuit 140 performs other operations, such as row decoding, row decoding, word line selection and enhanced driving, on the memory array 110 under the operating clock provided by the clock signal Inner except the above-mentioned key read and write operations. The clock frequency of the clock signal Input is higher than the clock frequency of the clock signal Inner.
本申请实施例中,关键读写电路130是指能根据自己的工作时钟决定何时开始读写目 标存储单元中的数据的电路,如可以包括下文所介绍的多状态写电路和/或图1所示意的灵敏放大器,以及还可以包括其它能够决定何时开始读写的电路,例如图1所示意的读写驱动电路122中用于产生第一电压差和第二电压差的电路、或在只写入一个状态的场景下决定一个状态的写入时刻的电路等,具体不作限定。对应的,非关键读写电路140是指除关键读写电路130以外的一个或多个其它电路,如可以包括图1所示意出的行译码电路123、列译码电路125、读写驱动电路122(或读写驱动电路122中除用于产生第一电压差和第二电压差的电路以外的电路)或输入输出驱动电路127等。如此,通过为关键读写电路和非关键读写电路配置不同的工作时钟,有助于实现关键读写操作与其它各项操作的解耦,通过调节关键读写电路所对应的工作时钟,不仅能有效提高关键读写电路的灵活性,且还不会影响到非关键读写电路的正常工作。In this embodiment of the present application, the key read-write circuit 130 refers to a circuit that can decide when to start reading and writing data in the target storage unit according to its own operating clock, such as the multi-state write circuit described below and/or FIG. 1 . The illustrated sense amplifier can also include other circuits that can decide when to start reading and writing, such as the circuit for generating the first voltage difference and the second voltage difference in the read-write driving circuit 122 shown in FIG. In the scenario where only one state is written, the circuit for determining the writing time of one state, etc., is not specifically limited. Correspondingly, the non-critical read-write circuit 140 refers to one or more other circuits other than the critical read-write circuit 130, for example, the row decoding circuit 123, the column decoding circuit 125, the read-write driver shown in FIG. 1 may be included. The circuit 122 (or a circuit other than the circuit for generating the first voltage difference and the second voltage difference in the read-write driving circuit 122 ) or the input-output driving circuit 127 or the like. In this way, by configuring different working clocks for key read-write circuits and non-critical read-write circuits, it is helpful to realize the decoupling of key read-write operations and other operations. The flexibility of the key read-write circuit can be effectively improved, and the normal operation of the non-critical read-write circuit will not be affected.
为便于理解,本申请的下列实施例以关键读写电路包括多状态写电路为例进行介绍。应理解,下文所介绍的全部内容同样适用于图2中的读写控制器120,本申请对此不再一一赘述。For ease of understanding, the following embodiments of the present application are described by taking the key read-write circuit including the multi-state write circuit as an example. It should be understood that all the contents introduced below are also applicable to the read/write controller 120 in FIG. 2 , which will not be repeated in this application.
图3示例性示出本申请实施例提供的另一种读写控制器的结构示意图,如图3所示,在该示例中,关键读写电路130包括多状态写电路128,非关键读写电路140包括行译码电路123和列译码电路125。在该示例中,当存储器处于写入模式时,时钟产生电路121可以通过时钟输出端B 1向多状态写电路128输出第一时钟信号(Input),多状态写电路128可以按照时钟信号Input提供的工作时钟在一个时钟周期内向存储阵列110写入至少两个状态。时钟产生电路121还可以通过时钟输出端B 2向行译码电路123和列译码电路125输出第二时钟信号(Inner),以便于行译码电路123和列译码电路125在时钟信号Inner提供的工作时钟下执行上述内容所介绍的行译码和列译码,如行译码电路123可以在时钟信号Inner提供的工作时钟下译码行地址信息以确定目标存储单元所在的行并向字线电路发送指示,列译码电路125可以在时钟信号Inner提供的工作时钟下译码列地址信息以确定目标存储单元所在的列并向读写驱动电路返回响应。 FIG. 3 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application. As shown in FIG. 3 , in this example, the critical read-write circuit 130 includes a multi-state write circuit 128, and the non-critical read-write circuit 130 includes a multi-state write circuit 128. The circuit 140 includes a row decoding circuit 123 and a column decoding circuit 125 . In this example, when the memory is in the write mode, the clock generation circuit 121 can output the first clock signal (Input) to the multi-state write circuit 128 through the clock output terminal B1, and the multi-state write circuit 128 can provide the clock signal Input according to the clock signal Input. At least two states are written to the memory array 110 within one clock cycle of the operating clock. The clock generation circuit 121 can also output a second clock signal (Inner) to the row decoding circuit 123 and the column decoding circuit 125 through the clock output terminal B2, so that the row decoding circuit 123 and the column decoding circuit 125 are in the clock signal Inner. The row decoding and column decoding described above are performed under the provided working clock. For example, the row decoding circuit 123 can decode the row address information under the working clock provided by the clock signal Inner to determine the row where the target memory cell is located and send the data to the target memory cell. The word line circuit sends an instruction, and the column decoding circuit 125 can decode the column address information under the operating clock provided by the clock signal Inner to determine the column where the target memory cell is located and return a response to the read-write driving circuit.
本申请实施例中,时钟信号Input的时钟频率高于时钟信号Inner的时钟频率。如此,在时钟信号Inner的一个电平状态下,时钟信号Input能对应至少两种电平变化,相应地,多状态写电路128也就能对应至少两种输出电压,多状态写电路128的至少两种输出电压与时钟信号Inner的同一电平控制下的电压相比就能形成至少两种电压差,如此,读写控制器120就能在时钟信号Input的一个时钟周期内基于这至少两种电压差完成至少两种状态的写入控制。且,通过多状态写电路128在一个快的工作时钟下执行至少两个状态的写入操作,而其它电路在一个慢的工作时钟下执行存储器中的其他操作(如行译码、行译码、字线选择和加强驱动等),还能在快速写入至少两个状态的同时,尽量降低存储器的其它操作所需的功耗。In this embodiment of the present application, the clock frequency of the clock signal Input is higher than the clock frequency of the clock signal Inner. In this way, under one level state of the clock signal Inner, the clock signal Input can correspond to at least two level changes, and correspondingly, the multi-state writing circuit 128 can also correspond to at least two output voltages. Compared with the voltage controlled by the same level of the clock signal Inner, the two output voltages can form at least two voltage differences. In this way, the read/write controller 120 can be based on the at least two voltages within one clock cycle of the clock signal Input. The voltage difference completes the write control of at least two states. Moreover, the multi-state write circuit 128 performs at least two-state write operations under a fast operating clock, while other circuits perform other operations in the memory (such as row decoding, row decoding, etc.) under a slow operating clock. , word line selection and enhanced drive, etc.), and can also write at least two states quickly while minimizing the power consumption required for other operations of the memory.
需要说明的是,图3所示意出的多状态写电路128可以对应为图1所示意的字线电路124,如多状态写电路128即是指字线电路124,或者多状态写电路128为字线电路124中的一个功能部件。当多状态写电路128为字线电路124中的一个功能部件时,字线电路124中除多状态写电路128以外的其它电路仍旧基于时钟信号Inner进行工作。上述内容实际上是通过时钟信号Inner为行译码电路123和列译码电路125提供工作时钟,而这只是一种可选地实施方式。在其它可选地实施方式中,也可以通过时钟信号Inner为图1所示意出的除多状态写电路128以外的任意一个或任意多个电路提供工作时钟。如,在一种情况 下,时钟输出端B 2还可以分别连接读写驱动电路122的时钟控制端、行译码电路123的时钟控制端、列译码电路125的时钟控制端、输入输出驱动电路127的时钟控制端以及字线电路124中除多状态写电路以外的其它电路的时钟控制端,如此,时钟产生电路121还可以通过时钟输出端B 2将时钟信号Inner提供给读写控制器120中的除多状态写电路128以外的全部其它电路。该实施方式不仅能使读写控制器基于单独的工作时钟控制多状态写电路的写入操作,还能尽量减少读写控制器所需生成的时钟数量,有助于在简化读写控制器整体控制逻辑的基础上降低读写控制器的成本。 It should be noted that the multi-state write circuit 128 shown in FIG. 3 may correspond to the word line circuit 124 shown in FIG. 1 . For example, the multi-state write circuit 128 refers to the word line circuit 124 , or the multi-state write circuit 128 is A functional component in word line circuit 124 . When the multi-state write circuit 128 is a functional component in the word line circuit 124, other circuits in the word line circuit 124 except the multi-state write circuit 128 still operate based on the clock signal Inner. The above content actually provides the operation clock for the row decoding circuit 123 and the column decoding circuit 125 through the clock signal Inner, which is only an optional implementation. In other optional implementation manners, the clock signal Inner may also be used to provide an operating clock to any one or any plurality of circuits except the multi-state write circuit 128 shown in FIG. 1 . For example, in one case, the clock output terminal B2 can also be connected to the clock control terminal of the read - write driving circuit 122, the clock control terminal of the row decoding circuit 123, the clock control terminal of the column decoding circuit 125, and the input and output drivers respectively. The clock control terminal of the circuit 127 and the clock control terminal of other circuits except the multi-state write circuit in the word line circuit 124, so that the clock generation circuit 121 can also provide the clock signal Inner to the read - write controller through the clock output terminal B2 All other circuits in 120 except the multi-state write circuit 128. This embodiment not only enables the read-write controller to control the write operation of the multi-state write circuit based on a separate working clock, but also minimizes the number of clocks that the read-write controller needs to generate, which is helpful for simplifying the overall read-write controller. Reduce the cost of the read-write controller based on the control logic.
如上述图3所示意的读写控制器,通过为多状态写电路和读写控制器中的其它电路(如行译码电路和列译码电路)配置不同的工作时钟,使得多状态写电路能使用单独的工作时钟执行多状态写操作(为了便于说明方案,本文示例性以“多状态写操作”指代“在一个时钟周期内写入至少两个状态的操作”),这种方式有助于实现多状态写操作与其它各项操作的解耦。如此,通过调节多状态写电路所对应的工作时钟,不仅能有效提高多状态写操作的灵活性,且还不会影响到其它电路的正常工作。As shown in Figure 3 above, the read-write controller is configured with different operating clocks for the multi-state write circuit and other circuits in the read-write controller (such as the row decoding circuit and the column decoding circuit), so that the multi-state write circuit A multi-state write operation can be performed using a separate operating clock (for the convenience of explaining the scheme, this article exemplarily refers to "an operation of writing at least two states in one clock cycle" with "multi-state write operation"), in this way there are Helps achieve decoupling of multi-state write operations from other operations. In this way, by adjusting the operating clock corresponding to the multi-state write circuit, not only the flexibility of the multi-state write operation can be effectively improved, but also the normal operation of other circuits will not be affected.
本申请实施例中,多状态写电路128能在时钟信号Input的一个时钟周期内写入至少两个状态。能实现该功能的多状态写电路128可以有多种可能,下面示例性介绍两种可能的方案。In this embodiment of the present application, the multi-state write circuit 128 can write at least two states within one clock cycle of the clock signal Input. There are many possibilities for the multi-state write circuit 128 that can realize this function, and two possible solutions are exemplarily introduced below.
方案一Option One
图4示例性示出本申请实施例提供的一种多状态写方案的示意图,其中:FIG. 4 exemplarily shows a schematic diagram of a multi-state write scheme provided by an embodiment of the present application, wherein:
图4中的(a)图示意出该种多状态写方案的电路结构,如图4中的(a)图所示,在该方案中,多状态写电路128可以包括一个反向延时链1281和两个相同类型的金属氧化物半导体(metal oxide semiconductor,MOS)管,如P沟道的MOS管P 11和P沟道的MOS管P 12,或者N沟道的MOS管P 11和N沟道的MOS管P 12。其中,反向延时链1281可以由奇数个首尾相连的反相器构成。反相器是一种基础的电子器件,可以接收输入信号并输出与输入信号反相的输出信号。一般来说,反相器的输入信号可以为数字信号,输入信号的电平可以分为高电平和低电平,若反相器接收到高电平的输入信号,则反相器可以输出低电平的输出信号,若反相器接收到低电平的输入信号,则反相器可以输出高电平的输出信号。其中,MOS管P 11的源极可以连接电源V 11,MOS管P 11的栅极和反向延时链1281的输入端可以分别连接时钟输出端B 1,MOS管P 11的漏极可以连接存储阵列110。MOS管P 12的源极可以连接电源V 12,MOS管P 12的栅极可以连接反向延时链1281的输出端,MOS管P 12的漏极可以连接存储阵列110。 (a) of FIG. 4 illustrates the circuit structure of the multi-state write scheme, as shown in (a) of FIG. 4 , in this scheme, the multi-state write circuit 128 may include a reverse delay chain 1281 and two metal oxide semiconductor (MOS) transistors of the same type, such as P-channel MOS transistor P11 and P-channel MOS transistor P12 , or N-channel MOS transistors P11 and N MOS transistor P 12 of the channel. The reverse delay chain 1281 may be composed of an odd number of inverters connected end to end. An inverter is a basic electronic device that accepts an input signal and outputs an output signal that is inverted from the input signal. Generally speaking, the input signal of the inverter can be a digital signal, and the level of the input signal can be divided into high level and low level. If the inverter receives a high level input signal, the inverter can output a low level. If the inverter receives a low-level input signal, the inverter can output a high-level output signal. The source of the MOS transistor P11 can be connected to the power supply V11 , the gate of the MOS transistor P11 and the input terminal of the reverse delay chain 1281 can be connected to the clock output terminal B1 respectively, and the drain of the MOS transistor P11 can be connected to storage array 110 . The source of the MOS transistor P 12 can be connected to the power supply V 12 , the gate of the MOS transistor P 12 can be connected to the output terminal of the reverse delay chain 1281 , and the drain of the MOS transistor P 12 can be connected to the memory array 110 .
图4中的(b)图示意出按照该种电路结构写入至少两个状态时的控制时序,其中,图4中的(b)图中的“Input”线示意出时钟信号Input的电平变化情况,图4中的(b)图中的“写入信号”线示意出写入信号的变化情况。参照图4中的(a)图和图4中的(b)图,以在时钟信号Input的一个时钟周期(如周期1)内写入“0”和“1”这两个状态为例,假设MOS管P 11和MOS管P 12都为P沟道的MOS管,且不考虑写入信号延时和MOS管P 11和MOS管P 12的压损,如果反向延时链1281上共存在27个反相器,信号在反向延时链1281中的每个反相器的输入端传输至输出端所需的时长为0.1ns(ns为时间单位,即纳秒),则反向延时链1281的延时时长为2.7ns(即0.1ns×27)。当时钟信号Input的一个周期的周期时长大于2.7ns时,若时钟产生电路121按照图4中的(b)图所示意的“Input”线输出时钟信号Input,则:在时钟信号Input处于低电平时,该低电平信号一方面经由链 路L11传输后直接加载在MOS管P 11的栅极使MOS管P 11的源极和漏极截止,另一方面经由链路L12上的27个反相器反向处理后(仍为低电平信号)加载在MOS管P 12的栅极使MOS管P 12的源极和漏极截止,这种情况下,MOS管P 11和MOS管P 11均截止,K点的电压为0,读写控制器120不向存储阵列110写入数据。当时钟信号Input由低电平切换到高电平“1”时,读写控制器120中的读写驱动电路122处于该电平状态所对应的电压(假设为V 10),该高电平信号一方面经由链路L11传输后直接加载在MOS管P 11的栅极使MOS管P 11的源极和漏极导通,另一方面经由链路L12上的27个反相器反向处理后(仍为高电平信号)延时2.7ns加载在MOS管P 12的栅极使MOS管P 12的源极和漏极导通。这种情况下,在时钟信号Input由低电平切换到高电平之后经过2.7ns之前,MOS管P 11导通且MOS管P 12截止,K点的电压为V 11,读写驱动电路122中的电压V 10和多状态写电路128的电压V 11之间形成电压差V 10-V 11,因此读写驱动电路122可以向存储阵列110写入该电压差V 10-V 11所对应的状态(如写入“0”)。在经过2.7ns之后,MOS管P11导通且MOS管P12也导通,K点的电压从V 11切换为V 11+V 12,读写驱动电路122中的电压V 10和多状态写电路128的电压V 11+V 12之间形成电压差V 10-V 11-V 12,因此读写驱动电路122可以向存储阵列110写入该电压差V 10-V 11-V 12所对应的状态(如写入“1”)。如此,按照图4中的(b)图所示意出的时序控制逻辑,图4中的(a)图所示意出的多状态写电路128能在时钟信号的Input的一个时钟周期内向存储阵列110写入两种状态。 Fig. 4(b) shows the control sequence when at least two states are written according to this circuit structure, wherein the "Input" line in Fig. 4(b) shows the level of the clock signal Input Changes, the "write signal" line in (b) of FIG. 4 shows the change of the write signal. Referring to Fig. 4 (a) and Fig. 4 (b), taking the two states of "0" and "1" written in one clock cycle (such as cycle 1) of the clock signal Input as an example, Assuming that MOS transistor P11 and MOS transistor P12 are both P-channel MOS transistors, and regardless of the write signal delay and the pressure loss of MOS transistor P11 and MOS transistor P12 , if the reverse delay chain 1281 has a total of There are 27 inverters, and the time required for the signal to transmit from the input end of each inverter in the reverse delay chain 1281 to the output end is 0.1ns (ns is the time unit, that is, nanoseconds), then the reverse The delay time of the delay chain 1281 is 2.7ns (ie, 0.1ns×27). When the cycle duration of one cycle of the clock signal Input is greater than 2.7ns, if the clock generation circuit 121 outputs the clock signal Input according to the “Input” line shown in (b) in FIG. 4 , then: when the clock signal Input is at a low power Usually, the low-level signal is directly loaded on the gate of the MOS transistor P11 after being transmitted through the link L11, so that the source and drain of the MOS transistor P11 are turned off, and on the other hand, it is transmitted through the link L12. After the reverse processing of the phase device (it is still a low-level signal), it is loaded on the gate of the MOS transistor P12 to make the source and drain of the MOS transistor P12 cut off. In this case, the MOS transistor P11 and the MOS transistor P11 Both are turned off, the voltage at point K is 0, and the read/write controller 120 does not write data to the storage array 110 . When the clock signal Input is switched from a low level to a high level "1", the read-write drive circuit 122 in the read-write controller 120 is at the voltage corresponding to this level state (assuming it is V 10 ), the high level On the one hand, the signal is directly loaded on the gate of the MOS transistor P11 after being transmitted through the link L11, so that the source and drain of the MOS transistor P11 are turned on, and on the other hand, the 27 inverters on the link L12 are reversely processed. After that (it is still a high-level signal), the gate is loaded on the gate of the MOS transistor P12 with a delay of 2.7ns , so that the source and the drain of the MOS transistor P12 are turned on. In this case, before 2.7ns after the clock signal Input is switched from a low level to a high level, the MOS transistor P11 is turned on and the MOS transistor P12 is turned off, the voltage at point K is V11 , and the read-write drive circuit 122 A voltage difference V 10 -V 11 is formed between the voltage V 10 in the multi-state write circuit 128 and the voltage V 11 of the multi-state write circuit 128 , so the read-write drive circuit 122 can write the voltage difference V 10 -V 11 to the memory array 110 status (eg write "0"). After 2.7ns, the MOS transistor P11 is turned on and the MOS transistor P12 is also turned on, the voltage at point K is switched from V 11 to V 11 +V 12 , the voltage V 10 in the read-write drive circuit 122 and the multi-state write circuit 128 A voltage difference V 10 -V 11 -V 12 is formed between the voltages V 11 +V 12 of the Such as writing "1"). In this way, according to the timing control logic shown in (b) of FIG. 4 , the multi-state write circuit 128 shown in (a) of FIG. 4 can write to the memory array 110 within one clock cycle of the Input of the clock signal. Two states are written.
在上述方案中,第一个状态的开始写入时刻与第二个状态的开始写入时刻之间的时间间隔(即一个状态的写入时长)依赖于反向延时链1281的延时时长,反向延时链1281的延时时长与反相延时链1281中所包括的反相器的数量相关。一般来说,读写控制器120中设置的反相器的数量在读写控制器120出厂之后无法再进行变更。这种情况下,该方案实际上能按照固定的写入时长写入每个状态。然而,考虑到不同的工艺偏差可能会需要不同的写入时长,如有的工艺偏差下写入一个状态只需要0.3ns,而有的工艺偏差下写入一个状态则需要1ns,如果想让该种结构的多状态写电路128也能满足不同工艺偏差的需求,以提高读写控制器120抵御不同工艺偏差影响的能力,则:还可以在反向延时链1281中的每个反相器之前接一个第一开关组件以及在第一开关组件之前另外引一条带第二开关组件的线路至MOS管P 12的栅极,通过控制各第一开关组件和各第二开关组件的通断来配置所需数量的反相器有效、其它反相器无效,以改变反向延时链1281的延时时长。这种方式虽然需要在多状态写电路128中设置较多的开关组件和较多的反相器,可能会让读写控制器120的电路结构变得比较复杂,并增大读写控制器120的成本,但是能使反向延时链1281的延时时长可调,有助于读写控制器120在连续写入至少两个状态时灵活调节一个状态的写入时长。 In the above solution, the time interval between the start of writing of the first state and the start of writing of the second state (ie, the writing duration of one state) depends on the delay duration of the reverse delay chain 1281 , the delay duration of the reverse delay chain 1281 is related to the number of inverters included in the reverse delay chain 1281 . Generally speaking, the number of inverters set in the read/write controller 120 cannot be changed after the read/write controller 120 is shipped from the factory. In this case, the scheme can actually write each state with a fixed write duration. However, considering that different process deviations may require different writing durations, if some process deviations are used to write a state, it only takes 0.3ns, while some process deviations require 1ns to write a state. The multi-state write circuit 128 of this structure can also meet the requirements of different process deviations, so as to improve the ability of the read-write controller 120 to resist the influence of different process deviations, then: each inverter in the reverse delay chain 1281 can also be used. Connect a first switch component before and lead a line with a second switch component to the gate of the MOS transistor P12 before the first switch component, by controlling the on-off of each first switch component and each second switch component. The required number of inverters are configured to be valid and other inverters to be invalid, so as to change the delay time of the reverse delay chain 1281 . Although this method needs to set more switch components and more inverters in the multi-state write circuit 128, it may make the circuit structure of the read/write controller 120 more complicated, and increase the size of the read/write controller 120. However, the delay time of the reverse delay chain 1281 can be adjusted, which is helpful for the read/write controller 120 to flexibly adjust the write time of one state when writing at least two states continuously.
方案二Option II
图5示例性示出本申请实施例提供的另一种多状态写方案的示意图,其中:FIG. 5 exemplarily shows a schematic diagram of another multi-state write scheme provided by an embodiment of the present application, wherein:
图5中的(a)图示意出该种多状态写方案的电路结构,如图5中的(a)图所示,在该方案中,多状态写电路128可以包括一个反向器(T)和两个相同类型的金属氧化物半导体(metal oxide semiconductor,MOS)管,如P沟道的MOS管P 21和P沟道的MOS管P 22,或者N沟道的MOS管P 21和N沟道的MOS管P 22。其中,反相器T的输入端和MOS管P 21的栅极可以分别连接时钟输出端B 1,反相器T的输出端可以连接MOS管P 22的栅极,MOS管P 21的源极连接电源V 21,MOS管P 21的漏极连接存储阵列110,MOS管P 22的源 极连接电源V 22,MOS管P 22的漏极连接存储阵列。 Figure (a) in FIG. 5 illustrates the circuit structure of the multi-state writing scheme. As shown in (a) in Figure 5, in this scheme, the multi-state writing circuit 128 may include an inverter (T ) and two metal oxide semiconductor (MOS) transistors of the same type, such as P-channel MOS transistor P 21 and P-channel MOS transistor P 22 , or N-channel MOS transistor P 21 and N MOS transistor P 22 of the channel. The input terminal of the inverter T and the gate of the MOS transistor P 21 can be connected to the clock output terminal B 1 respectively, the output terminal of the inverter T can be connected to the gate of the MOS transistor P 22 , and the source of the MOS transistor P 21 The power supply V21 is connected, the drain of the MOS transistor P21 is connected to the memory array 110, the source of the MOS transistor P22 is connected to the power supply V22 , and the drain of the MOS transistor P22 is connected to the memory array.
图5中的(b)图示意出按照该种电路结构写入至少两个状态时的控制时序,其中,图5中的(b)图中的“Inner”线示意出时钟信号Inner的电平变化情况,图5中的(b)图中的“Input”线示意出时钟信号Input的电平变化情况,图5中的(b)图中的“写入信号”线示意出写入信号的变化情况。参照图5中的(a)图和图5中的(b)图,以在时钟信号Input的一个时钟周期(如周期1)内写入“0”和“1”这两个状态为例,假设MOS管P 11和MOS管P 12都为P沟道的MOS管,且不考虑写入信号延时和MOS管P 11和MOS管P 12的压损,若时钟产生电路121按照图5中的(b)图所示意的“Inner”线输出时钟信号Inner以及“Input”线输出时钟信号Input,则在时钟信号Inner的一个电平状态下(如高电平“1”),读写控制器120中的读写驱动电路122处于该电平状态所对应的电压(假设为V 20):当时钟信号Input切换到高电平时,该高电平信号经由链路L21传输后直接加载在MOS管P 21的栅极以导通MOS管P 21的源极和漏极,经由链路L22上的反相器T反向处理后转变为低电平信号加载在MOS管P 22的栅极以截止MOS管P 22的源极和漏极,这种情况下,MOS管P 21导通且MOS管P 22截止,K点的电压为V 21。在这种情况下,读写驱动电路122中的电压V 20和多状态写电路128所输出的电压V 21之间的电压差为V 20-V 21,因此读写驱动电路122可以向存储阵列110写入该电压差V 20-V 21所对应的状态(如写入“0”)。当时钟信号Input从高电平切换到低电平时,该低电平信号经由链路L21传输后直接加载在MOS管P 21的栅极以截止MOS管P 21的源极和漏极,经由链路L22上的反相器T反向处理后转变为高电平信号加载在MOS管P 22的栅极以导通MOS管P 22的源极和漏极,这种情况下,MOS管P 21截止且MOS管P 21导通,K点的电压为V 22。在这种情况下,读写驱动电路122中的电压V 20和多状态写电路128所输出的电压V 22之间的电压差为V 20-V 22,因此读写驱动电路122可以向存储阵列110写入该电压差V 20-V 22所对应的状态(如写入“1”)。之后,若时钟信号Inner切换到另一电平状态(如高电平“0”),则读写驱动电路122根据该电平状态和多状态写电路128的电平状态控制存储器休眠,即维持存储器处于不写入的状态。如此,按照图5中的(b)图所示意出的时序控制逻辑,图5中的(a)图所示意出的多状态电路128能在时钟信号Input的一个时钟周期内向存储阵列110写入两种状态。 Figure (b) in FIG. 5 illustrates the control sequence when at least two states are written according to this circuit structure, wherein the “Inner” line in (b) in Figure 5 illustrates the level of the clock signal Inner Changes, the “Input” line in (b) in FIG. 5 shows the level change of the clock signal Input, and the “write signal” line in (b) in FIG. 5 shows the write signal. Changes. Referring to Fig. 5 (a) and Fig. 5 (b), taking the two states of "0" and "1" written in one clock cycle (such as cycle 1) of the clock signal Input as an example, Assuming that both the MOS transistor P11 and the MOS transistor P12 are P-channel MOS transistors, and regardless of the write signal delay and the pressure loss of the MOS transistor P11 and the MOS transistor P12, if the clock generation circuit 121 is as shown in FIG. 5 In the figure (b), the "Inner" line outputs the clock signal Inner and the "Input" line outputs the clock signal Input, then in a level state of the clock signal Inner (such as a high level "1"), the read-write control The voltage corresponding to the read-write drive circuit 122 in the device 120 is in this level state (assuming V 20 ): when the clock signal Input is switched to a high level, the high-level signal is directly loaded on the MOS after being transmitted through the link L21 The gate of the transistor P21 turns on the source and drain of the MOS transistor P21 , which is converted into a low-level signal after reverse processing by the inverter T on the link L22 and is loaded on the gate of the MOS transistor P22 to The source and drain of the MOS transistor P22 are turned off. In this case, the MOS transistor P21 is turned on and the MOS transistor P22 is turned off, and the voltage at point K is V21 . In this case, the voltage difference between the voltage V 20 in the read-write drive circuit 122 and the voltage V 21 output by the multi-state write circuit 128 is V 20 -V 21 , so the read-write drive circuit 122 can write to the memory array. 110 writes the state corresponding to the voltage difference V 20 -V 21 (eg, writes "0"). When the clock signal Input is switched from a high level to a low level, the low level signal is directly loaded on the gate of the MOS transistor P21 after being transmitted through the link L21 to turn off the source and drain of the MOS transistor P21 , The inverter T on the circuit L22 is converted into a high-level signal after reverse processing and is loaded on the gate of the MOS transistor P22 to turn on the source and drain of the MOS transistor P22 . In this case, the MOS transistor P21 It is turned off and the MOS transistor P 21 is turned on, and the voltage at point K is V 22 . In this case, the voltage difference between the voltage V 20 in the read-write drive circuit 122 and the voltage V 22 output by the multi-state write circuit 128 is V 20 -V 22 , so the read-write drive circuit 122 can send the memory array to the 110 writes the state corresponding to the voltage difference V 20 -V 22 (eg, writes "1"). After that, if the clock signal Inner switches to another level state (such as a high level "0"), the read-write drive circuit 122 controls the memory to sleep according to the level state and the level state of the multi-state write circuit 128, that is, to maintain The memory is not being written to. In this way, according to the timing control logic shown in (b) of FIG. 5 , the multi-state circuit 128 shown in (a) of FIG. 5 can write to the memory array 110 within one clock cycle of the clock signal Input two states.
在上述方案中,通过控制时钟信号Input的时钟频率高于时钟信号Inner的时钟频率,能在时钟信号Inner的一个电平状态下实现至少两种状态的写入操作:如,在时钟信号Input为高电平时将基于电压差V 20-V 21向存储阵列110写入一个状态,在时钟信号Input由高电平切换为低电平时基于电压差V 20-V 22向存储阵列110写入另一个状态,因此上述方案实际上是在时钟信号Input发生电平切换时触发另一个状态的写入操作。这种情况下,从开始写入一个状态至开始写入另一个状态之间的时间间隔(即一个状态的写入时长)依赖于时钟信号Input的电平切换时刻(如上述示例为下降沿的触发时刻):时钟信号Input越晚触发电平切换,则留给一个状态的写入时间就越长,读写驱动电路122从开始写入一个状态起会经过较长的写入时间之后才停止写入该状态并开始写入另一个状态;时钟信号Input越早触发电平切换,留给一个状态的写入时间就越短,读写驱动电路122从开始写入一个状态起经过很短的写入时间即可停止写入该状态并开始写入另一个状态。 In the above solution, by controlling the clock frequency of the clock signal Input to be higher than the clock frequency of the clock signal Inner, the write operation of at least two states can be realized under one level state of the clock signal Inner: for example, when the clock signal Input is One state will be written to the memory array 110 based on the voltage difference V 20 -V 21 when the high level is high, and another state will be written to the memory array 110 based on the voltage difference V 20 -V 22 when the clock signal Input is switched from high level to low level. state, so the above scheme is actually triggering the write operation of another state when the clock signal Input is level switched. In this case, the time interval from starting to write one state to starting to write another state (that is, the writing duration of one state) depends on the level switching moment of the clock signal Input (for example, the falling edge of the above example Triggering time): the later the clock signal Input triggers the level switching, the longer the writing time left for a state, the read-write driving circuit 122 will stop after a longer writing time from the start of writing a state Write this state and start writing another state; the earlier the clock signal Input triggers the level switch, the shorter the writing time left for one state, and the read and write drive circuit 122 starts to write a state after a very short period of time. Write time to stop writing to that state and start writing to another state.
基于此,在一种可选地实施方式中,考虑到时钟信号Input的电平切换时刻与时钟信号Input的一个周期的周期时长相关(当一个周期的周期时长越长时,时钟信号Input会越 早切换电平,当一个周期的周期时长越短时,时钟信号Input会越晚切换电平),因此,读写控制器120还可以通过时钟产生电路121调节时钟信号Input对应的周期时长,来改变多状态写电路128写入不同状态时的时间间隔,以提高多状态写电路128抵御不同工艺偏差影响的能力。例如,在当前的工艺偏差较大导致读写控制器120需要较长的时间才能将一个状态写入存储阵列110时,读写控制器120可以通过时钟产生电路121将时钟信号Input的频率配置为较小的值,如此,时钟信号Input的当前周期的周期时长相对延长,意味着时钟信号Input在较长时间后才会开始切换电平,如此,当前正在写入的状态就能对应更多的写入时间,这有助于保证将当前正在写入的状态成功写入存储阵列110之后再开始写入另一个状态,有效提高连续写入两个状态时的写入准确性。在当前的工艺偏差较小使得读写控制器120只需要很短的时间就能将一个状态写入存储阵列110时,读写控制器120可以通过时钟产生电路121将时钟信号Input的频率配置为较大的值,如此,时钟信号Input的当前周期的周期时长相对变短,意味着时钟信号Input在经过很短的时间之后就会开始切换电平,如此,当前正在写入的状态对应更少的写入时间,这有助于在当前状态能快速写入存储阵列110的情况下尽快开始写入另一个状态,以提高连续写入两个状态的写入速度。其中,当前的工艺偏差可以由用户实时检测得到,也可以由本领域技术人员预先设置在存储器的说明参数中,具体不作限定。Based on this, in an optional implementation manner, it is considered that the level switching moment of the clock signal Input is related to the cycle duration of one cycle of the clock signal Input (the longer the cycle duration of one cycle is, the longer the clock signal Input will be. Switch the level earlier, when the period of a cycle is shorter, the clock signal Input will switch the level later). Therefore, the read/write controller 120 can also adjust the period corresponding to the clock signal Input through the clock generation circuit 121. The time interval when the multi-state write circuit 128 writes different states is changed to improve the ability of the multi-state write circuit 128 to resist the influence of different process variations. For example, when the current process deviation is large and it takes a long time for the read-write controller 120 to write a state into the memory array 110, the read-write controller 120 can configure the frequency of the clock signal Input through the clock generation circuit 121 as Smaller value, in this way, the cycle duration of the current cycle of the clock signal Input is relatively prolonged, which means that the clock signal Input will start switching levels after a long time, so that the current state being written can correspond to more Write time, which helps to ensure that the current state being written is successfully written into the storage array 110 before starting to write another state, which effectively improves the writing accuracy when two states are continuously written. When the current process variation is so small that the read/write controller 120 can write a state into the memory array 110 in a short time, the read/write controller 120 may configure the frequency of the clock signal Input through the clock generation circuit 121 to be A larger value, in this way, the cycle duration of the current cycle of the clock signal Input is relatively short, which means that the clock signal Input will start switching levels after a short period of time, so the state currently being written corresponds to less This helps to start writing another state as soon as possible when the current state can be quickly written to the storage array 110, so as to improve the writing speed of consecutively writing two states. The current process deviation may be detected by the user in real time, or may be preset in the description parameters of the memory by those skilled in the art, which is not specifically limited.
下面以一个具体的示例介绍图4所示意的多状态写方案和图5所示意的多状态写方案在应对不同工艺偏差时的写入性能对比情况:The following describes the comparison of the write performance between the multi-state write scheme shown in FIG. 4 and the multi-state write scheme shown in FIG. 5 when dealing with different process deviations with a specific example:
图6示例性示出本申请实施例提供的一种多状态写电路的性能对比图,如图6所示,位于最上方的节点线(即图6所示意出的“Input”线)为时钟信号Input的电平变化线,中间的两条线对应为带反相延时链的多状态写电路(即图4中的(a)图所示意的多状态写电路128,假设称为多状态写电路1),其中这两条线中的实线(即图6所示意出的“1.1-写入一个状态”线)为多状态写电路1写入第一个状态时所对应的控制线,这两条线中的虚线(即图6所示意出的“1.2-写入另一个状态”线)为多状态写电路1写入第二个状态时所对应的控制线。下面的两条线对应为通过切换电平状态实现多状态写入的多状态写电路(即图5中的(a)图所示意的多状态写电路128,假设称为多状态写电路2),其中这两条线中的实线(即图6所示意出的“2.1-写入一个状态”线)为多状态写电路2写入第一个状态时所对应的控制线,这两条线中的虚线(即图6所示意出的“2.2-写入另一个状态”线)为多状态写电路2写入第二个状态时所对应的控制线。FIG. 6 exemplarily shows a performance comparison diagram of a multi-state write circuit provided by an embodiment of the present application. As shown in FIG. 6 , the uppermost node line (ie, the “Input” line shown in FIG. 6 ) is the clock The level change line of the signal Input, the two lines in the middle correspond to the multi-state write circuit with an inverted delay chain (that is, the multi-state write circuit 128 shown in (a) in FIG. 4 , which is assumed to be called multi-state Write circuit 1), wherein the solid line in these two lines (ie the "1.1-write one state" line shown in Figure 6) is the control line corresponding to the multi-state write circuit 1 when writing the first state , the dotted line in these two lines (ie, the “1.2-write another state” line shown in FIG. 6 ) is the corresponding control line when the multi-state write circuit 1 writes the second state. The following two lines correspond to the multi-state write circuit that realizes multi-state writing by switching the level state (that is, the multi-state write circuit 128 shown in (a) of FIG. 5, which is assumed to be called the multi-state write circuit 2) , the solid line in these two lines (ie the "2.1-write a state" line shown in Figure 6) is the control line corresponding to the multi-state writing circuit 2 when writing the first state, these two The dotted line in the line (ie, the "2.2-write another state" line shown in FIG. 6 ) is the corresponding control line when the multi-state write circuit 2 writes the second state.
表1示例性示出这两种多状态写电路的写入性能对比表:Table 1 exemplarily shows the write performance comparison table of these two multi-state write circuits:
Figure PCTCN2020137718-appb-000002
Figure PCTCN2020137718-appb-000002
表1Table 1
参照图6和表1,在该示例中,反相延时链的延时时长为2.7ns,而存储器的工艺偏差导致至少需要14.5ns才能将一个状态成功写入存储阵列。在这种情况下:Referring to FIG. 6 and Table 1, in this example, the delay duration of the inverting delay chain is 2.7ns, and the process variation of the memory causes at least 14.5ns to be successfully written into the memory array for a state. in this case:
采用多状态写电路1的读写控制器在检测到时钟信号Input切换至高电平后,开始向存储阵列写入第一个状态(由于信号传输存在延时,因此检测到时钟信号Input开始切换 至高电平的时刻E 11晚于时钟信号Input真正开始切换至高电平的时刻E 10)。之后,经过反向延时链的延时时长2.7ns后(即时刻E 12),采用多状态写电路1的读写控制器停止写入第一个状态并开始写入第二个状态。显然,2.7ns相比于14.5ns来说非常短,在14.5ns的工艺偏差下,这么短的时间根本不足以存储器将第一个状态写入存储阵列,在第一个状态还未写入成功的情况下提前写入第二个状态,很可能会使存储器写入错误的数据或丢失数据。因此,采用多状态写电路1的读写控制器的写入性能无法满足14.5ns的工艺偏差的要求,导致抵御工艺偏差影响的能力较弱; After detecting that the clock signal Input is switched to a high level, the read-write controller using the multi-state writing circuit 1 starts to write the first state to the storage array (due to the delay in signal transmission, it is detected that the clock signal Input starts to switch to a high level. The time E 11 of the level is later than the time E 10 ) when the clock signal Input actually starts to switch to the high level. After that, after the delay time of 2.7ns in the reverse delay chain (ie time E 12 ), the read/write controller using the multi-state write circuit 1 stops writing the first state and starts writing the second state. Obviously, 2.7ns is very short compared to 14.5ns. Under the process deviation of 14.5ns, such a short time is not enough for the memory to write the first state to the storage array, and the first state has not been successfully written yet. If the second state is written ahead of time, it is very likely that the memory will be written with the wrong data or lost. Therefore, the write performance of the read/write controller using the multi-state write circuit 1 cannot meet the requirements of the process deviation of 14.5ns, resulting in a weak ability to resist the influence of the process deviation;
采用多状态写电路2的读写控制器在检测到时钟信号Input切换至高电平后,开始向存储阵列写入第一个状态(由于信号传输存在延时,因此检测到时钟信号Input开始切换至高电平的时刻晚于时钟信号Input真正开始切换至高电平的时刻,开始写入第一个状态的时刻E 21晚于时钟信号Input真正触发上升沿的时刻E 20)。之后,采用多状态写电路2的读写控制器确定当前的工艺偏差为14.5ns,因此,读写控制器可以通过时钟产生电路在14.5ns的时长内维持时钟信号Input的高电平,以在这14.5ns的时长内持续写入第一个状态,直至14.5ns后,读写控制器再通过时钟产生电路控制时钟信号Input从高电平切换至低电平(即14.5ns后触发时钟信号Input的下降沿,如也可以通过将时钟信号Input2对应的周期时长设置为29ns来改变时钟信号Input的下降沿的来临时刻),以停止写入第一个状态并开始写入第二个状态(由于信号传输存在延时,因此检测到时钟信号Input开始切换至低电平的时刻晚于时钟信号Input真正开始切换至低电平的时刻,开始写入第二个状态的时刻E 23也晚于时钟信号Input真正触发下降沿的时刻E 22)。 After detecting that the clock signal Input switches to a high level, the read-write controller using the multi-state write circuit 2 starts to write the first state to the storage array (due to the delay in signal transmission, it is detected that the clock signal Input starts to switch to a high level. The time of the level is later than the time when the clock signal Input actually starts to switch to the high level, and the time E 21 when the first state is started to be written is later than the time E 20 when the clock signal Input actually triggers the rising edge). After that, the read-write controller using the multi-state write circuit 2 determines that the current process deviation is 14.5ns. Therefore, the read-write controller can maintain the high level of the clock signal Input for a period of 14.5ns through the clock generation circuit, so as to The first state continues to be written in the 14.5ns duration, until after 14.5ns, the read-write controller controls the clock signal Input to switch from high level to low level through the clock generation circuit (that is, after 14.5ns, the clock signal Input is triggered The falling edge of the clock signal Input2 can also be changed by setting the corresponding cycle duration of the clock signal Input2 to 29ns to change the falling edge of the clock signal Input) to stop writing the first state and start writing the second state (due to There is a delay in signal transmission, so it is detected that the time when the clock signal Input starts to switch to a low level is later than the time when the clock signal Input actually starts to switch to a low level, and the time E 23 starts to write the second state is also later than the clock The time E 22 ) when the signal Input actually triggers the falling edge.
根据上述内容可知,在上述多状态写电路2中,通过时钟产生电路调节时钟信号Input的下降沿的来临时刻,使得采用多状态写电路2的读写控制器能刚好在工艺偏差所对应的14.5ns之后再开始写入第二个状态,如此,14.5ns的时长足够读写控制器将第一个状态成功写入该种工艺偏差的存储器中。该方案利用时钟信号下降沿可调的特性,能通过调节下降沿的来临时刻准确追踪存储器的工艺偏差,有助于使读写控制器抵御多种工艺偏差的影响,提高读写控制器的写入性能。According to the above content, in the above-mentioned multi-state writing circuit 2, the timing of the falling edge of the clock signal Input is adjusted by the clock generating circuit, so that the read-write controller using the multi-state writing circuit 2 can be just at 14.5 corresponding to the process deviation. After ns, it starts to write the second state. In this way, the duration of 14.5ns is enough for the read-write controller to successfully write the first state into the memory of this process deviation. The scheme utilizes the adjustable falling edge of the clock signal, and can accurately track the process deviation of the memory by adjusting the coming moment of the falling edge. into performance.
需要说明的是,上述内容只是以“通过下降沿触发写入另一状态”为例介绍多状态写接入方案的具体实现过程,本申请并不限定写入另一状态具体是由下降沿触发还是由上升沿触发。通过上升沿触发写入另一状态的方案,具体请参照上述内容进行对应设置,本申请对此不再一一赘述。It should be noted that the above content only introduces the specific implementation process of the multi-state write access scheme by taking "writing to another state triggered by a falling edge" as an example, and this application does not limit that writing to another state is specifically triggered by a falling edge. Still triggered by a rising edge. For the solution of writing to another state by triggering a rising edge, please refer to the above content for corresponding settings, which will not be described in detail in this application.
需要说明的是,上述内容仅是以多状态写电路128包括一个反相器和两个相同类型的MOS管为例介绍写入至少两个状态的实现过程。应理解,只要能实现“通过不同的电平导通MOS管P 21和MOS管P 22”的电路结构都在本申请的保护范围内。例如,在另一种可选地实施方式中,多状态写电路128也可以包括一个由奇数个反相器首尾相连构成的反相延时链和两个相同类型的MOS管,连接关系仍然如图5所示。在这种情况下,由于时钟信号Input一方面直接加载在MOS管P 21上,另一方面经由奇数个反相器反向处理后转变为相反的时钟信号后加载在MOS管P 22上,因此相同类型的MOS管P 21和MOS管P 22在同一电平下一个导通一个截止。如此,在MOS管P 21的源极所接的电源和MOS管P 22的源极所接的电源不同的情况下,相同类型的MOS管P 21和MOS管P 22在时钟信号Input的电平发生变化时同样也能改变施加给存储阵列的电压,从而这种方式也能通过调节时钟信号Input切换电平的时刻来改变一个状态的写入时长。在又一种可选地实施方式中,多状态写 电路128也可以包括两个不同类型的MOS管,且不包括反相器或包括偶数个首尾相连的反相器构成的反相延时链。在这种情况下,由于时钟信号一方面直接加载在某一类型的MOS管P 21上,另一方面经由偶数个反相器反向处理后转变为相同的时钟信号后加载在另一类型的MOS管P 22上(或者不经过反相器处理而是直接加载在另一类型的MOS管P 22上),因此不同类型的MOS管P 21和MOS管P 22在同一电平下一个导通一个截止。如此,在MOS管P 21的源极所接的电源和MOS管P 22的源极所接的电源不同的情况下,不同类型的MOS管P 21和MOS管P 22在时钟信号Input的电平发生变化时同样也能改变施加给存储阵列的电压,从而这种方式也能通过调节时钟信号Input切换电平的时刻来改变一个状态的写入时长。可选地实施方式有很多,此处不再一一赘述。 It should be noted that, the above content only describes the implementation process of writing at least two states by taking the multi-state writing circuit 128 including one inverter and two MOS transistors of the same type as an example. It should be understood that as long as the circuit structure of "turning on the MOS transistor P 21 and the MOS transistor P 22 through different levels" can be realized, it is within the protection scope of the present application. For example, in another optional implementation manner, the multi-state writing circuit 128 may also include an inverting delay chain composed of an odd number of inverters connected end to end and two MOS transistors of the same type, and the connection relationship is still as follows shown in Figure 5. In this case, since the clock signal Input is directly loaded on the MOS tube P21 on the one hand, and on the other hand, it is converted into an opposite clock signal after reverse processing by an odd number of inverters and then loaded on the MOS tube P22 , so The MOS transistor P21 and the MOS transistor P22 of the same type are turned on and turned off at the same level. In this way, in the case where the power supply connected to the source of the MOS transistor P21 is different from the power supply connected to the source of the MOS transistor P22 , the MOS transistor P21 and the MOS transistor P22 of the same type are at the level of the clock signal Input. When a change occurs, the voltage applied to the memory array can also be changed, so this method can also change the writing duration of a state by adjusting the timing at which the clock signal Input switches the level. In another optional implementation manner, the multi-state writing circuit 128 may also include two different types of MOS transistors, and does not include an inverter or includes an inversion delay chain formed by an even number of inverters connected end to end . In this case, on the one hand, the clock signal is directly loaded on a certain type of MOS transistor P21 , and on the other hand, it is converted into the same clock signal after reverse processing by an even number of inverters and then loaded on another type of MOS transistor P21. MOS transistor P 22 (or directly loaded on another type of MOS transistor P 22 without inverter processing), so different types of MOS transistor P 21 and MOS transistor P 22 are turned on at the same level a deadline. In this way, when the power supply connected to the source of the MOS transistor P21 and the power supply connected to the source of the MOS transistor P22 are different, the different types of the MOS transistor P21 and the MOS transistor P22 are at the level of the clock signal Input. When a change occurs, the voltage applied to the memory array can also be changed, so this method can also change the writing duration of a state by adjusting the timing at which the clock signal Input switches the level. There are many optional implementation manners, which will not be repeated here.
上述内容主要介绍了读写控制器写入至少两个状态的具体实现过程。下面继续基于实施例一中的图5所示意的读写控制器120(为便于理解,下文不再介绍读写驱动电路),从实施例二进一步介绍读写控制器读取数据的具体实现过程。需要说明的是,实施例二仅是以图5所示意的读写控制器120为例进行介绍,实施例二中的各个方案同样适用于上述实施例一中的任一读写控制器,如图3或图4所示意出的读写控制器120,本申请对此不再一一赘述。The above content mainly introduces the specific implementation process of the read-write controller writing at least two states. In the following, based on the read/write controller 120 shown in FIG. 5 in the first embodiment (for ease of understanding, the read/write drive circuit will not be described below), the specific implementation process of the read/write controller to read data will be further introduced from the second embodiment. . It should be noted that the second embodiment is only introduced by taking the read-write controller 120 shown in FIG. 5 as an example, and each solution in the second embodiment is also applicable to any read-write controller in the above-mentioned first embodiment, such as The read/write controller 120 shown in FIG. 3 or FIG. 4 will not be described in detail in this application.
在实施例二中,读写控制器中还可以包括灵敏放大器,如图1所示意的灵敏放大器126,存储阵列可以包括参考单元(如R)和至少一个存储单元,如存储单元1、存储单元2、……、存储单元M×N,M、N均为正整数。其中,存储单元1至存储单元M×N可以按照M×N的矩阵形式进行排列。对目标存储单元的读取操作可以联合灵敏放大器来执行。在读取操作开始之前,读写控制器先要将参考单元R和目标存储单元分别对应的两条位线预充电为相同的高电平。在预充电完成之后,读写控制器驱动字线电路选中的目标存储单元按照其内部存储的数据对其对应的位线进行充放电(称为准备阶段)。由于目标存储单元的尺寸较小且驱动能力很弱,因此目标存储单元对应的位线上的电信号随着充放电的变化幅度较小,导致参考单元R和目标存储单元上输出的两个电信号的差值也很小。这种情况下,读写控制器还可以开启灵敏放大器,开启后的灵敏放大器会根据两条位线上输出的电信号计算出差分输入信号,并将差分输入信号放大为更大的输出信号,对该更大的输出信号进行判决,以确定出存储单元中存储的数据为“0”还是“1”(称为判决阶段)。由此可知,灵敏放大器的开启时刻作为准备阶段和判决阶段的分水岭,一旦灵敏放大器被开启,则灵敏放大器即可读出两条位线上的电信号(下文将两个电信号称为参考信号和存储信号),并执行后续的判决过程。灵敏放大器开启的越早,则目标存储单元和参考单元R之间的差分输入信号可能还未形成,导致灵敏放大器读出的数据可能越不准确。而灵敏放大器开启的越晚,则目标存储单元和参考单元R之间的差分输入信号可能早已形成,从而灵敏放大器读出数据的操作越不及时。由此可知,何时控制灵敏放大器开启,对于提高读写控制器的读取性能尤为重要。In the second embodiment, the read/write controller may further include a sense amplifier, such as the sense amplifier 126 shown in FIG. 1 , and the storage array may include a reference unit (eg R) and at least one storage unit, such as storage unit 1, storage unit 2. ......, the storage unit M×N, where M and N are both positive integers. Wherein, the storage unit 1 to the storage unit M×N may be arranged in the form of an M×N matrix. The read operation of the target memory cell can be performed in conjunction with the sense amplifier. Before the read operation starts, the read-write controller first precharges the two bit lines corresponding to the reference cell R and the target memory cell to the same high level. After the precharge is completed, the read-write controller drives the target memory cell selected by the word line circuit to charge and discharge its corresponding bit line according to the data stored therein (called a preparation stage). Because the size of the target memory cell is small and its driving capability is very weak, the electrical signal on the bit line corresponding to the target memory cell varies less with charging and discharging, resulting in two electrical signals output from the reference cell R and the target memory cell. The difference in the signal is also small. In this case, the read-write controller can also turn on the sense amplifier. The turned-on sense amplifier will calculate the differential input signal according to the electrical signals output from the two bit lines, and amplify the differential input signal into a larger output signal. This larger output signal is judged to determine whether the data stored in the memory cell is a "0" or a "1" (referred to as the decision stage). It can be seen that the turn-on moment of the sense amplifier is the watershed between the preparation stage and the decision stage. Once the sense amplifier is turned on, the sense amplifier can read the electrical signals on the two bit lines (hereinafter the two electrical signals are referred to as reference signals and store signal), and perform the subsequent decision process. The earlier the sense amplifier is turned on, the differential input signal between the target memory cell and the reference cell R may not yet be formed, resulting in less accurate data read by the sense amplifier. And the later the sense amplifier is turned on, the differential input signal between the target memory cell and the reference cell R may have already been formed, so that the operation of the sense amplifier to read out data is not timely. It can be seen that when to control the opening of the sense amplifier is particularly important for improving the read performance of the read-write controller.
为了便于理解,下文以通过高电平触发目标存储单元充放电、低电平触发灵敏放大器开启为例进行介绍。应理解,低电平触发目标存储单元充放电的方案或高电平触发灵敏放大器开启的方案可以参照执行,此处不再一一赘述。For ease of understanding, the following description is given by taking the charging and discharging of the target memory cell triggered by a high level and the activation of the sense amplifier triggered by a low level as an example. It should be understood that the solution of triggering the charging and discharging of the target memory cell at a low level or the solution of triggering the activation of the sense amplifier at a high level can be implemented by reference, and will not be repeated here.
【实施例二】[Example 2]
图7示例性示出本申请实施例提供的又一种读写控制器的结构示意图,如图7所示, 在该示例中,读写控制器120还可以包括一个由奇数个反向器首尾相连构成的反向延时链129和灵敏放大器126,反向延时链129的输入端连接时钟输出端B 2,反向延时链129的输出端连接灵敏放大器126的时钟控制端(C 11),灵敏放大器126的第一输入端(C 12)连接存储阵列110中的参考单元R,灵敏放大器126的第二输入端(C 13)连接存储阵列110中的目标存储单元(如存储单元MN),灵敏放大器126的输出端(C 14)连接读取设备200。具体实施中,当存储器处于读取模式时,时钟产生电路121可以通过时钟输出端B 2输出时钟信号Inner,当时钟信号Inner处于高电平时,该高电平一方面触发目标存储单元MN对所对应的位线执行充放电操作,另一方面通过反向延时链129反向为低电平后延时传输至灵敏放大器126以开启灵敏放大器126,如此,灵敏放大器126在目标存储单元MN开始充放电之后经过反向延时链129所对应的延时时长后开始获取参考单元R的参考信号和目标存储单元MN的存储信号,基于这两个信号计算得到目标存储单元MN中存储的数据。 FIG. 7 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application. As shown in FIG. 7 , in this example, the read-write controller 120 may further include an odd-numbered inverter head and tail The reverse delay chain 129 and the sense amplifier 126 are connected together, the input end of the reverse delay chain 129 is connected to the clock output end B 2 , and the output end of the reverse delay chain 129 is connected to the clock control end (C 11 ) of the sense amplifier 126 ), the first input terminal (C 12 ) of the sense amplifier 126 is connected to the reference cell R in the memory array 110, and the second input terminal (C 13 ) of the sense amplifier 126 is connected to the target memory cell (such as the memory cell MN) in the memory array 110 ), the output terminal (C 14 ) of the sense amplifier 126 is connected to the reading device 200 . In a specific implementation, when the memory is in the read mode, the clock generation circuit 121 can output the clock signal Inner through the clock output terminal B2, and when the clock signal Inner is at a high level, the high level triggers the target memory unit MN to The corresponding bit line performs the charge and discharge operation, and on the other hand, the reverse delay chain 129 is reversed to a low level and then delayed and transmitted to the sense amplifier 126 to turn on the sense amplifier 126. In this way, the sense amplifier 126 starts at the target memory cell MN. After charging and discharging, the reference signal of the reference unit R and the storage signal of the target storage unit MN are obtained after the delay time corresponding to the reverse delay chain 129, and the data stored in the target storage unit MN is calculated based on these two signals.
采用如图7所示意的读取方案,灵敏放大器126的开启时刻实际上依赖于反向延时链129的延时时长,而反向延时链129的延时时长依赖于反向延时链129中包含的反相器的数量。一般情况下,在读写控制器120出厂后,反向延时链129中的反相器数量就已固定,因此该方案实际上只能在固定时长的准备阶段后进入判决阶段。如果想让灵敏放大器126的开启时刻可调,那么还可以在反向延时链129中的每个反相器之前接一个第三开关组件以及在第三开关组件之前另外引一条带第四开关组件的线路至灵敏放大器126的时钟控制端C 11,通过控制各第三开关组件和各第四开关组件的通断来配置所需数量的反相器有效、其它反相器无效,以改变反向延时链129的延时时长。这种方式虽然需要额外设置较多的开关组件和较多的反相器,但是能使反向延时链129的延时时长可调,有助于读写控制器120灵活调节灵敏放大器126的开启时刻。 Using the reading scheme as shown in FIG. 7, the turn-on moment of the sense amplifier 126 actually depends on the delay time of the reverse delay chain 129, and the delay time of the reverse delay chain 129 depends on the reverse delay chain The number of inverters included in 129. In general, after the read/write controller 120 leaves the factory, the number of inverters in the reverse delay chain 129 is fixed, so this solution can actually only enter the judgment stage after a fixed-length preparation stage. If the turn-on time of the sense amplifier 126 is to be adjusted, a third switch assembly can also be connected before each inverter in the reverse delay chain 129, and a fourth switch with a strip can be connected before the third switch assembly. The circuit of the component is connected to the clock control terminal C 11 of the sense amplifier 126, and the required number of inverters are configured to be valid by controlling the on-off of each third switch component and each fourth switch component, and other inverters are invalid, so as to change the inverter. Delay time to delay chain 129. Although this method requires more switch components and more inverters, the delay time of the reverse delay chain 129 can be adjusted, which is helpful for the read/write controller 120 to flexibly adjust the sensitivity of the sense amplifier 126. Open time.
图8示例性示出本申请实施例提供的又一种读写控制器的结构示意图,如图8所示,在该示例中,读写控制器120还可以包括灵敏放大器126,灵敏放大器126的时钟控制端(C 21)和第一输入端(C 22)分别连接存储阵列110中的参考单元R,灵敏放大器126的第二输入端(C 23)连接存储阵列110中的目标存储单元(如存储单元MN),灵敏放大器126的输出端(C 24)连接读取设备200。具体实施中,参考单元R的本地预设有电势差阈值,当存储器处于读取模式时,时钟产生电路121可以通过时钟输出端B 2输出时钟信号Inner,当时钟信号Inner处于高电平时,该高电平触发目标存储单元MN对所对应的位线执行充放电操作。在充放电过程中,参考单元R还可以检测目标存储单元MN所对应的位线上的电信号,在确定目标存储单元MN所对应的位线上的电信号与参考单元R所对应的位线上的电信号之间的电势差达到本地预设的电势差阈值时,参考单元R可以向灵敏放大器126的时钟控制端发送灵敏放大器使能(sense amplifier enable,SAE)信号,以开启灵敏放大器126。如此,灵敏放大器126能在目标存储单元MN所对应的位线上的电信号达到一定的变化时开始获取参考单元R的参考信号和目标存储单元MN的存储信号,基于这两个信号计算得到目标存储单元MN中存储的数据。其中,SAE信号可以为具有使能功能的电信号,如电压信号或电流信号。参考单元R中存储的本地预设的电势差阈值可以由本领域技术人员根据经验进行设置,也可以由实验来确定,具体不作限定。 FIG. 8 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application. As shown in FIG. 8 , in this example, the read-write controller 120 may further include a sense amplifier 126 . The clock control terminal (C 21 ) and the first input terminal (C 22 ) are respectively connected to the reference unit R in the storage array 110, and the second input terminal (C 23 ) of the sense amplifier 126 is connected to the target storage unit in the storage array 110 (eg memory unit MN), the output terminal (C 24 ) of the sense amplifier 126 is connected to the reading device 200 . In a specific implementation, a potential difference threshold is preset locally in the reference unit R. When the memory is in the read mode, the clock generation circuit 121 can output the clock signal Inner through the clock output terminal B2 . When the clock signal Inner is at a high level, the high level The level-triggered target memory cell MN performs a charge-discharge operation on the corresponding bit line. During the charging and discharging process, the reference cell R can also detect the electrical signal on the bit line corresponding to the target memory cell MN, and determine the electrical signal on the bit line corresponding to the target memory cell MN and the bit line corresponding to the reference cell R When the potential difference between the electrical signals on the above reaches a locally preset potential difference threshold, the reference unit R may send a sense amplifier enable (sense amplifier enable, SAE) signal to the clock control terminal of the sense amplifier 126 to turn on the sense amplifier 126 . In this way, the sense amplifier 126 can start to acquire the reference signal of the reference cell R and the storage signal of the target memory cell MN when the electrical signal on the bit line corresponding to the target memory cell MN reaches a certain change, and calculates the target based on these two signals. The data stored in the storage unit MN. The SAE signal may be an electrical signal with an enabling function, such as a voltage signal or a current signal. The locally preset potential difference threshold stored in the reference unit R may be set by those skilled in the art according to experience, or may be determined by experiments, which is not specifically limited.
采用如图8所示意的读取方案,灵敏放大器126的开启时刻实际上由参考单元R中存储的本地预设的电势差阈值来决定,参考单元R会在目标存储单元充放电至位线上的电信号与参考单元R的位线上的电信号达到本地预设的电势差阈值时发送SAE信号。然而, 本地预设的电势差阈值实际上属于一个预设量,在存储器出厂之后基本无法再变更,这导致灵敏放大器126的开启时刻的可调性较差。在不同的工艺偏差场景下,灵敏放大器126可能需要对应不同的开启时刻。例如,在工艺偏差较小的场景下,虽然目标存储单元还未充放电至电势差达到本地预设的电势差阈值,但目标存储单元和参考单元R的两条位线上的电势差已经足够用于执行判决,在这种情况下,即使不再继续充放电而是直接进入判决阶段,也能得到读出较为准确的数据。显然,使用参考单元R控制灵敏放大器126开启的方案无法适用于该种工作场景。Using the reading scheme as shown in FIG. 8 , the turn-on moment of the sense amplifier 126 is actually determined by the locally preset potential difference threshold stored in the reference cell R, and the reference cell R will charge and discharge the target memory cell to the voltage on the bit line. The SAE signal is sent when the electrical signal and the electrical signal on the bit line of the reference unit R reach a locally preset potential difference threshold. However, the locally preset potential difference threshold actually belongs to a preset value, which basically cannot be changed after the memory is shipped from the factory, which leads to poor adjustability of the turn-on moment of the sense amplifier 126 . Under different process deviation scenarios, the sense amplifier 126 may need to correspond to different turn-on times. For example, in a scenario where the process deviation is small, although the target memory cell has not been charged and discharged until the potential difference reaches the locally preset potential difference threshold, the potential difference between the two bit lines of the target memory cell and the reference cell R is sufficient for execution Judgment, in this case, even if it does not continue to charge and discharge but directly enters the judgment stage, more accurate data can be read out. Obviously, the solution of using the reference unit R to control the opening of the sense amplifier 126 cannot be applied to this working scenario.
图9示例性示出本申请实施例提供的又一种读写控制器的结构示意图,如图9所示,在该示例中,读写控制器120还可以包括灵敏放大器126,灵敏放大器126的时钟控制端(C 31)连接时钟输出端B 1,灵敏放大器126的第一输入端(C 32)连接存储阵列110中的参考单元R,灵敏放大器126的第二输入端(C 33)连接存储阵列110中的目标存储单元(如存储单元MN),灵敏放大器126的输出端(C 34)连接读取设备200。具体实施中,当存储器处于读取模式时,时钟产生电路121可以通过时钟输出端B 1向灵敏放大器126输出时钟信号Input,通过时钟输出端B 2输出时钟信号Inner。当时钟信号Inner处于高电平时,该高电平信号可以触发目标存储单元MN对所对应的位线执行充放电操作。读写控制器120还可以根据需要随时开启灵敏放大器126,如在需要开启灵敏放大器126时,通过时钟产生电路121将时钟信号Input切换为低电平,如此,该低电平信号可以直接施加在灵敏放大器126的时钟控制端上(触发SAE信号)以开启灵敏放大器126,由灵敏放大器126基于获取到的参考信号和存储信号计算得到目标存储单元MN中存储的数据。 FIG. 9 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application. As shown in FIG. 9 , in this example, the read-write controller 120 may further include a sense amplifier 126 . The clock control terminal (C 31 ) is connected to the clock output terminal B 1 , the first input terminal (C 32 ) of the sense amplifier 126 is connected to the reference unit R in the memory array 110 , and the second input terminal (C 33 ) of the sense amplifier 126 is connected to the storage For a target memory cell (eg, memory cell MN) in the array 110 , the output terminal (C 34 ) of the sense amplifier 126 is connected to the reading device 200 . In a specific implementation, when the memory is in the read mode, the clock generation circuit 121 can output the clock signal Input to the sense amplifier 126 through the clock output terminal B1 , and output the clock signal Inner through the clock output terminal B2. When the clock signal Inner is at a high level, the high level signal can trigger the target memory cell MN to perform a charge-discharge operation on the corresponding bit line. The read/write controller 120 can also turn on the sense amplifier 126 at any time as needed. For example, when the sense amplifier 126 needs to be turned on, the clock signal Input is switched to a low level through the clock generation circuit 121. In this way, the low level signal can be directly applied to the On the clock control terminal of the sense amplifier 126 (triggering the SAE signal) to turn on the sense amplifier 126, the sense amplifier 126 calculates and obtains the data stored in the target memory unit MN based on the acquired reference signal and the stored signal.
采用如图9所示意的读取方案,通过使用独立的时钟信号为灵敏放大器126提供工作时钟,能通过调整该独立的时钟信号的电平切换时刻灵活调整灵敏放大器126的开启时刻,这不仅能使读写控制器120适应于不同的读取场景,还无需额外设置反相器等部件,从而还有助于降低读写控制器120的成本和电路结构的复杂性。更进一步的,考虑到读写控制器120的读取操作和写入操作一般不会同时进行,因此该方案为灵敏放大器126和多状态写电路128设置了同一工作时钟,而没有单独分配工作时钟,这种方式还能在独立控制读写操作的同时进一步降低电路结构的复杂性,降低电路成本。Using the reading scheme as shown in FIG. 9 , by using an independent clock signal to provide the operating clock for the sense amplifier 126, the turn-on time of the sense amplifier 126 can be flexibly adjusted by adjusting the level switching time of the independent clock signal, which not only can The read-write controller 120 is adapted to different reading scenarios without additional components such as inverters, thereby helping to reduce the cost of the read-write controller 120 and the complexity of the circuit structure. Further, considering that the read operation and the write operation of the read/write controller 120 are generally not performed at the same time, the solution sets the same operating clock for the sense amplifier 126 and the multi-state write circuit 128, without distributing the operating clock separately. , this method can further reduce the complexity of the circuit structure and reduce the circuit cost while independently controlling the read and write operations.
在一种可选地实施方式中,考虑到使用时钟信号Input提前开启灵敏放大器126的方案具有较快的读取速度,而使用参考单元R开启灵敏放大器126的方案具有较好的读取精度,因此,为兼顾读取速度与读取精度,读写控制器120还可以联合参考单元R和时钟信号Input综合开启灵敏放大器126。在这种情况下,灵敏放大器126的时钟控制端C 31还可以通过一个转接开关分别连接时钟输出端B 1和参考单元R,转接开关的控制端连接读写驱动电路122。在当前电路环境的工艺偏差一致性较好、或对读取精度要求不高、或对读取速度要求较高的场景中,读写驱动电路122可以控制转接开关连通灵敏放大器126的时钟控制端C 31和时钟输出端B 1,断开灵敏放大器126的时钟控制端C 31和参考单元R。如此,即使目标存储单元还未充放电至参考单元R中存储的本地预设的电势差阈值,但只要目标存储单元和参考单元R的两条位线上的电势差已经足够用于执行判决,灵敏放大器126就能在时钟信号Input的控制下提前开启以提前执行判决,有助于读写控制器120尽快读出数据。在当前电路环境的工艺偏差较大、或对读取精度要求较高、或对读取速度要求不高的场景中,读写驱动电路122可以控制转接开关连通灵敏放大器126的时钟控制端C 31和参考单元R,断开灵敏放大器126的时钟控制端C 31和时钟输出端B 1。如此,在目标存储 单元充放电时,参考单元R可以实时获取目标存储单元所对应的位线上的电信号,并计算该电信号与参考单元R所对应的位线上的电信号的电势差,当两个位线上的电信号的电势差大于参考单元R中存储的本地预设的电势差阈值时,参考单元R可以开启灵敏放大器126,如此,灵敏放大器126能够在目标存储单元和参考单元R之间的电势差足够大的情况下才开始判决,有助于提高读写控制器120的读取准确性。 In an optional implementation manner, considering that the solution of using the clock signal Input to turn on the sense amplifier 126 in advance has a faster reading speed, and the solution of using the reference unit R to turn on the sense amplifier 126 has better reading accuracy, Therefore, in order to take into account both the reading speed and the reading accuracy, the read-write controller 120 may also combine the reference unit R and the clock signal Input to comprehensively turn on the sense amplifier 126 . In this case, the clock control terminal C 31 of the sense amplifier 126 can also be connected to the clock output terminal B 1 and the reference unit R through a switch, and the control terminal of the switch is connected to the read-write drive circuit 122 . In scenarios where the current circuit environment has good process deviation consistency, or does not require high reading accuracy, or requires high reading speed, the read-write driving circuit 122 can control the switch to connect to the clock control of the sense amplifier 126 The clock control terminal C 31 of the sense amplifier 126 and the reference unit R are disconnected from the terminal C 31 and the clock output terminal B 1 . In this way, even if the target memory cell has not been charged or discharged to the locally preset potential difference threshold stored in the reference cell R, as long as the potential difference between the two bit lines of the target memory cell and the reference cell R is sufficient to execute the decision, the sense amplifier 126 can be turned on in advance under the control of the clock signal Input to execute the decision in advance, which helps the read/write controller 120 to read data as soon as possible. In the scenario where the current circuit environment has a large process deviation, or requires high reading accuracy, or does not require high reading speed, the read-write driving circuit 122 can control the switch to connect to the clock control terminal C of the sense amplifier 126. 31 and the reference unit R, disconnect the clock control terminal C 31 and the clock output terminal B 1 of the sense amplifier 126 . In this way, when the target storage unit is charged and discharged, the reference unit R can acquire the electrical signal on the bit line corresponding to the target storage unit in real time, and calculate the potential difference between the electrical signal and the electrical signal on the bit line corresponding to the reference unit R, When the potential difference of the electrical signals on the two bit lines is greater than the locally preset potential difference threshold stored in the reference unit R, the reference unit R can turn on the sense amplifier 126, so that the sense amplifier 126 can be between the target memory unit and the reference unit R. The judgment is started only when the potential difference between them is large enough, which helps to improve the reading accuracy of the read/write controller 120 .
下面以一个具体的示例介绍图7所示意的读取方案与图9所示意的读取方案在读取性能上的对比情况。其中,该示例在25℃(℃为温度单位,即摄氏度)的环境温度以及TT工艺角下执行。The following describes a comparison of the reading performance between the reading scheme shown in FIG. 7 and the reading scheme shown in FIG. 9 with a specific example. Wherein, this example is performed at an ambient temperature of 25°C (°C is a unit of temperature, ie, Celsius) and a TT process angle.
图10示例性示出本申请实施例提供的一种读取方案的对比图,如图10所示,上面的三条线对应为图7所示意的使用参考单元开启灵敏放大器的读取方式(称为读取方式1),其中这三条线中的节点线(即图10所示意出的“Innner”线)为读取方式1所对应的时钟信号Inner的电平变化线,这三条线中的实线(即图10所示意出的“SAE1”线)为读取方式1下灵敏放大器接收到的SAE信号变化线,这三条线中的虚线(即图10所示意出的“Q1”线)为读取方式1下灵敏放大器的读出数据信号变化线。下面的三条线对应为图9所示意的通过切换电平状态开启灵敏放大器的读取方式(称为读取方式2),其中这三条线中的节点线(即图10所示意出的“Input”线)为读取方式2所对应的时钟信号Input的电平变化线,这三条线中的实线(即图10所示意出的“SAE2”线)为读取方式2下灵敏放大器接收到的SAE信号变化线,这三条线中的虚线(即图10所示意出的“Q2”线)为读取方式2下灵敏放大器的读出数据信号变化线。FIG. 10 exemplarily shows a comparison diagram of a reading scheme provided by an embodiment of the present application. As shown in FIG. 10 , the three lines above correspond to the reading method of using the reference unit to turn on the sense amplifier shown in FIG. 7 (called It is the reading mode 1), wherein the node line in these three lines (that is, the “Innner” line shown in FIG. 10 ) is the level change line of the clock signal Inner corresponding to the reading mode 1. Among these three lines, The solid line (that is, the "SAE1" line shown in Figure 10) is the change line of the SAE signal received by the sense amplifier in the reading mode 1, and the dotted line among these three lines (that is, the "Q1" line shown in Figure 10) It is the change line of the read data signal of the sense amplifier in read mode 1. The following three lines correspond to the reading method (called reading method 2) of turning on the sense amplifier by switching the level state shown in FIG. ” line) is the level change line of the clock signal Input corresponding to reading mode 2, the solid line in these three lines (that is, the “SAE2” line shown in Figure 10) is the reading mode 2 The sense amplifier receives The SAE signal change line, the dotted line among these three lines (ie, the “Q2” line shown in FIG. 10 ) is the readout data signal change line of the sense amplifier in read mode 2.
表2示例性示出上述两种读取方案的读取性能对比表:Table 2 exemplarily shows the reading performance comparison table of the above two reading schemes:
Figure PCTCN2020137718-appb-000003
Figure PCTCN2020137718-appb-000003
表2Table 2
参照图10和表2,在该示例中,目标存储单元至少需要92.34ns才能完成充放电。在这种情况下:Referring to Figure 10 and Table 2, in this example, the target memory cell needs at least 92.34ns to complete charging and discharging. in this case:
当使用参考单元开启灵敏放大器时,目标存储单元在如图10所示意出的时刻Y 11检测到时钟信号Inner切换至高电平,因此目标存储单元在如图10所示意出的时刻Y 11开始对所对应的位线进行充放电,在92.34ns之后结束充放电。参考单元在如图10所示意出的时刻Y 12检测到充放电至满足参考单元本地预设的电势差阈值,从而参考单元可以在如图10所示意出的时刻Y 12触发灵敏放大器的SAE信号以开启灵敏放大器。至此,准备阶段结束,灵敏放大器进入判决阶段。在这种情况下,由于灵敏放大器的开启时刻较晚,因此两个位线上输出的电信号的电势差较大,灵敏放大器只需要比较短的时间(如1.66ns)即可完成判决,因此,灵敏放大器可以在如图10所示意出的时刻Y 13读出数据。基于此,使用参考单元开启灵敏放大器的读取方式总共需要94ns才能读出数据。 When using the reference cell to turn on the sense amplifier, the target memory cell detects that the clock signal Inner is switched to a high level at time Y11 as shown in FIG. The corresponding bit lines are charged and discharged, and the charging and discharging are completed after 92.34 ns. The reference unit detects the charge and discharge at the time Y 12 as shown in FIG. 10 to meet the potential difference threshold preset locally by the reference unit, so that the reference unit can trigger the SAE signal of the sense amplifier at the time Y 12 as shown in FIG. 10 . Turn on the sense amplifier. So far, the preparation stage is over, and the sense amplifier enters the decision stage. In this case, due to the late turn-on time of the sense amplifier, the potential difference of the electrical signals output on the two bit lines is large, and the sense amplifier only needs a relatively short time (such as 1.66ns) to complete the decision. Therefore, The sense amplifier can read out data at time Y 13 as illustrated in FIG. 10 . Based on this, the read method using the reference cell to turn on the sense amplifier takes a total of 94ns to read out data.
当通过切换电平状态开启灵敏放大器时,目标存储单元在如图10所示意出的时刻Y 21 检测到时钟信号Inner切换至高电平,因此目标存储单元在如图10所示意出的时刻Y 21开始对所对应的位线开始充放电,在92.34ns之后结束充放电。读写控制器在确定当前电路环境的工艺偏差使得充放电39.9ns的时间间隔就能形成电势差时,可以在如图10所示意出的时刻Y 22通过时钟产生电路将时钟信号Input切换至低电平,以提前触发灵敏放大器开启。至此,准备阶段结束,灵敏放大器进入判决阶段。在这种情况下,由于灵敏放大器提前开启,因此两个位线上输出的电信号的电势差较小,从而灵敏放大器可能需要更长的时间(如9.1ns)才能判决出读数,因此,灵敏放大器可以在如图10所示意出的时刻Y 33读出数据。基于此,通过切换电平状态开启灵敏放大器的读取方式只需要49ns就能读出数据。 When the sense amplifier is turned on by switching the level state, the target memory unit detects that the clock signal Inner is switched to a high level at time Y 21 as shown in FIG. 10 , so the target memory unit is at time Y 21 as shown in FIG. 10 . The corresponding bit line starts charging and discharging, and ends charging and discharging after 92.34 ns. When the read-write controller determines the process deviation of the current circuit environment so that a potential difference can be formed at a time interval of 39.9ns for charging and discharging, the read-write controller can switch the clock signal Input to a low power level through the clock generation circuit at the moment Y 22 as shown in Figure 10. level to trigger the sense amp to turn on in advance. So far, the preparation stage is over, and the sense amplifier enters the decision stage. In this case, since the sense amplifier is turned on in advance, the potential difference of the electrical signals output on the two bit lines is small, so the sense amplifier may take a longer time (such as 9.1ns) to judge the reading. Therefore, the sense amplifier Data can be read out at time Y 33 as illustrated in FIG. 10 . Based on this, the reading method of turning on the sense amplifier by switching the level state only needs 49ns to read data.
根据上述内容可知,通过切换电平状态开启灵敏放大器的读取方式能提前开启灵敏放大器,虽然这种方式使得灵敏放大器的判决时长变长,但在整个读出时间上比参考单元开启灵敏放大器的读取方式优化47.8%,在准备阶段上比参考单元开启灵敏放大器的读取方式优化56.8%。至于具体提前多久开启灵敏放大器,可以由本领域技术人员根据经验进行设置,或者也可以根据实验测算得到,如通过多次实验测得一个大概率不会出错的时长,将该时长作为灵敏放大器的准确阶段的时长,如此可以降低某些极端情况下快速读数所导致的读取出错的概率。According to the above content, the reading method of turning on the sense amplifier by switching the level state can turn on the sense amplifier in advance. Although this method makes the decision time of the sense amplifier longer, the whole readout time is longer than that of the reference unit turning on the sense amplifier. The reading method is optimized by 47.8%, which is 56.8% better than the reading method in which the sense amplifier is turned on in the reference unit in the preparation stage. As for how long to turn on the sense amplifier in advance, it can be set by those skilled in the art based on experience, or it can be calculated according to experiments. The duration of the phase can reduce the probability of reading errors caused by rapid reading in some extreme cases.
下面结合图9所示意的读写控制器,以一个具体的时序控制流程介绍本申请中读写方案的具体实现过程:Below in conjunction with the read-write controller shown in FIG. 9, the specific implementation process of the read-write scheme in the present application is introduced with a specific timing control flow:
图11示例性示出本申请实施例提供的一种读写控制时序图,如图11所示,该读写控制时序中共涉及到如下控制信号:输入时钟信号Input、输入时钟信号Inner、写使能信号WEN、读使能信号REN、输入输出信号DATA、字线信号WL、灵敏放大器使能信号SAE和读出数据信号Q。其中,输入输出信号DATA是指读写控制器从外部设备所接收到的信号,如可以包括外部设备向读写控制器发送的写入请求信号和外部设备向读写控制器发送的读取请求信号等。写使能信号WEN和读使能信号REN分别用于使能读写控制器的写入模式和读出模式,当写使能信号WEN被触发(如低电平触发),读写控制器对应切换至写入模式,当读使能信号REN被触发(如低电平触发),读写控制器对应切换至读出模式。读出数据信号Q是指读写控制器向外部设备发送读出数据的信号。字线信号WL贯彻于读写控制器的整个读写逻辑,不仅可以按照行译码电路译码出的目标存储单元所在的行打开该行存储单元,以便于读写驱动电路在该行打开的存储单元中按照列译码电路译码出的目标存储单元的列对目标存储单元执行读写操作,还可以在执行写入操作时将待写入的数据写入目标存储单元,以及在执行读出操作时按照目标存储单元中存储的数据触发目标存储单元的充放电。灵敏放大器使能信号SAE用于开启灵敏放大器,当灵敏放大器使能信号SAE被触发(如高电平触发),灵敏放大器获取两个位线上输出的电信号并启动判决。在这些控制信号中,写使能信号WEN、字线信号WL的读出状态、读使能信号REN、输入输出信号DATA和读出数据信号Q可以由输入时钟信号Inner触发,而字线信号WL的写入状态和灵敏放大器使能信号SAE可以由输入时钟信号Input触发。FIG. 11 exemplarily shows a read-write control sequence diagram provided by an embodiment of the present application. As shown in FIG. 11 , the read-write control sequence involves the following control signals: input clock signal Input, input clock signal Inner, write enable An enable signal WEN, a read enable signal REN, an input/output signal DATA, a word line signal WL, a sense amplifier enable signal SAE, and a readout data signal Q. Among them, the input and output signal DATA refers to the signal received by the read-write controller from the external device, such as the write request signal sent by the external device to the read-write controller and the read request sent by the external device to the read-write controller. signal etc. The write enable signal WEN and the read enable signal REN are used to enable the write mode and read mode of the read-write controller respectively. Switch to the write mode, when the read enable signal REN is triggered (eg low level trigger), the read-write controller switches to the read mode accordingly. The read data signal Q refers to the signal that the read-write controller sends the read data to the external device. The word line signal WL is implemented in the entire read-write logic of the read-write controller, not only can the row of memory cells be opened according to the row of the target memory cell decoded by the row decoding circuit, so that the read-write drive circuit can open the row in the row. In the storage unit, read and write operations are performed on the target storage unit according to the column of the target storage unit decoded by the column decoding circuit, and the data to be written can also be written into the target storage unit when the write operation is performed, and when the read operation is performed. During the out operation, the charging and discharging of the target storage unit is triggered according to the data stored in the target storage unit. The sense amplifier enable signal SAE is used to turn on the sense amplifier. When the sense amplifier enable signal SAE is triggered (eg, triggered at a high level), the sense amplifier acquires the electrical signals output from the two bit lines and starts the decision. Among these control signals, the write enable signal WEN, the read state of the word line signal WL, the read enable signal REN, the input and output signals DATA and the read data signal Q can be triggered by the input clock signal Inner, while the word line signal WL The write status and sense amplifier enable signal SAE can be triggered by the input clock signal Input.
在写入操作的具体实现方式中,输入时钟信号Input、输入时钟信号Inner、写使能信号WEN、输入输出信号DATA和字线信号WL可以通过联合作用来综合完成写入操作。具体来说,继续参照图11所示,在外部设备需要向存储器中连续写入两个数据时,外部设备可以在h1时刻向读写控制器发送写入请求,该写入请求属于一种输入输出信号DATA。该写入请求在h2时刻(若不考虑信号传输延时,则h2时刻即为h1时刻,若考虑信号传 输延时,则h2时刻晚于h1时刻)对应触发写使能信号WEN,以使读写控制器切换至写入模式。当处于写入模式时,在时钟信号Inner的一个电平状态(如图11所示意的x1时刻至x2时刻均处于高电平状态)下,读写驱动电路具有固定的电平,而字线电路根据输入时钟信号Input的电平变化情况触发字线信号WL处于不同的电平,例如当输入时钟信号Input在h3时刻切换到高电平时,字线电路基于该高电平会在h4时刻(若不考虑信号传输延时,则h4时刻即为h3时刻,若考虑信号传输延时,则h4时刻晚于h3时刻)触发字线信号WL处于高电平,如此,读写驱动电路根据读写驱动电路的电平和字线信号WL的高电平之间的电压差,逐渐向存储阵列中写入第一个状态(如“0”),直至输入时钟信号Input切换到低电平。当输入时钟信号Input在h5时刻切换到低电平时,字线电路基于该低电平会在h6时刻(若不考虑信号传输延时,则h6时刻即为h5时刻,若考虑信号传输延时,则h6时刻晚于h5时刻)触发字线信号WL处于低电平,如此,读写驱动电路根据读写驱动电路的电平和字线信号WL的低电平之间的电压差,结束写入第一个状态并启动写入第二个状态(如“1”)。在写入过程中,读写控制器还可以通过时钟产生电路在时段t1内调节时刻h5以改变时刻h6的到来时间,如当工艺偏压较大导致存储器需要较长的时间才能写入第一个状态时,读写控制器可以通过时钟产生电路将时刻h5调节为时段t1中的一个较晚的时刻值,如此,时刻h6也能来的较晚,这样,字线信号WL就能在切换至高电平后的很长的时间之后再切换至低电平,从而给存储器预留更多的时间来写入第一个状态。又如,当工艺偏压较小导致存储器在很短的时间就能写入第一个状态时,读写控制器可以通过时钟产生电路将时刻h5调节为时段t1中的一个较早的时刻值,如此,时刻h6也能来的较早,这样,字线信号WL在切换至高电平后很短的时间之内就能切换至低电平,存储器能很快开始写入第二个状态。之后,当第二个状态写入完成后,字线信号WL可以在h7时刻恢复至休眠电平,从而结束写入操作。对应的,写使能信号WEN在时刻h8切换至低电平状态,以使读写控制器退出写入模式。至此,读写控制器完成写入操作。In a specific implementation of the write operation, the input clock signal Input, the input clock signal Inner, the write enable signal WEN, the input and output signal DATA and the word line signal WL can be combined to complete the write operation. Specifically, as shown in Figure 11, when the external device needs to continuously write two data into the memory, the external device can send a write request to the read-write controller at the time h1, and the write request belongs to an input Output signal DATA. The write request triggers the write enable signal WEN at time h2 (if the signal transmission delay is not considered, the time h2 is the time h1; if the signal transmission delay is considered, the time h2 is later than the time h1) The write controller switches to write mode. When in the write mode, in a level state of the clock signal Inner (as shown in Figure 11, it is in a high level state from time x1 to time x2), the read-write drive circuit has a fixed level, and the word line has a fixed level. The circuit triggers the word line signal WL to be at different levels according to the level change of the input clock signal Input. For example, when the input clock signal Input switches to a high level at the h3 time, the word line circuit will be based on the high level at the h4 time ( If the signal transmission delay is not considered, then the h4 time is the h3 time. If the signal transmission delay is considered, the h4 time is later than the h3 time) to trigger the word line signal WL to be at a high level. The voltage difference between the level of the driving circuit and the high level of the word line signal WL gradually writes the first state (eg "0") into the memory array until the input clock signal Input switches to a low level. When the input clock signal Input switches to a low level at the time h5, the word line circuit will be at the time h6 based on the low level (if the signal transmission delay is not considered, the time h6 is the time h5, if the signal transmission delay is considered, Then the time h6 is later than the time h5) to trigger the word line signal WL to be at a low level. In this way, the read-write drive circuit ends the writing process according to the voltage difference between the level of the read-write drive circuit and the low level of the word line signal WL. one state and initiates writing to the second state (eg "1"). During the writing process, the read-write controller can also adjust the time h5 within the time period t1 through the clock generation circuit to change the arrival time of the time h6. For example, when the process bias is large, the memory needs a longer time to write the first time In this state, the read-write controller can adjust the time h5 to a later time value in the time period t1 through the clock generation circuit, so that the time h6 can also come later, so that the word line signal WL can be switched Switching to low a long time after going high gives the memory more time to write the first state. For another example, when the process bias is small and the memory can be written to the first state in a very short time, the read-write controller can adjust the time h5 to an earlier time value in the time period t1 through the clock generation circuit. In this way, the time h6 can also come earlier, so that the word line signal WL can be switched to the low level within a short time after switching to the high level, and the memory can quickly start writing the second state. After that, when the writing of the second state is completed, the word line signal WL can be restored to the sleep level at the moment h7, thereby ending the writing operation. Correspondingly, the write enable signal WEN switches to a low level state at time h8, so that the read-write controller exits the write mode. At this point, the read-write controller completes the write operation.
在读取操作的具体实现方式中,输入时钟信号Input、输入时钟信号Inner、读使能信号REN、输入输出信号DATA、字线信号WL、灵敏放大器使能信号SAE和读出数据信号Q可以通过联合作用来综合完成读取操作。具体来说,继续参照图11所示,在外部设备需要读取存储器中的数据时,外部设备可以在m1时刻向读写控制器发送读取请求,该读取请求属于一种输入输出信号DATA。该读取请求在m2时刻(若不考虑信号传输延时,则m2时刻即为m1时刻,若考虑信号传输延时,则m2时刻晚于m1时刻)对应触发读使能信号REN,以使读写控制器切换至读出模式。当处于读出模式时,读写控制器根据输入时钟信号Inner的电平变化情况启动放电操作,如当输入时钟信号Inner在y1时刻切换到高电平时,字线电路基于该高电平会在m4时刻(若不考虑信号传输延时,则m4时刻即为y1时刻,若考虑信号传输延时,则m4时刻晚于y1时刻)触发字线信号WL切换为低电平(该低电平可以与写入状态下的低电平相同,也可以不同,不作限定),以使目标存储单元所对应的位线进行充放电,直至输入时钟信号Inner在y2时刻切换至低电平从而触发字线信号WL切换到休眠电平,或者直至目标存储单元充放电完成。在充放电过程中,由于输入时钟信号Input在m3时刻至m5时刻之间处于高电平,因此灵敏放大器未被触发开启。直至输入时钟信号Input在m5时刻切换到低电平时,该低电平会在m6时刻(若不考虑信号传输延时,则m6时刻即为m5时刻,若考虑信号传输延时,则m6时刻晚于m5时刻)触发灵敏放大器使能信号SAE切换为高电平以开启灵敏放大器,此时灵敏放大器读取 目标存储单元所对应的位线上输出的电信号和参考单元所对应的位线上输出的电信号,根据这两个电信号判决目标存储单元中存储的数据。在放电过程中,读写控制器还可以通过时钟产生电路在时段t2内调节时刻m5以改变时刻m6的到来时间,如在确定当前的电路环境较好而当前所使用的开启时刻较晚时,读写控制器可通过时钟产生电路提前触发输入时钟信号Input的下降沿,即提前控制时刻m5来临,如此,时刻m6也能提前来临,这样,灵敏放大器就能更早开启并更早进入判决阶段,以缩短读出时间。之后,在判决完成后,读写控制器可以通过读出数据信号Q在m7时刻将读出的数据发送给外部设备。至此,读写控制器完成读取操作。In the specific implementation of the read operation, the input clock signal Input, the input clock signal Inner, the read enable signal REN, the input and output signal DATA, the word line signal WL, the sense amplifier enable signal SAE and the read data signal Q can be passed through Combined action to synthesize the read operation. Specifically, as shown in FIG. 11 , when the external device needs to read the data in the memory, the external device can send a read request to the read-write controller at time m1, and the read request belongs to an input and output signal DATA . The read request triggers the read enable signal REN at time m2 (if the signal transmission delay is not considered, the time m2 is the time m1; if the signal transmission delay is considered, the time m2 is later than the time m1) The write controller switches to read mode. When in the readout mode, the read-write controller starts the discharge operation according to the level change of the input clock signal Inner. For example, when the input clock signal Inner switches to a high level at the time of y1, the word line circuit will start the discharge operation based on the high level. Time m4 (if the signal transmission delay is not considered, the time m4 is the time y1; if the signal transmission delay is considered, the time m4 is later than the time y1) to trigger the word line signal WL to switch to a low level (the low level can be It is the same as the low level in the write state, or it can be different, not limited), so that the bit line corresponding to the target memory cell is charged and discharged, until the input clock signal Inner switches to the low level at the moment of y2 to trigger the word line The signal WL switches to the sleep level, or until the charging and discharging of the target memory cell is completed. During the charging and discharging process, since the input clock signal Input is at a high level between the time m3 and the time m5, the sense amplifier is not triggered to be turned on. Until the input clock signal Input switches to a low level at the m5 time, the low level will be at the m6 time (if the signal transmission delay is not considered, the m6 time is the m5 time, and if the signal transmission delay is considered, the m6 time is late. At time m5) trigger the sense amplifier enable signal SAE to switch to high level to turn on the sense amplifier, at this time the sense amplifier reads the electrical signal output on the bit line corresponding to the target memory cell and the output on the bit line corresponding to the reference cell The data stored in the target storage unit is determined according to the two electrical signals. During the discharge process, the read-write controller can also adjust the time m5 within the time period t2 through the clock generation circuit to change the arrival time of the time m6. For example, when it is determined that the current circuit environment is good and the currently used opening time is late, The read-write controller can trigger the falling edge of the input clock signal Input in advance through the clock generation circuit, that is, the time m5 can be controlled in advance. In this way, the time m6 can also come in advance, so that the sense amplifier can be turned on earlier and enter the judgment stage earlier. , to shorten the readout time. After that, after the judgment is completed, the read-write controller can send the read data to the external device at time m7 through the read data signal Q. So far, the read-write controller completes the read operation.
根据上述内容可知,通过为多状态写电路和灵敏放大器设置单独的工作时钟,使得读写控制器能通过切换该单独的工作时钟的电平提前或延时写入另一状态或读出判决,如此,读写控制器的写入时长和读取时长能具有较宽的可调节范围。即使在恶劣的工艺偏差影响下,该种读写控制器也能在该较宽的可调节范围的支持下将写入时长和读取时长调节到满足该种工艺偏差的要求,尽量兼顾读写准确性和读写效率,有效提高读写控制器的读写性能。According to the above content, by setting a separate working clock for the multi-state writing circuit and the sense amplifier, the read-write controller can switch the level of the separate working clock to advance or delay to write another state or read out the judgment, In this way, the writing duration and the reading duration of the read-write controller can have a wide adjustable range. Even under the influence of severe process deviation, the read-write controller can adjust the write duration and read duration to meet the requirements of the process deviation under the support of the wide adjustable range, and try to take into account the read and write as much as possible. Accuracy and read-write efficiency, effectively improve the read-write performance of the read-write controller.
下面继续基于实施例二中的图9所示意的读写控制器120,从实施例三进一步介绍时钟产生电路121的可能结构。需要说明的是,实施例三仅是以图9所示意的读写控制器120为例进行介绍,实施例三中的各个方案同样适用于上述实施例一或实施例二中的任一读写控制器,如图3、图4、图7或图7所示意出的读写控制器120,本申请对此不再一一赘述。In the following, based on the read/write controller 120 shown in FIG. 9 in the second embodiment, the possible structure of the clock generation circuit 121 is further introduced from the third embodiment. It should be noted that the third embodiment is only introduced by taking the read/write controller 120 shown in FIG. 9 as an example, and each solution in the third embodiment is also applicable to any read/write in the above-mentioned first or second embodiment. The controller, such as the read/write controller 120 shown in FIG. 3 , FIG. 4 , FIG. 7 or FIG. 7 , will not be described in detail in this application.
【实施例三】[Example 3]
本申请实施例中,能产生时钟信号Input和时钟信号Inner的时钟产生电路121可以有多种可能。下面示例性介绍三种可能的实现方式:In this embodiment of the present application, the clock generation circuit 121 capable of generating the clock signal Input and the clock signal Inner may have various possibilities. Three possible implementations are exemplified below:
实施方式一 Embodiment 1
图12示例性示出本申请实施例提供的又一种读写控制器的结构示意图,如图12所示,在该示例中,时钟产生电路121还可以包括第一时钟生成器1211和分频器1212,第一时钟生成器1211的输出端分别连接时钟输出端B 1和分频器1212的输入端,分频器1212的输出端连接时钟输出端B 2。在这种情况下,第一时钟生成器1211可以生成时钟信号Input并分别提供给时钟输出端B 1和分频器1212,如此,该时钟信号Input一方面可以通过时钟输出端B 1输出给多状态写电路128和灵敏放大器126,另一方面还可以经由分频器1212分频为更低频率的时钟信号Inner后提供给时钟输出端B 2,以通过时钟输出端B 2将更低频率的时钟信号Inner输出给除多状态写电路128和灵敏放大器126以外的一个或多个其它电路。按照图12所示意出的时钟产生电路121,读写驱动电路122在需要提前切换时钟信号Input的电平时,可以向第一时钟生成器1211发送第一指示信息,如此,第一时钟生成器1211在接收到第一指示信息后,可以按照第一指示信息的指示提前切换电平。其中,第一指示信息中还可以指示出提前多久切换。或者,读写驱动电路122在需要延迟切换时钟信号Input的电平时,可以向第一时钟生成器1211发送第二指示信息,如此,第一时钟生成器1211在接收到第二指示信息后,可以按照第二指示信息的指示延迟切换电平。其中,第二指示信息中还可以指示出延迟多久切换。 FIG. 12 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application. As shown in FIG. 12 , in this example, the clock generation circuit 121 may further include a first clock generator 1211 and a frequency divider The output terminal of the first clock generator 1211 is connected to the clock output terminal B 1 and the input terminal of the frequency divider 1212 respectively, and the output terminal of the frequency divider 1212 is connected to the clock output terminal B 2 . In this case, the first clock generator 1211 can generate the clock signal Input and provide it to the clock output terminal B1 and the frequency divider 1212, respectively. In this way, the clock signal Input can be output to multiple clock outputs through the clock output terminal B1 on the one hand. The state writing circuit 128 and the sense amplifier 126, on the other hand, can also be divided into a lower frequency clock signal Inner via the frequency divider 1212 and then provided to the clock output terminal B 2 , so that the lower frequency clock signal Inner can be divided by the clock output terminal B 2 . The clock signal Inner is output to one or more other circuits in addition to the multi-state write circuit 128 and the sense amplifier 126 . According to the clock generating circuit 121 shown in FIG. 12 , the read-write driving circuit 122 can send the first indication information to the first clock generator 1211 when the level of the clock signal Input needs to be switched in advance. In this way, the first clock generator 1211 After receiving the first indication information, the level can be switched in advance according to the instruction of the first indication information. Wherein, the first indication information may further indicate how far in advance to switch. Alternatively, the read-write driving circuit 122 can send the second indication information to the first clock generator 1211 when the level of the clock signal Input needs to be delayed and switched. In this way, after receiving the second indication information, the first clock generator 1211 can The switching level is delayed according to the instruction of the second instruction information. Wherein, the second indication information may further indicate how long to delay the handover.
本申请实施例中,分频器1212可以为能够实现降频功能的任意器件,如图12所示意出的D触发器。在这种情况下,假设某种工艺偏差下写入一个状态需要20ns,一个反相器 的延时为100-200ps,则按照图4所示意的通过反相延时链1281实现多状态写入的方案,实现20ns的延时至少需要100-200个反相器。而按照图12所示意的切换电平状态实现多状态写入的方案,当分频器为D触发器时,D触发器内部只需设置4-7个反相器和2-4个传输门即可实现分频操作。显然,图12所示意的读写控制器能具有更少的电路元器件,有助于节省读写控制器的占用空间。In this embodiment of the present application, the frequency divider 1212 may be any device capable of realizing a frequency reduction function, such as a D flip-flop as shown in FIG. 12 . In this case, assuming that it takes 20ns to write a state under a certain process deviation, and the delay of one inverter is 100-200ps, the multi-state writing is realized through the inverting delay chain 1281 as shown in Figure 4. The solution, to achieve a delay of 20ns requires at least 100-200 inverters. According to the scheme of switching the level state to realize multi-state writing shown in Figure 12, when the frequency divider is a D flip-flop, only 4-7 inverters and 2-4 transmission gates need to be set inside the D flip-flop. Frequency division operation can be realized. Obviously, the read/write controller shown in FIG. 12 can have fewer circuit components, which helps to save the space occupied by the read/write controller.
示例性地,分频器1212还可以将时钟信号Input分频处理为多个不同频率的时钟信号,并分别提供给除多状态写电路128和灵敏放大器126以外的其它各个电路。如此,其它各个电路还可以分别对应不同的工作时钟,有助于单独调节存储器中的其它各个操作,进一步提高读写控制器的灵活性。Exemplarily, the frequency divider 1212 can also divide the clock signal Input into a plurality of clock signals with different frequencies, and provide them to other circuits except the multi-state writing circuit 128 and the sense amplifier 126 respectively. In this way, other circuits can also correspond to different operating clocks respectively, which helps to independently adjust other operations in the memory and further improves the flexibility of the read-write controller.
实施方式二Embodiment 2
图13示例性示出本申请实施例提供的又一种读写控制器的结构示意图,如图13所示,在该示例中,时钟产生电路121还可以包括第二时钟生成器1213和倍频器1214,第二时钟生成器1213的输出端分别连接时钟输出端B 2和倍频器1214的输入端,倍频器1214的输出端连接时钟输出端B 1。在这种情况下,第二时钟生成器1213可以生成时钟信号Inner并分别提供给时钟输出端B 2和倍频器1214,该时钟信号Inner一方面可以通过时钟输出端B 2输出给除多状态写电路128和灵敏放大器126以外的一个或多个其它电路,另一方面可以经由倍频器1214倍频为更高频率的时钟信号Input后提供给时钟输出端B 1,以通过时钟输出端B 1将更高频率的时钟信号Input输出给多状态写电路128和灵敏放大器126。其中,倍频器1214可以为能够实现升频功能的任意器件,如锁相环。按照图13所示意出的时钟产生电路121,读写驱动电路122在需要提前切换时钟信号Input的电平时,可以向倍频器1214发送第三指示信息,如此,倍频器1214在接收到第三指示信息后,可以按照第三指示信息的指示提前切换电平。其中,第三指示信息中还可以指示出提前多久切换。或者,读写驱动电路122在需要延迟切换时钟信号Input的电平时,可以向倍频器1214发送第四指示信息,如此,倍频器1214在接收到第四指示信息后,可以按照第四指示信息的指示延迟切换电平。其中,第四指示信息中还可以指示出延迟多久切换。 FIG. 13 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application. As shown in FIG. 13 , in this example, the clock generation circuit 121 may further include a second clock generator 1213 and a frequency multiplier The output terminal of the second clock generator 1213 is connected to the clock output terminal B 2 and the input terminal of the frequency multiplier 1214 respectively, and the output terminal of the frequency multiplier 1214 is connected to the clock output terminal B 1 . In this case, the second clock generator 1213 can generate the clock signal Inner and provide it to the clock output terminal B 2 and the frequency multiplier 1214, respectively. One or more other circuits other than the writing circuit 128 and the sense amplifier 126, on the other hand, can be multiplied by the frequency multiplier 1214 to a higher frequency clock signal Input and then provided to the clock output terminal B 1 , so as to pass the clock output terminal B 1 outputs the higher frequency clock signal Input to the multi-state write circuit 128 and the sense amplifier 126. Wherein, the frequency multiplier 1214 can be any device capable of realizing the frequency up-conversion function, such as a phase-locked loop. According to the clock generation circuit 121 shown in FIG. 13 , when the read-write driving circuit 122 needs to switch the level of the clock signal Input in advance, it can send the third instruction information to the frequency multiplier 1214 . In this way, the frequency multiplier 1214 receives the After the third indication information, the level can be switched in advance according to the instruction of the third indication information. Wherein, the third indication information may further indicate how far in advance to switch. Alternatively, the read-write driving circuit 122 can send the fourth indication information to the frequency multiplier 1214 when the level of the clock signal Input needs to be delayed and switched. In this way, the frequency multiplier 1214 can follow the fourth indication after receiving the fourth indication information. Information indicating the delay switching level. Wherein, the fourth indication information may further indicate how long to delay the handover.
示例性地,倍频器1214还可以将时钟信号Inner分频处理为两个不同频率的时钟信号,并分别提供给多状态写电路128和灵敏放大器126。如此,多状态写电路128和灵敏放大器126还可以分别对应不同的工作时钟,这有助于单独调节存储器中的读写操作,进一步提高读写控制器120的灵活性。Exemplarily, the frequency multiplier 1214 may further divide the clock signal Inner into two clock signals with different frequencies, and provide them to the multi-state writing circuit 128 and the sense amplifier 126 respectively. In this way, the multi-state write circuit 128 and the sense amplifier 126 can also correspond to different operating clocks respectively, which helps to individually adjust the read and write operations in the memory and further improves the flexibility of the read and write controller 120 .
实施方式三Embodiment 3
图14示例性示出本申请实施例提供的又一种读写控制器的结构示意图,如图14所示,在该示例中,时钟产生电路121还可以包括第三时钟生成器1215和第四时钟生成器1216,第三时钟生成器1215的输出端连接时钟输出端B 1,第四时钟生成器1216的输出端连接时钟输出端B 2。在这种情况下,第三时钟生成器1215可以生成时钟信号Input并提供给时钟输出端B 1,以通过时钟输出端B 1将时钟信号Input输出给多状态写电路128和灵敏放大器126。第四时钟生成器1216可以生成时钟信号Inner并提供给时钟输出端B 2,以通过时钟输出端B 2将时钟信号Inner输出给除多状态写电路128和灵敏放大器126以外的一个或多个其它电路。按照图14所示意出的时钟产生电路121,读写驱动电路122在需要提前切换时钟信号Input的电平时,可以向第三时钟生成器1215发送第五指示信息,如此,第三时钟生成器1215在接收到第五指示信息后,可以按照第五指示信息的指示提前切换电平。 其中,第五指示信息中还可以指示出提前多久切换。或者,读写驱动电路122在需要延迟切换时钟信号Input的电平时,可以向第三时钟生成器1215发送第六指示信息,如此,第三时钟生成器1215在接收到第六指示信息后,可以按照第六指示信息的指示延迟切换电平。其中,第六指示信息中还可以指示出延迟多久切换。 FIG. 14 exemplarily shows a schematic structural diagram of another read-write controller provided by an embodiment of the present application. As shown in FIG. 14 , in this example, the clock generation circuit 121 may further include a third clock generator 1215 and a fourth clock generator 1215 . In the clock generator 1216, the output terminal of the third clock generator 1215 is connected to the clock output terminal B 1 , and the output terminal of the fourth clock generator 1216 is connected to the clock output terminal B 2 . In this case, the third clock generator 1215 may generate and provide the clock signal Input to the clock output terminal B 1 to output the clock signal Input to the multi-state write circuit 128 and the sense amplifier 126 through the clock output terminal B 1 . Fourth clock generator 1216 may generate and provide clock signal Inner to clock output B 2 to output clock signal Inner to one or more other than multi-state write circuit 128 and sense amplifier 126 through clock output B 2 . circuit. According to the clock generating circuit 121 shown in FIG. 14 , when the read-write driving circuit 122 needs to switch the level of the clock signal Input in advance, it can send the fifth instruction information to the third clock generator 1215 . In this way, the third clock generator 1215 After receiving the fifth indication information, the level can be switched in advance according to the instruction of the fifth indication information. Wherein, the fifth indication information may further indicate how far in advance to switch. Alternatively, the read-write driving circuit 122 can send the sixth indication information to the third clock generator 1215 when the level of the clock signal Input needs to be delayed and switched. In this way, after receiving the sixth indication information, the third clock generator 1215 can The switching level is delayed according to the instruction of the sixth instruction information. Wherein, the sixth indication information may further indicate how long to delay the handover.
需要说明的是,上述实施例三只是示例性介绍时钟产生电路的三种可能结构。应理解,本申请并不限定时钟产生电路只能具有这几种结构,只要能生成两个频率不同的时钟信号的时钟产生电路都在本申请的保护范围内,本申请对此不再一一赘述。It should be noted that the above-mentioned Embodiment 3 merely exemplarily introduces three possible structures of the clock generating circuit. It should be understood that the present application does not limit the clock generation circuit to only have these structures. As long as the clock generation circuit capable of generating two clock signals with different frequencies is within the scope of protection of the present application, the present application will not address them one by one. Repeat.
应理解,本申请的上述各个实施例还可以相互结合,以得到新的实施例,本申请对此不再一一介绍。It should be understood that the above-mentioned embodiments of the present application may also be combined with each other to obtain new embodiments, which will not be introduced one by one in this application.
应理解,本申请上述实施例中的各个部件均是指功能器件,本申请并不限定这些功能部件的具体实现方式。例如,上述内容所述的MOS管也可以替换为能够通过电平切换控制通断的其它器件,如晶体管。It should be understood that each component in the above embodiments of the present application refers to functional devices, and the present application does not limit the specific implementation of these functional components. For example, the MOS transistors described above can also be replaced with other devices, such as transistors, which can be switched on and off through level switching.
基于以上实施例,本申请实施例还提供一种存储器,包括上述任一读写控制器以及存储阵列。其中,读写控制器可以与存储阵列连接,用于按照以上实施例中介绍的方案读写存储阵列中的数据。Based on the above embodiments, embodiments of the present application further provide a memory, including any of the above-mentioned read-write controllers and a storage array. The read-write controller can be connected to the storage array, and is used for reading and writing data in the storage array according to the solutions introduced in the above embodiments.
基于以上实施例,本申请实施例还提供一种电子设备,该电子设备包含上述存储器以及PCB,存储器设置在PCB的表面。Based on the above embodiments, the embodiments of the present application further provide an electronic device, the electronic device includes the above-mentioned memory and a PCB, and the memory is provided on the surface of the PCB.
示例性地,该电子设备包括但不限于:智能手机、智能手表、平板电脑、VR设备、AR设备、车载设备、台式计算机、个人计算机、手持式计算机或个人数字助理。Illustratively, the electronic device includes, but is not limited to, a smartphone, a smart watch, a tablet, a VR device, an AR device, an in-vehicle device, a desktop computer, a personal computer, a handheld computer, or a personal digital assistant.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disc,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line, DSL) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, high-density digital video discs (DVDs)), or semiconductor media (eg, solid state discs, SSD)) etc.
在本说明书中使用的术语“部件”、“模块”、“系统”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在两个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地系统、分布式系统和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地和/或远程进程 来通信。The terms "component", "module", "system" and the like are used in this specification to refer to a computer-related entity, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a computing device and the computing device may be components. One or more components may reside within a process and/or thread of execution, and a component may be localized on one computer and/or distributed between two or more computers. In addition, these components can execute from various computer readable media having various data structures stored thereon. A component may, for example, be based on a signal having one or more data packets (eg, data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet interacting with other systems via signals) Communicate through local and/or remote processes.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各种说明性逻辑块(illustrative logical block)和步骤(step),能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the various illustrative logical blocks and steps described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware accomplish. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
尽管已描述了本申请中一些可能的实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括本申请实施例以及落入本申请范围的所有变更和修改。Although a few possible embodiments have been described in this application, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the embodiments of the present application and all changes and modifications that fall within the scope of the present application.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的保护范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the protection scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (10)

  1. 一种读写控制器,其特征在于,包括时钟产生电路、多状态写电路、行译码电路和列译码电路;所述时钟产生电路包括第一时钟输出端和第二时钟输出端,所述第一时钟输出端输出的第一时钟信号的时钟频率高于所述第二时钟输出端输出的第二时钟信号的时钟频率;A read-write controller is characterized in that it includes a clock generation circuit, a multi-state write circuit, a row decoding circuit and a column decoding circuit; the clock generation circuit includes a first clock output terminal and a second clock output terminal, wherein the the clock frequency of the first clock signal output by the first clock output terminal is higher than the clock frequency of the second clock signal output by the second clock output terminal;
    所述第一时钟输出端连接所述多状态写电路的输入端,所述多状态写电路的输出端连接存储阵列;所述多状态写电路用于根据所述第一时钟信号在一个时钟周期内向所述存储阵列写入至少两个状态;The first clock output terminal is connected to the input terminal of the multi-state write circuit, and the output terminal of the multi-state write circuit is connected to the storage array; the multi-state write circuit is used to perform one clock cycle according to the first clock signal internally writing at least two states to the storage array;
    所述第二时钟输出端分别连接所述行译码电路的输入端和所述列译码电路的输入端,所述行译码电路的输出端和所述列译码电路的输出端分别连接所述存储阵列;所述第二时钟信号用于为所述行译码电路和所述列译码电路提供工作时钟。The second clock output terminal is respectively connected to the input terminal of the row decoding circuit and the input terminal of the column decoding circuit, and the output terminal of the row decoding circuit and the output terminal of the column decoding circuit are respectively connected the memory array; the second clock signal is used to provide a working clock for the row decoding circuit and the column decoding circuit.
  2. 如权利要求1所述的读写控制器,其特征在于,所述读写控制器还包括灵敏放大器,所述灵敏放大器的时钟控制端连接所述第一时钟输出端,所述灵敏放大器的第一输入端连接所述存储阵列中的参考单元,所述灵敏放大器的第二输入端连接所述存储阵列中的至少一个存储单元,所述灵敏放大器的输出端连接读取设备。The read-write controller according to claim 1, wherein the read-write controller further comprises a sense amplifier, the clock control end of the sense amplifier is connected to the first clock output end, and the first clock output end of the sense amplifier is connected. An input terminal is connected to a reference unit in the storage array, a second input terminal of the sense amplifier is connected to at least one storage unit in the storage array, and an output terminal of the sense amplifier is connected to a reading device.
  3. 如权利要求2所述的读写控制器,其特征在于,当所述存储阵列处于读出模式时,在所述第一时钟信号的一个周期内:The read-write controller of claim 2, wherein when the memory array is in a readout mode, within one cycle of the first clock signal:
    若所述第一时钟信号从所述第二电平切换到所述第一电平,则所述灵敏放大器获取所述参考单元中的参考信号以及所述至少一个存储单元中的存储信号。If the first clock signal is switched from the second level to the first level, the sense amplifier acquires the reference signal in the reference unit and the storage signal in the at least one storage unit.
  4. 如权利要求1至3中任一项所述的读写控制器,其特征在于,所述时钟产生电路还包括第一时钟生成器和分频器;所述第一时钟生成器的输出端分别连接所述第一时钟输出端和所述分频器的输入端,所述分频器的输出端连接所述第二时钟输出端。The read-write controller according to any one of claims 1 to 3, wherein the clock generating circuit further comprises a first clock generator and a frequency divider; the output ends of the first clock generator are respectively The first clock output end is connected to the input end of the frequency divider, and the output end of the frequency divider is connected to the second clock output end.
  5. 如权利要求1至3中任一项所述的读写控制器,其特征在于,所述时钟产生电路还包括第二时钟生成器和倍频器;所述第二时钟生成器的输出端分别连接所述第二时钟输出端和所述倍频器的输入端,所述倍频器的输出端连接所述第一时钟输出端。The read-write controller according to any one of claims 1 to 3, wherein the clock generating circuit further comprises a second clock generator and a frequency multiplier; the output ends of the second clock generator are respectively The second clock output end is connected to the input end of the frequency multiplier, and the output end of the frequency multiplier is connected to the first clock output end.
  6. 如权利要求1至3中任一项所述的读写控制器,其特征在于,所述时钟产生电路还包括第三时钟生成器和第四时钟生成器,所述第三时钟生成器的输出端连接所述第一时钟输出端,所述第四时钟生成器的输出端连接所述第二时钟输出端。The read/write controller according to any one of claims 1 to 3, wherein the clock generation circuit further comprises a third clock generator and a fourth clock generator, and the output of the third clock generator The terminal is connected to the first clock output terminal, and the output terminal of the fourth clock generator is connected to the second clock output terminal.
  7. 如权利要求1至6中任一项所述的读写控制器,其特征在于,所述多状态写电路包括反相器、第一金属-氧化物-半导体型MOS管和第二MOS管,所述反相器的输入端和所述第二MOS管的栅极分别连接所述多状态写电路的输入端,所述反相器的输出端连接所述第一MOS管的栅极,所述第一MOS管的源极连接第一电源,所述第二MOS管的源极连接第二电源,所述第一MOS管的漏极和所述第二MOS管的漏极连接所述存储阵列。The read-write controller according to any one of claims 1 to 6, wherein the multi-state write circuit comprises an inverter, a first metal-oxide-semiconductor type MOS transistor and a second MOS transistor, The input terminal of the inverter and the gate of the second MOS transistor are respectively connected to the input terminal of the multi-state writing circuit, and the output terminal of the inverter is connected to the gate of the first MOS transistor. The source of the first MOS transistor is connected to the first power supply, the source of the second MOS transistor is connected to the second power supply, and the drain of the first MOS transistor and the drain of the second MOS transistor are connected to the storage array.
  8. 如权利要求7所述的读写控制器,其特征在于,当所述存储阵列处于写入模式时,在所述第一时钟信号的一个周期内:The read-write controller of claim 7, wherein when the storage array is in a write mode, within one cycle of the first clock signal:
    当所述第一时钟信号从第一电平切换到第二电平时,所述多状态写电路向所述存储阵列写入第一状态;When the first clock signal is switched from a first level to a second level, the multi-state write circuit writes a first state to the memory array;
    当所述第一时钟信号从所述第二电平切换到所述第一电平时,所述多状态写电路向所述存储阵列写入第二状态。The multi-state write circuit writes a second state to the memory array when the first clock signal switches from the second level to the first level.
  9. 一种存储器,其特征在于,包括存储阵列和如权利要求1至8中任一项所述的读写控制器,所述读写控制器连接所述存储阵列;A memory, characterized by comprising a storage array and the read-write controller according to any one of claims 1 to 8, wherein the read-write controller is connected to the storage array;
    所述存储阵列,用于存储数据;the storage array for storing data;
    所述读写控制器,用于向所述存储阵列中写入数据,或,从所述存储阵列中读取数据。The read-write controller is used for writing data into the storage array, or reading data from the storage array.
  10. 一种电子设备,其特征在于,包括印刷电路板PCB和如权利要求9所述的存储器,其中所述存储器设置在所述PCB的表面。An electronic device is characterized by comprising a printed circuit board (PCB) and the memory according to claim 9, wherein the memory is provided on the surface of the PCB.
PCT/CN2020/137718 2020-12-18 2020-12-18 Read/write controller, memory and electronic device WO2022126635A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/137718 WO2022126635A1 (en) 2020-12-18 2020-12-18 Read/write controller, memory and electronic device
CN202080107127.7A CN116457886A (en) 2020-12-18 2020-12-18 Read-write controller, memory and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/137718 WO2022126635A1 (en) 2020-12-18 2020-12-18 Read/write controller, memory and electronic device

Publications (1)

Publication Number Publication Date
WO2022126635A1 true WO2022126635A1 (en) 2022-06-23

Family

ID=82058883

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/137718 WO2022126635A1 (en) 2020-12-18 2020-12-18 Read/write controller, memory and electronic device

Country Status (2)

Country Link
CN (1) CN116457886A (en)
WO (1) WO2022126635A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117577162A (en) * 2024-01-16 2024-02-20 长鑫存储技术(西安)有限公司 Redundant address register structure, redundant address register array and memory

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101131864A (en) * 2006-08-22 2008-02-27 奇梦达北美公司 Method and circuit for transmitting a memory clock signal
US20110205779A1 (en) * 2010-02-24 2011-08-25 Kabushiki Kaisha Toshiba Semiconductor storage device
CN107835988A (en) * 2015-07-14 2018-03-23 高通股份有限公司 Low power clock timing for high-speed memory interface
US20190180809A1 (en) * 2015-07-01 2019-06-13 Samsung Electronics Co., Ltd. Semiconductor memory device having clock generation scheme based on command
US20200021291A1 (en) * 2018-07-13 2020-01-16 SK Hynix Inc. Semiconductor apparatus related to receiving clock signals having variable frequencies, and system including the semiconductor apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101131864A (en) * 2006-08-22 2008-02-27 奇梦达北美公司 Method and circuit for transmitting a memory clock signal
US20110205779A1 (en) * 2010-02-24 2011-08-25 Kabushiki Kaisha Toshiba Semiconductor storage device
US20190180809A1 (en) * 2015-07-01 2019-06-13 Samsung Electronics Co., Ltd. Semiconductor memory device having clock generation scheme based on command
CN107835988A (en) * 2015-07-14 2018-03-23 高通股份有限公司 Low power clock timing for high-speed memory interface
US20200021291A1 (en) * 2018-07-13 2020-01-16 SK Hynix Inc. Semiconductor apparatus related to receiving clock signals having variable frequencies, and system including the semiconductor apparatus

Also Published As

Publication number Publication date
CN116457886A (en) 2023-07-18

Similar Documents

Publication Publication Date Title
US10354704B2 (en) Semiconductor memory device and memory system
US10242719B2 (en) Power management of a memory device by dynamically changing supply voltage
US20220093161A1 (en) Memory device and operation method thereof
CN107093459B (en) Nonvolatile memory device, reading method thereof, and memory system
US7366029B2 (en) High-performance flash memory data transfer
US7499339B2 (en) High-performance flash memory data transfer
US7499369B2 (en) Method of high-performance flash memory data transfer
US7525855B2 (en) Method of high-performance flash memory data transfer
US8031534B2 (en) Semiconductor memory device capable of read out mode register information through DQ pads
US20240014817A1 (en) Apparatus for transmitting and receiving a signal, a method of operating the same, a memory device, and a method of operating the memory device
US10283174B2 (en) Memory system initializing page buffers and operating method thereof
US6404697B1 (en) Data output device for synchronous memory device
US11763869B2 (en) Non-volatile memory device, controller and memory system
KR20180119072A (en) Semiconductor device
US9196350B2 (en) Active control device, semiconductor device and system including the same
TWI285312B (en) Data latch circuit and semiconductor device using the same
WO2022126635A1 (en) Read/write controller, memory and electronic device
US10475492B1 (en) Circuit and method for read latency control
US11133055B1 (en) Electronic device to perform read operation and mode register read operation
US11004531B2 (en) Test control circuit, semiconductor memory apparatus and semiconductor system using the test control circuit
JP5464527B2 (en) Changing read operation of nonvolatile memory
KR20210040707A (en) A memory device and a memory system including thereof
JP2023552449A (en) Clock signal return scheme for reading data in page buffers of memory devices
US20240127874A1 (en) Semiconductor system
US11908543B2 (en) Latch circuit, transmission circuit including latch circuit, and semiconductor apparatus including transmission circuit

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: 20965649

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202080107127.7

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20965649

Country of ref document: EP

Kind code of ref document: A1