TWI715095B - Methods and memory systems of parity training for a dram - Google Patents

Methods and memory systems of parity training for a dram Download PDF

Info

Publication number
TWI715095B
TWI715095B TW108123247A TW108123247A TWI715095B TW I715095 B TWI715095 B TW I715095B TW 108123247 A TW108123247 A TW 108123247A TW 108123247 A TW108123247 A TW 108123247A TW I715095 B TWI715095 B TW I715095B
Authority
TW
Taiwan
Prior art keywords
data
pin
parity check
dynamic random
random access
Prior art date
Application number
TW108123247A
Other languages
Chinese (zh)
Other versions
TW202018504A (en
Inventor
謝博偉
詹佳諭
宣敬業
陳柔綾
Original Assignee
聯發科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 聯發科技股份有限公司 filed Critical 聯發科技股份有限公司
Publication of TW202018504A publication Critical patent/TW202018504A/en
Application granted granted Critical
Publication of TWI715095B publication Critical patent/TWI715095B/en

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

A method of parity training for a dynamic random access memory, DRAM, is disclosed. The method comprises enabling a link error checking and correcting, ECC, functionality in a write operation of the DRAM, and remapping a parity function of a write parity pin to an data inversion function, a data replacing function, or a logical function, whereby data transferred to the DRAM through the write parity pin is used for indicating an inversion operation, a logical operation, or a substitution operation for data of a data pin.

Description

DRAM的同位檢查訓練方法及記憶體系統 DRAM parity check training method and memory system

交叉引用:本申請要求2018年7月3日遞交的,發明名稱為「ECC Parity Training Method」的美國臨時申請案62/693,495和2019年7月2日遞交的美國申請案16/459,621的優先權。上述申請的全部內容併入本發明。 Cross-reference: This application claims priority for the U.S. Provisional Application 62/693,495 filed on July 3, 2018 with the title of "ECC Parity Training Method" and the U.S. Application 16/459,621 filed on July 2, 2019 . The entire content of the aforementioned application is incorporated into the present invention.

本發明係相關於記憶體,尤指支援鏈路錯誤檢查和糾正功能的用於DRAM的同位檢查訓練方法。 The present invention relates to memory, especially a parity check training method for DRAM that supports link error checking and correction functions.

動態隨機存取記憶體(Dynamic Random Access Memory,DRAM)支援鏈路錯誤檢查和糾正(Error Checking And Correcting,ECC)功能以用於讀取(read)和寫入(write)操作來恢復(recover)資料,即使是由於傳送(transmission)或者是由於資料的存儲(電荷損失(charge loss))而引入錯誤時。當啟用(enable)鏈路ECC功能時,資料遮罩反轉(Data Mask Inversion,DMI)引腳(pin)用於從DRAM中讀取同位檢查(parity),讀取資料選通(Read Data Strobe,RDQS)引腳用於將同位檢查寫入DRAM。總之,當啟用寫入鏈路ECC(Write Link ECC)時,RDQS引腳用於同位檢查功能。 Dynamic Random Access Memory (DRAM) supports link error checking and correction (Error Checking And Correcting, ECC) functions for read and write operations to recover (recover) Data, even when errors are introduced due to transmission or storage (charge loss) of data. When the link ECC function is enabled, the Data Mask Inversion (DMI) pin is used to read parity from DRAM, and Read Data Strobe , RDQS) pin is used to write parity check into DRAM. In short, when the Write Link ECC (Write Link ECC) is enabled, the RDQS pin is used for parity checking.

為了到達與資料(DQ)引腳的資料(DQ)對齊(align)的RDQS引 腳鎖存器(latch)的RDQS以使DRAM控制器從DRAM進行讀取/向DRAM進行寫入,需要訓練(train)RDQS以使其與DQ相位對準(phase alignment)。在傳統的同位檢查訓練(parity training)中,讀取和寫入先入先出(First Input First Output,FIFO)命令可用於通過RDQS引腳從DRAM的FIFO檔(file)中讀取資料/向DRAM的FIFO檔寫入資料。具體來說,DRAM控制器使用寫入FIFO(Write FIFO)命令將資料經由RDQS引腳寫入DRAM的FIFO檔,然後利用讀取FIFO(Read FIFO)命令經由DMI引腳進行回讀。通過這種方式,DRAM控制器通過調整(adjust)RDQS時間來重複寫入和回讀,直到經由RDQS引腳傳輸(transfer)到DRAM的資料正確為止,從而完成同位檢查訓練。 In order to reach the RDQS lead aligned with the data (DQ) of the data (DQ) pin For the RDQS of the latch to enable the DRAM controller to read/write to the DRAM, the RDQS needs to be trained to make it phase alignment with the DQ. In traditional parity training (parity training), read and write First Input First Output (First Input First Output, FIFO) commands can be used to read data from/to DRAM through the RDQS pin from DRAM's FIFO file (file) Write data to the FIFO file. Specifically, the DRAM controller uses the Write FIFO (Write FIFO) command to write data to the FIFO file of the DRAM via the RDQS pin, and then uses the Read FIFO (Read FIFO) command to read back via the DMI pin. In this way, the DRAM controller repeats writing and reading by adjusting the RDQS time until the data transferred to the DRAM via the RDQS pin is correct, thereby completing the parity check training.

由此可見,傳統的同位檢查訓練方法在DRAM中需要額外的FIFO檔,而且讀取和寫入FIFO在長度上受到限制,因此訓練模式不能足夠複雜以使DRAM控制器能優化寫入/讀取同位檢查位元的鎖存點(latching point)。 It can be seen that the traditional parity check training method requires additional FIFO files in the DRAM, and the read and write FIFOs are limited in length, so the training mode cannot be complex enough to allow the DRAM controller to optimize write/read The latch point of the parity check bit.

為了解決上述問題,本發明的一個目的是提供一種支援鏈路ECC功能的用於動態隨機存取記憶體的同位檢查訓練方法。 In order to solve the above-mentioned problems, an object of the present invention is to provide a parity check training method for dynamic random access memory that supports the link ECC function.

本發明公開了一種用於動態隨機存取記憶體的同位檢查訓練方法,所述方法包括在所述動態隨機存取記憶體的寫入操作中啟用鏈路錯誤檢查和糾正功能;以及將寫入同位檢查引腳的同位檢查功能重新映射為資料反轉功能、資料替換功能或者邏輯功能,其中通過所述寫入同位檢查引腳傳輸到所述動態隨機存取記憶體的資料用於指示對資料引腳的資料進行反轉操作、邏輯操作或者替換操作。 The present invention discloses a parity check training method for dynamic random access memory. The method includes enabling link error checking and correction functions in the write operation of the dynamic random access memory; and writing The parity check function of the parity check pin is remapped to a data inversion function, a data replacement function, or a logic function, wherein the data transmitted to the dynamic random access memory through the write parity check pin is used to indicate data The pin data is reversed, logically operated or replaced.

本發明還公開了一種記憶體系統,所述記憶體系統包括動態隨機存取記憶體;以及記憶體控制器,用於在所述動態隨機存取記憶體的寫入操作中 啟用鏈路錯誤檢查和糾正功能,以及將寫入同位檢查引腳的同位檢查功能重新映射為資料反轉功能、資料替換功能或者邏輯功能,其中通過所述寫入同位檢查引腳傳輸到所述動態隨機存取記憶體的資料用於指示對資料引腳的資料進行反轉操作、邏輯操作或者替換操作。 The present invention also discloses a memory system. The memory system includes a dynamic random access memory; and a memory controller for writing in the dynamic random access memory Enable the link error check and correction function, and remap the parity check function written to the parity check pin to a data inversion function, a data replacement function, or a logic function, wherein the write parity check pin is transmitted to the The data of the dynamic random access memory is used to instruct the data pin data inversion operation, logic operation or replacement operation.

在閱讀以下優選實施例的實施方式之後,本發明的上述目的和其他目的對於所屬領域具有通常知識者而言將變得顯而易見,其中優選實施例可在各個附圖中例示。 After reading the implementation of the following preferred embodiments, the above-mentioned objects and other objects of the present invention will become apparent to those having ordinary knowledge in the art, and the preferred embodiments can be illustrated in the respective drawings.

10:記憶體系統 10: Memory system

110:記憶體控制器 110: Memory Controller

120:DRAM 120: DRAM

第1圖是根據本發明實施例的記憶體系統(memory system)的示意圖。 Figure 1 is a schematic diagram of a memory system according to an embodiment of the invention.

第2圖是根據本發明實施例的DRAM的示意圖。 Figure 2 is a schematic diagram of a DRAM according to an embodiment of the present invention.

第3圖是根據本發明實施例的DRAM的寫入/讀取操作的示意圖。 Fig. 3 is a schematic diagram of a DRAM write/read operation according to an embodiment of the present invention.

請參考第1圖,第1圖描述了根據本發明實施例的記憶體系統10的示意圖。記憶體系統10可包括記憶體控制器(memory controller)110和DRAM 120。 記憶體控制器110和DRAM 120可經由資料匯流排(data bus)進行連接以傳送/接收命令(Command,CMD)訊號、不同的時鐘(Clock,CLK)訊號、資料匯流排反轉(Data Bus Inversion,DBI)訊號、資料DQ[7:0]、DMI訊號和RDQS訊號。記憶體控制器110可經由相應的引腳(諸如DQ引腳、DMI引腳和RDQS引腳)與DRAM 120執行寫入/讀取操作,來向DRAM 120寫入/從DRAM 120讀取資料位元DQ0-DQ7、DMI和RDQS。DRAM 120可支援鏈路ECC功能,並且當在寫入操作中啟用鏈路ECC功能時,可通過寫入同位檢查引腳(write parity pin)(諸如 RDQS引腳)來執行寫入同位檢查引腳訓練操作。 Please refer to FIG. 1, which illustrates a schematic diagram of a memory system 10 according to an embodiment of the present invention. The memory system 10 may include a memory controller 110 and a DRAM 120. The memory controller 110 and the DRAM 120 can be connected via a data bus to send/receive command (Command, CMD) signals, different clock (Clock, CLK) signals, and data bus inversion (Data Bus Inversion). , DBI) signal, data DQ[7:0], DMI signal and RDQS signal. The memory controller 110 can perform write/read operations with the DRAM 120 via corresponding pins (such as DQ pins, DMI pins, and RDQS pins) to write/read data bits to/from the DRAM 120 DQ0-DQ7, DMI and RDQS. The DRAM 120 can support the link ECC function, and when the link ECC function is enabled in a write operation, it can be written to a parity pin (write parity pin) (such as RDQS pin) to perform write parity check pin training operation.

當在寫入操作中啟用鏈路ECC功能時,RDQS引腳可用於向DRAM 120寫入同位檢查位元。然而,通過RDQS引腳從記憶體控制器110傳輸到DRAM 120的資料(同位檢查位元)未寫入DRAM 120中,以致記憶體控制器110無法在讀取操作中經由DMI引腳從DRAM 120進行回讀。因此,記憶體控制器110無法訓練寫入同位檢查引腳(比如RDQS引腳),這可能會影響寫入/讀取操作。 When the link ECC function is enabled in the write operation, the RDQS pin can be used to 120 write parity check bit. However, the data (parity check bit) transferred from the memory controller 110 to the DRAM 120 through the RDQS pin is not written into the DRAM 120, so that the memory controller 110 cannot receive data from the DRAM 120 through the DMI pin during a read operation. Read back. Therefore, the memory controller 110 cannot train the write parity check pin (such as the RDQS pin), which may affect the write/read operation.

本發明旨在提供當RDQS引腳用於寫入同位檢查操作時的同位檢查訓練方法。具體來說,在寫入同位檢查引腳訓練操作中,RDQS引腳不用於寫入同位檢查操作,而是用於資料反轉(data inversion)功能、資料替換功能(data replacing function)或者邏輯功能(logical function)。 The present invention aims to provide a parity check training method when the RDQS pin is used for writing parity check operations. Specifically, in the write parity check pin training operation, the RDQS pin is not used for the write parity check operation, but is used for the data inversion function, data replacing function or logic function. (logical function).

總而言之,寫入同位檢查引腳訓練操作可通過將RDQS引腳的同位檢查功能重新映射(remap)為以下功能來執行:資料位元DQ[7:0]反轉操作(即DMI/DBI);替換資料位元DQ[7:0]中之一;對部分或全部資料位元DQ[7:0]的其他邏輯操作。 In summary, the write parity check pin training operation can be performed by remapping the parity check function of the RDQS pin into the following functions: data bit DQ[7:0] inversion operation (ie DMI/DBI); Replace one of the data bits DQ[7:0]; other logical operations on part or all of the data bits DQ[7:0].

