TWI832154B - Memory device - Google Patents

Memory device Download PDF

Info

Publication number
TWI832154B
TWI832154B TW111105134A TW111105134A TWI832154B TW I832154 B TWI832154 B TW I832154B TW 111105134 A TW111105134 A TW 111105134A TW 111105134 A TW111105134 A TW 111105134A TW I832154 B TWI832154 B TW I832154B
Authority
TW
Taiwan
Prior art keywords
data
memory device
test
output
cell array
Prior art date
Application number
TW111105134A
Other languages
Chinese (zh)
Other versions
TW202333164A (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 華邦電子股份有限公司
Priority to TW111105134A priority Critical patent/TWI832154B/en
Publication of TW202333164A publication Critical patent/TW202333164A/en
Application granted granted Critical
Publication of TWI832154B publication Critical patent/TWI832154B/en

Links

Images

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Dram (AREA)

Abstract

A memory device includes a memory cell array, a data accessing circuit, a data bus inversion calculator, a multiplexer and an output result judging circuit. The data accessing circuit performs a data write-in operation or a data read-out operation on the memory cell array. Wherein, the data accessing circuit reads a read-out data from the memory cell array. The data bus inversion calculator generates an inversion indication data according to the read-out data. The multiplexer outputs the inversion indication data or a test data according to a mode signal. The output result judging circuit compares the read-out data with the inversion indication data or the test data to generate an output information.

Description

記憶體裝置memory device

本發明是有關於一種記憶體裝置,且特別是有關於一種具內建自我測試(Built-In Self-Test, BIST)功能的記憶體裝置。The present invention relates to a memory device, and in particular to a memory device with a built-in self-test (BIST) function.

在記憶體裝置中,常透過設置資料匯流反轉(Data Bus Inversion, DBI)機制,以降低資料在匯流排中產生轉態的需求,進而降低功耗以及匯流排上的噪聲現象。另一方面,在記體裝置中,設置內建自我測試功能又是必要的需求。In memory devices, a Data Bus Inversion (DBI) mechanism is often set up to reduce the need for data to be transferred in the bus, thereby reducing power consumption and noise on the bus. On the other hand, in memory devices, it is a necessary requirement to set up a built-in self-test function.

在上述的前提下,習知的記憶體裝置需設置用以進行資料反向的硬體電路以因應資料匯流反轉機制,又需設置用於內建自我測試功能的錯誤位元偵測動作的相關電路。如此一來,習知的記憶體裝置中的資料讀出路徑上,需要一定數量的電路。除耗費電路布局面積外,還需消耗多餘的功率以及產生過大的資料讀出路徑上的負載,降低記憶體裝置的資料讀出效能。Under the above premise, conventional memory devices need to be equipped with hardware circuits for data reversal to cope with the data bus reversal mechanism, and also need to be equipped with built-in self-test function for error bit detection actions. related circuits. As a result, a certain number of circuits are required on the data readout path in the conventional memory device. In addition to consuming circuit layout area, it also consumes excess power and creates an excessive load on the data readout path, reducing the data readout performance of the memory device.

本發明提供一種記憶體裝置,可簡化內建自我測試功能中所需要的電路。The present invention provides a memory device that can simplify the circuit required in the built-in self-test function.

本發明的記憶體裝置包括記憶胞陣列、資料存取電路、資料匯流反轉計算器、多工器以及輸出結果判斷電路。資料存取電路耦接記憶胞陣列,針對記憶胞陣列執行資料寫入動作或資料讀出動作。其中,資料讀出動作由記憶胞陣列讀出一讀出資料。資料匯流反轉計算器耦接資料存取電路,用以接收讀出資料,根據讀出資料以產生反轉指示資料。多工器接收反轉指示資料以及測試資料,根據模式信號以輸出反轉指示資料或測試資料。輸出結果判斷電路耦接多工器,使讀出資料與反轉指示資料或測試資料進行運算以產生輸出資訊。The memory device of the present invention includes a memory cell array, a data access circuit, a data bus inversion calculator, a multiplexer and an output result judgment circuit. The data access circuit is coupled to the memory cell array and performs a data writing operation or a data reading operation on the memory cell array. Among them, the data reading action is to read data from the memory cell array. The data bus reversal calculator is coupled to the data access circuit for receiving read data and generating reversal indication data based on the read data. The multiplexer receives reversal indication data and test data, and outputs reversal indication data or test data according to the mode signal. The output result judgment circuit is coupled to the multiplexer to perform operations on the read data and the inverted instruction data or test data to generate output information.

基於上述,本發明的記憶體裝置,透過多工器以在不同工作模式下,輸出反轉指示資料或測試資料至輸出結果判斷電路。輸出結果判斷電路可對應不同的工作模式以產生最終讀出資料或錯誤位元資訊。如此一來,本發明的記憶體裝置不需針對內建自我測試功能設置多餘的關於測試結果的判斷電路,有效減低記憶體裝置中寫入路徑的負載,並減低電路布局所需要的面積。Based on the above, the memory device of the present invention outputs reversal instruction data or test data to the output result judgment circuit through the multiplexer in different operating modes. The output result judgment circuit can correspond to different operating modes to generate final read data or error bit information. In this way, the memory device of the present invention does not need to configure redundant test result judgment circuits for the built-in self-test function, effectively reducing the load on the write path in the memory device and reducing the area required for circuit layout.

請參照圖1,記憶體裝置100包括資料匯流反轉計算器110、多工器120、輸出結果判斷電路130、資料存取電路140以及記憶胞陣列150。資料存取電路140耦接至記憶胞陣列150。資料存取電路140用以針對記憶胞陣列150根據寫入資料WDATA以執行資料寫入動作。或者,資料存取電路140可針對記憶胞陣列150執行資料讀出動作以獲得讀出資料RDATA。Referring to FIG. 1 , the memory device 100 includes a data bus inversion calculator 110 , a multiplexer 120 , an output result determination circuit 130 , a data access circuit 140 and a memory cell array 150 . Data access circuit 140 is coupled to memory cell array 150 . The data access circuit 140 is used to perform data writing operations on the memory cell array 150 according to the writing data WDATA. Alternatively, the data access circuit 140 may perform a data read operation on the memory cell array 150 to obtain the read data RDATA.

在細節上,資料存取電路140在執行資料寫入動作時,可根據測試資料TDATA或外部輸入資料EID來產生寫入資料WDATA,並將寫入資料WDATA寫入至記憶胞陣列150中的一個或多個選中記憶胞。其中,資料存取電路140在正常模式下,選擇外部輸入資料EID以執行資料寫入動作。資料存取電路140在測試模式下,選擇測試資料TDATA以執行資料寫入動作。In detail, when performing the data writing operation, the data access circuit 140 can generate the writing data WDATA based on the test data TDATA or the external input data EID, and write the writing data WDATA into one of the memory cell arrays 150 or multiple selected memory cells. Among them, the data access circuit 140 selects the external input data EID to perform the data writing operation in the normal mode. In the test mode, the data access circuit 140 selects the test data TDATA to perform the data writing operation.

此外,資料存取電路140在執行資料讀出動作時,可透過感測記憶胞陣列150中的一個或多個選中記憶胞的位元線上的信號,以獲得讀出資料RDATA。In addition, when performing a data reading operation, the data access circuit 140 can obtain the read data RDATA by sensing signals on the bit lines of one or more selected memory cells in the memory cell array 150 .

資料匯流反轉計算器110耦接至資料存取電路140。在正常模式下,在執行資料讀出動作時,資料匯流反轉計算器110可接收讀出資料RDATA,並透過計算讀出資料RDATA的多個位元中,為第一邏輯值的位元的數量。當讀出資料RDATA的多個位元為第一邏輯值的位元的數量大於預設的參考值時,資料匯流反轉計算器110產生致能的反轉指示資料DBI。第一邏輯值可以是邏輯值0或也可以是邏輯值1。預設的參考值則可以是讀出資料RDATA的總位元數的一半。Data bus reversal calculator 110 is coupled to data access circuit 140 . In the normal mode, when performing a data read operation, the data bus inversion calculator 110 can receive the read data RDATA, and calculate the number of bits that are the first logical value among the multiple bits of the read data RDATA. quantity. When the number of bits whose multiple bits in the read data RDATA are first logic values is greater than the preset reference value, the data bus inversion calculator 110 generates enabled inversion indication data DBI. The first logical value can be a logical value 0 or also a logical value 1. The preset reference value can be half of the total number of bits of the read data RDATA.

多工器120耦接在資料匯流反轉計算器110以及輸出結果判斷電路130間。多工器120可接收測試資料TDATA以及資料匯流反轉計算器110所產生的反轉指示資料DBI。多工器120可根據模式信號MD以輸出反轉指示資料DBI或測試資料TDATA至輸出結果判斷電路130。當模式信號MD指示記憶體裝置100工作在正常模式下時,多工器120可輸出反轉指示資料DBI至輸出結果判斷電路130。相對的,當模式信號MD指示記憶體裝置100工作在測試模式下時,多工器120可輸出測試資料TDATA至輸出結果判斷電路130。The multiplexer 120 is coupled between the data bus inversion calculator 110 and the output result judgment circuit 130 . The multiplexer 120 can receive the test data TDATA and the reversal indication data DBI generated by the data bus reversal calculator 110 . The multiplexer 120 can output the inversion indication data DBI or the test data TDATA to the output result judgment circuit 130 according to the mode signal MD. When the mode signal MD indicates that the memory device 100 operates in the normal mode, the multiplexer 120 may output the inversion indication data DBI to the output result determination circuit 130 . In contrast, when the mode signal MD indicates that the memory device 100 operates in the test mode, the multiplexer 120 may output the test data TDATA to the output result determination circuit 130 .

輸出結果判斷電路130另耦接至資料存取電路140。輸出結果判斷電路130接收多工器120提供的反轉指示資料DBI或測試資料TDATA,並接收資料存取電路140提供的讀出資料RDATA。輸出結果判斷電路130用以使讀出資料RDATA與反轉指示資料DBI執行運算,或使讀出資料RDATA與測試資料TDATA執行運算,並藉以產生輸出資訊。其中,在正常模式下,輸出結果判斷電路130用以使讀出資料RDATA與反轉指示資料DBI執行反互斥或(XNOR)運算,並產生為最終讀出資料ODATA的輸出資訊。在測試模式下,輸出結果判斷電路130用以使讀出資料RDATA與測試資料TDATA執行反互斥或運算,並產生為錯誤位元資訊EBI的輸出資訊。The output result judgment circuit 130 is further coupled to the data access circuit 140 . The output result judgment circuit 130 receives the inversion instruction data DBI or the test data TDATA provided by the multiplexer 120, and receives the read data RDATA provided by the data access circuit 140. The output result judgment circuit 130 is used to make the read data RDATA and the inverted instruction data DBI perform operations, or to make the read data RDATA and the test data TDATA perform operations, and thereby generate output information. Among them, in the normal mode, the output result judgment circuit 130 is used to perform an inverse exclusive OR (XNOR) operation on the read data RDATA and the inversion instruction data DBI, and generate output information as the final read data ODATA. In the test mode, the output result judgment circuit 130 is used to perform an inverse OR operation on the read data RDATA and the test data TDATA, and generate output information as the error bit information EBI.

在記憶體裝置100的整體動作細節上,在正常模式下,執行資料寫入動作時,資料存取電路140可根據所接收的外部輸入資料EID來產生寫入資料WDATA,並將寫入資料WDATA寫入至記憶胞陣列150中。在此請注意,資料存取電路140可預先針對外部輸入資料EID的多個位元進行判斷,並據以產生寫入資料WDATA。例如,當外部輸入資料EID為邏輯值1的位元多於為邏輯值0的位元時,資料存取電路140可使外部輸入資料EID反向以產生寫入資料WDATA。而當外部輸入資料EID為邏輯值1的位元不多於為邏輯值0的位元時,資料存取電路140可使外部輸入資料EID等於寫入資料WDATA。上述的動作稱為資料匯流反轉(Data Bus Inversion, DBI)機制,用以提升記憶體的資料寫入效率,並降低功率消耗。In terms of the overall operation details of the memory device 100, in the normal mode, when performing a data writing operation, the data access circuit 140 can generate write data WDATA according to the received external input data EID, and write data WDATA written into the memory cell array 150 . Please note here that the data access circuit 140 can judge multiple bits of the external input data EID in advance and generate the write data WDATA accordingly. For example, when the external input data EID has more bits with logic value 1 than bits with logic value 0, the data access circuit 140 can invert the external input data EID to generate write data WDATA. When the bits of the external input data EID with a logical value of 1 are no more than the bits with a logical value of 0, the data access circuit 140 can make the external input data EID equal to the write data WDATA. The above action is called the Data Bus Inversion (DBI) mechanism, which is used to improve the data writing efficiency of the memory and reduce power consumption.

在正常模式的資料讀出動作中,資料存取電路140由記憶胞陣列150讀取讀出資料RDATA。讀出資料RDATA被傳送至資料匯流反轉計算器110。資料匯流反轉計算器110可產生對應讀出資料RDATA的反轉指示資料DBI。In the normal mode data reading operation, the data access circuit 140 reads the read data RDATA from the memory cell array 150 . The read data RDATA is sent to the data bus inversion calculator 110 . The data bus inversion calculator 110 may generate inversion indication data DBI corresponding to the read data RDATA.

接著,在正常模式下,讀出資料RDATA以及對應的反轉指示資料DBI可被傳送至輸出結果判斷電路130。輸出結果判斷電路130可根據所應用的反互斥或運算,來產生最終讀出資料ODATA。承續上述的範例,當反轉指示資料DBI為邏輯值0時,表示讀出資料RDATA中為邏輯值0的位元較多,並需要進行反轉。因此,輸出結果判斷電路130可使反轉指示資料DBI與讀出資料RDATA執行反互斥或運算,並反轉讀出資料RDATA以產生最終讀出資料ODATA。Then, in the normal mode, the read data RDATA and the corresponding reversal indication data DBI may be sent to the output result judgment circuit 130 . The output result judgment circuit 130 can generate the final read data ODATA according to the applied anti-mutex OR operation. Continuing the above example, when the inversion indication data DBI is a logic value 0, it means that there are more bits with a logic value 0 in the read data RDATA and needs to be inverted. Therefore, the output result judgment circuit 130 can perform an inverse exclusive OR operation on the inversion indication data DBI and the read data RDATA, and invert the read data RDATA to generate the final read data ODATA.

另一方面,在測試模式下,執行資料寫入動作時,資料存取電路140可根據所接收的測試資料TDATA來產生寫入資料WDATA,並將寫入資料WDATA寫入至記憶胞陣列150中。在資料讀出動作中,資料存取電路140由記憶胞陣列150讀取讀出資料RDATA。讀出資料RDATA被傳送至輸出結果判斷電路130。此時,資料匯流反轉計算器110停止工作。多工器120根據模式信號MD以傳送測試資料TDATA至輸出結果判斷電路130。On the other hand, in the test mode, when performing a data writing operation, the data access circuit 140 can generate write data WDATA based on the received test data TDATA, and write the write data WDATA into the memory cell array 150 . In the data reading operation, the data access circuit 140 reads the data RDATA from the memory cell array 150 . The read data RDATA is sent to the output result judgment circuit 130. At this time, the data flow reversal calculator 110 stops working. The multiplexer 120 transmits the test data TDATA to the output result judgment circuit 130 according to the mode signal MD.

輸出結果判斷電路130可針對測試資料TDATA以及讀出資料RDATA進行比較來產生測試結果,並判斷出讀出資料RDATA中的錯誤位元資訊EBI。在此請注意,輸出結果判斷電路130同樣可應用反互斥或運算來進行測試資料TDATA以及讀出資料RDATA的比較動作。使用者僅需針對錯誤位元資訊EBI進行反向的解讀,就可以獲知讀出資料RDATA中的那些位元為錯誤位元。The output result judgment circuit 130 can compare the test data TDATA and the read data RDATA to generate a test result, and judge the error bit information EBI in the read data RDATA. Please note here that the output result judgment circuit 130 can also use an inverse OR operation to compare the test data TDATA and the read data RDATA. Users only need to reversely interpret the error bit information EBI to know which bits in the read data RDATA are error bits.

由上述的說明可知,輸出結果判斷電路130不論是在正常模式下或是在測試模式下,都應用相同的反互斥或運算來產生最終讀出資料ODATA或錯誤位元資訊EBI。也就是說,輸出結果判斷電路130中,不需要針對正常模式下以及測試模式配置不相同的硬體電路,有效降低記憶體裝置100中,在資料讀出路徑上的硬體需求,可有效降低資料讀出路徑上的負載,並提升記憶體裝置100的資料存取效能。It can be seen from the above description that the output result judgment circuit 130 applies the same anti-mutex OR operation to generate the final read data ODATA or error bit information EBI whether in the normal mode or the test mode. In other words, the output result judgment circuit 130 does not need to configure different hardware circuits for the normal mode and the test mode, which effectively reduces the hardware requirements on the data readout path in the memory device 100 and can effectively reduce load on the data read path and improve the data access performance of the memory device 100 .

請參照圖2,記憶體裝置200包括資料匯流反轉計算器210、多工器220、輸出結果判斷電路230、資料存取電路240、記憶胞陣列250、資料輸入區塊280、資料輸出區塊2100以及測試資料暫存器290。資料輸入區塊280透過資料寫入路徑260以耦接至資料存取電路240,並用以提供外部輸入資料EID。輸出結果判斷電路230則透過資料讀出路徑270以耦接至資料輸出區塊2100。資料輸出區塊2100用以輸出最終讀出資料ODATA或錯誤位元資訊EBI。測試資料暫存器290耦接至資料寫入路徑260以及多工器220,並用以提供測試資料TDATA。Referring to Figure 2, the memory device 200 includes a data bus inversion calculator 210, a multiplexer 220, an output result judgment circuit 230, a data access circuit 240, a memory cell array 250, a data input block 280, and a data output block. 2100 and test data register 290. The data input block 280 is coupled to the data access circuit 240 through the data writing path 260 and is used to provide external input data EID. The output result judgment circuit 230 is coupled to the data output block 2100 through the data readout path 270 . The data output block 2100 is used to output the final read data ODATA or error bit information EBI. The test data register 290 is coupled to the data writing path 260 and the multiplexer 220 and is used to provide test data TDATA.

在本實施例中,測試資料暫存器290用以儲存執行內建自我測試(Built-In Self-Test, BIST)動作的相關測試資料TDATA。並在內建自我測試模式被啟動時,提供測試資料TDATA至記憶胞陣列250以針對記憶胞陣列250及其周邊電路進行測試動作。In this embodiment, the test data register 290 is used to store relevant test data TDATA for executing the built-in self-test (Built-In Self-Test, BIST) action. When the built-in self-test mode is activated, test data TDATA is provided to the memory cell array 250 to perform test operations on the memory cell array 250 and its peripheral circuits.

關於資料匯流反轉計算器210、多工器220、輸出結果判斷電路230以及資料存取電路240的動作細節,在前述的實施例中已有詳細的說明,在此不多贅述。The details of the operations of the data bus inversion calculator 210, the multiplexer 220, the output result judgment circuit 230 and the data access circuit 240 have been described in detail in the foregoing embodiments and will not be repeated here.

關於硬體架構方面,記憶胞陣列250可以是動態隨機存取記憶體的記憶胞陣列。資料匯流反轉計算器210可以由數位電路來實施,沒有特定的電路結構。資料輸入區塊280以及資料輸出區塊270可包括一個或多個緩衝器以及開關,例如可利用本領域具通常知識者所熟知的輸入介面電路以輸出介面電路來實施。多工器220可應用本領域具通常知識者所熟知的多工器電路來實施,沒有特定的限制。Regarding the hardware architecture, the memory cell array 250 may be a memory cell array of a dynamic random access memory. The data bus inversion calculator 210 can be implemented by a digital circuit and does not have a specific circuit structure. The data input block 280 and the data output block 270 may include one or more buffers and switches, which may be implemented using input interface circuits and output interface circuits well known to those skilled in the art. The multiplexer 220 can be implemented using a multiplexer circuit that is well known to those skilled in the art, without any specific limitation.

關於輸出結果判斷電路230以及資料存取電路240的硬體架構,可參照以下圖3以及圖4的實施範例。Regarding the hardware architecture of the output result judgment circuit 230 and the data access circuit 240, please refer to the implementation examples of FIG. 3 and FIG. 4 below.

請參照圖3,輸出結果判斷電路300包括多個反互斥或閘XNOR1~XNORN。反互斥或閘XNOR1~XNORN的第一端分別接收讀出資料的多個位元RDATA[1]~RDATA[N],反互斥或閘XNOR1~XNORN的第二端分別接收測試資料的多個位元TDATA[1]~TDATA[N]或反轉指示資料的多個位元DBI[1]~DBI[N]。反互斥或閘XNOR1~XNORN分別產生錯誤位元資訊的多個位元EBI[1]~EBI[N],或者分別產生最終讀出資料的多個位元ODATA[1]~ODATA[N]。Referring to FIG. 3 , the output result judgment circuit 300 includes a plurality of anti-mutual exclusive OR gates XNOR1 to XNORN. The first end of the anti-mutex OR gates XNOR1~XNORN receives multiple bits RDATA[1]~RDATA[N] of the read data respectively, and the second end of the anti-mutex OR gates Single bits TDATA[1]~TDATA[N] or multiple bits DBI[1]~DBI[N] of the inverted instruction data. Anti-mutex OR gates XNOR1 ~ .

請參照圖4,資料存取電路400包括感測放大器410以及寫入資料緩衝器420。感測放大器410可接收外部輸入資料EID,並轉換外部輸入資料EID為寫入資料WDATA。寫入資料WDATA可以暫存在寫入資料緩衝器420中,並由寫入資料緩衝器420提供至記憶胞陣列以進行資料寫入動作。Referring to FIG. 4 , the data access circuit 400 includes a sense amplifier 410 and a write data buffer 420 . The sense amplifier 410 can receive the external input data EID and convert the external input data EID into write data WDATA. The write data WDATA may be temporarily stored in the write data buffer 420 and provided to the memory cell array by the write data buffer 420 for data writing operations.

感測放大器410另可感測記憶胞陣列上的位元線信號BLS以獲得讀出資料RDATA。The sense amplifier 410 can also sense the bit line signal BLS on the memory cell array to obtain the read data RDATA.

在本實施例中,感測放大器410可應用本領域具通常知識者所熟知的任意形式的感測放大電路來實施,沒有固定的限制。資料緩衝器420可以為記憶體裝置中常用的頁緩衝器,同樣沒有特定的限制。In this embodiment, the sense amplifier 410 can be implemented using any form of sense amplification circuit that is well known to those skilled in the art, and there is no fixed limitation. The data buffer 420 can be a page buffer commonly used in memory devices, and is also not subject to specific limitations.

綜上所述,本發明的記憶體裝置中所設置的輸出結果判斷電路,並應用相同的硬體電路,以在不同模式下分別執行資料位元反轉動作以及測試動作。如此一來,本發明的記憶體裝置的資料輸出路徑上的電路數量可以減小,資料輸出路徑上的負載也同步被降低,可提升記憶體裝置的資料讀出動作的效率。In summary, the output result judgment circuit provided in the memory device of the present invention uses the same hardware circuit to perform data bit inversion operations and test operations in different modes. In this way, the number of circuits on the data output path of the memory device of the present invention can be reduced, and the load on the data output path is also reduced simultaneously, which can improve the efficiency of the data reading operation of the memory device.

100、200:記憶體裝置 110、210:資料匯流反轉計算器 120、220:多工器 130、230、300:輸出結果判斷電路 140、240、400:資料存取電路 150、250:記憶胞陣列 2100:資料輸出區塊 280:資料輸入區塊 290:測試資料暫存器 410:感測放大器 420:寫入資料緩衝器 DBI:反轉指示資料 EBI:錯誤位元資訊 EBI[1]~EBI[N]、ODATA[1]~ODATA[N]、TDATA[1] ~ TDATA[N]、RDATA[1] ~ RDATA[N]:位元 EID:外部輸入資料 MD:模式信號 ODATA:最終讀出資料 RDATA:讀出資料 TDATA:測試資料 WDATA:寫入資料 XNOR1~XNORN:互斥或閘 100, 200: Memory device 110, 210: Data flow reversal calculator 120, 220: multiplexer 130, 230, 300: Output result judgment circuit 140, 240, 400: Data access circuit 150, 250: Memory cell array 2100: Data output block 280: Data input block 290:Test data register 410: Sense amplifier 420: Write data buffer DBI: reversal instruction information EBI: Error bit information EBI[1]~EBI[N], ODATA[1]~ODATA[N], TDATA[1] ~ TDATA[N], RDATA[1] ~ RDATA[N]: bits EID: external input data MD: mode signal ODATA: final read data RDATA: read data TDATA: test data WDATA: write data XNOR1~XNORN: mutually exclusive or gate

圖1繪示本發明一實施例的記憶體裝置的示意圖。 圖2繪示本發明另一實施例的記憶體裝置的方塊圖。 圖3繪示本發明實施例的記憶體裝置中的輸出結果判斷電路的實施方式的示意圖。 圖4繪示本發明實施例的記憶體裝置中的資料存取電路的實施方式的示意圖。 FIG. 1 is a schematic diagram of a memory device according to an embodiment of the present invention. FIG. 2 is a block diagram of a memory device according to another embodiment of the invention. FIG. 3 is a schematic diagram of an implementation of an output result determination circuit in a memory device according to an embodiment of the present invention. FIG. 4 is a schematic diagram of an implementation of a data access circuit in a memory device according to an embodiment of the present invention.

100:記憶體裝置 100:Memory device

110:資料匯流反轉計算器 110: Data Flow Reversal Calculator

120:多工器 120:Multiplexer

130:輸出結果判斷電路 130: Output result judgment circuit

140:資料存取電路 140:Data access circuit

150:記憶胞陣列 150:Memory cell array

DBI:反轉指示資料 DBI: reversal instruction information

EBI:錯誤位元資訊 EBI: Error bit information

EID:外部輸入資料 EID: external input data

MD:模式信號 MD: mode signal

ODATA:最終讀出資料 ODATA: final read data

RDATA:讀出資料 RDATA: read data

TDATA:測試資料 TDATA: test data

WDATA:寫入資料 WDATA: write data

Claims (10)

一種記憶體裝置,包括:一記憶胞陣列;一資料存取電路,耦接該記憶胞陣列,針對該記憶胞陣列執行一資料寫入動作或一資料讀出動作,其中該資料讀出動作由該記憶胞陣列讀出一讀出資料;一資料匯流反轉計算器,耦接該資料存取電路,用以接收該讀出資料,根據該讀出資料以產生一反轉指示資料;一多工器,接收該反轉指示資料以及一測試資料,根據一模式信號以在不同模式下,分別輸出該反轉指示資料及該測試資料;以及一輸出結果判斷電路,耦接該多工器,使該讀出資料,在不同模式下,分別與該反轉指示資料以及該測試資料以透過相同的硬體進行運算以產生一輸出資訊,其中該資料匯流反轉計算器計算該讀出資料的多個位元中為第一邏輯值的一數量,並在當該數量大於預設的一參考值時,產生為致能的該反轉指示資料。 A memory device includes: a memory cell array; a data access circuit coupled to the memory cell array, performing a data writing operation or a data reading operation on the memory cell array, wherein the data reading operation is performed by The memory cell array reads out a readout data; a data bus reversal calculator is coupled to the data access circuit for receiving the readout data and generating a reversal indication data based on the readout data; a multiplexer that receives the reversal indication data and a test data, and outputs the reversal indication data and the test data respectively in different modes according to a mode signal; and an output result judgment circuit coupled to the multiplexer, The read data, in different modes, are calculated with the inverted instruction data and the test data through the same hardware to generate an output information, wherein the data flow inversion calculator calculates the read data There is a number of first logic values in the plurality of bits, and when the number is greater than a preset reference value, the enabled reversal indication data is generated. 如請求項1所述的記憶體裝置,其中該模式信號用以指示該記憶體裝置操作在一正常模式或一測試模式下。 The memory device of claim 1, wherein the mode signal is used to indicate that the memory device operates in a normal mode or a test mode. 如請求項2所述的記憶體裝置,其中當該記憶體裝置操作在該測試模式下時,該多工器選擇輸出該測試資料至該輸出 結果判斷電路,當該記憶體裝置操作在該正常模式下時,該多工器選擇輸出該反轉指示資料至該輸出結果判斷電路。 The memory device of claim 2, wherein when the memory device operates in the test mode, the multiplexer selects to output the test data to the output The result judgment circuit, when the memory device operates in the normal mode, the multiplexer selects to output the inversion indication data to the output result judgment circuit. 如請求項2所述的記憶體裝置,其中在該正常模式下,該輸出結果判斷電路使該讀出資料的該些位元與該反轉指示資料的多個位元分別進行反互斥或運算,以產生為一最終讀出資料的該輸出資訊,在該測試模式下時,該輸出結果判斷電路使該讀出資料的該些位元分別與該測試資料的多個位元進行反互斥或運算,以分別產生一錯誤位元資訊的該輸出資訊。 The memory device as claimed in claim 2, wherein in the normal mode, the output result judgment circuit causes the bits of the read data and the bits of the inversion indication data to perform anti-mutual exclusion or mutual exclusion respectively. Operation is performed to generate the output information as a final read data. When in the test mode, the output result judgment circuit causes the bits of the read data to interact with the plurality of bits of the test data respectively. Exclusive OR operation is performed to respectively generate the output information of an error bit information. 如請求項2所述的記憶體裝置,其中在該測試模式下,該資料匯流反轉計算器停止工作。 The memory device of claim 2, wherein in the test mode, the data bus reversal calculator stops working. 如請求項1所述的記憶體裝置,其中該輸出結果判斷電路包括多個反互斥或閘,各該反互斥或閘的第一輸入端接收該讀出資料的各該位元,各該反互斥或閘的第二輸入端接收該測試資料的各該位元或接收該反轉指示資料的各該位元,各該反互斥或閘的輸出端產生該輸出資訊的各該位元。 The memory device of claim 1, wherein the output result judgment circuit includes a plurality of anti-mutex OR gates, and the first input end of each anti-mutex OR gate receives each bit of the read data, each The second input terminal of the anti-mutex OR gate receives each of the bits of the test data or receives each of the bits of the inversion instruction data, and the output terminal of each anti-mutex OR gate generates each of the output information. Bits. 如請求項1所述的記憶體裝置,更包括:一測試資料暫存器,耦接該多工器,用以儲存該測試資料。 The memory device of claim 1 further includes: a test data register coupled to the multiplexer for storing the test data. 如請求項7所述的記憶體裝置,更包括:一資料輸入區塊,耦接至該資料存取電路,用以提供外部輸入資料至該資料存取電路;以及一資料輸出區塊,耦接至該輸出結果判斷電路,用以輸出該輸出資訊。 The memory device of claim 7, further comprising: a data input block coupled to the data access circuit for providing external input data to the data access circuit; and a data output block coupled to the data access circuit. Connected to the output result judgment circuit for outputting the output information. 如請求項8所述的記憶體裝置,其中該資料輸入區塊與該資料存取電路中具有一資料寫入路徑,該資料輸出區塊與該輸出結果判斷電路間具有一資料讀出路徑。 The memory device of claim 8, wherein there is a data writing path between the data input block and the data access circuit, and there is a data reading path between the data output block and the output result judgment circuit. 如請求項8所述的記憶體裝置,其中該資料存取電路包括:一感測放大器,用以提供一寫入資料至該記憶胞陣列,或由該記憶胞陣列感測出該讀出資料;以及一寫入資料緩衝器,耦接該感測放大器,用以暫存該寫入資料。 The memory device of claim 8, wherein the data access circuit includes: a sense amplifier for providing a write data to the memory cell array, or sensing the read data from the memory cell array ; and a write data buffer coupled to the sense amplifier for temporarily storing the write data.
TW111105134A 2022-02-11 2022-02-11 Memory device TWI832154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111105134A TWI832154B (en) 2022-02-11 2022-02-11 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111105134A TWI832154B (en) 2022-02-11 2022-02-11 Memory device

Publications (2)

Publication Number Publication Date
TW202333164A TW202333164A (en) 2023-08-16
TWI832154B true TWI832154B (en) 2024-02-11

Family

ID=88559131

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111105134A TWI832154B (en) 2022-02-11 2022-02-11 Memory device

Country Status (1)

Country Link
TW (1) TWI832154B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6636998B1 (en) * 1999-10-20 2003-10-21 Samsung Electronics Co., Ltd. Semiconductor memory device and parallel bit test method thereof
US20070115733A1 (en) * 2005-11-21 2007-05-24 Samsung Electronics Co., Ltd. Circuits and methods for data bus inversion in a semiconductor memory
US20200233828A1 (en) * 2018-05-23 2020-07-23 Micron Technology, Inc. Semiconductor layered device with data bus inversion
TW202139201A (en) * 2020-04-01 2021-10-16 南韓商三星電子股份有限公司 Memory device and test method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6636998B1 (en) * 1999-10-20 2003-10-21 Samsung Electronics Co., Ltd. Semiconductor memory device and parallel bit test method thereof
US20070115733A1 (en) * 2005-11-21 2007-05-24 Samsung Electronics Co., Ltd. Circuits and methods for data bus inversion in a semiconductor memory
US20200233828A1 (en) * 2018-05-23 2020-07-23 Micron Technology, Inc. Semiconductor layered device with data bus inversion
TW202139201A (en) * 2020-04-01 2021-10-16 南韓商三星電子股份有限公司 Memory device and test method thereof

Also Published As

Publication number Publication date
TW202333164A (en) 2023-08-16

Similar Documents

Publication Publication Date Title
JP4948952B2 (en) Multi-port memory device with serial input / output interface
US6134180A (en) Synchronous burst semiconductor memory device
US5483493A (en) Multi-bit test circuit of semiconductor memory device
JPH06139798A (en) Semiconductor memory
US20030151953A1 (en) Method and apparatus for data inversion in memory device
KR100980424B1 (en) Semiconductor Memory Apparatus and a Method for Reading Data thereof
JP2002260398A (en) Multi-bit test circuit
KR20040031390A (en) Data inversion circuit of multi-bit pre-fetch semiconductor device and method there-of
US11749374B1 (en) Memory device
KR20170023439A (en) Memory test system and memory system
JP2746222B2 (en) Semiconductor storage device
TWI832154B (en) Memory device
KR100269319B1 (en) Semiconductor memory device including simultaneous enabling circuit for column select line and control method
WO2021031149A1 (en) Test circuit of memory and device
CN112712840A (en) Read operation circuit, semiconductor memory and read operation method
US5991903A (en) Parallel bit test circuit for testing a semiconductor device in parallel bits
US20070070740A1 (en) Semiconductor memory device having data-compress test mode
US8201035B2 (en) Testing system and method thereof
JPH11317100A (en) Semiconductor memory
CN116741215A (en) memory device
US20110026342A1 (en) Multi-port memory device
JP2000021200A (en) Semiconductor memory
JP3745209B2 (en) Memory logic composite semiconductor device
US20190095098A1 (en) Semiconductor memory device relating to the determination of a majority or minority level and semiconductor system including the same
US6175524B1 (en) Merged memory and logic (MML) integrated circuit devices including buffer memory and methods of detecting errors therein