[go: up one dir, main page]

TW202111542A - Memory chip, memory module and method for pseudo-accessing memory bbank thereof - Google Patents

Memory chip, memory module and method for pseudo-accessing memory bbank thereof Download PDF

Info

Publication number
TW202111542A
TW202111542A TW108133109A TW108133109A TW202111542A TW 202111542 A TW202111542 A TW 202111542A TW 108133109 A TW108133109 A TW 108133109A TW 108133109 A TW108133109 A TW 108133109A TW 202111542 A TW202111542 A TW 202111542A
Authority
TW
Taiwan
Prior art keywords
memory
virtual address
address
control signal
virtual
Prior art date
Application number
TW108133109A
Other languages
Chinese (zh)
Other versions
TWI789549B (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 TW108133109A priority Critical patent/TWI789549B/en
Publication of TW202111542A publication Critical patent/TW202111542A/en
Application granted granted Critical
Publication of TWI789549B publication Critical patent/TWI789549B/en

Links

Images

Landscapes

  • Dram (AREA)

Abstract

The present invention provides a memory chip includes a plurality of memory banks, a plurality of address pins, and a pseudo-address determining circuit. The plurality of address pins is arranged for receiving a plurality of address signals corresponding to the plurality of memory banks, respectively. The pseudo-address determining circuit has a plurality of input terminals coupled to the plurality of address pins, respectively, and a plurality of output terminals coupled to the plurality of memory banks. The pseudo-address determining circuit generates a pseudo-address table for the plurality of memory banks when the memory chip is powered-up. The pseudo-address table has a plurality of pseudo-addresses corresponding to the plurality of memory banks, respectively. The present invention also provides a memory module that incorporates said memory chip and a method for pseudo-accessing memory banks of said memory chip.

Description

記憶體晶片,記憶體模組以及用來假性存取其記憶庫的方法Memory chip, memory module and method for false access to its memory bank

本發明係有關一種記憶體晶片,尤指一種可假性存取其記憶庫的記憶體晶片。The present invention relates to a memory chip, in particular to a memory chip that can falsely access its memory bank.

隨機存取記憶體(RAM)是一種計算機資料儲存形式,用於儲存當前使用的資料和機器代碼。隨機存取記憶體設備可以不管該記憶體內的資料的物理位置如何而允許在幾乎相同的時間內讀取或寫入資料。Random Access Memory (RAM) is a form of computer data storage used to store currently used data and machine code. The random access memory device can allow data to be read or written in almost the same time regardless of the physical location of the data in the memory.

RAM包含多工和解多工電路,用於將資料連線到位址記憶體以讀取或寫入條目。通常,同一個位址可以存取超過一個位元的儲存區。RAM contains multiplexing and demultiplexing circuits for connecting data to address memory to read or write entries. Usually, the same address can access more than one bit of storage area.

為了有實際用途,記憶體單元必須是可讀取並且可寫入的。在RAM裝置中,多工和解多工電路用於選擇記憶體單元。通常,RAM裝置具有一組位址線A0......An,並且對於可以應用於這些位址線的每一種位元組合,可以啟動一組對應的記憶體單元。由於這種定址方式,RAM裝置幾乎總是具有二次冪的記憶體容量。In order to be useful, the memory cell must be readable and writable. In RAM devices, multiplexing and demultiplexing circuits are used to select memory cells. Generally, a RAM device has a set of address lines A0...An, and for each bit combination that can be applied to these address lines, a set of corresponding memory cells can be activated. Due to this addressing method, RAM devices almost always have a power-of-two memory capacity.

許多RAM系統具有由記憶體單元,記憶庫,記憶列,記憶模組以及記憶體通道所組成的一層次結構。請參考圖1,其示出了RAM系統的層次結構的一方塊圖。由一中央處理器(CPU)1耦接到一個或多個記憶體通道2a~2b。該記憶體通道2a~2b中的每一個記憶體通道可以包括多個記憶體模組3。每個記憶體模組3可以具有一個或兩個記憶體列4,其包括幾個記憶體晶片5。每個記憶體晶片5包括幾個記憶庫6。記憶庫6由排列成陣列的許多記憶體單元7形成。Many RAM systems have a hierarchical structure composed of memory cells, memory banks, memory rows, memory modules, and memory channels. Please refer to FIG. 1, which shows a block diagram of the hierarchical structure of the RAM system. A central processing unit (CPU) 1 is coupled to one or more memory channels 2a~2b. Each of the memory channels 2a to 2b may include a plurality of memory modules 3. Each memory module 3 can have one or two memory banks 4, which include several memory chips 5. Each memory chip 5 includes several memory banks 6. The memory bank 6 is formed by a number of memory cells 7 arranged in an array.

記憶體設備製造商習慣於保證其產品具有一定使用年限甚至是終身的保固。保修年數通常根據以下概念來估計:該記憶體裝置可以在該記憶體裝置的所有記憶庫中均勻分配可進行的總存取操作次數。在某些過度簡化的實施態樣中,某應用程式可能對記憶體的要求非常低(比所配備的系統搭載的記憶體容量小得多)但是卻需要非常頻繁的存取記憶體,這類的應用程式可能相較其他記憶庫來說會更頻繁地存取某些特定的記憶庫。最終,這將導致被重度存取的記憶庫的提早衰壞。Memory device manufacturers are accustomed to guaranteeing that their products have a certain service life or even a lifetime warranty. The warranty years are usually estimated based on the following concept: the memory device can evenly distribute the total number of access operations that can be performed among all the memory banks of the memory device. In some over-simplified implementations, an application may have very low memory requirements (much smaller than the memory capacity of the system it is equipped with), but it needs to access the memory very frequently. The application of may access certain memory banks more frequently than other memory banks. Ultimately, this will lead to premature deterioration of heavily accessed memory banks.

因此本發明的目的在於提供一種記憶體晶片其可假性存取其記憶庫,以預防該等記憶庫的提早衰壞。Therefore, the object of the present invention is to provide a memory chip which can falsely access its memory bank, so as to prevent the premature deterioration of the memory bank.

為了達成上述目的,根據本發明的一層面,係提出一記憶體晶片。該記憶體晶片包括: 複數個記憶庫; 複數個位址接腳,係用來接收分別對應於該等記憶庫的複數個位址訊號;以及 一虛擬位址決定電路,其具有複數個輸入接腳和複數個輸出接腳,其中該等輸入接腳分別耦接到該等位址接腳,該等輸出接腳耦接到該等記憶庫,當該記憶體晶片上電時,該虛擬位址決定電路為該等記憶庫產生一虛擬位址表, 其中該虛擬位址表具有分別對應於該等記憶庫的複數個虛擬位址,並且該等等記憶庫中的每一個記憶庫被設置成根據相應的虛擬位址來被存取。In order to achieve the above objective, according to one aspect of the present invention, a memory chip is provided. The memory chip includes: Multiple memory banks; A plurality of address pins are used to receive a plurality of address signals corresponding to the memory banks; and A virtual address determination circuit, which has a plurality of input pins and a plurality of output pins, wherein the input pins are respectively coupled to the address pins, and the output pins are coupled to the memory banks , When the memory chip is powered on, the virtual address determining circuit generates a virtual address table for the memory banks, The virtual address table has a plurality of virtual addresses corresponding to the memory banks, and each of the memory banks is set to be accessed according to the corresponding virtual address.

為了達成上述目的,根據本發明的另一層面,係提出一記憶體模組。該記憶體模組包括: 一印刷電路版; 一控制電路,設置於該印刷電路版上;以及 複數個記憶體晶片,設置於該印刷電路版且耦接至該控制電路,其中該等記憶體晶片中的每一個記憶體晶片包含: 複數個記憶庫; 複數個位址接腳,係用來接收分別對應於該等記憶庫的複數個位址訊號;以及 一虛擬位址,決定電路其具有複數個輸入接腳和複數個輸出接腳,其中該等輸入接腳分別耦接到該等位址接腳,該等輸出接腳耦接到該等記憶庫,當該記憶體晶片上電時,該虛擬位址決定電路為該等記憶庫產生一虛擬位址表, 其中該虛擬位址表具有分別對應於該等記憶庫的複數個虛擬位址,並且該等等記憶庫中的每一個記憶庫被設置成根據相應的虛擬位址來被存取。In order to achieve the above objective, according to another aspect of the present invention, a memory module is provided. The memory module includes: A printed circuit board; A control circuit arranged on the printed circuit board; and A plurality of memory chips are disposed on the printed circuit board and coupled to the control circuit, wherein each of the memory chips includes: Multiple memory banks; A plurality of address pins are used to receive a plurality of address signals corresponding to the memory banks; and A virtual address determining circuit has a plurality of input pins and a plurality of output pins, wherein the input pins are respectively coupled to the address pins, and the output pins are coupled to the memory banks , When the memory chip is powered on, the virtual address determining circuit generates a virtual address table for the memory banks, The virtual address table has a plurality of virtual addresses corresponding to the memory banks, and each of the memory banks is set to be accessed according to the corresponding virtual address.

為了達成上述目的,根據本發明的又一層面,係提出一種假性存取一記憶體晶片的複數個記憶庫的方法。該方法包含: 當該記憶體晶片上電時為該等記憶庫產生一虛擬位址表,其中該虛擬位址表係儲存於一記憶體中,且該等記憶庫中的每一個記憶庫係對應於該虛擬位址表中的一虛擬位址; 接收具有一位址訊號的一控制訊號,該位址訊號係指示該控制訊號即將被發送到的目的記憶庫; 根據指示該目的記憶庫的該位址訊號以及該虛擬位址表來決定一虛擬位址;以及 將該控制訊號重新導向至該虛擬位址所指示的一偽記憶庫。In order to achieve the above objective, according to another aspect of the present invention, a method for falsely accessing a plurality of memory banks of a memory chip is proposed. The method includes: When the memory chip is powered on, a virtual address table is generated for the memory banks. The virtual address table is stored in a memory, and each of the memory banks corresponds to the virtual address table. A virtual address in the address table; Receiving a control signal with an address signal, the address signal indicating the destination memory bank to which the control signal will be sent; Determine a virtual address according to the address signal indicating the destination memory bank and the virtual address table; and The control signal is redirected to a pseudo memory bank indicated by the virtual address.

透過這些設置,該記憶體晶片,該記憶體模組以及用來假性存取一記憶體晶片的該等記憶庫的方法可以在每次該記憶體晶片上電時改變其記憶庫的虛擬位址表。以這種方式,無論應用的設計或實施態樣如何,存取每個記憶庫的頻率將可以平均分佈於所有的記憶庫中。換句話說,本發明可以防止因重度存取而導致記憶庫的提早衰壞。Through these settings, the memory chip, the memory module, and the method for falsely accessing the memory banks of a memory chip can change the virtual location of the memory bank every time the memory chip is powered on Address table. In this way, regardless of the design or implementation of the application, the frequency of accessing each memory bank will be evenly distributed among all the memory banks. In other words, the present invention can prevent the premature deterioration of the memory bank due to heavy access.

現在將透過本發明的一些較佳實施例並參考圖式來描述本發明。The present invention will now be described through some preferred embodiments of the present invention and with reference to the drawings.

請參考圖2,其示出了根據本發明實施例的一記憶體晶片的一方塊圖。在圖2中,該記憶體晶片10包括複數個記憶庫11~14,複數個位址接腳P1~P2以及一虛擬位址決定電路15。Please refer to FIG. 2, which shows a block diagram of a memory chip according to an embodiment of the present invention. In FIG. 2, the memory chip 10 includes a plurality of memory banks 11 to 14, a plurality of address pins P1 to P2 and a virtual address determination circuit 15.

該等位址接腳P1~P2係用來接收分別對應於該等記憶庫11~14的該等位址訊號S11~S14。也就是說,該等位址訊號S11~S14將構成該等位址接腳P1~P2的電壓位準的4種可能結果。請參考圖3,圖3是根據本發明實施例的該記憶體晶片10的位址表。在圖3中,該位址訊號S11使得位置接腳P1和P2兩者的電壓位準相對高(用數字“1”表示),該位址訊號S12使得位址接腳P1的電壓位準相對高而位址接腳P2的電壓位準相對低(用數字“0”表示),該位址訊號S13使位址接腳P1的電壓位準相對低而位址接腳P2的電壓位準相對高,該位址訊號S14使得位置接腳P1和P2兩者的電壓位準相對低。在該實施例中,如果接收到一位位址訊號並且造成位址接腳P1~P2兩者的電壓位準皆相對高,則代表收到該位址訊號S11。接著該記憶體晶片10將會決定該記憶庫11是用於即將到來的操作的一目標記憶庫。在前面的實施例中,將位置接腳P1視為行位址並且將位址接腳P2視為列位接接腳也是有幫助的。換句話說,該等位址接腳P1被設置為接收用來決定該目標記憶庫是位於該等記憶庫11~14的陣列中哪一行上的電壓位準,並且位址接腳P2被設置為接收用來決定該目標記憶庫是位於該等記憶庫11~14的陣列中哪一列上的電壓位準。請注意,本實施例中的位址接腳的數量僅用於說明目的,並不意味著是對本發明的限制。在不脫離本發明的精神的情況下,本領域技術人員可以根據應用的實際設計和要求進行修改和變更。The address pins P1 to P2 are used to receive the address signals S11 to S14 corresponding to the memory banks 11 to 14 respectively. In other words, the address signals S11~S14 will constitute 4 possible results of the voltage levels of the address pins P1~P2. Please refer to FIG. 3, which is an address table of the memory chip 10 according to an embodiment of the present invention. In Figure 3, the address signal S11 makes the voltage levels of the position pins P1 and P2 relatively high (represented by the number "1"), and the address signal S12 makes the voltage levels of the address pin P1 relatively high High and the voltage level of the address pin P2 is relatively low (indicated by the number "0"). The address signal S13 makes the voltage level of the address pin P1 relatively low and the voltage level of the address pin P2 relatively low High, the address signal S14 makes the voltage levels of both the position pins P1 and P2 relatively low. In this embodiment, if an address signal is received and the voltage levels of both the address pins P1 to P2 are relatively high, it means that the address signal S11 is received. Then the memory chip 10 will determine that the memory bank 11 is a target memory bank for the upcoming operation. In the previous embodiment, it is also helpful to regard the location pin P1 as a row address and the address pin P2 as a column location pin. In other words, the address pin P1 is set to receive the voltage level used to determine which row of the memory banks 11-14 is the target memory bank, and the address pin P2 is set In order to receive the voltage level used to determine which row of the memory banks 11-14 the target memory bank is located. Please note that the number of address pins in this embodiment is only for illustrative purposes, and is not meant to limit the present invention. Without departing from the spirit of the present invention, those skilled in the art can make modifications and changes according to the actual design and requirements of the application.

請再次參考圖2,在圖2中,該虛擬位址決定電路15具有複數個輸入接腳以及複數個輸出接腳。該虛擬位址決定電路15的該等輸入接腳分別耦接到該等位址接腳P1~P2。該虛擬位址確定電路15的該等輸出接腳耦接到該等記憶庫11~14。在另一種設計中,該虛擬位址確定電路15的輸出接腳可以透過一行位址控制器和一列位址控制器耦接到該等記憶庫11~14。以這種方式,耦接到該行位址控制器的輸出接腳將向該行位址控制器發送一行選擇信號,以決定該目標記憶庫位於該等記憶庫11~14的陣列的哪一行上,並且耦接到該列位址控制器的輸出接腳將向該列位址控制器發送一列選擇信號,以決定該目標記憶庫是位於該等記憶庫11~14的陣列的哪一列上。在上述任一設計中,從該虛擬位址決定電路15的輸出接口輸出的訊號將決定將要執行操作的記憶庫的位址。Please refer to FIG. 2 again. In FIG. 2, the virtual address determining circuit 15 has a plurality of input pins and a plurality of output pins. The input pins of the virtual address determining circuit 15 are respectively coupled to the address pins P1~P2. The output pins of the virtual address determining circuit 15 are coupled to the memory banks 11-14. In another design, the output pins of the virtual address determining circuit 15 can be coupled to the memory banks 11-14 through a row address controller and a column address controller. In this way, the output pin coupled to the row address controller will send a row selection signal to the row address controller to determine which row of the array of the memory banks 11-14 the target memory bank is located. And the output pin coupled to the column address controller will send a column selection signal to the column address controller to determine which row of the array of the memory banks 11-14 the target memory bank is located . In any of the above designs, the signal output from the output interface of the virtual address determining circuit 15 will determine the address of the memory bank to be operated on.

此外,每當該記憶體晶片10上電時,該虛擬位址決定電路15將為該等記憶庫11~14產生一個虛擬位址表。然後可以將該虛擬位址表儲存在一寄存器中並在該寄存器中查找該虛擬位址表。例如,請同時參考圖3、圖4和圖5。圖4和5示出了根據本發明的不同實施例的記憶體晶片10的虛擬位址表。在圖4的虛擬位址表中,產生該虛擬位址表,使得該等記憶庫11~14對應於該等位址訊號S11~S14,且該等位址訊號S11~S14對於圖3的位址表來說是該等記憶庫11~14中透過移位而表示的不同列位址。在圖4中,該位址訊號S11現在對應於記憶庫12,該位址訊號S12現在對應於記憶庫13,該位址訊號S13現在對應於記憶庫14,該位址訊號S14現在對應於記憶庫11。準確地說,圖4中該等記憶庫11~14的相應位置是圖3中該等記憶庫11~14向下“循環移位”一步的對應位置。換句話說,在圖4的實施例中,記憶庫12只能透過該位址訊號S13來存取。當開發者意圖存取記憶庫13時,他將改為“假性存取”記憶庫12。在記憶庫13被嚴重過度存取的應用程序中,由該虛擬位址產生的上述虛擬位址表決定電路15將秘密地將記憶庫13的一些操作負擔轉移到記憶庫12上而無需任何進一步的配置,使得這種做法可以防止記憶庫13提前衰壞。每當該記憶體晶片10上電時,該虛擬位址決定電路15會產生一個新的虛擬位址表。這將使原本應該會被重度存取的記憶庫13的負載分配給另一個記憶庫。In addition, whenever the memory chip 10 is powered on, the virtual address determining circuit 15 will generate a virtual address table for the memory banks 11-14. Then the virtual address table can be stored in a register and the virtual address table can be searched in the register. For example, please refer to Figure 3, Figure 4, and Figure 5 at the same time. 4 and 5 show virtual address tables of the memory chip 10 according to different embodiments of the present invention. In the virtual address table of FIG. 4, the virtual address table is generated so that the memory banks 11 to 14 correspond to the address signals S11 to S14, and the address signals S11 to S14 are relative to the bits of FIG. 3. The address table is the addresses of different rows in the memory banks 11-14 that are represented by shifting. In Figure 4, the address signal S11 now corresponds to the memory bank 12, the address signal S12 now corresponds to the memory bank 13, the address signal S13 now corresponds to the memory bank 14, and the address signal S14 now corresponds to the memory bank 14. Library 11. To be precise, the corresponding positions of the memory banks 11-14 in FIG. 4 are the corresponding positions of the memory banks 11-14 in FIG. 3 that are "cyclically shifted" one step downward. In other words, in the embodiment of FIG. 4, the memory bank 12 can only be accessed through the address signal S13. When the developer intends to access the memory bank 13, he will change to "fake access" to the memory bank 12. In applications where the memory bank 13 is severely over-accessed, the virtual address table determination circuit 15 generated by the virtual address will secretly transfer some of the operational burden of the memory bank 13 to the memory bank 12 without any further The configuration of this method can prevent the memory bank 13 from decay in advance. Whenever the memory chip 10 is powered on, the virtual address determining circuit 15 generates a new virtual address table. This will distribute the load of the memory bank 13 that should have been heavily accessed to another memory bank.

在圖5中,該虛擬位址表由該虛擬位址決定電路15隨機產生。例如,透過先複製位址表然後用該等記憶庫11~14的隨機排序的列位址替換指示所複製的位址表的該等記憶庫11~14的列位址來產生該虛擬位址表。從統計上來說,如果在虛擬位址的迭代增長時隨機產生虛擬位址,則該記憶體晶片10的可靠性將會增加。In FIG. 5, the virtual address table is randomly generated by the virtual address determining circuit 15. For example, the virtual address is generated by first copying the address table and then replacing the column addresses of the memory banks 11-14 of the address table to be copied with the randomly sorted column addresses of the memory banks 11-14 table. Statistically speaking, if a virtual address is randomly generated during the iterative increase of the virtual address, the reliability of the memory chip 10 will increase.

請參考圖6,其示出了一記憶體晶片的一方塊圖和根據本發明另一實施例的示例性虛擬位址表。請注意,記憶體晶片20與該記憶體晶片10共用一些元件。如果在記憶體晶片20中的元件與在記憶體晶片10中的元件基本上相同時,則將用相同的符號來表示,以避免混淆。在圖6中,該記憶體晶片20還包括一控制器26。該控制器26耦接到該虛擬位址決定電路15,並且用來發出一個控制訊號S_C,其具有指示該控制訊號S_C即將被發送到的目的記憶庫的一位址訊號。例如,該控制器26即將對該記憶庫11寫入數據。該控制器26發出指示寫操作的控制訊號S_C和表示目標記憶庫是該記憶庫11的該位址訊號S11。在該實施例中,該虛擬位址決定電路15接著根據該位置訊號S11和圖6的虛擬位址表來決定該記憶庫11的虛擬位址,亦即該記憶庫13。該虛擬位址決定電路15然後將該控制訊號S_C重新導向到該記憶庫13。Please refer to FIG. 6, which shows a block diagram of a memory chip and an exemplary virtual address table according to another embodiment of the present invention. Please note that the memory chip 20 and the memory chip 10 share some components. If the components in the memory chip 20 are substantially the same as those in the memory chip 10, they will be represented by the same symbols to avoid confusion. In FIG. 6, the memory chip 20 further includes a controller 26. The controller 26 is coupled to the virtual address determination circuit 15 and is used to send a control signal S_C, which has an address signal indicating the destination memory bank to which the control signal S_C is to be sent. For example, the controller 26 is about to write data to the memory bank 11. The controller 26 issues a control signal S_C indicating a write operation and the address signal S11 indicating that the target memory bank is the memory bank 11. In this embodiment, the virtual address determining circuit 15 then determines the virtual address of the memory bank 11, that is, the memory bank 13 according to the position signal S11 and the virtual address table of FIG. 6. The virtual address determination circuit 15 then redirects the control signal S_C to the memory bank 13.

請參考圖7,其示出了一記憶體晶片的一方塊圖和根據本發明的又一實施例的示例性虛擬位址表。請注意,一記憶體晶片30與該記憶體晶片10和該記憶體晶片20共用一些元件。如果該記憶體晶片30中的元件與該記憶體晶片10和該記憶體晶片20中的元件基本上相同時,那麼用相同的符號來表示,以避免混淆。在圖7中,該記憶體晶片30還包括一控制器36。該控制器36耦接到該虛擬位址決定電路15和該等記憶庫11~14。該控制器36係用來發出一控制訊號S_C,其具有一位址訊號,該位址訊號係指示了該控制訊號S_C即將被發送到的目的記憶庫。在該實施例中,指示目的記憶庫的該位址信號被發送到該虛擬位址決定電路15。該虛擬位址決定電路15根據接收的該位址訊號和該虛擬位址表來決定一虛擬位址,並將該虛擬位址對應的該位址訊號送回該控制器36。該控制器36然後將該控制訊號S_C重新導向到由該虛擬位址指示的偽記憶庫。例如,該控制器26即將對該記憶庫11寫入數據。該控制器36發出指示寫入操作的控制訊號S_C和指示目的記憶庫是該記憶庫11的該位址訊號S11。在該實施例中,該虛擬位址決定電路15然後根據該位置訊號S11和圖7的虛擬位址表,來決定記憶庫11的虛擬位址,亦即記憶庫14。該虛擬位址決定電路15接著將該位址訊號S14送回該控制器36。該控制器36然後將該控制訊號S_C重新導向到該記憶庫14。Please refer to FIG. 7, which shows a block diagram of a memory chip and an exemplary virtual address table according to another embodiment of the present invention. Please note that a memory chip 30 shares some components with the memory chip 10 and the memory chip 20. If the components in the memory chip 30 are substantially the same as the components in the memory chip 10 and the memory chip 20, they are represented by the same symbols to avoid confusion. In FIG. 7, the memory chip 30 also includes a controller 36. The controller 36 is coupled to the virtual address determining circuit 15 and the memory banks 11-14. The controller 36 is used to send a control signal S_C, which has an address signal indicating the destination memory bank to which the control signal S_C will be sent. In this embodiment, the address signal indicating the destination memory bank is sent to the virtual address determining circuit 15. The virtual address determining circuit 15 determines a virtual address according to the received address signal and the virtual address table, and sends the address signal corresponding to the virtual address back to the controller 36. The controller 36 then redirects the control signal S_C to the pseudo memory bank indicated by the virtual address. For example, the controller 26 is about to write data to the memory bank 11. The controller 36 issues a control signal S_C indicating a write operation and the address signal S11 indicating that the target memory bank is the memory bank 11. In this embodiment, the virtual address determining circuit 15 then determines the virtual address of the memory bank 11, that is, the memory bank 14 according to the position signal S11 and the virtual address table of FIG. The virtual address determining circuit 15 then sends the address signal S14 back to the controller 36. The controller 36 then redirects the control signal S_C to the memory bank 14.

上述記憶體晶片10,20和30可以進一步結合到一記憶體模組中。請參考圖8,其示出了根據本發明實施例的一記憶體模組。在圖8中,該記憶體模組40包括一印刷電路版41、一控制電路42和複數個記憶體晶片10。該控制電路42設置在該印刷電路版41上並且用於選擇一目標記憶體晶片10。該等記憶體晶片10設置在該印刷電路版41上並與該控制電路42連接。該等記憶體晶片10的結構和操作可參考上述段落。為簡潔起見,這裡將省略詳細描述。The aforementioned memory chips 10, 20, and 30 can be further integrated into a memory module. Please refer to FIG. 8, which shows a memory module according to an embodiment of the present invention. In FIG. 8, the memory module 40 includes a printed circuit board 41, a control circuit 42 and a plurality of memory chips 10. The control circuit 42 is arranged on the printed circuit board 41 and used to select a target memory chip 10. The memory chips 10 are arranged on the printed circuit board 41 and connected to the control circuit 42. For the structure and operation of the memory chips 10, please refer to the above paragraphs. For brevity, detailed description will be omitted here.

請參考圖9,其示出了根據本發明實施例的一記憶體模組。請注意,該記憶體模組50與該記憶體模組40共享一些組件。如果記憶體模組40中的組件與記憶體模組50中的組件基本上相同,則將用相同的符號來表示,以避免混淆。在圖9中,該記憶體模組50包括一印刷電路版41、一控制電路42和複數個記憶體晶片20。該等記憶體晶片20的結構和操作可參考上述段落。為簡潔起見,這裡將省略詳細描述。Please refer to FIG. 9, which shows a memory module according to an embodiment of the present invention. Please note that the memory module 50 and the memory module 40 share some components. If the components in the memory module 40 are substantially the same as the components in the memory module 50, they will be represented by the same symbols to avoid confusion. In FIG. 9, the memory module 50 includes a printed circuit board 41, a control circuit 42 and a plurality of memory chips 20. For the structure and operation of the memory chips 20, please refer to the above paragraphs. For brevity, detailed description will be omitted here.

請參考圖10,其示出了根據本發明實施例的一記憶體模組。請注意,該記憶體模組60與該記憶體模組40和記憶體模組50共用一些組件。如果該記憶體模組60中的組件與記憶體模組40和記憶體模組50中的組件基本上相同,則將使用相同的符號來表示,以避免混淆。在圖10中,該記憶體模組60包括一印刷電路版41、一控制電路42和複數個記憶體晶片30。該等記憶體晶片30的結構和操作可參考上述段落。為簡潔起見,這裡將省略詳細描述。Please refer to FIG. 10, which shows a memory module according to an embodiment of the present invention. Please note that the memory module 60 shares some components with the memory module 40 and the memory module 50. If the components in the memory module 60 are substantially the same as the components in the memory module 40 and the memory module 50, they will be represented by the same symbols to avoid confusion. In FIG. 10, the memory module 60 includes a printed circuit board 41, a control circuit 42 and a plurality of memory chips 30. For the structure and operation of the memory chips 30, please refer to the above paragraphs. For brevity, detailed description will be omitted here.

該虛擬位址決定電路15也可以用一測試模式使能信號來被禁能。當要測試該記憶體晶片10的可靠性時,測試者在沒有假性存取的情況下能夠測試實際目標記憶庫是至關重要的。使用測試模式使能信號來禁能該虛擬位址決定電路15將提供記憶體晶片10,20或30的應用的靈活性。The virtual address determination circuit 15 can also be disabled by a test mode enable signal. When testing the reliability of the memory chip 10, it is very important that the tester can test the actual target memory bank without false access. Using the test mode enable signal to disable the virtual address determination circuit 15 will provide flexibility in the application of the memory chip 10, 20, or 30.

請參考圖11,圖11是根據本發明示例性實施例的假性存取一記憶體晶片的記憶庫的一種方法的流程圖。如果結果基本上相同,則不需要以圖11中所示的確切順序執行步驟。該示例性方法可以由圖2中所示的記憶體晶片10,圖6中所示的該記憶體晶片20,圖7中所示的該記憶體晶片30,圖8中的記憶體模組40,圖9中的模組50和圖10中的該記憶體模組60來實施。該方法的步驟可以總結如下。Please refer to FIG. 11, which is a flowchart of a method for falsely accessing a memory bank of a memory chip according to an exemplary embodiment of the present invention. If the results are substantially the same, there is no need to perform the steps in the exact order shown in FIG. 11. The exemplary method can be composed of the memory chip 10 shown in FIG. 2, the memory chip 20 shown in FIG. 6, the memory chip 30 shown in FIG. 7, and the memory module 40 shown in FIG. , The module 50 in FIG. 9 and the memory module 60 in FIG. 10 are implemented. The steps of the method can be summarized as follows.

步驟1101:當該記憶體晶片上電時,為該記憶體產生一個虛擬位址表。Step 1101: When the memory chip is powered on, generate a virtual address table for the memory.

步驟1102:接收一控制訊號,其中具有一位址訊號其指示該控制訊號即將被發送到的目的記憶庫。Step 1102: Receive a control signal, which has an address signal indicating the destination memory bank to which the control signal will be sent.

步驟1104:根據該位址訊號來決定一虛擬位址其指示目的記憶庫以及該虛擬位址表。Step 1104: Determine a virtual address according to the address signal, which indicates the target memory bank and the virtual address table.

步驟1106:將該控制訊號重新導定到該虛擬位址所指示的偽記憶庫。Step 1106: Redirect the control signal to the pseudo memory bank indicated by the virtual address.

在該方法1100中,該虛擬位址表儲存在一記憶體中,並且該等記憶庫中的每一個記憶庫係對應於該虛擬位址表中的一虛擬位址。步驟1101可以由記憶體晶片10,20或30的虛擬位址決定電路15來執行。步驟1102可以由該虛擬位址決定電路15執行。該位址訊號由該控制器26發出,或者步驟1104可以由記憶體晶片10,20或30的虛擬位址決定電路15執行。步驟1106可以由該虛擬位址決定電路15或該控制器26或36執行。In the method 1100, the virtual address table is stored in a memory, and each of the memory banks corresponds to a virtual address in the virtual address table. Step 1101 can be performed by the virtual address determining circuit 15 of the memory chip 10, 20 or 30. Step 1102 can be executed by the virtual address determination circuit 15. The address signal is sent by the controller 26, or step 1104 can be executed by the virtual address determination circuit 15 of the memory chip 10, 20, or 30. Step 1106 can be executed by the virtual address determining circuit 15 or the controller 26 or 36.

已上用本發明的一些較佳實施例描述了本發明,並且應該理解的是較佳實施例僅是說明性的,並不旨在以任何方式限制本發明,並且可以在不脫離本發明的實施例的情況下進行許多改變和修改。本發明的範圍和精神旨在僅由所附申請專利範圍限制。The present invention has been described above with some preferred embodiments of the present invention, and it should be understood that the preferred embodiments are only illustrative and are not intended to limit the present invention in any way, and may Many changes and modifications are made in the case of the embodiment. The scope and spirit of the present invention are intended to be limited only by the scope of the attached patent application.

1:CPU 2a、2b:記憶體通道 3:記憶體模組 4:記憶體列 5:記憶體晶片 6:記憶庫 7:記憶體單元 10:記憶體晶片 11、12、13、14:記憶庫 15:虛擬位址決定電路 26、36:控制器 20、30:記憶體晶片 40、50、60:記憶體模組 41:印刷電路版 42:控制電路 P1、P2:接腳 S11、S12、S13、S14、S_C:訊號 1100:方法 1101、1102、1104、1106:步驟1: CPU 2a, 2b: memory channel 3: Memory module 4: Memory row 5: Memory chip 6: Memory Bank 7: Memory unit 10: Memory chip 11, 12, 13, 14: memory bank 15: Virtual address determining circuit 26, 36: Controller 20, 30: memory chip 40, 50, 60: memory module 41: Printed Circuit Board 42: control circuit P1, P2: pins S11, S12, S13, S14, S_C: signal 1100: Method 1101, 1102, 1104, 1106: steps

透過參考以下較佳實施例的詳細描述和圖式,可以最好地理解本發明為實現上述或其他目的所採用的結構與技術手段,其中 圖1 是傳統RAM系統層次結構的一方塊圖。 圖2 是根據本發明實施例的一記憶體晶片的一方塊圖。 圖3 是根據本發明實施例的一記憶體晶片的位址表。 圖4 是根據本發明的不同實施例的一記憶體晶片的虛擬位址表。 圖5 是根據本發明的不同實施例的一記憶體晶片的虛擬位址表。 圖6 是根據本發明另一實施例的一記憶體晶片的一方塊圖和示例性虛擬位址表。 圖7 是根據本發明的又一實施例的一記憶體晶片的一方塊圖和示例性虛擬位址表。 圖8 是根據本發明的不同實施例的記憶體模組。 圖9 是根據本發明的不同實施例的記憶體模組。 圖10 是根據本發明的不同實施例的記憶體模組。 圖11 是根據本發明的示例性實施例的假性存取一記憶體晶片的記憶庫的一種方法的流程圖。By referring to the detailed description and drawings of the following preferred embodiments, one can best understand the structure and technical means adopted by the present invention to achieve the above or other objectives. Figure 1 is a block diagram of the traditional RAM system hierarchy. FIG. 2 is a block diagram of a memory chip according to an embodiment of the invention. FIG. 3 is an address table of a memory chip according to an embodiment of the invention. FIG. 4 is a virtual address table of a memory chip according to different embodiments of the present invention. FIG. 5 is a virtual address table of a memory chip according to different embodiments of the present invention. FIG. 6 is a block diagram and exemplary virtual address table of a memory chip according to another embodiment of the present invention. FIG. 7 is a block diagram and exemplary virtual address table of a memory chip according to another embodiment of the present invention. FIG. 8 shows a memory module according to different embodiments of the present invention. FIG. 9 is a memory module according to different embodiments of the present invention. FIG. 10 shows a memory module according to different embodiments of the present invention. FIG. 11 is a flowchart of a method for falsely accessing a memory bank of a memory chip according to an exemplary embodiment of the present invention.

10:記憶體晶片10: Memory chip

11、12、13、14:記憶庫11, 12, 13, 14: memory bank

15:虛擬位址決定電路15: Virtual address determining circuit

P1、P2:接腳P1, P2: pins

S11、S12、S13、S14:訊號S11, S12, S13, S14: signal

Claims (12)

一記憶體晶片,包括: 複數個記憶庫; 複數個位址接腳,係用來接收分別對應於該等記憶庫的複數個位址訊號;以及 一虛擬位址決定電路,其具有複數個輸入接腳和複數個輸出接腳,其中該等輸入接腳分別耦接到該等位址接腳,該等輸出接腳耦接到該等記憶庫,當該記憶體晶片上電時,該虛擬位址決定電路為該等記憶庫產生一虛擬位址表, 其中該虛擬位址表具有分別對應於該等記憶庫的複數個虛擬位址,並且該等等記憶庫中的每一個記憶庫被設置成根據相應的虛擬位址來被存取。A memory chip, including: Multiple memory banks; A plurality of address pins are used to receive a plurality of address signals corresponding to the memory banks; and A virtual address determination circuit, which has a plurality of input pins and a plurality of output pins, wherein the input pins are respectively coupled to the address pins, and the output pins are coupled to the memory banks , When the memory chip is powered on, the virtual address determining circuit generates a virtual address table for the memory banks, The virtual address table has a plurality of virtual addresses corresponding to the memory banks, and each of the memory banks is set to be accessed according to the corresponding virtual address. 如請求項1所述的記憶體晶片,其中該虛擬位址決定電路為該等記憶庫隨機產生該虛擬位址表。The memory chip according to claim 1, wherein the virtual address determining circuit randomly generates the virtual address table for the memory banks. 如請求項2所述的記憶體晶片,更包括: 一控制器耦接到該虛擬位址決定電路且用來發出具有一位址訊號的一控制訊號,該位號訊號指示該控制訊號即將被發送到的目的記憶庫, 其中該虛擬位址決定電路根據指示目的記憶庫的該位址訊號和該虛擬位址表來決定該虛擬位址,該虛擬位址決定電路將該控制訊號重新導定到由該虛擬位址指示的一偽記憶庫。The memory chip described in claim 2 further includes: A controller is coupled to the virtual address determining circuit and used to send a control signal with an address signal, the bit signal indicating the target memory bank to which the control signal is to be sent, The virtual address determination circuit determines the virtual address according to the address signal of the indicated destination memory bank and the virtual address table, and the virtual address determination circuit redirects the control signal to the virtual address instruction Of a pseudo memory bank. 如請求項2所述的記憶體晶片,更包括: 一控制器耦接到該虛擬位址決定電路且用來發出具有一位址訊號的一控制訊號,該位號訊號指示該控制訊號即將被發送到的目的記憶庫, 其中該虛擬位址決定電路根據指示目的記憶庫的該位址訊號和該虛擬位址表來決定該虛擬位址,該控制器將該控制訊號重新導定到由該虛擬位址指示的一偽記憶庫。The memory chip described in claim 2 further includes: A controller is coupled to the virtual address determining circuit and used to send a control signal with an address signal, the bit signal indicating the target memory bank to which the control signal is to be sent, The virtual address determination circuit determines the virtual address according to the address signal indicating the target memory and the virtual address table, and the controller redirects the control signal to a pseudo-address indicated by the virtual address. Memory bank. 如請求項1所述的記憶體晶片,其中該虛擬位址決定電路因響應一測試模式使能信號而被禁能。The memory chip according to claim 1, wherein the virtual address determination circuit is disabled in response to a test mode enable signal. 一記憶體模組,包括: 一印刷電路版; 一控制電路,設置於該印刷電路版上;以及 複數個記憶體晶片,設置於該印刷電路版且耦接至該控制電路,其中該等記憶體晶片中的每一個記憶體晶片包含: 複數個記憶庫; 複數個位址接腳,係用來接收分別對應於該等記憶庫的複數個位址訊號;以及 一虛擬位址,決定電路其具有複數個輸入接腳和複數個輸出接腳,其中該等輸入接腳分別耦接到該等位址接腳,該等輸出接腳耦接到該等記憶庫,當該記憶體晶片上電時,該虛擬位址決定電路為該等記憶庫產生一虛擬位址表, 其中該虛擬位址表具有分別對應於該等記憶庫的複數個虛擬位址,並且該等等記憶庫中的每一個記憶庫被設置成根據相應的虛擬位址來被存取。A memory module, including: A printed circuit board; A control circuit arranged on the printed circuit board; and A plurality of memory chips are disposed on the printed circuit board and coupled to the control circuit, wherein each of the memory chips includes: Multiple memory banks; A plurality of address pins are used to receive a plurality of address signals corresponding to the memory banks; and A virtual address determining circuit has a plurality of input pins and a plurality of output pins, wherein the input pins are respectively coupled to the address pins, and the output pins are coupled to the memory banks , When the memory chip is powered on, the virtual address determining circuit generates a virtual address table for the memory banks, The virtual address table has a plurality of virtual addresses corresponding to the memory banks, and each of the memory banks is set to be accessed according to the corresponding virtual address. 如請求項6所述的記憶體模組,其中該虛擬位址決定電路為該等記憶庫隨機產生該虛擬位址表。The memory module according to claim 6, wherein the virtual address determining circuit randomly generates the virtual address table for the memory banks. 如請求項7所述的記憶體模組,其中該等記憶體晶片中的每一個記憶體晶片更包含: 一控制器耦接到該虛擬位址決定電路且用來發出具有一位址訊號的一控制訊號,該位號訊號指示該控制訊號即將被發送到的目的記憶庫, 其中該虛擬位址決定電路根據指示目的記憶庫的該位址訊號和該虛擬位址表來決定該虛擬位址,該虛擬位址決定電路將該控制訊號重新導定到由該虛擬位址指示的一偽記憶庫。The memory module according to claim 7, wherein each of the memory chips further includes: A controller is coupled to the virtual address determining circuit and used to send a control signal with an address signal, the bit signal indicating the target memory bank to which the control signal is to be sent, The virtual address determination circuit determines the virtual address according to the address signal of the indicated destination memory bank and the virtual address table, and the virtual address determination circuit redirects the control signal to the virtual address instruction Of a pseudo memory bank. 如請求項7所述的記憶體模組,其中該等記憶體晶片中的每一個記憶體晶片更包含: 一控制器耦接到該虛擬位址決定電路且用來發出具有一位址訊號的一控制訊號,該位號訊號指示該控制訊號即將被發送到的目的記憶庫, 其中該虛擬位址決定電路根據指示目的記憶庫的該位址訊號和該虛擬位址表來決定該虛擬位址,該控制器將該控制訊號重新導定到由該虛擬位址指示的一偽記憶庫。The memory module according to claim 7, wherein each of the memory chips further includes: A controller is coupled to the virtual address determining circuit and used to send a control signal with an address signal, the bit signal indicating the target memory bank to which the control signal is to be sent, The virtual address determination circuit determines the virtual address according to the address signal indicating the target memory and the virtual address table, and the controller redirects the control signal to a pseudo-address indicated by the virtual address. Memory bank. 如請求項6所述的記憶體模組,其中該虛擬位址決定電路因響應一測試模式使能信號而被禁能。The memory module according to claim 6, wherein the virtual address determination circuit is disabled in response to a test mode enable signal. 一種用來假性存取一記憶體晶片的複數個記憶庫的方法,包括: 當該記憶體晶片上電時為該等記憶庫產生一虛擬位址表,其中該虛擬位址表係儲存於一記憶體中,且該等記憶庫中的每一個記憶庫係對應於該虛擬位址表中的一虛擬位址; 接收具有一位址訊號的一控制訊號,該位址訊號係指示該控制訊號即將被發送到的目的記憶庫; 根據指示該目的記憶庫的該位址訊號以及該虛擬位址表來決定一虛擬位址;以及 將該控制訊號重新導向至該虛擬位址所指示的一偽記憶庫。A method for falsely accessing a plurality of memory banks of a memory chip includes: When the memory chip is powered on, a virtual address table is generated for the memory banks. The virtual address table is stored in a memory, and each of the memory banks corresponds to the virtual address table. A virtual address in the address table; Receiving a control signal with an address signal, the address signal indicating the destination memory bank to which the control signal will be sent; Determine a virtual address according to the address signal indicating the destination memory bank and the virtual address table; and The control signal is redirected to a pseudo memory bank indicated by the virtual address. 如請求項11所述的方法,其中步驟對該等記憶庫產生該虛擬位址表的步驟係透過對該等記憶庫隨機產生該虛擬位址表來執行。The method according to claim 11, wherein the step of generating the virtual address table for the memory banks is performed by randomly generating the virtual address table for the memory banks.
TW108133109A 2019-09-12 2019-09-12 Memory chip, memory module and method for pseudo-accessing memory bbank thereof TWI789549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108133109A TWI789549B (en) 2019-09-12 2019-09-12 Memory chip, memory module and method for pseudo-accessing memory bbank thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108133109A TWI789549B (en) 2019-09-12 2019-09-12 Memory chip, memory module and method for pseudo-accessing memory bbank thereof

Publications (2)

Publication Number Publication Date
TW202111542A true TW202111542A (en) 2021-03-16
TWI789549B TWI789549B (en) 2023-01-11

Family

ID=76035704

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108133109A TWI789549B (en) 2019-09-12 2019-09-12 Memory chip, memory module and method for pseudo-accessing memory bbank thereof

Country Status (1)

Country Link
TW (1) TWI789549B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980177B (en) * 2010-10-21 2013-07-31 北京握奇数据系统有限公司 Method and device for operating Flash
US9323654B2 (en) * 2013-07-17 2016-04-26 Infineon Technologies Ag Memory access using address bit permutation
TWI627531B (en) * 2016-11-28 2018-06-21 慧榮科技股份有限公司 Data storage device and operating method therefor
US10176109B2 (en) * 2017-04-20 2019-01-08 Oracle International Corporation Permuted memory access mapping

Also Published As

Publication number Publication date
TWI789549B (en) 2023-01-11

Similar Documents

Publication Publication Date Title
US5781717A (en) Dynamic spare column replacement memory system
US7120068B2 (en) Column/row redundancy architecture using latches programmed from a look up table
US6538938B2 (en) Method for generating memory addresses for accessing memory-cell arrays in memory devices
US10672498B2 (en) Repair device and semiconductor device including the same
US5278801A (en) Flexible addressing for drams
EP0689695B1 (en) Fault tolerant memory system
JPH06502263A (en) Fault tolerant data storage system
US11621050B2 (en) Semiconductor memory devices and repair methods of the semiconductor memory devices
JP3554478B2 (en) Memory array having redundant array and management method
JP2024107179A (en) Semiconductor memory device
US9607666B2 (en) Input/output circuit and input/output device including the same
US8813015B2 (en) Flexible pin allocation
US6240525B1 (en) Method and apparatus for re-addressing defective memory cells
JP3215919B2 (en) Memory management
US11080183B2 (en) Memory chip, memory module and method for pseudo-accessing memory bank thereof
TWI789549B (en) Memory chip, memory module and method for pseudo-accessing memory bbank thereof
CN112783805B (en) Memory chip, memory module and method for pseudo-accessing memory bank thereof
KR100410816B1 (en) Memory device
US11538548B2 (en) Repair analysis circuit and memory including the same
US11797440B2 (en) Method and NMP DIMM for managing address map
CN112349312A (en) Storage system
US8385145B2 (en) Semiconductor memory apparatus
KR100612127B1 (en) Memory Module Test Method and Hub for Memory Modules
US11379148B2 (en) Semiconductor device
WO2003001529A2 (en) Method and circuit arrangement for memory redundancy system