更具體地,通過RDQS引腳傳輸到DRAM 120的資料(稱為同位檢查位元)可用於指示是否反轉DQ引腳的資料,用於指示是否對DQ引腳的資料執行預定的邏輯操作(比如與(AND)、或(OR)、非(NOT)、與非(NAND)、或非(NOR)、異或(XOR)或者同或(XNOR)運算),或者用於指示是否利用通過RDQS引腳傳輸到DRAM 120的資料來替換DQ引腳的資料。 More specifically, the data (called parity check bit) transmitted to the DRAM 120 through the RDQS pin can be used to indicate whether to invert the data of the DQ pin, and to indicate whether to perform a predetermined logical operation on the data of the DQ pin ( For example, and (AND), or (OR), not (NOT), NAND, NOR, XOR or XNOR operations), or used to indicate whether to use RDQS The data transferred from the pin to the DRAM 120 replaces the data of the DQ pin.

參考第2圖,第2圖描述了根據本發明實施例的DRAM的操作。 With reference to Figure 2, Figure 2 describes the operation of the DRAM according to the embodiment of the present invention.

在RDQS引腳訓練中,通過RDQS引腳傳輸到DRAM的資料不被視為ECC同位檢查,而是被重新映射為對資料位元DQ[7:0]的DMI操作。如第2圖所示,資料位元DQ[7:0]、RDQS和DMI可傳送至DRAM的「解序列化(de-serialize)」 模組。請注意,通過RDQS引腳傳輸至「解序列化」模組的資料可替換DMI引腳的資料。因此,資料位元DQ[7:0]和DMI可傳送至「DBI解碼」模組以向DRAM寫入已反轉的資料位元DQ[7:0]。請注意,在其他實施例中,只要通過RDQS引腳傳輸至DRAM的資料(同位檢查位元)可以通過從DRAM中回讀資料位元DQ[7:0]而觀察(observe)到,則通過RDQS引腳傳輸至DRAM的資料可重新映射為對資料位元DQ[7:0]的替換操作或者任何邏輯操作。 In the RDQS pin training, the data transmitted to the DRAM through the RDQS pin is not regarded as an ECC parity check, but is remapped as a DMI operation on the data bit DQ[7:0]. As shown in Figure 2, the data bits DQ[7:0], RDQS and DMI can be sent to the "de-serialize" of DRAM Module. Please note that the data transmitted to the "deserialization" module via the RDQS pin can replace the data on the DMI pin. Therefore, the data bits DQ[7:0] and DMI can be sent to the "DBI Decoding" module to write the inverted data bits DQ[7:0] to the DRAM. Please note that in other embodiments, as long as the data (parity check bit) transferred to the DRAM through the RDQS pin can be observed (observe) by reading back the data bit DQ[7:0] from the DRAM, then pass The data transferred from the RDQS pin to the DRAM can be remapped as a replacement operation for the data bit DQ[7:0] or any logical operation.

