CN103310836A - Write processing method and device of phase change memorizer - Google Patents
Write processing method and device of phase change memorizer Download PDFInfo
- Publication number
- CN103310836A CN103310836A CN2013101809697A CN201310180969A CN103310836A CN 103310836 A CN103310836 A CN 103310836A CN 2013101809697 A CN2013101809697 A CN 2013101809697A CN 201310180969 A CN201310180969 A CN 201310180969A CN 103310836 A CN103310836 A CN 103310836A
- Authority
- CN
- China
- Prior art keywords
- pulse
- data
- write
- amplitude
- written
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Images
Landscapes
- Static Random-Access Memory (AREA)
Abstract
本发明公开一种相变存储器的写处理方法及装置,通过相变存储器在接收到写请求时,根据所述写请求,产生与第一脉冲幅值对应的第一脉冲,从所述写请求中包括的地址信息对应的存储单元中读取数据;若确定所述写请求中包括的待写入数据与读取的数据不相同,则将所述第一脉冲幅值增加到第二脉冲幅值,根据所述第二脉冲幅值产生写脉冲,将所述待写入数据写入到所述地址信息对应的存储单元中。由于从第一脉冲幅值增加到第二脉冲幅值所需的时间比较短,大大缩短了从读数据到写数据的切换时间,使得读数据与写数据可以在同时完成,不仅可以应用于同步接口的相变存储器,也可以应用于异步接口的相变存储器,提高相变存储器的应用性能。
The invention discloses a write processing method and device of a phase-change memory. When a phase-change memory receives a write request, a first pulse corresponding to a first pulse amplitude is generated according to the write request, and from the write request Read data in the storage unit corresponding to the address information included in the address information; if it is determined that the data to be written included in the write request is not the same as the read data, then the first pulse amplitude is increased to the second pulse amplitude value, generating a write pulse according to the second pulse amplitude, and writing the data to be written into the storage unit corresponding to the address information. Since the time required to increase from the first pulse amplitude to the second pulse amplitude is relatively short, the switching time from reading data to writing data is greatly shortened, so that reading data and writing data can be completed at the same time, not only applicable to synchronization The phase-change memory of the interface can also be applied to the phase-change memory of the asynchronous interface, so as to improve the application performance of the phase-change memory.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种相变存储器的写处理方法及装置。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a write processing method and device for a phase change memory.
背景技术Background technique
相变存储器是一种通过相变材料的不同状态来保存信息的新型的半导体存储器,当相变存储器执行写操作时,如果待写入的数据与存储单元中已有数据相同,仍然会执行一遍写流程,即通过产生写脉冲,将相变材料加热一次。因此,随着写次数的增加会引起相变材料的损耗,使其阻值偏离额定范围,无法继续编程,从而造成该存储单元的失效。Phase change memory is a new type of semiconductor memory that stores information through different states of phase change materials. When phase change memory performs a write operation, if the data to be written is the same as the existing data in the storage unit, it will still be executed again. In the writing process, the phase change material is heated once by generating a writing pulse. Therefore, as the number of times of writing increases, the loss of the phase change material will be caused, and its resistance value will deviate from the rated range, making it impossible to continue programming, thus causing the failure of the memory cell.
为了解决相变存储器的损耗问题,在第一种方法中,对相变存储器单元执行写操作之前,将待写入的数据保存到锁存器,之后产生读脉冲,从相变存储器的对应地址中读出数据,将读出的数据和待写入的数据比较,仅当两者不同时,才产生写脉冲,将数据写入相变存储器单元中。但是这种方法中,由于在数据写入之前先执行读取、比较操作,然后才输出写脉冲启动写操作,读写操作的分离增加了读写数据切换时间的延迟。In order to solve the loss problem of the phase change memory, in the first method, before performing the write operation on the phase change memory unit, the data to be written is saved to the latch, and then a read pulse is generated, and the corresponding address from the phase change memory The data is read out, and the read data is compared with the data to be written. Only when the two are different, a write pulse is generated to write the data into the phase change memory unit. However, in this method, since the read and compare operations are performed before the data is written, and then the write pulse is output to start the write operation, the separation of the read and write operations increases the delay in the switching time of the read and write data.
在第二种方法中,当相变存储器的地址先送出、数据还未送出时,提前从相变存储器的对应地址中读出数据,待数据送到时直接进行比较,如果读取的数据和待写入的数据相同,则放弃当前写操作,否则执行写操作,虽然这种方法能够缩短读写数据的切换时间,但是这种方法仅适用于异步接口的相变存储器,不适用于同步接口的相变存储器,存在应用局限性。In the second method, when the address of the phase change memory is sent first and the data has not been sent, the data is read from the corresponding address of the phase change memory in advance, and the data is directly compared when the data is sent. If the read data and If the data to be written is the same, the current write operation is abandoned, otherwise the write operation is performed. Although this method can shorten the switching time of reading and writing data, this method is only applicable to the phase change memory of the asynchronous interface, not suitable for the synchronous interface The phase change memory has application limitations.
发明内容Contents of the invention
本发明实施例提供一种相变存储器的写处理方法及装置,可以在减少相变存储器磨损的同时,进一步缩短读写数据的切换时间,提高相变存储器的性能,并兼容异步和同步接口。Embodiments of the present invention provide a write processing method and device for a phase change memory, which can further shorten the switching time of reading and writing data while reducing the wear and tear of the phase change memory, improve the performance of the phase change memory, and be compatible with asynchronous and synchronous interfaces.
第一方面,提供一种相变存储器的写处理方法,包括:In a first aspect, a write processing method of a phase change memory is provided, including:
接收写请求,所述写请求中包括地址信息和待写入数据;receiving a write request, where the write request includes address information and data to be written;
根据所述写请求,产生与第一脉冲幅值对应的第一脉冲,从所述地址信息对应的存储单元中读取数据;According to the write request, generate a first pulse corresponding to the first pulse amplitude, and read data from the storage unit corresponding to the address information;
若确定所述待写入数据与所述地址信息对应的存储单元中读取的数据不相同,则将所述第一脉冲幅值增加到第二脉冲幅值,根据所述第二脉冲幅值产生写脉冲,将所述待写入数据写入到所述地址信息对应的存储单元中。If it is determined that the data to be written is different from the data read in the storage unit corresponding to the address information, then the first pulse amplitude is increased to a second pulse amplitude, according to the second pulse amplitude A write pulse is generated to write the data to be written into the storage unit corresponding to the address information.
基于第一方面,在第一种可能的实现方式中,所述根据第一脉冲幅值产生第一脉冲,从所述地址信息对应的存储单元中读取数据之后,包括:Based on the first aspect, in a first possible implementation manner, the generating the first pulse according to the first pulse amplitude, after reading data from the storage unit corresponding to the address information, includes:
若确定所述待写入数据与所述地址信息对应的存储单元中读取的数据相同,则不产生写脉冲。If it is determined that the data to be written is the same as the data read from the storage unit corresponding to the address information, no write pulse is generated.
基于第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现方式中,将所述待写入数据写入到所述地址信息对应的存储单元中之后,包括:Based on the first aspect or the first possible implementation of the first aspect, in a second possible implementation, after writing the data to be written into the storage unit corresponding to the address information, include:
将所述第二脉冲幅值降低到所述第一脉冲幅值,根据所述第一脉冲幅值产生第一脉冲,从所述地址信息对应的存储单元中读取数据;reducing the amplitude of the second pulse to the amplitude of the first pulse, generating a first pulse according to the amplitude of the first pulse, and reading data from the storage unit corresponding to the address information;
若确定所述地址信息对应的存储单元中读取的数据与所述待写入数据不相同,则生成错误信息。If it is determined that the data read from the storage unit corresponding to the address information is different from the data to be written, an error message is generated.
基于第一方面或第一方面的第一或第二种可能的实现方式,在第三种可能的实现方式中,所述第一脉冲幅值小于第二脉冲幅值。Based on the first aspect or the first or second possible implementation manner of the first aspect, in a third possible implementation manner, the first pulse amplitude is smaller than the second pulse amplitude.
基于第一方面或第一方面的第一或第二种可能的实现方式,在第四种可能的实现方式中,所述写脉冲包括第一写脉冲或第二写脉冲;第一写脉冲为SET写脉冲,所述第二写脉冲为RESET写脉冲;Based on the first aspect or the first or second possible implementation of the first aspect, in a fourth possible implementation, the write pulse includes a first write pulse or a second write pulse; the first write pulse is SET write pulse, the second write pulse is RESET write pulse;
所述第二脉冲幅值包括第一写脉冲对应的幅值或第二写脉冲对应的幅值。The second pulse amplitude includes the amplitude corresponding to the first write pulse or the amplitude corresponding to the second write pulse.
第二方面,提供一种相变存储器的写处理装置,包括:In a second aspect, a write processing device for a phase change memory is provided, including:
接收模块,用于接收写请求,所述写请求中包括地址信息和待写入数据;A receiving module, configured to receive a write request, where the write request includes address information and data to be written;
第一处理模块,用于根据所述写请求,产生与第一脉冲幅值对应的第一脉冲,从所述地址信息对应的存储单元中读取数据;A first processing module, configured to generate a first pulse corresponding to the first pulse amplitude according to the write request, and read data from a storage unit corresponding to the address information;
第二处理模块,用于若确定所述待写入数据与所述地址信息对应的存储单元中读取的数据不相同,则将所述第一脉冲幅值增加到第二脉冲幅值,根据所述第二脉冲幅值产生写脉冲,将所述的待写入数据写入到所述地址信息对应的存储单元中。The second processing module is configured to increase the first pulse amplitude to a second pulse amplitude if it is determined that the data to be written is different from the data read in the storage unit corresponding to the address information, according to The second pulse amplitude generates a write pulse to write the data to be written into the storage unit corresponding to the address information.
基于第二方面,在第一种可能的实现方式中,所述第二处理模块,还用于若确定所述待写入数据与所述地址信息对应的存储单元中读取的数据相同,则不产生写脉冲。Based on the second aspect, in a first possible implementation manner, the second processing module is further configured to, if it is determined that the data to be written is the same as the data read in the storage unit corresponding to the address information, then Write pulses are not generated.
基于第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述装置还包括:Based on the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the device further includes:
第三处理模块,用于将所述第二脉冲幅值降低到所述第一脉冲幅值,根据所述第一脉冲幅值产生第一脉冲,从所述地址信息对应的存储单元中读取数据;A third processing module, configured to reduce the amplitude of the second pulse to the amplitude of the first pulse, generate a first pulse according to the amplitude of the first pulse, and read from the storage unit corresponding to the address information data;
第四处理模块,用于若确定所述地址信息对应的存储单元中读取的数据与所述待写入数据不相同,则生成错误信息。The fourth processing module is configured to generate error information if it is determined that the data read from the storage unit corresponding to the address information is different from the data to be written.
基于第二方面或第二方面的第一或第二种可能的实现方式,在第三种可能的实现方式中,所述第一脉冲幅值小于第二脉冲幅值。Based on the second aspect or the first or second possible implementation manner of the second aspect, in a third possible implementation manner, the first pulse amplitude is smaller than the second pulse amplitude.
基于第二方面或第二方面的第一或第二种可能的实现方式,在第四种可能的实现方式中,所述写脉冲包括第一写脉冲或第二写脉冲;第一写脉冲为SET写脉冲,所述第二写脉冲为RESET写脉冲;Based on the second aspect or the first or second possible implementation of the second aspect, in a fourth possible implementation, the write pulse includes a first write pulse or a second write pulse; the first write pulse is SET write pulse, the second write pulse is RESET write pulse;
所述第二脉冲幅值包括第一写脉冲对应的幅值或第二写脉冲对应的幅值。The second pulse amplitude includes the amplitude corresponding to the first write pulse or the amplitude corresponding to the second write pulse.
本发明通过相变存储器在接收到写请求时,根据所述写请求,产生与第一脉冲幅值对应的第一脉冲,从所述写请求中包括的地址信息对应的存储单元中读取数据;若确定所述写请求中包括的待写入数据与读取的数据不相同,则将所述第一脉冲幅值增加到预设的第二脉冲幅值,根据所述第二脉冲幅值产生写脉冲,将所述待写入数据写入到所述地址信息对应的存储单元中。由于写脉冲是在第一脉冲幅值基础上,将所述第一脉冲幅值增加到第二脉冲幅值,因此,从第一脉冲幅值增加到第二脉冲幅值所需的时间比较短,节省了读写切换延时,缩短读写数据的切换时间,可以兼容同步接口和异步接口的相变存储器,提高相变存储器的应用性能,解决了现有技术中存在的应用局限性的问题。In the present invention, when receiving a write request, the phase change memory generates a first pulse corresponding to the first pulse amplitude according to the write request, and reads data from the storage unit corresponding to the address information included in the write request ; If it is determined that the data to be written included in the write request is different from the read data, then increasing the first pulse amplitude to a preset second pulse amplitude, according to the second pulse amplitude A write pulse is generated to write the data to be written into the storage unit corresponding to the address information. Since the write pulse increases the first pulse amplitude to the second pulse amplitude on the basis of the first pulse amplitude, the time required to increase from the first pulse amplitude to the second pulse amplitude is relatively short , which saves the reading and writing switching delay, shortens the switching time of reading and writing data, can be compatible with the phase change memory of the synchronous interface and the asynchronous interface, improves the application performance of the phase change memory, and solves the problem of application limitations in the prior art .
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will give a brief introduction to the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are For some embodiments of the present invention, those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为现有技术中一种相变存储器的写处理方法的操作顺序示意图;Fig. 1 is a schematic diagram of the operation sequence of a write processing method of a phase change memory in the prior art;
图2为本发明一实施例提供的相变存储器的写处理方法的流程示意图;FIG. 2 is a schematic flowchart of a write processing method of a phase change memory provided by an embodiment of the present invention;
图3为相变存储器的结构示意图;FIG. 3 is a schematic structural diagram of a phase change memory;
图4为同步接口的相变存储器的信号时序图;Fig. 4 is the signal sequence diagram of the phase-change memory of synchronous interface;
图5为本发明实施例所述的相变存储器的写处理方法的操作顺序示意图Fig. 5 is a schematic diagram of the operation sequence of the write processing method of the phase change memory according to the embodiment of the present invention
图6为本发明实施例应用的同相加法电路的原理示意图;6 is a schematic diagram of the principle of an in-phase addition circuit applied in an embodiment of the present invention;
图7为本发明另一实施例提供的相变存储器的写处理装置的结构示意图;7 is a schematic structural diagram of a write processing device for a phase change memory provided by another embodiment of the present invention;
图8为本发明另一实施例提供的相变存储器的写处理装置的结构示意图。FIG. 8 is a schematic structural diagram of a write processing device for a phase change memory provided by another embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例所述的相变存储器包括异步接口的相变存储器和同步接口的相变存储器,其中,异步接口类似于静态随机存储器(Static Random AccessMemory,SRAM)的接口,同步接口类似于动态随机存储器(Dynamic RandomAccess Memory,DRAM)的接口。The phase change memory described in the embodiment of the present invention includes a phase change memory with an asynchronous interface and a phase change memory with a synchronous interface, wherein the asynchronous interface is similar to the interface of a Static Random Access Memory (SRAM), and the synchronous interface is similar to a dynamic random access memory (SRAM) interface. Memory (Dynamic Random Access Memory, DRAM) interface.
其中,异步接口的相变存储器的特点是,每次进行读写操作时,利用异步接口先发送地址信息读取待写入的存储单元中的数据,其中,地址信息同时包括待读写的存储单元的行地址和列地址,例如地址线为16位时,即A0-A15,其中A0-A6是行地址,A7-A15是列地址;延迟一段时间后发送写信号及待写入数据,在写信号的上升沿将待写入数据锁存,若待写入数据与读取的数据不相同,则输出写脉冲,并将待写入数据写入到存储单元中。Among them, the phase change memory of the asynchronous interface is characterized in that each time a read and write operation is performed, the asynchronous interface is used to first send address information to read the data in the storage unit to be written, wherein the address information also includes the storage unit to be read and written. The row address and column address of the unit, for example, when the address line is 16 bits, that is, A0-A15, where A0-A6 is the row address, and A7-A15 is the column address; after a period of delay, send the write signal and the data to be written, in The rising edge of the write signal latches the data to be written, and if the data to be written is different from the read data, a write pulse is output, and the data to be written is written into the storage unit.
然而,同步接口的相变存储器的特点是,读写操作都以时钟信号作为同步,而且行、列地址是分时送出的,也就是说,每次读写操作时,先发送行地址(例如A0-A12),然后在下一个时钟周期同时发送列地址(例如A0-A9)和待写入数据,因为仅根据先发送的行地址是无法唯一确定待读写的存储单元,只有根据行地址和列地址才能唯一确定待读写的存储单元,由于列地址和待写入数据是同时发送的,因此,无法提前读取数据了。However, the characteristics of the phase change memory with synchronous interface are that the read and write operations are synchronized with the clock signal, and the row and column addresses are sent in time division, that is to say, for each read and write operation, the row address is sent first (such as A0-A12), and then send the column address (such as A0-A9) and the data to be written at the same time in the next clock cycle, because the memory unit to be read and written cannot be uniquely determined only according to the row address sent first, only according to the row address and Only the column address can uniquely determine the storage unit to be read and written. Since the column address and the data to be written are sent at the same time, the data cannot be read in advance.
此时,如果需要将待写入数据写入到同步接口的相变存储器的存储单元中,根据现有技术,例如可以直接产生写脉冲,将相变材料加热一次,将待写入数据直接写入存储单元中,即不比较待写入数据是否与存储单元中的数据相同,直接执行写流程;但是随着写次数的增加会引起相变材料的损耗,使其阻值偏离额定范围,无法继续编程,从而造成该存储单元的失效。At this time, if it is necessary to write the data to be written into the storage unit of the phase change memory of the synchronous interface, according to the existing technology, for example, a write pulse can be directly generated, the phase change material is heated once, and the data to be written is directly written Into the storage unit, that is, do not compare whether the data to be written is the same as the data in the storage unit, and directly execute the writing process; however, as the number of writes increases, the loss of the phase change material will be caused, and its resistance value will deviate from the rated range. Continue programming, thereby causing the failure of the memory cell.
又例如,可以将待写入的数据保存到锁存器,之后,从相变存储器的对应地址中读出数据,将读出的数据和待写入的数据比较,仅当两者不同时,才将数据写入相变存储器单元中。图1为现有技术中一种相变存储器的写处理方法的操作顺序示意图,如图1所示,先将待写入数据进行锁存,之后,产生读脉冲,读取行地址和列地址对应的存储单元中的数据,将读取的数据和待写入数据进行比较,若不相同,则将读脉冲恢复到低电平,然后重新产生写脉冲,即从低电平提高到高电平,将待写入数据写入到存储单元中,如图1所示,产生读脉冲和写脉冲之间是分离的,增加了读写数据切换时间的延迟,而且读脉冲的脉冲幅值远低于写脉冲的幅值,写脉冲是在读脉冲恢复到低电平之后,再重新从低电平提高到高电平而产生的脉冲,提高电平幅值所需的时间相对更长,进一步增加了写数据的延迟。For another example, the data to be written can be stored in the latch, and then the data is read from the corresponding address of the phase change memory, and the read data is compared with the data to be written. Only when the two are different, Data is written into the phase change memory cell. Fig. 1 is a schematic diagram of the operation sequence of a write processing method of a phase change memory in the prior art. As shown in Fig. 1, the data to be written is first latched, and then a read pulse is generated to read the row address and the column address For the data in the corresponding storage unit, compare the read data with the data to be written. If they are not the same, restore the read pulse to low level, and then regenerate the write pulse, that is, increase from low level to high level. Flat, write the data to be written into the storage unit, as shown in Figure 1, the generated read pulse and write pulse are separated, which increases the delay in the switching time of read and write data, and the pulse amplitude of the read pulse is far Lower than the amplitude of the write pulse, the write pulse is a pulse generated from the low level to the high level again after the read pulse returns to the low level, and the time required to increase the level amplitude is relatively longer, further Increased latency for writing data.
其中,本实施例所述的写脉冲包括第一写脉冲(SET写脉冲)或第二写脉冲(RESET写脉冲),其中RESET写脉冲用来将相变材料转变为非晶态,即高阻态,例如保存的信息对应于数字逻辑0。RESET写脉冲的波形幅值较高,例如2V,产生的温度超过了相变材料的熔化温度,但是持续时间很短,一般为几十纳秒。SET写脉冲用来将相变材料转变为晶态,即低阻态,例如保存的信息对应于数字逻辑1。SET写脉冲的幅值较低,例如1V,产生的温度超过了相变材料的结晶温度,但是低于熔化温度,而且持续时间较长,一般为100纳秒以上。Wherein, the write pulse described in this embodiment includes the first write pulse (SET write pulse) or the second write pulse (RESET write pulse), wherein the RESET write pulse is used to transform the phase change material into an amorphous state, that is, a high resistance state, such as the stored information corresponds to a digital logic 0. The waveform amplitude of the RESET write pulse is relatively high, such as 2V, and the temperature generated exceeds the melting temperature of the phase change material, but the duration is very short, generally tens of nanoseconds. The SET write pulse is used to convert the phase change material to a crystalline state, ie a low resistance state, eg the stored information corresponds to a digital logic 1. The amplitude of the SET write pulse is low, such as 1V, and the temperature generated exceeds the crystallization temperature of the phase change material, but is lower than the melting temperature, and lasts for a long time, generally more than 100 nanoseconds.
鉴于现有技术存在的问题,本发明实施例提供的一种相变存储器的读写处理方法,可以在减少相变存储器磨损的同时,进一步缩短读写数据的切换时间,提高相变存储器的性能,并兼容异步和同步接口。In view of the problems existing in the prior art, a method for reading and writing processing of a phase change memory provided by an embodiment of the present invention can further shorten the switching time of reading and writing data while reducing the wear and tear of the phase change memory, and improve the performance of the phase change memory , and is compatible with asynchronous and synchronous interfaces.
图2为本发明一实施例提供的相变存储器的写处理方法的流程示意图,如图2所示,本实施例的相变存储器的写处理方法可以包括:FIG. 2 is a schematic flowchart of a write processing method of a phase change memory provided by an embodiment of the present invention. As shown in FIG. 2 , the write processing method of the phase change memory of this embodiment may include:
201、相变存储器接收写请求,所述写请求中包括地址信息和待写入数据。201. The phase change memory receives a write request, where the write request includes address information and data to be written.
图3为相变存储器的结构示意图,如图3所示,相变存储器例如包括存储阵列、行列译码器、控制逻辑、读写电路和锁存器,其中,存储阵列按行、列由多个存储单元组成;行列译码器包括行译码器和列译码器,分别将行地址和列地址翻译为对应的存储单元上的字线和位线上的选通信号,该选通信号用于选中某个待读写的存储单元;读写电路用于产生读脉冲和写脉冲;锁存器用于暂时锁存待写入数据;控制逻辑例如用于产生时序控制信号。Fig. 3 is a structural schematic diagram of a phase-change memory. As shown in Fig. 3, the phase-change memory includes, for example, a storage array, a row and column decoder, control logic, read and write circuits, and a latch. The row and column decoders include a row decoder and a column decoder, which respectively translate the row address and the column address into gate signals on the word line and bit line on the corresponding memory cells. It is used to select a storage unit to be read and written; the read and write circuit is used to generate read pulses and write pulses; the latch is used to temporarily latch the data to be written; the control logic is used to generate timing control signals, for example.
假设本实施例的相变存储器为同步接口的相变存储器,当相变存储器执行写操作时,图4为同步接口的相变存储器的信号时序图,如图4所示,时钟信号为同步时钟信号,片选信号用于选中需要进行写操作的相变存储器,先发送行地址信号,再同时发送列地址信号、写信号和数据信号;其中,行列地址信号是通过行列译码器分别产生对应的行选通信号、列选通信号,用以选中某个存储单元,写信号用以触发读写电路接收写请求,并触发锁存器将待写入数据保存到锁存器。Assuming that the phase change memory of this embodiment is a phase change memory of a synchronous interface, when the phase change memory performs a write operation, Fig. 4 is a signal timing diagram of a phase change memory of a synchronous interface, as shown in Fig. 4, the clock signal is a synchronous clock signal, the chip select signal is used to select the phase change memory that needs to be written, first send the row address signal, and then send the column address signal, write signal and data signal at the same time; wherein, the row and column address signals are generated by the row and column decoders respectively The row strobe signal and column strobe signal are used to select a certain storage unit, and the write signal is used to trigger the read-write circuit to receive the write request, and trigger the latch to save the data to be written to the latch.
因此,本实施例中,步骤201在具体实现时,读写电路接收写请求,其中写请求中至少包括地址信息和待写入数据。其中,地址信息中包括待写入数据的存储单元的行地址和列地址。待写入数据为需要写入存储单元的数据。Therefore, in this embodiment, when
202、相变存储器根据所述写请求,产生与第一脉冲幅值对应的第一脉冲,从所述地址信息对应的存储单元中读取数据。202. The phase change memory generates a first pulse corresponding to a first pulse amplitude according to the write request, and reads data from a storage unit corresponding to the address information.
图5为本发明实施例所述的相变存储器的写处理方法的操作顺序示意图,如图5所示,第一脉冲对应的第一脉冲幅值稍小于第一写脉冲(SET写脉冲)对应的幅值,相较于图1所示的读脉冲幅值,图5所示的第一脉冲幅值远远大于图1所示的读脉冲幅值。Fig. 5 is a schematic diagram of the operation sequence of the write processing method of the phase change memory according to the embodiment of the present invention. As shown in Fig. 5, the amplitude of the first pulse corresponding to the first pulse is slightly smaller than that corresponding to the first write pulse (SET write pulse). Compared with the amplitude of the read pulse shown in FIG. 1 , the amplitude of the first pulse shown in FIG. 5 is much larger than the amplitude of the read pulse shown in FIG. 1 .
如图4所示,读写电路产生的第一脉冲是在接收到列地址之后时钟信号上升沿到来之后产生,作用于相变存储器的相变材料,使得读写电路可以从地址信息对应的存储单元中读取数据。As shown in Figure 4, the first pulse generated by the read-write circuit is generated after the rising edge of the clock signal arrives after receiving the column address, and acts on the phase-change material of the phase-change memory, so that the read-write circuit can store data corresponding to the address information. Read data from the unit.
203、相变存储器若确定所述待写入数据与所述地址信息对应的存储单元中读取的数据不相同,则将所述第一脉冲幅值增加到预设的第二脉冲幅值,根据所述第二脉冲幅值产生写脉冲,将所述待写入数据写入到所述地址信息对应的存储单元中。203. If the phase change memory determines that the data to be written is different from the data read in the storage unit corresponding to the address information, increase the first pulse amplitude to a preset second pulse amplitude, A write pulse is generated according to the second pulse amplitude, and the data to be written is written into the storage unit corresponding to the address information.
举例来说,当读写电路从地址信息对应的存储单元中读取数据之后,将读取的数据与锁存器中的待写入数据进行比较,若确定所述待写入数据与所述地址信息对应的存储单元中读取的数据不相同,则将所述第一脉冲幅值增加到预设的第二脉冲幅值,根据所述第二脉冲幅值产生写脉冲,其中,写脉冲作用于相变存储器的相变材料,使得读写电路将所述锁存的待写入数据写入到所述地址信息对应的存储单元中。For example, after the read-write circuit reads data from the storage unit corresponding to the address information, it compares the read data with the data to be written in the latch, and if it is determined that the data to be written is consistent with the The data read in the storage unit corresponding to the address information is different, then the first pulse amplitude is increased to a preset second pulse amplitude, and a write pulse is generated according to the second pulse amplitude, wherein the write pulse Acting on the phase change material of the phase change memory, the read/write circuit writes the latched data to be written into the storage unit corresponding to the address information.
其中,本实施例所述的写脉冲包括第一写脉冲(SET写脉冲)或第二写脉冲(RESET写脉冲);所述第二脉冲幅值包括第一写脉冲(SET写脉冲)对应的幅值或第二写脉冲(RESET写脉冲)对应的幅值。Wherein, the write pulse described in this embodiment includes the first write pulse (SET write pulse) or the second write pulse (RESET write pulse); the second pulse amplitude includes the first write pulse (SET write pulse) corresponding to Amplitude or the amplitude corresponding to the second write pulse (RESET write pulse).
例如,当待写入数据为1,当前存储单元的数据为0时,则产生的写脉冲为第一写脉冲(SET写脉冲),当待写入数据为0,当前存储单元的数据为1时,则产生的写脉冲为第二写脉冲(RESET写脉冲)。For example, when the data to be written is 1 and the data of the current storage unit is 0, the generated write pulse is the first write pulse (SET write pulse), when the data to be written is 0, the data of the current storage unit is 1 , the generated write pulse is the second write pulse (RESET write pulse).
本实施例中,产生的写脉冲是在第一脉冲幅值基础上,将所述第一脉冲幅值增加到第二脉冲幅值,进一步地,第一脉冲幅值稍小于第一写脉冲(SET写脉冲)对应的幅值,远大于图1所示的读脉冲幅值,因此,从第一脉冲幅值增加到第二脉冲幅值所需的时间比较短;节省了写脉冲的输出延时,从而可以实现在时钟信号上升沿到来时产生写脉冲,将所述待写入数据写入到所述地址信息对应的存储单元中。In this embodiment, the generated write pulse is based on the first pulse amplitude, and the first pulse amplitude is increased to the second pulse amplitude, further, the first pulse amplitude is slightly smaller than the first write pulse ( SET write pulse) corresponding to the amplitude is much larger than the read pulse amplitude shown in Figure 1, therefore, the time required to increase from the first pulse amplitude to the second pulse amplitude is relatively short; the output delay of the write pulse is saved , so that a write pulse can be generated when the rising edge of the clock signal arrives, and the data to be written can be written into the storage unit corresponding to the address information.
而现有技术中,是需要将读脉冲恢复为低电平后重新产生写脉冲,因此,从低电平增加到写脉冲对应的幅值所需的时间较长,由此可知,本发明实施例可以缩短从读数据到写数据的切换时间。However, in the prior art, it is necessary to restore the read pulse to a low level and regenerate the write pulse. Therefore, it takes a long time to increase from the low level to the corresponding amplitude of the write pulse. It can be seen that the implementation of the present invention For example, the switching time from reading data to writing data can be shortened.
在本发明的一个可选的实施方式中,为了实现将所述第一脉冲幅值增加到预设的第二脉冲幅值,可以利用运算放大器构成的同相加法电路来实现,图6为本发明实施例应用的同相加法电路的原理示意图,如图6所示,根据同相加法电路的理论可以计算得到Vo=V1+V2+V3,只要控制三个输入端V1、V2和V3的开关通断,就能得到不同的输出电压Vo,例如,同时断开V2和V3,得到Vo=V1,断开V3,得到Vo=V1+V2,断开V2,得到Vo=V1+V3。In an optional embodiment of the present invention, in order to increase the first pulse amplitude to the preset second pulse amplitude, it can be realized by using an in-phase addition circuit composed of an operational amplifier, as shown in FIG. 6 The schematic diagram of the principle of the in-phase addition circuit applied in the embodiment of the present invention is shown in Figure 6. Vo=V1+V2+V3 can be calculated according to the theory of the in-phase addition circuit, as long as the three input terminals V1, V2 and When the switch of V3 is turned on and off, different output voltages Vo can be obtained. For example, if V2 and V3 are disconnected at the same time, Vo=V1 is obtained, V3 is disconnected, Vo=V1+V2 is obtained, V2 is disconnected, Vo=V1+V3 is obtained .
将三个电压发生器的输出V1、V2和V3分别通过开关连接到同相加法器的三个输入端,使V1等于第一脉冲对应的第一脉冲幅值(第一脉冲电压),V2等于第二写脉冲(RESET写脉冲)对应的电压与第一脉冲电压之间的差值,V3等于第一写脉冲(SET写脉冲)对应的电压与第一脉冲电压之间的差值。例如,当需要产生第一脉冲从存储单元中读取数据时,可以先接通V1,断开V2、V3,输出的是第一脉冲电压;然后接通V2,输出的是第二写脉冲(RESET写脉冲)电压,或者接通V3,输出的是第一写脉冲(SET写脉冲)电压。Connect the outputs V1, V2, and V3 of the three voltage generators to the three input terminals of the non-inverting adder through switches, so that V1 is equal to the first pulse amplitude (first pulse voltage) corresponding to the first pulse, and V2 V3 is equal to the difference between the voltage corresponding to the second write pulse (RESET write pulse) and the first pulse voltage, and V3 is equal to the difference between the voltage corresponding to the first write pulse (SET write pulse) and the first pulse voltage. For example, when it is necessary to generate the first pulse to read data from the storage unit, you can first turn on V1, turn off V2, V3, and output the first pulse voltage; then turn on V2, and output the second write pulse ( RESET write pulse) voltage, or turn on V3, the output is the first write pulse (SET write pulse) voltage.
举例来说,当读写电路从地址信息对应的存储单元中读取数据之后,将读取的数据与锁存器中的待写入数据进行比较,若确定所述待写入数据与所述地址信息对应的存储单元中读取的数据相同时,则不产生写脉冲,即可以将第一脉冲幅值恢复为低电平。避免将相变材料重复加热,降低对相变材料的损耗,延长相变存储器的使用寿命。For example, after the read-write circuit reads data from the storage unit corresponding to the address information, it compares the read data with the data to be written in the latch, and if it is determined that the data to be written is consistent with the When the data read from the memory cells corresponding to the address information are the same, no write pulse is generated, that is, the amplitude of the first pulse can be restored to a low level. Avoid repeated heating of the phase change material, reduce the loss of the phase change material, and prolong the service life of the phase change memory.
在本发明的一个可选的实施方式中,将所述锁存的待写入数据写入到所述地址信息对应的存储单元中之后,为了保证数据正确写入了相变存储器,同时又节省从写数据到读数据的切换时间,可以将所述写脉冲对应的第二脉冲幅值降低到所述第一脉冲幅值,根据所述第一脉冲幅值产生第一脉冲,从所述地址信息对应的存储单元中读取数据;若确定所述地址信息对应的存储单元中读取的数据与所述待写入数据不相同,则生成错误信息,例如,错误信息记录在相变存储器内部的状态寄存器中,供软件读取识别并采取解决方法(例如重新写入)。In an optional embodiment of the present invention, after the latched data to be written is written into the storage unit corresponding to the address information, in order to ensure that the data is correctly written into the phase change memory, while saving In the switching time from writing data to reading data, the amplitude of the second pulse corresponding to the write pulse can be reduced to the amplitude of the first pulse, and the first pulse is generated according to the amplitude of the first pulse, from the address Read data in the storage unit corresponding to the information; if it is determined that the data read in the storage unit corresponding to the address information is different from the data to be written, an error message is generated, for example, the error message is recorded in the phase change memory In the status register of the software, it can be read and identified by the software and a solution (such as rewriting) can be taken.
本发明实施例通过相变存储器在接收到写请求时,根据所述写请求,产生与第一脉冲幅值对应的第一脉冲,从所述写请求中包括的地址信息对应的存储单元中读取数据;若确定所述写请求中包括的待写入数据与读取的数据不相同,则将所述第一脉冲幅值增加到预设的第二脉冲幅值,根据所述第二脉冲幅值产生写脉冲,将所述待写入数据写入到所述地址信息对应的存储单元中。In the embodiment of the present invention, when receiving a write request, the phase change memory generates a first pulse corresponding to the first pulse amplitude according to the write request, and reads from the storage unit corresponding to the address information included in the write request. Fetching data; if it is determined that the data to be written included in the write request is different from the read data, then the first pulse amplitude is increased to a preset second pulse amplitude, according to the second pulse The amplitude generates a write pulse to write the data to be written into the storage unit corresponding to the address information.
由于本实施例中产生的写脉冲是在第一脉冲幅值基础上,将所述第一脉冲幅值增加到第二脉冲幅值,进一步地,第一脉冲幅值稍小于第一写脉冲(SET写脉冲)对应的幅值,远大于现有技术的读脉冲幅值,因此,从第一脉冲幅值增加到第二脉冲幅值所需的时间比较短;节省了写脉冲的输出延时,从而可以实现在时钟信号上升沿到来时产生写脉冲,将所述待写入数据写入到所述地址信息对应的存储单元中。由于从第一脉冲幅值增加到第二脉冲幅值所需的时间比较短,大大缩短了从读数据到写数据的切换时间,不仅可以应用于同步接口的相变存储器,而且可以应用于异步接口的相变存储器,提高相变存储器的应用性能。Since the write pulse generated in this embodiment is based on the first pulse amplitude, the first pulse amplitude is increased to the second pulse amplitude, and further, the first pulse amplitude is slightly smaller than the first write pulse ( SET write pulse) corresponding to the amplitude is much larger than the read pulse amplitude of the prior art, therefore, the time required to increase from the first pulse amplitude to the second pulse amplitude is relatively short; the output delay of the write pulse is saved , so that a write pulse can be generated when the rising edge of the clock signal arrives, and the data to be written can be written into the storage unit corresponding to the address information. Since the time required to increase from the first pulse amplitude to the second pulse amplitude is relatively short, the switching time from reading data to writing data is greatly shortened, and it can be applied not only to phase-change memories with synchronous interfaces, but also to asynchronous The phase change memory of the interface improves the application performance of the phase change memory.
图7为本发明另一实施例提供的相变存储器的写处理装置的结构示意图,具体可以为读写电路,如图7所示,包括:Fig. 7 is a schematic structural diagram of a write processing device of a phase change memory provided by another embodiment of the present invention, which may specifically be a read and write circuit, as shown in Fig. 7, including:
接收模块71,用于接收写请求,所述写请求中包括地址信息和待写入数据;A receiving
第一处理模块72,用于根据所述写请求,产生与第一脉冲幅值对应的第一脉冲,从所述地址信息对应的存储单元中读取数据;The
第二处理模块73,用于若确定所述待写入数据与所述地址信息对应的存储单元中读取的数据不相同,则将所述第一脉冲幅值增加到预设的第二脉冲幅值,根据所述第二脉冲幅值产生写脉冲,将所述待写入数据写入到所述地址信息对应的存储单元中。The
举例来说,第二处理模块73,还用于若确定所述待写入数据与所述地址信息对应的存储单元中读取的数据相同,则不产生写脉冲。For example, the
举例来说,所述装置还包括:For example, the device also includes:
第三处理模块74,用于将所述第二脉冲幅值降低到所述第一脉冲幅值,根据所述第一脉冲幅值产生第一脉冲,从所述地址信息对应的存储单元中读取数据;The
第四处理模块75,用于若确定所述地址信息对应的存储单元中读取的数据与所述待写入数据不相同,则生成错误信息。The
举例来说,所述第一脉冲幅值小于第二脉冲幅值。For example, the first pulse amplitude is smaller than the second pulse amplitude.
举例来说,所述写脉冲包括第一写脉冲或第二写脉冲;所述第二脉冲幅值包括第一写脉冲对应的幅值或第二写脉冲对应的幅值。For example, the write pulse includes a first write pulse or a second write pulse; the second pulse amplitude includes an amplitude corresponding to the first write pulse or an amplitude corresponding to the second write pulse.
上述各模块在具体实现时可以参考图2所示实施例中的相关描述,不再赘述。For specific implementation of each of the above modules, reference may be made to relevant descriptions in the embodiment shown in FIG. 2 , and details are not repeated here.
由于本实施例中产生的写脉冲是在第一脉冲幅值基础上,将所述第一脉冲幅值增加到第二脉冲幅值,进一步地,第一脉冲幅值稍小于第一写脉冲(SET写脉冲)对应的幅值,远大于现有技术的读脉冲幅值,因此,从第一脉冲幅值增加到第二脉冲幅值所需的时间比较短;节省了写脉冲的输出延时,从而可以实现在时钟信号上升沿到来时产生写脉冲,将所述待写入数据写入到所述地址信息对应的存储单元中。由于从第一脉冲幅值增加到第二脉冲幅值所需的时间比较短,大大缩短了从读数据到写数据的切换时间,可以兼容于同步接口和异步接口的相变存储器,提高相变存储器的应用性能。Since the write pulse generated in this embodiment is based on the first pulse amplitude, the first pulse amplitude is increased to the second pulse amplitude, and further, the first pulse amplitude is slightly smaller than the first write pulse ( SET write pulse) corresponding to the amplitude is much larger than the read pulse amplitude of the prior art, therefore, the time required to increase from the first pulse amplitude to the second pulse amplitude is relatively short; the output delay of the write pulse is saved , so that a write pulse can be generated when the rising edge of the clock signal arrives, and the data to be written can be written into the storage unit corresponding to the address information. Since the time required to increase from the first pulse amplitude to the second pulse amplitude is relatively short, the switching time from reading data to writing data is greatly shortened, and it can be compatible with phase-change memories with synchronous and asynchronous interfaces, improving phase change memory application performance.
图8为本发明另一实施例提供的相变存储器的写处理装置的结构示意图,具体可以为读写电路,如图8所示,包括:Fig. 8 is a schematic structural diagram of a write processing device of a phase change memory provided by another embodiment of the present invention, which may specifically be a read and write circuit, as shown in Fig. 8, including:
接收器81,用于接收写请求,所述写请求中包括地址信息和待写入数据;a
同相加法电路82,用于根据所述写请求,产生与第一脉冲幅值对应的第一脉冲;In-
处理器83,用于根据同相加法电路82产生的第一脉冲,从所述地址信息对应的存储单元中读取数据;A
处理器83,还用于确定所述接收器81接收的待写入数据与所述地址信息对应的存储单元中读取的数据是否相同;The
同相加法电路82,还用于在处理器83确定待写入数据与所述地址信息对应的存储单元中读取的数据不相同时,将所述第一脉冲幅值增加到预设的第二脉冲幅值,根据所述第二脉冲幅值产生写脉冲;The in-
处理器83,还用于在同相加法电路82产生的写脉冲基础上,将所述待写入数据写入到所述地址信息对应的存储单元中。The
同相加法电路82,还用于在处理器83确定待写入数据与所述地址信息对应的存储单元中读取的数据相同时,不产生写脉冲,即同相加法电路82将所述第一脉冲幅值降低到低电平(归零);The in-
举例来说,在将所述待写入数据写入到所述地址信息对应的存储单元中之后;For example, after writing the data to be written into the storage unit corresponding to the address information;
同相加法电路82,还用于将所述第二脉冲幅值降低到所述第一脉冲幅值,根据所述第一脉冲幅值产生第一脉冲;The in-
处理器83,还用于在同相加法电路82产生第一脉冲的基础上,从所述地址信息对应的存储单元中读取数据;The
处理器83,还用于确定若所述地址信息对应的存储单元中读取的数据与所述待写入数据不相同,则生成错误信息。The
举例来说,所述第一脉冲幅值小于第二脉冲幅值。For example, the first pulse amplitude is smaller than the second pulse amplitude.
举例来说,所述写脉冲包括第一写脉冲或第二写脉冲;所述第二脉冲幅值包括第一写脉冲对应的幅值或第二写脉冲对应的幅值。For example, the write pulse includes a first write pulse or a second write pulse; the second pulse amplitude includes an amplitude corresponding to the first write pulse or an amplitude corresponding to the second write pulse.
上述各模块在具体实现时可以参考图2所示实施例中的相关描述,不再赘述。For specific implementation of each of the above modules, reference may be made to relevant descriptions in the embodiment shown in FIG. 2 , and details are not repeated here.
由于本实施例中产生的写脉冲是在第一脉冲幅值基础上,将所述第一脉冲幅值增加到第二脉冲幅值,进一步地,第一脉冲幅值稍小于第一写脉冲(SET写脉冲)对应的幅值,远大于现有技术的读脉冲幅值,因此,从第一脉冲幅值增加到第二脉冲幅值所需的时间比较短;节省了写脉冲的输出延时,从而可以实现在时钟信号上升沿到来时产生写脉冲,将所述待写入数据写入到所述地址信息对应的存储单元中。由于从第一脉冲幅值增加到第二脉冲幅值所需的时间比较短,大大缩短了从读数据到写数据的切换时间,可以应用于同步接口的相变存储器,提高相变存储器的应用性能。Since the write pulse generated in this embodiment is based on the first pulse amplitude, the first pulse amplitude is increased to the second pulse amplitude, and further, the first pulse amplitude is slightly smaller than the first write pulse ( SET write pulse) corresponding to the amplitude is much larger than the read pulse amplitude of the prior art, therefore, the time required to increase from the first pulse amplitude to the second pulse amplitude is relatively short; the output delay of the write pulse is saved , so that a write pulse can be generated when the rising edge of the clock signal arrives, and the data to be written can be written into the storage unit corresponding to the address information. Since the time required to increase from the first pulse amplitude to the second pulse amplitude is relatively short, the switching time from reading data to writing data is greatly shortened, and it can be applied to phase-change memory with a synchronous interface, improving the application of phase-change memory performance.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device 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 can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以以代码的形式存储在一个计算机可读取存储介质中。上述代码存储在一个计算机可读存储介质中,包括若干指令用以使处理器或硬件电路执行本发明各个实施例所述方法的部分或全部步骤。而前述的存储介质包括:通用串行总线接口的无需物理驱动器的微型高容量移动存储盘、移动硬盘、只读存储器(英文:Read-Only Memory,简称ROM)、随机存取存储器(英文:Random AccessMemory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units may be stored in a computer-readable storage medium in the form of codes. The above codes are stored in a computer-readable storage medium, and include several instructions for causing a processor or a hardware circuit to execute some or all steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: a miniature high-capacity mobile storage disk without a physical drive, a mobile hard disk, a read-only memory (English: Read-Only Memory, ROM for short), and a random access memory (English: Random Access Memory). AccessMemory, referred to as RAM), magnetic disk or optical disk and other media that can store program code.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的保护范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the protection scope of the technical solutions of the various embodiments of the present invention.
Claims (10)
- A phase transition storage write disposal route, it is characterized in that, comprising:Receive write request, comprise address information and data to be written in the described write request;According to described write request, produce first pulse corresponding with the first pulse amplitude, reading out data from storage unit corresponding to described address information;If determine that the data that read in described data to be written and storage unit corresponding to described address information are not identical, then described the first pulse amplitude is increased to the second pulse amplitude, produce write pulse according to described the second pulse amplitude, described data to be written are written in storage unit corresponding to described address information.
- 2. method according to claim 1 is characterized in that, describedly produces the first pulse according to the first pulse amplitude, after the reading out data, comprising from storage unit corresponding to described address information:If determine that the data that read in described data to be written and storage unit corresponding to described address information are identical, then do not produce write pulse.
- 3. method according to claim 1 and 2 is characterized in that, be written to described data to be written in storage unit corresponding to described address information after, comprising:Described the second pulse amplitude is reduced to described the first pulse amplitude, produces the first pulse according to described the first pulse amplitude, reading out data from storage unit corresponding to described address information;If determine that the data that read in storage unit corresponding to described address information are not identical with described data to be written, then generation error information.
- 4. each described method is characterized in that according to claim 1-3, and described the first pulse amplitude is less than the second pulse amplitude.
- 5. each described method is characterized in that according to claim 1-3, and described write pulse comprises the first write pulse or the second write pulse; The first write pulse is the SET write pulse, and described the second write pulse is the RESET write pulse;Described the second pulse amplitude comprises amplitude or amplitude corresponding to the second write pulse that the first write pulse is corresponding.
- 6. the read/write processing of a phase transition storage is characterized in that, comprising:Receiver module is used for receiving write request, comprises address information and data to be written in the described write request;The first processing module is used for according to described write request, produces first pulse corresponding with the first pulse amplitude, reading out data from storage unit corresponding to described address information;The second processing module, if for determining that the data that storage unit corresponding to described data to be written and described address information reads are not identical, then described the first pulse amplitude is increased to the second pulse amplitude, produce write pulse according to described the second pulse amplitude, described data to be written are written in storage unit corresponding to described address information.
- 7. device according to claim 6 is characterized in that, described the second processing module is not if also for determining that the data that storage unit corresponding to described data to be written and described address information reads are identical, then produce write pulse.
- 8. according to claim 6 or 7 described devices, it is characterized in that, also comprise:The 3rd processing module is used for described the second pulse amplitude is reduced to described the first pulse amplitude, produces the first pulse according to described the first pulse amplitude, reading out data from storage unit corresponding to described address information;The manages module everywhere, if be used for determining that the data that storage unit corresponding to described address information read are not identical with described data to be written, and generation error information then.
- 9. each described device is characterized in that according to claim 6-8, and described the first pulse amplitude is less than the second pulse amplitude.
- 10. each described device is characterized in that according to claim 6-8, and described write pulse comprises the first write pulse or the second write pulse; The first write pulse is the SET write pulse, and described the second write pulse is the RESET write pulse;Described the second pulse amplitude comprises amplitude or amplitude corresponding to the second write pulse that the first write pulse is corresponding.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310180969.7A CN103310836B (en) | 2013-05-16 | 2013-05-16 | Write processing method and device of phase change memorizer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310180969.7A CN103310836B (en) | 2013-05-16 | 2013-05-16 | Write processing method and device of phase change memorizer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103310836A true CN103310836A (en) | 2013-09-18 |
| CN103310836B CN103310836B (en) | 2017-02-01 |
Family
ID=49135963
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310180969.7A Active CN103310836B (en) | 2013-05-16 | 2013-05-16 | Write processing method and device of phase change memorizer |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103310836B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104517640A (en) * | 2013-09-30 | 2015-04-15 | 华为技术有限公司 | Phase change memory management method and phase change memory management apparatus |
| CN108417237A (en) * | 2018-03-23 | 2018-08-17 | 上海新储集成电路有限公司 | A method of accelerating phase transition storage write operation speed |
| CN113257307A (en) * | 2020-02-13 | 2021-08-13 | 华邦电子股份有限公司 | Memory device and data writing method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110069539A1 (en) * | 2009-09-23 | 2011-03-24 | International Business Machines Corporation | Programming multi-level phase change memory cells |
| US20110261610A1 (en) * | 2010-04-27 | 2011-10-27 | Hynix Semiconductor Inc. | Nonvolatile memory device and method for controlling the same |
-
2013
- 2013-05-16 CN CN201310180969.7A patent/CN103310836B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110069539A1 (en) * | 2009-09-23 | 2011-03-24 | International Business Machines Corporation | Programming multi-level phase change memory cells |
| US20110261610A1 (en) * | 2010-04-27 | 2011-10-27 | Hynix Semiconductor Inc. | Nonvolatile memory device and method for controlling the same |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104517640A (en) * | 2013-09-30 | 2015-04-15 | 华为技术有限公司 | Phase change memory management method and phase change memory management apparatus |
| CN104517640B (en) * | 2013-09-30 | 2017-08-25 | 华为技术有限公司 | A kind of phase transition internal memory management method and device |
| CN108417237A (en) * | 2018-03-23 | 2018-08-17 | 上海新储集成电路有限公司 | A method of accelerating phase transition storage write operation speed |
| CN113257307A (en) * | 2020-02-13 | 2021-08-13 | 华邦电子股份有限公司 | Memory device and data writing method |
| CN113257307B (en) * | 2020-02-13 | 2024-04-26 | 华邦电子股份有限公司 | Memory device and data writing method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103310836B (en) | 2017-02-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5282560B2 (en) | Semiconductor device and system | |
| US9437285B1 (en) | Write address synchronization in 2 read/1write SRAM arrays | |
| WO2014129438A1 (en) | Semiconductor device | |
| CN102270505A (en) | Phase change storage unit and phase change memory | |
| US20180294022A1 (en) | Semiconductor device and method of operation | |
| WO2022126635A1 (en) | Read/write controller, memory and electronic device | |
| JP2003346497A (en) | Semiconductor storage device | |
| CN103310836B (en) | Write processing method and device of phase change memorizer | |
| US10802721B2 (en) | Memory devices configured to latch data for output in response to an edge of a clock signal generated in response to an edge of another clock signal | |
| US7782093B2 (en) | Integrated circuit and method of detecting a signal edge transition | |
| US10325669B2 (en) | Error information storage circuit and semiconductor apparatus including the same | |
| CN103594112B (en) | Write operation method for phase change memory and device | |
| CN103489473A (en) | Clocked memory with word line activation during first portion of clock cycle | |
| JP5591621B2 (en) | Semiconductor device and control method thereof | |
| KR102237255B1 (en) | Circuit and method for writing to a bit cell | |
| US10636510B2 (en) | Fuse rupture method and semiconductor device related to a rupture operation | |
| US10490253B2 (en) | Semiconductor system and semiconductor device | |
| CN102751966A (en) | Delay circuit and latency control circuit of memory, and signal delay method thereof | |
| US20230162770A1 (en) | Memory device deserializer circuit with a reduced form factor | |
| JP2956426B2 (en) | Semiconductor storage device | |
| KR100587873B1 (en) | Semiconductor memory device | |
| US10991405B1 (en) | Semiconductor devices | |
| TWI262503B (en) | Semiconductor memory | |
| US6108245A (en) | Write recovery time control circuit in semiconductor memory and control method thereof | |
| CN112102858B (en) | Memory write method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |