TWI552159B - Address generating method - Google Patents

Address generating method Download PDF

Info

Publication number
TWI552159B
TWI552159B TW104105857A TW104105857A TWI552159B TW I552159 B TWI552159 B TW I552159B TW 104105857 A TW104105857 A TW 104105857A TW 104105857 A TW104105857 A TW 104105857A TW I552159 B TWI552159 B TW I552159B
Authority
TW
Taiwan
Prior art keywords
address
order
bits
addresses
low
Prior art date
Application number
TW104105857A
Other languages
Chinese (zh)
Other versions
TW201631594A (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 TW104105857A priority Critical patent/TWI552159B/en
Publication of TW201631594A publication Critical patent/TW201631594A/en
Application granted granted Critical
Publication of TWI552159B publication Critical patent/TWI552159B/en

Links

Description

產生位址的方法 Method of generating an address

本發明為關於一種產生位址的方法,且特別是一種可縮短產生位址的時間的方法。 The present invention is directed to a method of generating an address, and more particularly to a method of reducing the time at which an address is generated.

在電子裝置中的記憶體的資料通常是可隨機存取的,故在做記憶體的測試時須以隨機式寫入/讀取測試。在記憶體晶片下線(chip tapout)之前,測試平台(例如:verilog testbench)會執行約數萬個(例如60000個)測試程式(pattern),且每一個測試程式都會使用到若干個由隨機產生的橫排/縱排位址(row/column addresses)。而在記憶體測試中,隨機產生的記憶體位址(Address)的挑選的時間越短越好,而且隨機產生的記憶體位址須盡量不重複,藉此以縮減測試時間(測試成本是隨著測試機台的運作測試時間而增加。 The data of the memory in the electronic device is usually randomly accessible, so the random write/read test must be performed when testing the memory. Before the memory chip tapout, the test platform (eg verilog testbench) will execute about tens of thousands (for example, 60,000) of test patterns, and each test program will use several randomly generated ones. Row/column addresses. In the memory test, the randomly selected memory address (Address) is selected as short as possible, and the randomly generated memory address should be kept as far as possible, thereby reducing the test time (test cost is tested) The machine's operation test time increased.

若能在儘量不大影響整體測試時間(run time)的前提下,使每個測試程式所使用的隨機位址都不相同,將有助於提升驗證的覆蓋範圍(coverage). If the random address used by each test program is different under the premise of not affecting the overall run time as much as possible, it will help to improve the coverage of the verification.

本發明實施例提供一種隨機產生位址的方法,以縮短隨機產生位址的時間。 Embodiments of the present invention provide a method for randomly generating an address to shorten the time for randomly generating an address.

本發明實施例提供一種隨機產生位址的方法,包括以下步驟:(a)將複數個位址以高階位元(high order bits)以及低階位元(low order bits)排序表示,高階位元形成複數個高階位址,低階位元形 成複數個低階位址;(b)隨機產生具有高階位元與低階位元的所述位址,其中當對應複數個高階位址的其中之一的所有低階位址都被產生時,則遮蔽所對應的高階位址;以及(c)重複步驟(b)直到以高階位元以及低階位元表示的所有位址都被產生。 An embodiment of the present invention provides a method for randomly generating an address, including the following steps: (a) sorting a plurality of addresses in high order bits and low order bits, high order bits. Forming a plurality of high-order addresses, low-order bit shapes a plurality of low-order addresses; (b) randomly generating the address having high-order bits and low-order bits, wherein when all low-order addresses corresponding to one of the plurality of high-order addresses are generated And masking the corresponding higher order address; and (c) repeating step (b) until all the addresses represented by the high order bit and the low order bit are generated.

綜上所述,本發明實施例提供一種產生位址的方法,透過將位址以高階位元和低階位元來定義,並在當對應複數個高階位址的其中之一的所有低階位址都被產生時,遮蔽所對應的高階位址,藉此節省隨機產生位址的時間。 In summary, the embodiments of the present invention provide a method for generating an address by defining an address in a high-order bit and a low-order bit, and in all low-order corresponding to one of the plurality of high-order addresses. When the address is generated, the corresponding high-order address is masked, thereby saving the time for randomly generating the address.

為使能更進一步瞭解本發明之特徵及技術內容,請參閱以下有關本發明之詳細說明與附圖,但是此等說明與所附圖式僅係用來說明本發明,而非對本發明的權利範圍作任何的限制。 The detailed description of the present invention and the accompanying drawings are to be understood by the claims The scope is subject to any restrictions.

(a)、(b)、S310、S320、S330、S340‧‧‧步驟流程 (a), (b), S310, S320, S330, S340‧‧

圖1是本發明實施例提供的產生位址的方法的流程圖。 FIG. 1 is a flowchart of a method for generating an address according to an embodiment of the present invention.

圖2是本發明實施例提供的表示複數個位址的方式的示意圖。 FIG. 2 is a schematic diagram showing a manner of representing a plurality of addresses according to an embodiment of the present invention.

圖3是本發明實施例提供的產生位址的方法應用於記憶體測試的流程圖。 FIG. 3 is a flowchart of a method for generating an address according to an embodiment of the present invention applied to a memory test.

〔產生位址的方法之實施例〕 [Embodiment of Method of Generating Address]

請參照圖1,圖1是本發明實施例提供的產生位址的方法的流程圖。本實施例提供一種隨機產生位址的方法,包括以下步驟:(a)將複數個位址以高階位元(high order bits)以及低階位元(low order bits)排序表示,高階位元形成複數個高階位址,低階位元形成複數個低階位址;(b)隨機產生具有高階位元與低階位元的所述位址,其中當對應複數個高階位址的其中之一的所有低階位址都被產生時,則遮蔽所對應的高階位址;以及(c)重複步驟(b)直到 以高階位元以及低階位元表示的所有位址都被產生。所述方法可用於測試一記憶體,所述位址是記憶體的複數個記憶體位址,但本發明並不因此限定。所述方法可應用於任何需要隨機產生位址的軟硬體電路。 Please refer to FIG. 1. FIG. 1 is a flowchart of a method for generating an address according to an embodiment of the present invention. This embodiment provides a method for randomly generating an address, including the following steps: (a) sorting a plurality of addresses in high order bits and low order bits, and forming high order bits. a plurality of high-order addresses, the low-order bits forming a plurality of low-order addresses; (b) randomly generating the addresses having high-order bits and low-order bits, wherein one of the plurality of high-order addresses corresponds to When all low-order addresses are generated, the corresponding higher-order addresses are masked; and (c) repeating step (b) until All addresses represented by high order bits and low order bits are generated. The method can be used to test a memory, the address being a plurality of memory addresses of the memory, but the invention is not limited thereby. The method can be applied to any hardware and software circuit that requires random generation of an address.

在步驟(a)中,每一個位址包括複數個位元,每一個位元(bit)以二進位表示。本發明並不限定所述位址所具有的位元總數,也不限定高階位元與低階位元所分別具有的位元數量。例如,考慮12位元的位址,以12位元的其中一個位址101010101111為例,當定義其中前面的八個位元(8bits)是高階位元,其第一個位元、第三個位元、第五個位元和第七個位元為”1”,第二個位元、第四個位元、第六個位元和第八個位元為”0”,則10101010是高階位址。 且後面的四個位元(4bits)是低階位元,則1111是低階位址。由於步驟(a)對於位址的定義方式,高階位元中的每一個高階位址可以對應於低階位元的所有低階位址(如八個位元的任一個高階位址位於對應於十六個(24)低階位址:0000、0001、0010、0011、0100、0101、0110、0111、1000、1001、1010、1011、1100、1101、1110、1111)。據此,所述高階位址與低階位址構成完整的12位元位址。 In step (a), each address includes a plurality of bits, each of which is represented by a binary. The present invention does not limit the total number of bits that the address has, nor the number of bits that the high order bit and the lower order bit respectively have. For example, consider a 12-bit address, taking one of the 12-bit addresses 101010101111 as an example. When defining the first eight bits (8 bits) are high-order bits, the first bit, the third one. The bit, the fifth bit, and the seventh bit are "1", and the second bit, the fourth bit, the sixth bit, and the eighth bit are "0", then 10101010 is High-order address. And the next four bits (4 bits) are low-order bits, then 1111 is a low-order address. Since step (a) defines the address, each high-order address in the high-order bit may correspond to all low-order addresses of the low-order bit (eg, any high-order address of eight bits is located corresponding to Sixteen (2 4 ) low-order addresses: 0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1111). Accordingly, the high-order address and the low-order address form a complete 12-bit address.

上述的步驟(b)可以隨機產生位址(包括高階位址與低階位址)並記錄所產生過的位址。且步驟(b)則更判斷某一高階位址所對應的所有低階位址是否都已被產生,當判斷為是,則遮蔽所對應的此高階位址,且在下次隨機產生低階位址時,使此低階位址對應不同的高階位址。例如以一個12位元的位址為例,當定義其中前面的八個位元是高階位元,且定義後面的四個位元是低階位元時,當隨機所產生過的位址中,高階位址(00000001)所對應的十六個低階位址(0000、0001、0010、0011、0100、0101、0110、0111、1000、1001、1010、1011、1100、1101、1110、1111)都被產生過,則往後再次進行步驟(b)時,為了不重複產生相同的位址,則可直接遮蔽此高階位址(00000001)而隨機產生其他尚未被遮蔽的高階 位址,使隨機產生的低階位對應於其他高階位址。 The above step (b) can randomly generate an address (including a high-order address and a low-order address) and record the generated address. And step (b) further determines whether all low-order addresses corresponding to a certain high-order address have been generated. When the determination is yes, the corresponding high-order address is masked, and the lower-order bits are randomly generated next time. The address is such that the lower-order address corresponds to a different high-order address. For example, taking a 12-bit address as an example, when the first eight bits in the definition are high-order bits, and the next four bits are defined as low-order bits, when the randomly generated address is in the address Sixteen low-order addresses corresponding to the high-order address (00000001) (0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1111) If it is generated again, then when step (b) is performed again, in order to not generate the same address, the high-order address (00000001) can be directly masked and other high-orders that have not been masked are randomly generated. The address is such that the randomly generated low order bits correspond to other high order addresses.

值得一提的是,每一次執行步驟(b)之後,可以進行對隨機所產生的記憶體位址執行寫入/讀取測試程序,測試程序完成後,則在接續再次執行步驟(b)。換句話說,每隨機產生一位址,則對該位址執行一次測試。然而,本發明並不因此限定每次執行步驟(b)之後要進行的軟體或硬體程序。 It is worth mentioning that after each step (b), the write/read test program can be performed on the memory address generated by the random. After the test program is completed, the step (b) is performed again in the connection. In other words, each time a random address is generated, a test is performed on the address. However, the present invention does not therefore limit the software or hardware procedures to be performed each time step (b) is performed.

在一實施例中,請參照圖2,圖2是本發明實施例提供的表示複數個位址的方式的示意圖。例如圖2是以12位元的位址(12bits address)為例的其中一種位址表示方式,但本發明並不因此限定。 以圖2所示的例子中,12位元的位址可以以具有八個位元的高階位元以及具有四個位元的低階位元的排列表示。高階位元可被區分為複數個子高階位元,以圖2為例子,高階位元被區分為兩個子高階位元,分別是以上:4bit,以及中:4bit表示。而圖2的低階位元是以下:4bit表示。高階位元和低階位元的定義可以依據實際需要而改變,本發明並不因此限定。圖2的位址表示方式僅是用以舉例,並幫助說明後續的圖3實施例,其並非用以限定本發明。 In an embodiment, please refer to FIG. 2. FIG. 2 is a schematic diagram showing a manner of indicating a plurality of addresses according to an embodiment of the present invention. For example, FIG. 2 is an example of an address representation of a 12-bit address, but the present invention is not limited thereto. In the example shown in FIG. 2, a 12-bit address can be represented by an arrangement of high-order bits having eight bits and low-order bits having four bits. The high-order bits can be divided into a plurality of sub-high-order bits. As shown in FIG. 2, the high-order bits are divided into two sub-high-order bits, which are the above: 4 bits, and the middle: 4 bits. The lower order bits of Figure 2 are as follows: 4bit representation. The definitions of the high order bits and the low order bits may be changed according to actual needs, and the present invention is not limited thereto. The address representation of Figure 2 is for illustrative purposes only, and will help to illustrate the subsequent embodiment of Figure 3, which is not intended to limit the invention.

接下來說明,圖1的步驟(b)用於記憶體測試的實際應用方式,請參照圖3,圖3是本發明實施例提供的產生位址的方法應用於記憶體測試的流程圖。在實際實施時,圖1的步驟(b)可利用圖3的步驟S310、S320、S330、S340實現。詳細的說,首先在步驟S310中,隨機產生以高階位元與低階位元表示的其中一個位址,例如圖2的兩個子高階位元(上:4bit,以及中:4bit),以及低階位元(下:4bit)。 The following is a description of the actual application mode of the memory test in the step (b) of FIG. 1. Referring to FIG. 3, FIG. 3 is a flowchart of a method for generating an address according to an embodiment of the present invention. In actual implementation, step (b) of FIG. 1 can be implemented by steps S310, S320, S330, S340 of FIG. In detail, first, in step S310, one of the addresses represented by the high-order bit and the low-order bit is randomly generated, for example, the two sub-high-order bits of FIG. 2 (upper: 4 bit, and medium: 4 bit), and Low order bit (bottom: 4bit).

接著,在步驟S320中,判斷隨機產生的位址是否已被產生過。在實際實施時,依據的圖1的步驟(b),步驟S320更包括在隨機產生位址後,可以紀錄此隨機產生的位址,而將其儲存於暫存器(register)中,以圖2的12位元的位址為例,暫存器儲存隨機產生 的八位元的高階位址,以及4096個對應低階位址,且高階位址的每一個位元(上:4bit,以及中:4bit的每一個位元)可以設定為旗標(flag),例如八個位元中的每一個都可以設定對應一個旗標(flag)。也就是說,對應於隨機產生的位址,暫存器儲存對應於高階位址的旗標(8bit的旗標)以及對應於低階位址(4bit的低階位址)。高階位址的旗標可用於在當後續判斷對應的低階位址都被產生過後,對旗標進行更改,以進行遮蔽,藉此節省隨機產生位址的時間。 Next, in step S320, it is judged whether or not the randomly generated address has been generated. In actual implementation, according to step (b) of FIG. 1 , step S320 further includes: after randomly generating the address, the randomly generated address may be recorded and stored in a register, to be 2 12-bit address as an example, the scratchpad storage is randomly generated The octet high-order address, and 4096 corresponding low-order addresses, and each bit of the high-order address (upper: 4bit, and medium: 4bit each bit) can be set as a flag For example, each of the eight bits can be set to correspond to a flag. That is, corresponding to the randomly generated address, the register stores a flag corresponding to the high-order address (8-bit flag) and a lower-order address (4-bit lower-order address). The flag of the high-order address can be used to change the flag to be masked after the subsequent determination of the corresponding lower-order address has been generated, thereby saving the time for randomly generating the address.

當步驟S320中,當隨機產生的位址尚未被產生過,則暫時離開此流程,以針對此位址進行寫入/讀取測試程序。 When the randomly generated address has not been generated in step S320, the process is temporarily left to perform a write/read test procedure for the address.

更進一步,在步驟S320的判斷位址是否產生過的過程中,更判斷是否對應某一個高階位址的所有複數個低階位址都已被產生,當對應複數個高階位址的其中之一的所有低階位址都被產生時,則遮蔽所對應的高階位址,也就是更改此高階位址的旗標。 被遮蔽的高階位址在隨機產生位址的過程中被排除。據此,當下一次執行步驟330時則可排除具有被遮蔽的高階位址的位址,避免產生重複的位址。例如:當高階位址(00000001)所對應的十六個低階位址(0000、0001、0010、0011、0100、0101、0110、0111、1000、1001、1010、1011、1100、1101、1110、1111)都被產生過,則遮蔽此高階位址(00000001)。 Further, in the process of determining whether the address is generated in step S320, it is further determined whether all of the plurality of low-order addresses corresponding to a certain high-order address have been generated, when one of the plurality of high-order addresses is corresponding. When all low-order addresses are generated, the corresponding high-order address is masked, that is, the flag of the high-order address is changed. The masked high-order address is excluded in the process of randomly generating the address. Accordingly, the next time step 330 is performed, the address with the masked high-order address can be excluded to avoid duplicate addresses. For example, when the high-order address (00000001) corresponds to the sixteen low-order addresses (0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1111) has been generated, then mask this high-order address (00000001).

當隨機產生的位址已被產生過,則進行步驟S330,再次隨機產生另一個未被產生過的位址。接著,進行步驟S340,判斷所有位址是否都被產生過,當尚未產生所有位址,則在步驟S340結束之後回到前述的步驟S320,以再次判斷是否對應某一個高階位址的所有複數個低階位址都已被產生,以決定是否要遮蔽某一個高階位址,然後接著離開此流程,以針對此新產生的位址進行寫入/讀取測試程序。反之,當所有位址皆被產生過,則清除步驟S320所記錄的所有位址,此時完成記憶體的此記憶區塊的一次測試。 接著,在測試另一個記憶區塊時,上述的步驟流程S310、S320、S330、S340可以再次被執行。依據所需備測試的記憶體容量的大小,圖3的測試程序可能需要重複多次,以測試完全部的記憶體。 When the randomly generated address has been generated, step S330 is performed to randomly generate another address that has not been generated. Then, in step S340, it is determined whether all the addresses have been generated. When all the addresses have not been generated, the process returns to the foregoing step S320 after the end of step S340 to determine again whether all the corresponding multiple high-order addresses are corresponding. Low-order addresses have been generated to determine whether to mask a higher-order address, and then leave the process to write/read test procedures for this newly generated address. On the other hand, when all the addresses have been generated, all the addresses recorded in step S320 are cleared, and a test of the memory block of the memory is completed. Then, when another memory block is tested, the above-described step flow S310, S320, S330, S340 can be executed again. Depending on the size of the memory required for the test, the test procedure of Figure 3 may need to be repeated multiple times to test the full memory.

關於高階位元和低階位元的定義方式,以圖2的例子來說,當高階位元的位元數量(8bit)與低階位元的位元數量(4bit)總和為3的倍數(即位址的位元數量為8+4=12bit),在此實施例中,高階位元被區分為兩個子高階位元(上:4bit,以及中:4bit),且每一個子高階位元的位元數量(4bit)相同於低階位元(下:4bit)的位元數量(4bit)。由此可推知,在類似的實施例中,當高階位的位元數量與低階位的位元數量總和為m的倍數時(即位址的位元總數為m的倍數),高階位被區分為m-1個子高階位,且每一個子高階位的位元數量相同於低階位的位元數量,其中m為大於或等於2的正整數。然而,本發明並不因此限定高階位元與低階位元的劃分方式。當低階位址的位元數越多,則隨機產生低階位址所需的時間可能隨之增加。反之,當高階位址的位元數越多,則所需利用的暫存器空間則越大。實際應用時,高階位址的劃分,以及高階位元和低階位元的位元數量的分配可以依據需求而變更,是工程設計時的取捨(tradeoff),本發明並不因此限定。在此實施例中,當高階位元的位元數量與低階位元的位元數量總和為N個,N/m為正整數,則依據步驟(b)的隨機產生所有位址的過程中的產生最後一個位址的時間可表示為m2N/m。接著,從產生第一個位址到產生最後一個位址的總共時間可表示為, Regarding the definition of high-order bits and low-order bits, in the example of FIG. 2, when the number of bits of the high-order bit (8 bits) and the number of bits of the low-order bits (4 bits) are a multiple of 3 ( That is, the number of bits of the address is 8+4=12 bits. In this embodiment, the high-order bits are divided into two sub-high-order bits (upper: 4bit, and medium: 4bit), and each sub-high-order bit The number of bits (4 bits) is the same as the number of bits (4 bits) of the lower order bits (bottom: 4 bits). It can be inferred that in a similar embodiment, when the sum of the number of bits of the high order bits and the number of bits of the low order bits is a multiple of m (ie, the total number of bits of the address is a multiple of m), the high order bits are distinguished. It is m-1 sub-high order bits, and the number of bits of each sub-high order bit is the same as the number of low-order bits, where m is a positive integer greater than or equal to 2. However, the present invention does not thus limit the manner in which high order bits and low order bits are divided. When the number of bits of the lower-order address is larger, the time required to randomly generate the lower-order address may increase. Conversely, the higher the number of bits in the high-order address, the larger the scratchpad space that needs to be utilized. In practical applications, the division of high-order addresses, and the allocation of the number of bits of high-order and low-order bits can be changed according to requirements, and is a tradeoff at the time of engineering design, and the present invention is not limited thereto. In this embodiment, when the number of bits of the high-order bit and the number of bits of the low-order bit are N, and N/m is a positive integer, the process of randomly generating all addresses according to step (b) The time at which the last address is generated can be expressed as m2 N/m . Then, the total time from the generation of the first address to the generation of the last address can be expressed as

相對的,傳統的隨機產生位址的方法,當位址的位元總數量同樣為N個時,隨機產生所有位址的過程中的產生最後一個位址的時間可表示為2N,而利用傳統的隨機產生位址的方法,從產生 第一個位址到產生最後一個位址的總共時間可表示為, In contrast, in the conventional method of randomly generating an address, when the total number of bits of the address is also N, the time at which the last address is generated in the process of randomly generating all addresses can be expressed as 2 N , and the utilization is utilized. The traditional random address generation method can be expressed as the total time from the generation of the first address to the generation of the last address.

以18位元(18bits)的位址的例子來看,本用實施例的方法所需總共時間為907,傳統的方法所需時間為524286,兩者差異約為577倍。由此可知,利用本實施例的方法隨機產生位址所花費的時間較短,且當位址的位元數量越多時(N越大時),利用本實施例的方法與利用傳統方法所花費的時間差異越大。 In the case of an 18-bit (18-bit) address, the total time required for the method of the present embodiment is 907, and the time required for the conventional method is 524,286, and the difference is about 577 times. Therefore, it can be seen that the time taken to randomly generate the address by using the method of the embodiment is short, and when the number of bits of the address is larger (when N is larger), the method of the present embodiment and the conventional method are utilized. The difference in time spent is greater.

〔實施例的可能功效〕 [Possible effects of the examples]

綜上所述,本發明實施例所提供的產生位址的方法,透過將位址以高階位元和低階位元來定義,並在當對應複數個高階位址的其中之一的所有低階位址都被產生時,遮蔽所對應的高階位址,藉此節省隨機產生位址的時間。所述產生位址的方法可利用於記憶體測試程式中的記憶體位址之產生、任何需要隨機產生位址的軟體程式,或者在硬體實現上可應用於不重複數碼產生器等相關應用。 In summary, the method for generating an address provided by the embodiment of the present invention is defined by using the high-order bit and the low-order bit as the address, and when all of the corresponding high-order addresses are low. When the order address is generated, the corresponding high-order address is masked, thereby saving the time for randomly generating the address. The method for generating an address can be used for generating a memory address in a memory test program, any software program that needs to randomly generate an address, or can be applied to a related application such as a non-repetitive digital generator in a hardware implementation.

以上所述僅為本發明之實施例,其並非用以侷限本發明之專利範圍。 The above description is only an embodiment of the present invention, and is not intended to limit the scope of the invention.

(a)、(b)‧‧‧步驟流程 (a), (b) ‧ ‧ step process

Claims (8)

一種產生位址的方法,包括:(a)將複數個位址以一高階位元(high order bits)以及一低階位元(low order bits)排序表示,該高階位元形成複數個高階位址,該低階位元形成複數個低階位址(low order addresses);(b)隨機產生具有該高階位元與該低階位元的該些位址,其中當對應該些高階位址的其中之一的所有該些低階位址都被產生時,則遮蔽所對應的該高階位址;以及(c)重複步驟(b)直到以該高階位元以及該低階位元表示的所有該些位址都被產生。 A method for generating an address, comprising: (a) sorting a plurality of addresses by a high order bits and a low order bits, the high order bits forming a plurality of high order bits Address, the low order bit forms a plurality of low order addresses; (b) randomly generating the addresses having the high order bit and the low order bit, wherein when corresponding to the higher order address And (c) repeating step (b) until the high-order bit and the low-order bit are represented by the high-order address corresponding to one of the low-order addresses of the one of the lower-order addresses; All of these addresses are generated. 根據請求項第1項之產生位址的方法,其中該方法用於測試一記憶體,該些位址是該記憶體的複數個記憶體位址。 The method of generating an address according to item 1 of the claim, wherein the method is for testing a memory, the addresses being a plurality of memory addresses of the memory. 根據請求項第2項之產生位址的方法,其中在步驟(b)之後,對隨機所產生的該記憶體位址執行寫入/讀取測試程序。 The method of generating an address according to item 2 of the claim, wherein after the step (b), the write/read test procedure is performed on the memory address generated by the random. 根據請求項第1項之產生位址的方法,其中該高階位元被區分為複數個子高階位元。 The method of generating an address according to item 1 of the claim, wherein the high order bit is divided into a plurality of sub-high order bits. 根據請求項第1項之產生位址的方法,其中當該高階位元的位元數量與該低階位元的位元數量總和為m的倍數時,該高階位元被區分為m-1個子高階位元,且每一該子高階位元的位元數量相同於該低階位元的位元數量,其中m為大於或等於2的正整數。 The method for generating an address according to Item 1 of the claim, wherein when the sum of the number of bits of the high order bit and the number of bits of the low order bit is a multiple of m, the high order bit is divided into m-1 a high-order bit, and the number of bits of each of the sub-high-order bits is the same as the number of bits of the low-order bit, where m is a positive integer greater than or equal to 2. 根據請求項第1項之產生位址的方法,其中在步驟(b)中,紀錄隨機產生的該些位址,且在步驟(c)之後再次執行的步驟(b)包括:判斷隨機產生的該些位址中的其中一該高階位址所對應的全部該些低階位址是否已被產生過;當隨機產生的該位址已被產生過,則再次隨機產生另一個未被產生過的該位址。 According to the method of generating an address of item 1 of the claim, wherein in step (b), the randomly generated addresses are recorded, and the step (b) performed again after the step (c) comprises: determining the randomly generated Whether all of the low-order addresses corresponding to one of the high-order addresses have been generated; when the randomly generated address has been generated, the other one is randomly generated again. The address of this. 根據請求項第6項之產生位址的方法,其中在步驟(b)中更包括:當所有該些位址皆被產生過,則清除所記錄的所有該些位址。 The method for generating an address according to Item 6 of the claim, wherein in the step (b), the method further includes: when all of the addresses are generated, clearing all of the recorded addresses. 根據請求項第1項之產生位址的方法,其中該高階位元的位元數量與該低階位元的位元數量總和為N個,N/m為正整數,則步驟(b)隨機產生該些位址的過程中的產生最後一個該位址的時間表示為m2N/mAccording to the method for generating an address according to Item 1, wherein the sum of the number of bits of the high order bit and the number of bits of the low order bit is N, and N/m is a positive integer, then step (b) is random. The time at which the last address is generated in the process of generating the addresses is expressed as m2 N/m .
TW104105857A 2015-02-24 2015-02-24 Address generating method TWI552159B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104105857A TWI552159B (en) 2015-02-24 2015-02-24 Address generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104105857A TWI552159B (en) 2015-02-24 2015-02-24 Address generating method

Publications (2)

Publication Number Publication Date
TW201631594A TW201631594A (en) 2016-09-01
TWI552159B true TWI552159B (en) 2016-10-01

Family

ID=57443017

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104105857A TWI552159B (en) 2015-02-24 2015-02-24 Address generating method

Country Status (1)

Country Link
TW (1) TWI552159B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0324386A2 (en) * 1988-01-11 1989-07-19 Advantest Corporation Memory testing device
WO2000040986A1 (en) * 1999-01-08 2000-07-13 Teradyne, Inc. Pattern generator for a packet-based memory tester
WO2000045187A1 (en) * 1999-01-29 2000-08-03 Credence Systems Corporation Algorithmic pattern generator for integrated circuit tester
EP1089293A1 (en) * 1999-09-30 2001-04-04 STMicroelectronics S.r.l. Memory test method and nonvolatile memory with low error masking probability
US6462996B2 (en) * 1995-06-21 2002-10-08 Mitsubishi Denki Kabushiki Kaisha Semiconductor integrated circuit device having internal synchronizing circuit responsive to test mode signal
US20020194557A1 (en) * 2001-06-19 2002-12-19 Samsung Electronics Co., Ltd. Built-in self test circuit using linear feedback shift register
TW200400513A (en) * 2002-06-25 2004-01-01 Fujitsu Ltd Semiconductor memory device with built-in self-diagnostic function and semiconductor device having the semiconductor memory device
US20080294951A1 (en) * 2007-05-01 2008-11-27 Ahmad Mustafa S Methods and devices for testing computer memory
US8286046B2 (en) * 2001-09-28 2012-10-09 Rambus Inc. Integrated circuit testing module including signal shaping interface

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0324386A2 (en) * 1988-01-11 1989-07-19 Advantest Corporation Memory testing device
US6462996B2 (en) * 1995-06-21 2002-10-08 Mitsubishi Denki Kabushiki Kaisha Semiconductor integrated circuit device having internal synchronizing circuit responsive to test mode signal
WO2000040986A1 (en) * 1999-01-08 2000-07-13 Teradyne, Inc. Pattern generator for a packet-based memory tester
WO2000045187A1 (en) * 1999-01-29 2000-08-03 Credence Systems Corporation Algorithmic pattern generator for integrated circuit tester
EP1089293A1 (en) * 1999-09-30 2001-04-04 STMicroelectronics S.r.l. Memory test method and nonvolatile memory with low error masking probability
US20020194557A1 (en) * 2001-06-19 2002-12-19 Samsung Electronics Co., Ltd. Built-in self test circuit using linear feedback shift register
US8286046B2 (en) * 2001-09-28 2012-10-09 Rambus Inc. Integrated circuit testing module including signal shaping interface
TW200400513A (en) * 2002-06-25 2004-01-01 Fujitsu Ltd Semiconductor memory device with built-in self-diagnostic function and semiconductor device having the semiconductor memory device
US20080294951A1 (en) * 2007-05-01 2008-11-27 Ahmad Mustafa S Methods and devices for testing computer memory

Also Published As

Publication number Publication date
TW201631594A (en) 2016-09-01

Similar Documents

Publication Publication Date Title
JP5983665B2 (en) Access count device, memory system, and access count method
US9425803B1 (en) Apparatuses and methods for implementing various physically unclonable function (PUF) and random number generator capabilities
US7971114B2 (en) Method for testing a memory device
CN108039190A (en) A kind of test method and device
JP2010198657A (en) Memory device
US20120236660A1 (en) Test system and test method for memory
TWI552159B (en) Address generating method
US11210165B2 (en) Inter-hamming difference analyzer for memory array and measuring and testing methods for inter-hamming differences of memory array
JP4947395B2 (en) Semiconductor test equipment
CN109669669A (en) Error code generation method and error code generator
CN111341374B (en) Memory test method and device and readable memory
CN107562640B (en) Information processing method, solid state disk and electronic equipment
TWI725306B (en) Memory repair method
JP5029883B2 (en) Semiconductor test equipment
CN105761759A (en) Test method and test device for random access memory
US10318416B2 (en) Method and system for implementing a non-volatile counter using non-volatile memory
JP6715198B2 (en) Memory inspection device
US9122570B2 (en) Data pattern generation for I/O training and characterization
TWI622779B (en) Testing device and waveform generating method
WO2022198732A1 (en) Encryption method and apparatus
JP4962277B2 (en) Semiconductor memory test equipment
CN115807714B (en) Alternative cylinder deactivation mode determining method, device, equipment and storage medium
TWI803045B (en) Automatic testing system and operating method thereof
TW201812787A (en) Method and apparatus for SOC with optimal RSMA
Parvathi et al. Novel test methods for NPSF faults in SRAM