在一實施例中,在RDQS訓練中,RDQS引腳可用於對資料位元DQ[7:0]的DMI操作。可參考第3圖。如第3圖所示,記憶體控制器110可使用DQ引腳DQ0-DQ7來向DRAM 120寫入資料位元(以下稱為寫入模式(WRITE pattern))。同時,記憶體控制器110可利用RDQS引腳向DRAM 120寫入同位檢查位元。因為同位檢查位元可視為對DQ引腳DQ0-DQ7的已寫入的資料的DMI操作,所以第一資料節拍(data beat)「0」中的DQ引腳DQ0-DQ7的寫入模式「0」、「0」、「0」、「0」、「0」、「0」、「0」、「0」連同第一資料節拍「0」中的RDQS引腳的同位檢查位元「1」以「1」、「1」、「1」、「1」、「1」、「1」、「1」、「1」寫入DRAM。如第3圖所示,當記憶體控制器110從DRAM120中回讀已寫入的資料時,由於已寫入的資料和已讀取的資料是反轉的,所以記憶體控制器110知道傳輸至DRAM 120的同位檢查位元為「1」。另外,第二資料節拍「1」中的DQ引腳DQ0-DQ7的寫入模式「1」、「0」、「0」、「0」、「0」、「0」、「0」、「0」連同第二資料節拍「1」中的RDQS引腳的同位檢查位元「0」以「1」、「0」、「0」、「0」、「0」、「0」、「0」、「0」寫入DRAM 120。因此,當記憶體控制器110從DRAM 120回讀資料時,由於已寫入的資料和已讀取的資料是相同的,所以記憶體控制器110知道傳輸至DRAM 120的同位檢查位元為「0」。由此可見,RDQS引腳可重新映射為DQ匯流排反轉功能,因此RDQS引腳的寫入模式可以通過對比(compare)已寫入的資料位 元DQ[7:0]和已讀取的資料位元DQ[7:0]來進行回讀,以便實現RDQS引腳訓練。 在該實施例中,RDQS引腳的寫入模式可以經由DQ引腳或者DMI引腳進行回讀。也可以說,可通過資料引腳或者DMI引腳來對通過寫入同位檢查引腳傳輸到DRAM的資料進行回讀。請注意,無論RDQS引腳是否重新映射為其他功能/操作,DQ引腳或者DMI引腳在讀取操作期間可以保持相同的功能。 In one embodiment, during RDQS training, the RDQS pin can be used for DMI operations on data bits DQ[7:0]. Refer to Figure 3. As shown in FIG. 3, the memory controller 110 can use the DQ pins DQ0-DQ7 to write data bits to the DRAM 120 (hereinafter referred to as the WRITE pattern). At the same time, the memory controller 110 can use the RDQS pin to write parity check bits to the DRAM 120. Because the parity check bit can be regarded as a DMI operation on the written data of the DQ pins DQ0-DQ7, the write mode of the DQ pins DQ0-DQ7 in the first data beat (data beat) "0" is "0". "", "0", "0", "0", "0", "0", "0", "0" together with the parity check bit "1" of the RDQS pin in the first data beat "0" Write DRAM with "1", "1", "1", "1", "1", "1", "1", and "1". As shown in Figure 3, when the memory controller 110 reads back the written data from the DRAM 120, since the written data and the read data are reversed, the memory controller 110 knows the transmission The parity check bit to the DRAM 120 is "1". In addition, the write modes of DQ pins DQ0-DQ7 in the second data beat "1" are "1", "0", "0", "0", "0", "0", "0", " 0" together with the parity check bit "0" of the RDQS pin in the second data beat "1" with "1", "0", "0", "0", "0", "0", "0" "" and "0" are written into DRAM 120. Therefore, when the memory controller 110 reads back data from the DRAM 120, since the written data and the read data are the same, the memory controller 110 knows that the parity check bit transmitted to the DRAM 120 is " 0". It can be seen that the RDQS pin can be remapped to the DQ bus inversion function, so the write mode of the RDQS pin can be compared with the data bits that have been written Yuan DQ[7:0] and the read data bits DQ[7:0] are read back to realize RDQS pin training. In this embodiment, the write mode of the RDQS pin can be read back via the DQ pin or the DMI pin. It can also be said that the data transferred to the DRAM by writing the parity check pin can be read back through the data pin or the DMI pin. Please note that regardless of whether the RDQS pin is remapped to another function/operation, the DQ pin or the DMI pin can maintain the same function during the read operation.

在其他實施例中,在RDQS訓練過程中,RDQS引腳可用於資料位元DQ[7:0]的資料替換操作或者邏輯操作。例如,資料節拍「0-15」中RDQS引腳的寫入模式「1010101011010101」可用於替換資料節拍「0-15」中DQ引腳DQ0的寫入模式「0111111110000000」。或者,資料節拍「0-15」中RDQS引腳的寫入模式「1010101011010101」可表示為資料節拍「0-15」中DQ引腳DQ0的寫入模式「0111111110000000」的預定的邏輯運算(比如AND、OR、NOT、NAND、NOR、XOR或XNOR運算)。 In other embodiments, during the RDQS training process, the RDQS pin can be used for data replacement operations or logic operations of data bits DQ[7:0]. For example, the write mode "1010101011010101" of the RDQS pin in the data beat "0-15" can be used to replace the write mode "0111111110000000" of the DQ pin DQ0 in the data beat "0-15". Or, the write mode "1010101011010101" of the RDQS pin in the data beat "0-15" can be expressed as the predetermined logic operation (such as AND , OR, NOT, NAND, NOR, XOR or XNOR operation).

利用這種方式,記憶體控制器110能夠向DRAM 120寫入/從DRAM 120讀取RDQS引腳的同位檢查位元,以便訓練RDQS引腳。另外,RDQS引腳的寫入模式可以根據系統要求而複雜,可不受FIFO檔尺寸的限制。此外,DRAM控制器110可以對DQ/DMI引腳採用相同的訓練思路(即功能/操作的重新映射)。 In this way, the memory controller 110 can write/read the parity check bit of the RDQS pin to/from the DRAM 120 to train the RDQS pin. In addition, the write mode of the RDQS pin can be complicated according to system requirements, and is not limited by the size of the FIFO file. In addition, the DRAM controller 110 can use the same training idea (ie, function/operation remapping) for the DQ/DMI pins.

上述處理的步驟(包括所建議的步驟)可以通過硬體、韌體(firmware)的方式來實現,其中韌體可稱為硬體設備以及電腦指令和資料的組合,其中電腦指令和資料可作為唯讀軟體駐留(reside)在硬體設備或電子系統上。示範性的硬體可以包括稱為微電路(microcircuit)、微晶片(microchip)或矽晶片(silicon chip)的類比、數位和混合電路。示範性的電子系統可以包括系統單晶片(System On Chip,SOC)、系統級封裝(System in Package,SiP)、模組上電腦(Computer On Module,COM)。 The above processing steps (including the recommended steps) can be implemented by hardware and firmware. The firmware can be referred to as a combination of hardware devices and computer instructions and data. Computer instructions and data can be used as The read-only software resides on the hardware device or electronic system. Exemplary hardware may include analog, digital, and hybrid circuits called microcircuits, microchips, or silicon chips. Exemplary electronic systems may include System On Chip (SOC), System in Package (SiP), and Computer On Module (COM).

總之,本發明公開了一種通過將RDQS引腳的ECC同位檢查功能重新 映射為資料反轉功能、邏輯運算功能或者資料替換功能來執行同位檢查訓練的方法。因此,RDQS引腳上攜帶的資料可以連同資料位元DQ[7:0]一起寫入DRAM,以便DRAM控制器可以從DRAM中回讀同位檢查位元以訓練RDQS引腳。 In a word, the present invention discloses a method of re-setting the ECC parity check function of the RDQS pin It is a method of performing parity check training by mapping data inversion function, logic operation function or data replacement function. Therefore, the data carried on the RDQS pin can be written into the DRAM along with the data bits DQ[7:0] so that the DRAM controller can read back the parity check bits from the DRAM to train the RDQS pin.

所屬領域具有通常知識者容易看出,在保持本發明的教導的同時,可以對上述設備和方法進行多種修改和變更。相應地,以上公開的內容應被解釋為由所附申請專利範圍的界限來限定。以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 Those with ordinary knowledge in the field can easily see that while maintaining the teachings of the present invention, various modifications and changes can be made to the above-mentioned equipment and methods. Accordingly, the content disclosed above should be construed as being limited by the limits of the scope of the appended application. The foregoing descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made in accordance with the scope of the patent application of the present invention shall fall within the scope of the present invention.

Claims (10)

一種用於動態隨機存取記憶體的同位檢查訓練方法,所述方法包括:在所述動態隨機存取記憶體的一寫入操作中啟用一鏈路錯誤檢查和糾正功能;以及將一寫入同位檢查引腳的一同位檢查功能重新映射為一資料反轉功能、一資料替換功能或者一邏輯功能,其中通過所述寫入同位檢查引腳傳輸到所述動態隨機存取記憶體的資料用於指示對一資料引腳的資料進行一反轉操作、一邏輯操作或者一替換操作。 A parity check training method for dynamic random access memory, the method comprising: enabling a link error checking and correction function in a write operation of the dynamic random access memory; and writing a The parity check function of the parity check pin is remapped to a data inversion function, a data replacement function, or a logic function, wherein the data transmitted to the dynamic random access memory through the write parity check pin is used To indicate a reverse operation, a logic operation or a replacement operation on the data of a data pin. 如申請專利範圍第1項所述之用於動態隨機存取記憶體的同位檢查訓練方法,其中,所述寫入同位檢查引腳是一讀取資料選通引腳。 The parity check training method for dynamic random access memory described in the first item of the scope of patent application, wherein the write parity check pin is a read data strobe pin. 如申請專利範圍第1項所述之用於動態隨機存取記憶體的同位檢查訓練方法,其中,通過所述寫入同位檢查引腳傳輸到所述動態隨機存取記憶體的所述資料用於指示是否反轉所述資料引腳的所述資料,用於指示是否對所述資料引腳的所述資料執行一預定的邏輯操作,或者用於指示是否利用通過所述寫入同位檢查引腳傳輸到所述動態隨機存取記憶體的所述資料來替換所述資料引腳的所述資料。 The parity check training method for dynamic random access memory as described in the scope of patent application 1, wherein the data transmitted to the dynamic random access memory through the write parity check pin is used The data indicating whether to invert the data pin is used to indicate whether to perform a predetermined logical operation on the data of the data pin, or to indicate whether to use the write parity check guide The data transmitted by the pin to the dynamic random access memory replaces the data of the data pin. 如申請專利範圍第1項所述之用於動態隨機存取記憶體的同位檢查訓練方法,其中,還包括:通過所述資料引腳或者一資料遮罩反轉引腳來對通過所述寫入同位檢查引腳傳輸到所述動態隨機存取記憶體的所述資料進行回讀。 The parity check training method for dynamic random access memory as described in item 1 of the scope of patent application, which further includes: using the data pin or a data mask reversal pin to verify the write The data transferred from the parity check pin to the dynamic random access memory is read back. 如申請專利範圍第3項所述之用於動態隨機存取記憶體的同位檢查訓練方法,其中,所述預定的邏輯操作包括與、或、非、與非、或非、異或、或者同或運算。 The parity check training method for dynamic random access memory as described in item 3 of the scope of patent application, wherein the predetermined logical operation includes AND, OR, NOT, NAND, NOR, XOR, or Same Or operation. 一種用於動態隨機存取記憶體的同位檢查訓練的記憶體系統,包括:所述動態隨機存取記憶體;以及一記憶體控制器,用於在所述動態隨機存取記憶體的一寫入操作中啟用一鏈路錯誤檢查和糾正功能,以及將一寫入同位檢查引腳的一同位檢查功能重新映射為一資料反轉功能、一資料替換功能或者一邏輯功能,其中通過所述寫入同位檢查引腳傳輸到所述動態隨機存取記憶體的資料用於指示對一資料引腳的資料進行一反轉操作、一邏輯操作或者一替換操作。 A memory system for parity check training of dynamic random access memory, comprising: the dynamic random access memory; and a memory controller for writing to the dynamic random access memory In the input operation, a link error checking and correction function is enabled, and a parity check function written to a parity check pin is remapped to a data inversion function, a data replacement function, or a logic function. The data transferred from the parity check pin to the dynamic random access memory is used to instruct to perform an inversion operation, a logic operation or a replacement operation on the data of a data pin. 如申請專利範圍第6項所述之用於動態隨機存取記憶體的同位檢查訓練的記憶體系統,其中,所述寫入同位檢查引腳是一讀取資料選通引腳。 As described in item 6 of the scope of patent application, the memory system for parity check training of dynamic random access memory, wherein the write parity check pin is a read data strobe pin. 如申請專利範圍第6項所述之用於動態隨機存取記憶體的同位檢查訓練的記憶體系統,其中,通過所述寫入同位檢查引腳傳輸到所述動態隨機存取記憶體的所述資料用於指示是否反轉所述資料引腳的所述資料,用於指示是否對所述資料引腳的所述資料執行一預定的邏輯操作,或者用於指示是否利用通過所述寫入同位檢查引腳傳輸到所述動態隨機存取記憶體的所述資料來替換所述資料引腳的所述資料。 The memory system for parity check training of dynamic random access memory as described in item 6 of the scope of patent application, wherein the write parity check pin is transmitted to all the dynamic random access memory The data is used to indicate whether to invert the data of the data pin, to indicate whether to perform a predetermined logical operation on the data of the data pin, or to indicate whether to use The data transferred from the parity check pin to the dynamic random access memory replaces the data of the data pin. 如申請專利範圍第6項所述之用於動態隨機存取記憶體的同位檢查 訓練的記憶體系統,其中,所述記憶體控制器還用於通過所述資料引腳或者一資料遮罩反轉引腳來對通過所述寫入同位檢查引腳傳輸到所述動態隨機存取記憶體的所述資料進行回讀。 Parity check for dynamic random access memory as described in item 6 of the scope of patent application The trained memory system, wherein the memory controller is also used to transmit data to the dynamic random memory through the write parity check pin through the data pin or a data mask inversion pin. Take the data in the memory and read it back. 如申請專利範圍第8項所述之用於動態隨機存取記憶體的同位檢查訓練的記憶體系統,其中,所述預定的邏輯操作包括與、或、非、與非、或非、異或、或者同或運算。 The memory system for parity check training of dynamic random access memory as described in item 8 of the scope of patent application, wherein the predetermined logical operation includes AND, OR, NOT, NAND, NOR, XOR , Or the same or operation.
TW108123247A 2018-07-03 2019-07-02 Methods and memory systems of parity training for a dram TWI715095B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201862693495P 2018-07-03 2018-07-03
US62/693,495 2018-07-03

Publications (2)

Publication Number Publication Date
TW202018504A TW202018504A (en) 2020-05-16
TWI715095B true TWI715095B (en) 2021-01-01

Family

ID=71895763

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108123247A TWI715095B (en) 2018-07-03 2019-07-02 Methods and memory systems of parity training for a dram

Country Status (1)

Country Link
TW (1) TWI715095B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090222707A1 (en) * 2008-02-29 2009-09-03 Hynix Semiconductor Inc. Semiconductor memory device having capability of stable initial operation
TWI363271B (en) * 2004-04-27 2012-05-01 Nvidia Corp Data mask as write-training feedback flag
CN102959639A (en) * 2010-06-28 2013-03-06 英特尔公司 Method and apparatus for training memory signal via error signal of memory
TW201742065A (en) * 2016-05-25 2017-12-01 聯發科技股份有限公司 Memory module, memory controller and the corresponding controlling method for both
CN107767919A (en) * 2016-08-17 2018-03-06 三星电子株式会社 Semiconductor memory devices including its accumulator system and the method for operating it

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI363271B (en) * 2004-04-27 2012-05-01 Nvidia Corp Data mask as write-training feedback flag
US20090222707A1 (en) * 2008-02-29 2009-09-03 Hynix Semiconductor Inc. Semiconductor memory device having capability of stable initial operation
CN102959639A (en) * 2010-06-28 2013-03-06 英特尔公司 Method and apparatus for training memory signal via error signal of memory
TW201742065A (en) * 2016-05-25 2017-12-01 聯發科技股份有限公司 Memory module, memory controller and the corresponding controlling method for both
CN107767919A (en) * 2016-08-17 2018-03-06 三星电子株式会社 Semiconductor memory devices including its accumulator system and the method for operating it

Also Published As

Publication number Publication date
TW202018504A (en) 2020-05-16

Similar Documents

Publication Publication Date Title
US10666470B2 (en) Decision feedback equalizer
US8832391B2 (en) Semiconductor device, controller associated therewith, system including the same, and methods of operation
KR102204391B1 (en) Memory device having sharable ECC (Error Correction Code) cell array
US8300482B2 (en) Data transfer circuit and semiconductor memory device including the same
US10204001B2 (en) Data I/O circuits and semiconductor systems including the same
TWI676991B (en) Methods for testing a storage unit and apparatuses using the same
US10783937B2 (en) Voltage reference computations for memory decision feedback equalizers
US10491430B2 (en) Memory decision feedback equalizer testing
US12040035B2 (en) Buffer circuit with adaptive repair capability
US10810078B2 (en) Method of parity training for a DRAM supporting a link error checking and correcting functionality
US11275650B2 (en) Systems and methods for performing a write pattern in memory devices
TWI715095B (en) Methods and memory systems of parity training for a dram
US11574661B1 (en) Shared command shifter systems and methods
US10552277B2 (en) Electronic devices
US11996162B2 (en) Synchronous input buffer enable for DFE operation
US20230124182A1 (en) Systems and methods for centralized address capture circuitry
CN114446376A (en) Memory device and memory system