[go: up one dir, main page]

CN116524981A - Test system and test method - Google Patents

Test system and test method Download PDF

Info

Publication number
CN116524981A
CN116524981A CN202210067893.6A CN202210067893A CN116524981A CN 116524981 A CN116524981 A CN 116524981A CN 202210067893 A CN202210067893 A CN 202210067893A CN 116524981 A CN116524981 A CN 116524981A
Authority
CN
China
Prior art keywords
circuit
read
memory
offset
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210067893.6A
Other languages
Chinese (zh)
Inventor
林士杰
林盛霖
邓力玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN202210067893.6A priority Critical patent/CN116524981A/en
Publication of CN116524981A publication Critical patent/CN116524981A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/12Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
    • G11C29/12015Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details comprising clock generation or timing circuitry
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/12Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
    • G11C29/18Address generation devices; Devices for accessing memories, e.g. details of addressing circuits

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention provides a test system, which comprises a plurality of memory circuits and a test circuit. The test circuit is coupled to the memory circuits. The test circuit is used for executing a read-write operation on the memory circuits, and each memory circuit has a read-write starting time point corresponding to the read-write operation. The test circuit is also used for controlling the read-write starting time points of the memory circuits to be different from each other.

Description

测试系统以及测试方法Test system and test method

技术领域technical field

本发明涉及一种测试技术,尤其涉及一种用于测试存储器电路的测试系统以及测试方法。The invention relates to a testing technology, in particular to a testing system and a testing method for testing memory circuits.

背景技术Background technique

随着科技的发展,电子装置中存储器数量越来越多。然而,由于制程或其他因素,存储器可能会存在缺陷。在一些相关技术中,可利用测试电路对存储器进行测试来确认存储器是否存在缺陷。With the development of technology, the number of memories in electronic devices is increasing. However, due to process or other factors, memory may have defects. In some related technologies, a test circuit can be used to test the memory to confirm whether there is a defect in the memory.

发明内容Contents of the invention

本发明的一些实施方式涉及一种测试系统。测试系统包括多个存储器电路以及一测试电路。测试电路耦接这些存储器电路。测试电路用于对这些存储器电路执行一读写操作,且这些存储器电路各自具有对应于读写操作的一读写起始时间点。测试电路还用于控制这些存储器电路的这些读写起始时间点为彼此相异。Some embodiments of the invention relate to a testing system. The test system includes multiple memory circuits and a test circuit. A test circuit is coupled to the memory circuits. The test circuit is used to perform a read and write operation on the memory circuits, and each of the memory circuits has a read and write start time point corresponding to the read and write operation. The test circuit is also used to control the read and write start time points of the memory circuits to be different from each other.

本发明的一些实施方式涉及一种测试方法。测试方法包括以下操作:通过一测试电路对多个存储器电路执行一读写操作,其中这些存储器电路各自具有对应于读写操作的一读写起始时间点;以及通过测试电路控制这些存储器电路的这些读写起始时间点为彼此相异。Some embodiments of the invention relate to a testing method. The testing method includes the following operations: performing a read and write operation on a plurality of memory circuits by a test circuit, wherein each of the memory circuits has a read and write start time point corresponding to the read and write operation; and controlling the memory circuits by the test circuit These reading and writing start time points are different from each other.

综上所述,在本发明中,利用单个测试电路对多个存储器电路进行测试,且测试电路可错开这些存储器电路的读写起始时间点。据此,本发明可在不(或少量)增加测试电路所占据的电路面积且不增加测试时间的情况下,避免瞬间压降过大,以确保电路可正常运行。To sum up, in the present invention, a single test circuit is used to test multiple memory circuits, and the test circuit can stagger the read and write start time points of these memory circuits. Accordingly, the present invention can avoid excessive instantaneous voltage drop without (or a small amount of) increasing the circuit area occupied by the test circuit and without increasing the test time, so as to ensure the normal operation of the circuit.

附图说明Description of drawings

为使本发明的上述和其他目的、特征、优点与实施例能够更明显易懂,对附图说明如下:In order to make the above and other purposes, features, advantages and embodiments of the present invention more clearly understood, the accompanying drawings are described as follows:

图1是根据本发明一些实施例示出的一测试系统的示意图;Fig. 1 is a schematic diagram of a test system shown according to some embodiments of the present invention;

图2是根据本发明一些实施例示出的图1中的测试系统的时序图;FIG. 2 is a timing diagram of the test system in FIG. 1 shown according to some embodiments of the present invention;

图3是根据本发明一些实施例示出的一偏移电路的示意图;以及FIG. 3 is a schematic diagram of an offset circuit according to some embodiments of the present invention; and

图4是根据本发明一些实施例示出的测试方法的流程图。Fig. 4 is a flowchart of a testing method according to some embodiments of the present invention.

附图标记说明:Explanation of reference signs:

100:测试系统 120:测试电路 121:使能信号产生电路100: Test system 120: Test circuit 121: Enable signal generating circuit

122:地址产生电路 123、124:偏移电路 300:偏移电路122: Address generation circuit 123, 124: Offset circuit 300: Offset circuit

310:多工器 320:寄存器 400:测试方法310: Multiplexer 320: Register 400: Test Method

M1、M2、M3:存储器电路M1, M2, M3: memory circuits

ST1、ST2、ST3:读写起始时间点 ET1、ET2、ET3:读写结束时间点ST1, ST2, ST3: read and write start time point ET1, ET2, ET3: read and write end time point

CLK:时钟信号 EN1、EN2、EN3:使能信号CLK: clock signal EN1, EN2, EN3: enable signal

AD:地址信号 DS1、DS2:偏移信号AD: address signal DS1, DS2: offset signal

OFFSET1、OFFSET2、OFFSET3、OFFSET4:候选偏移值OFFSET1, OFFSET2, OFFSET3, OFFSET4: Candidate offset values

OF1、OF2:偏移值SS:选择信号S410、S420:操作OF1, OF2: offset value SS: selection signal S410, S420: operation

具体实施方式Detailed ways

在本文中所使用的用词“耦接”也可指“电性耦接”,且用词“连接”也可指“电性连接”。“耦接”及“连接”也可指两个或多个元件相互配合或相互互动。As used herein, the term "coupled" may also refer to "electrically coupled", and the term "connected" may also refer to "electrically connected". "Coupled" and "connected" may also mean that two or more elements cooperate or interact with each other.

参考图1。图1是根据本发明一些实施例示出的测试系统100的示意图。Refer to Figure 1. FIG. 1 is a schematic diagram of a testing system 100 according to some embodiments of the present invention.

以图1为例,测试系统100包括存储器电路M1-M3以及测试电路120。测试电路120耦接至存储器电路M1-M3。在一些实施例中,测试电路120是利用存储器内建自测试(MemoryBuilt-in Self Test,MBIST)电路实现的,且与存储器电路M1-M3整合在一个芯片上。Taking FIG. 1 as an example, the test system 100 includes memory circuits M1 - M3 and a test circuit 120 . The test circuit 120 is coupled to the memory circuits M1-M3. In some embodiments, the testing circuit 120 is implemented by using a memory built-in self-test (MBIST) circuit, and is integrated with the memory circuits M1-M3 on one chip.

在一些实施例中,这些存储器电路M1-M3的存储容量为彼此相异。在一些其他的实施例中,这些存储器电路M1-M3的存储容量并非彼此相异。In some embodiments, the storage capacities of the memory circuits M1-M3 are different from each other. In some other embodiments, the storage capacities of the memory circuits M1-M3 are not different from each other.

为了易于理解,以下将以这些存储器电路M1-M3的存储容量彼此相异为例进行说明,但本发明不以此为限。以图1为例,存储器电路M1具有Q个条目(entry),存储器电路M2具有P个条目,且存储器电路M2具有N个条目,其中Q、P、N为正整数,Q大于P且P大于N。换句话说,存储器电路M1的存储容量大于存储器电路M2的存储容量,且存储器电路M2的存储容量大于存储器电路M3的存储容量。For easy understanding, it will be described below as an example that the storage capacities of the memory circuits M1 - M3 are different from each other, but the present invention is not limited thereto. Taking FIG. 1 as an example, the memory circuit M1 has Q entries, the memory circuit M2 has P entries, and the memory circuit M2 has N entries, wherein Q, P, and N are positive integers, and Q is greater than P and P is greater than N. In other words, the storage capacity of the memory circuit M1 is greater than the storage capacity of the memory circuit M2, and the storage capacity of the memory circuit M2 is greater than the storage capacity of the memory circuit M3.

这里特别说明的是,图1中存储器电路的数量仅为示例,各种适用的数量均在本发明的范围中。It is particularly noted here that the number of memory circuits in FIG. 1 is only an example, and various applicable numbers are within the scope of the present invention.

测试电路120可理解为一种存储器存取控制器,用于对存储器电路M1-M3执行一读写操作,来对存储器电路M1-M3进行测试。而针对这同一个读写操作,各存储器电路M1-M3中所有的条目均会被读取或被写入。也就是说,针对同一个读写操作,具有最多条目的存储器电路M1(存储容量最大)的总工作时间区间会最长,而具有最少条目的存储器电路M3(存储容量最小)的总工作时间区间会最短。The test circuit 120 can be understood as a memory access controller for performing a read and write operation on the memory circuits M1-M3 to test the memory circuits M1-M3. For the same read and write operation, all entries in the memory circuits M1-M3 will be read or written. That is to say, for the same read and write operation, the total working time interval of the memory circuit M1 (largest storage capacity) with the most entries will be the longest, and the total working time interval of the memory circuit M3 (smallest storage capacity) with the fewest entries will be the shortest.

一并参考图1以及图2。图2是根据本发明一些实施例示出的图1中的测试系统100的时序图。测试电路120可基于时钟信号CLK控制存储器电路M1-M3的读写起始时间点ST1-ST3为彼此相异。以图2为例,针对同一个读写操作,测试电路120可基于时钟信号CLK控制存储器电路M1在读写起始时间点ST1执行读写操作,基于时钟信号CLK控制存储器电路M2在读写起始时间点ST2执行读写操作,且基于时钟信号CLK控制存储器电路M3在读写起始时间点ST3执行读写操作。Refer to FIG. 1 and FIG. 2 together. FIG. 2 is a timing diagram of the test system 100 shown in FIG. 1 according to some embodiments of the present invention. The test circuit 120 can control the read/write start time points ST1-ST3 of the memory circuits M1-M3 to be different from each other based on the clock signal CLK. Taking FIG. 2 as an example, for the same read and write operation, the test circuit 120 can control the memory circuit M1 to perform the read and write operation at the read and write start time point ST1 based on the clock signal CLK, and control the memory circuit M2 to perform the read and write operation based on the clock signal CLK. The read/write operation is performed at the start time point ST2, and the memory circuit M3 is controlled to perform the read/write operation at the read/write start time point ST3 based on the clock signal CLK.

以图1为例,测试电路120可包括使能信号产生电路121、地址产生电路122、偏移电路123以及偏移电路124。Taking FIG. 1 as an example, the testing circuit 120 may include an enable signal generating circuit 121 , an address generating circuit 122 , an offset circuit 123 and an offset circuit 124 .

使能信号产生电路121用于产生且输出使能信号EN1-EN3。使能信号EN1-EN3主要用于使能或禁能存储器电路M1-M3。地址产生电路122则用于产生和输出地址信号AD。地址信号AD主要用于决定要对存储器电路M1-M3中的哪个条目执行读写操作。The enable signal generating circuit 121 is used for generating and outputting enable signals EN1-EN3. The enable signals EN1-EN3 are mainly used to enable or disable the memory circuits M1-M3. The address generating circuit 122 is used for generating and outputting address signals AD. The address signal AD is mainly used to decide which entry in the memory circuits M1-M3 is to be read or written.

在图1中,使能信号产生电路121以及地址产生电路122耦接至存储器电路M1。存储器电路M1可接收来自使能信号产生电路121的使能信号EN1以及来自地址产生电路122的地址信号AD。据此,如果使能信号EN1在读写起始时间点ST1具有使能电平,那么存储器电路M1可根据使能信号EN1以及地址信号AD在读写起始时间点ST1被执行读写操作。In FIG. 1 , the enable signal generating circuit 121 and the address generating circuit 122 are coupled to the memory circuit M1 . The memory circuit M1 can receive the enable signal EN1 from the enable signal generating circuit 121 and the address signal AD from the address generating circuit 122 . Accordingly, if the enable signal EN1 has an enable level at the read/write start time point ST1 , the memory circuit M1 can perform read/write operations at the read/write start time point ST1 according to the enable signal EN1 and the address signal AD.

另一方面,使能信号产生电路121以及地址产生电路122耦接偏移电路123,且偏移电路123耦接存储器电路M2。偏移电路123可接收来自使能信号产生电路121的使能信号EN2以及来自地址产生电路122的地址信号AD。接着,偏移电路123可根据使能信号EN2以及地址信号AD产生偏移信号DS1。而存储器电路M2可根据偏移信号DS1在读写起始时间点ST2被执行读写操作。On the other hand, the enable signal generating circuit 121 and the address generating circuit 122 are coupled to the offset circuit 123, and the offset circuit 123 is coupled to the memory circuit M2. The offset circuit 123 can receive the enable signal EN2 from the enable signal generating circuit 121 and the address signal AD from the address generating circuit 122 . Next, the offset circuit 123 can generate the offset signal DS1 according to the enable signal EN2 and the address signal AD. The memory circuit M2 can be read and written according to the offset signal DS1 at the read and write start time point ST2.

在一些实施例中,偏移电路123可包括一比较器。这个比较器可对地址信号AD所携带的地址值与第一偏移值(例如:256)进行比较。地址信号AD所携带的地址值可从初始地址值(例如:0)开始往下计数。当地址信号AD所携带的当前地址值(例如:256)等于第一偏移值时(例如:时间点ST2),使能信号EN2具有使能电平。此时,偏移电路123可产生偏移信号DS1来在读写起始时间点ST2使能存储器电路M2且根据当前地址值与第一偏移值的差值(例如:256-256=0)决定要对存储器电路M2中的哪个条目(例如:条目0)执行读写操作。In some embodiments, the offset circuit 123 may include a comparator. The comparator can compare the address value carried by the address signal AD with the first offset value (for example: 256). The address value carried by the address signal AD can count down from an initial address value (for example: 0). When the current address value carried by the address signal AD (for example: 256) is equal to the first offset value (for example: time point ST2), the enable signal EN2 has an enable level. At this time, the offset circuit 123 can generate the offset signal DS1 to enable the memory circuit M2 at the read/write start time point ST2 and according to the difference between the current address value and the first offset value (for example: 256-256=0) It is decided which entry (for example: entry 0) in the memory circuit M2 is to be read or written.

相似地,使能信号产生电路121以及地址产生电路122耦接偏移电路124,且偏移电路124耦接存储器电路M3。偏移电路124可接收来自使能信号产生电路121的使能信号EN3以及来自地址产生电路122的地址信号AD。接着,偏移电路124可根据使能信号EN3以及地址信号AD产生偏移信号DS2。而存储器电路M3可根据偏移信号DS2在读写起始时间点ST3被执行读写操作。Similarly, the enable signal generating circuit 121 and the address generating circuit 122 are coupled to the offset circuit 124, and the offset circuit 124 is coupled to the memory circuit M3. The offset circuit 124 can receive the enable signal EN3 from the enable signal generating circuit 121 and the address signal AD from the address generating circuit 122 . Next, the offset circuit 124 can generate the offset signal DS2 according to the enable signal EN3 and the address signal AD. The memory circuit M3 can be read and written according to the offset signal DS2 at the read and write start time point ST3.

相似地,在一些实施例中,偏移电路124可包括一比较器。这一比较器可对地址信号AD所携带的地址值与第二偏移值(例如:128)进行比较。如前所述,地址信号AD所携带的地址值可从初始地址值(例如:0)开始往下计数。当地址信号AD所携带的当前地址值(例如:128)等于第二偏移值时(例如:时间点ST3),使能信号EN3具有使能电平。此时,偏移电路124可产生偏移信号DS2来在读写起始时间点ST3使能存储器电路M3且根据当前地址值与第二偏移值的差值(例如:128-128=0)决定要对存储器电路M3中的哪个条目(例如:条目0)执行读写操作。Similarly, in some embodiments, the offset circuit 124 may include a comparator. The comparator can compare the address value carried by the address signal AD with the second offset value (for example: 128). As mentioned above, the address value carried by the address signal AD can count down from the initial address value (for example: 0). When the current address value carried by the address signal AD (for example: 128) is equal to the second offset value (for example: time point ST3), the enable signal EN3 has an enable level. At this time, the offset circuit 124 can generate the offset signal DS2 to enable the memory circuit M3 at the read/write start time point ST3 and according to the difference between the current address value and the second offset value (for example: 128-128=0) It is decided which entry (for example: entry 0) in the memory circuit M3 is to be read or written.

以图2为例,读写起始时间点ST1早于读写起始时间点ST3,且读写起始时间点ST3早于读写起始时间点ST2。也就是说,具有最大存储容量的存储器电路M1的读写起始时间点ST1是最早的。而读写起始时间点ST3与读写起始时间点ST1之间具有第一延迟时间区间(用网点标记),且读写起始时间点ST2与读写起始时间点ST1之间具有第二延迟时间区间(也用网点标记),且第二延迟时间区间长于第一延迟时间区间。这里特别说明的是,虽然在图2中读写起始时间点ST3早于读写起始时间点ST2,但本发明不以此为限。在一些其他的实施例中,读写起始时间点ST3也可晚于读写起始时间点ST2。Taking FIG. 2 as an example, the read-write start time point ST1 is earlier than the read-write start time point ST3, and the read-write start time point ST3 is earlier than the read-write start time point ST2. That is, the reading and writing start time point ST1 of the memory circuit M1 having the largest storage capacity is the earliest. There is a first delay time interval (marked with dots) between the read-write start time point ST3 and the read-write start time point ST1, and there is a first delay time interval between the read-write start time point ST2 and the read-write start time point ST1. Two delay time intervals (also marked with dots), and the second delay time interval is longer than the first delay time interval. It is particularly noted here that although the read-write start time point ST3 is earlier than the read-write start time point ST2 in FIG. 2 , the present invention is not limited thereto. In some other embodiments, the read-write start time point ST3 may also be later than the read-write start time point ST2.

一存储器电路的读写起始时间点与其读写结束时间点之间的时间区间(工作时间区间)正相关于该存储器电路的存储容量。以图2为例,由于存储器电路M1的存储容量最大,因此存储器电路M1的读写起始时间点ST1与其读写结束时间点ET1之间所涵盖的时间区间最长。由于存储器电路M3的存储容量最小,因此存储器电路M3的读写起始时间点ST3与其读写结束时间点ET3之间所涵盖的时间区间最短。The time interval (working time interval) between the read-write start time point of a memory circuit and the read-write end time point is directly related to the storage capacity of the memory circuit. Taking FIG. 2 as an example, since the storage capacity of the memory circuit M1 is the largest, the time interval covered between the read/write start time point ST1 and the read/write end time point ET1 of the memory circuit M1 is the longest. Since the storage capacity of the memory circuit M3 is the smallest, the time interval covered between the read-write start time point ST3 and the read-write end time point ET3 of the memory circuit M3 is the shortest.

在一些实施例中,测试电路120可控制存储器电路M2的读写结束时间点ET2以及存储器电路M3的读写结束时间点ET3不晚于(相同于或早于)具有最大存储容量的存储器电路M1的读写结束时间点ET1。据此,可避免花费额外的测试时间。在图2的例子中,测试电路120控制存储器电路M1的读写结束时间点ET1、存储器电路M2的读写结束时间点ET2以及存储器电路M3的读写结束时间点ET3为彼此相异。In some embodiments, the test circuit 120 can control the read/write end time point ET2 of the memory circuit M2 and the read/write end time point ET3 of the memory circuit M3 to be no later (same as or earlier) than the memory circuit M1 with the largest storage capacity read and write end time point ET1. Accordingly, additional testing time can be avoided. In the example of FIG. 2 , the test circuit 120 controls the read/write end time ET1 of the memory circuit M1 , the read/write end time ET2 of the memory circuit M2 , and the read/write end time ET3 of the memory circuit M3 to be different from each other.

在一些实施例中,一存储器电路的禁能时间点为该存储器电路的读写结束时间点。以图1以及图2为例,使能信号EN1可在读写结束时间点ET1具有禁能电平来禁能存储器电路M1。使能信号EN2可在读写结束时间点ET2具有禁能电平来使对应产生出来的偏移信号DS1可用于禁能存储器电路M2。使能信号EN3可在读写结束时间点ET3具有禁能电平来使对应产生出来的偏移信号DS2可用于禁能存储器电路M3。据此,可达到省电的功效。In some embodiments, the disabling time point of a memory circuit is the end time point of reading and writing of the memory circuit. Taking FIG. 1 and FIG. 2 as an example, the enable signal EN1 may have a disable level at the end time point ET1 of reading and writing to disable the memory circuit M1. The enable signal EN2 can have a disable level at the read/write end time point ET2 so that the corresponding generated offset signal DS1 can be used to disable the memory circuit M2. The enable signal EN3 can have a disable level at the read/write end time point ET3 so that the corresponding generated offset signal DS2 can be used to disable the memory circuit M3. Accordingly, the power saving effect can be achieved.

在一些其他的实施例中,所有存储器电路M1-M3的禁能时间点为具有最大存储容量的存储器电路M1的读写结束时间点。也就是说,使能信号EN1-EN3均在读写结束时间点ET1才具有禁能电平来禁能存储器电路M1-M3。而存储器电路M2的读写结束时间点ET2与存储器电路M1的读写结束时间点ET1之间为存储器电路M2的闲置期间,且存储器电路M3的读写结束时间点ET3与存储器电路M1的读写结束时间点ET1之间为存储器电路M3的闲置期间。In some other embodiments, the disabling time point of all memory circuits M1-M3 is the end time point of reading and writing of the memory circuit M1 with the largest storage capacity. That is to say, the enable signals EN1-EN3 all have the disable level at the end time point ET1 of reading and writing to disable the memory circuits M1-M3. The period between the reading and writing end time point ET2 of the memory circuit M2 and the reading and writing end time point ET1 of the memory circuit M1 is the idle period of the memory circuit M2, and the reading and writing end time point ET3 of the memory circuit M3 is different from the reading and writing end time point ET1 of the memory circuit M1. The period between the end time points ET1 is an idle period of the memory circuit M3.

在一些相关技术中,为了节省存储器测试电路所占据的电路面积,会利用单个测试电路对多个存储器电路进行测试。在这个情况下,当测试开始(自闲置状态转为测试状态的过程),将会产生极大的电流。这个极大的电流会造成供电不足,使得瞬间压降过大进而造成电路失效。In some related technologies, in order to save the circuit area occupied by the memory test circuit, a single test circuit is used to test multiple memory circuits. In this case, when the test starts (transition from idle state to test state), a very large current will be generated. This extremely large current will cause insufficient power supply, causing the instantaneous voltage drop to be too large and causing the circuit to fail.

在一些相关技术中,为了避免瞬间压降过大,会利用多个测试电路分别对多个存储器电路进行测试。然而,这会提高测试电路所占据的电路面积进而增大整个芯片的尺寸。在另外一些相关技术中,为了避免瞬间压降过大,会将这些存储器电路分为多组来分时进行测试。然而,这会使得测试时间增加。In some related technologies, in order to avoid excessive instantaneous voltage drop, multiple test circuits are used to test multiple memory circuits respectively. However, this will increase the circuit area occupied by the test circuit and thus increase the size of the entire chip. In other related technologies, in order to avoid excessive instantaneous voltage drop, these memory circuits are divided into multiple groups for time-sharing testing. However, this increases test time.

相较于上述这些相关技术,在本发明中,利用单个测试电路120对多个存储器电路M1-M3进行测试,且测试电路120可错开存储器电路M1-M3的读写起始时间点ST1-ST3。据此,本发明可在不增加测试电路所占据的电路面积且不增加测试时间的情况下,避免极大电流所造成的过大瞬间压降,进而确保电路可正常运作。存储器电路M1-M3的工作时间区间重叠越少,避免极大电流的效果越佳。Compared with the above-mentioned related technologies, in the present invention, a single test circuit 120 is used to test multiple memory circuits M1-M3, and the test circuit 120 can stagger the read and write start time points ST1-ST3 of the memory circuits M1-M3 . Accordingly, the present invention can avoid the excessive instantaneous voltage drop caused by the extremely high current without increasing the circuit area occupied by the test circuit and without increasing the test time, thereby ensuring the normal operation of the circuit. The less overlapping the working time intervals of the memory circuits M1-M3 are, the better the effect of avoiding extremely large currents is.

参考图3。图3是根据本发明一些实施例示出的偏移值产生电路300的示意图。在一些实施例中,图1的延时电路123或124还可包括偏移值产生电路300,而偏移值产生电路300可用于产生前述的第一偏移值(图3中用OF1标示)或第二偏移值(图3中用OF2标示)。Refer to Figure 3. FIG. 3 is a schematic diagram of an offset value generation circuit 300 according to some embodiments of the present invention. In some embodiments, the delay circuit 123 or 124 of FIG. 1 may also include an offset value generation circuit 300, and the offset value generation circuit 300 may be used to generate the aforementioned first offset value (marked by OF1 in FIG. 3 ). or the second offset value (marked by OF2 in FIG. 3 ).

以图3为例,偏移电路300包括多工器310以及寄存器320。多工器310包括多个输入端。多工器310的其中一个输入端耦接寄存器320,且多工器310的其他输入端分别用于接收候选偏移值OFFSET1、候选偏移值OFFSET2以及候选偏移值OFFSET3。寄存器320可基于系统需求或应用场景且根据一使用者操作或来自一控制电路的一命令产生候选偏移值OFFSET4。Taking FIG. 3 as an example, the offset circuit 300 includes a multiplexer 310 and a register 320 . Multiplexer 310 includes multiple input terminals. One input terminal of the multiplexer 310 is coupled to the register 320 , and the other input terminals of the multiplexer 310 are respectively used to receive the candidate offset value OFFSET1 , the candidate offset value OFFSET2 and the candidate offset value OFFSET3 . The register 320 can generate the candidate offset value OFFSET4 based on system requirements or application scenarios and according to a user operation or a command from a control circuit.

而多工器310可根据选择信号SS从候选偏移值OFFSET1、候选偏移值OFFSET2、候选偏移值OFFSET3以及候选偏移值OFFSET4中输出其中一个来产生前述的第一偏移值OF1或第二偏移值OF2。选择信号SS可基于系统需求或应用场景且根据一使用者操作或来自一控制电路的一命令而产生。接着,如前所述,延时电路123或124可进一步根据第一偏移值OF1或第二偏移值OF2产生偏移信号DS1或DS2。The multiplexer 310 can output one of the candidate offset value OFFSET1, the candidate offset value OFFSET2, the candidate offset value OFFSET3 and the candidate offset value OFFSET4 according to the selection signal SS to generate the aforementioned first offset value OF1 or the first offset value OF1. Two offset values OF2. The selection signal SS can be generated based on system requirements or application scenarios and according to a user operation or a command from a control circuit. Then, as mentioned above, the delay circuit 123 or 124 can further generate the offset signal DS1 or DS2 according to the first offset value OF1 or the second offset value OF2.

由于候选偏移值OFFSET4或选择信号SS可基于系统需求或应用场景调整,因此这一结构具有更大的应用弹性且可适用于更多的使用环境。Since the candidate offset value OFFSET4 or the selection signal SS can be adjusted based on system requirements or application scenarios, this structure has greater application flexibility and is applicable to more usage environments.

这里特别说明的是,图3中候选偏移值或寄存器的数量仅为示例,各种适用的数量均在本发明的范围中。It is particularly noted here that the number of candidate offset values or registers in FIG. 3 is only an example, and various applicable numbers are within the scope of the present invention.

参考图4。图4是根据本发明一些实施例示出的测试方法400的流程图。以图4为例,测试方法400包括操作S410以及操作S420。Refer to Figure 4. Fig. 4 is a flowchart of a testing method 400 according to some embodiments of the present invention. Taking FIG. 4 as an example, the testing method 400 includes operation S410 and operation S420.

在一些实施例中,测试方法400可应用于图1中的测试系统100,但本发明不以此为限。然而,为了易于了解,测试方法400将配合图1中的测试系统100进行描述。In some embodiments, the testing method 400 can be applied to the testing system 100 in FIG. 1 , but the invention is not limited thereto. However, for ease of understanding, the testing method 400 will be described in conjunction with the testing system 100 in FIG. 1 .

在操作S410中,通过测试电路120对存储器电路M1-M3执行一读写操作。存储器电路M1-M3各自具有对应于此读写操作的一读写起始时间点。以图2为例,存储器电路M1对应读写起始时间点ST1,存储器电路M2对应读写起始时间点ST2,且存储器电路M3对应读写起始时间点ST3。In operation S410 , a read and write operation is performed on the memory circuits M1 - M3 by the test circuit 120 . Each of the memory circuits M1-M3 has a read/write start time point corresponding to the read/write operation. Taking FIG. 2 as an example, the memory circuit M1 corresponds to the read/write start time point ST1 , the memory circuit M2 corresponds to the read/write start time point ST2 , and the memory circuit M3 corresponds to the read/write start time point ST3 .

在操作S420中,通过测试电路120控制存储器电路M1-M3的读写起始时间点ST1-ST3为彼此相异。在一些实施例中,具有最大存储容量的存储器电路M1的读写起始时间点ST1是最早的,而其他存储器电路M2-M3的读写起始时间点ST2-ST3则晚于读写起始时间点ST1。In operation S420, the test circuit 120 controls the reading and writing start time points ST1-ST3 of the memory circuits M1-M3 to be different from each other. In some embodiments, the read/write start time point ST1 of the memory circuit M1 with the largest storage capacity is the earliest, while the read/write start time points ST2-ST3 of the other memory circuits M2-M3 are later than the read/write start time points Time point ST1.

综上所述,在本发明中,利用单个测试电路对多个存储器电路进行测试,且测试电路可错开这些存储器电路的读写起始时间点。据此,本发明可在不(或少量)增加测试电路所占据的电路面积且不增加测试时间的情况下,避免瞬间压降过大,以确保电路可正常运作。To sum up, in the present invention, a single test circuit is used to test multiple memory circuits, and the test circuit can stagger the read and write start time points of these memory circuits. Accordingly, the present invention can avoid excessive instantaneous voltage drop without (or a small amount of) increasing the circuit area occupied by the test circuit and without increasing the test time, so as to ensure the normal operation of the circuit.

虽然本发明的实施方式公开如上,然而这些并非用于限定本发明,任何本领域中具有普通知识的技术人员,在不脱离本发明的精神和范围内,当可作各种改动与润饰,因此本发明的保护范围应当根据本发明权利要求书所界定的为准。Although the embodiments of the present invention are disclosed above, these are not intended to limit the present invention. Any person skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore The protection scope of the present invention should be defined according to the claims of the present invention.

Claims (10)

1.一种测试系统,包括:1. A test system comprising: 多个存储器电路;以及a plurality of memory circuits; and 一测试电路,耦接所述多个存储器电路,其中所述测试电路用于对所述多个存储器电路执行一读写操作,且所述多个存储器电路各自具有对应于所述读写操作的一读写起始时间点,A test circuit, coupled to the plurality of memory circuits, wherein the test circuit is used to perform a read and write operation on the plurality of memory circuits, and each of the plurality of memory circuits has a corresponding to the read and write operation A reading and writing start time point, 其中所述测试电路还用于控制所述多个存储器电路的所述多个读写起始时间点为彼此相异。Wherein the test circuit is further used to control the multiple read/write start time points of the multiple memory circuits to be different from each other. 2.根据权利要求1所述的测试系统,其特征在于,所述多个存储器电路包括一第一存储器电路以及一第二存储器电路,其中所述第一存储器电路的一存储容量大于所述第二存储器电路的一存储容量,且所述第一存储器电路的所述读写起始时间点早于所述第二存储器电路的所述读写起始时间点。2. The test system according to claim 1, wherein the plurality of memory circuits comprise a first memory circuit and a second memory circuit, wherein a storage capacity of the first memory circuit is greater than that of the first memory circuit A storage capacity of two memory circuits, and the read/write start time point of the first memory circuit is earlier than the read/write start time point of the second memory circuit. 3.根据权利要求2所述的测试系统,其特征在于,所述第二存储器电路对应于所述读写操作的一读写结束时间点相同于或早于所述第一存储器电路对应于所述读写操作的一读写结束时间点。3. The test system according to claim 2, wherein a read-write end time point corresponding to the read-write operation of the second memory circuit is the same as or earlier than that corresponding to the read-write operation of the first memory circuit Describes a reading and writing end time point of the reading and writing operation. 4.根据权利要求2所述的测试系统,其特征在于,所述测试电路包括:4. The test system according to claim 2, wherein the test circuit comprises: 一使能信号产生电路,用于产生一第一使能信号以及一第二使能信号;An enabling signal generating circuit, used to generate a first enabling signal and a second enabling signal; 一地址产生电路,用于产生一地址信号;以及an address generating circuit for generating an address signal; and 一第一偏移电路,用于根据所述第二使能信号以及所述地址信号产生一第一偏移信号,a first offset circuit, configured to generate a first offset signal according to the second enable signal and the address signal, 其中所述第一存储器电路根据所述第一使能信号以及所述地址信号被执行所述读写操作,wherein the first memory circuit performs the read and write operations according to the first enable signal and the address signal, 其中所述第二存储器电路根据所述第一偏移信号被执行所述读写操作。Wherein the second memory circuit performs the read and write operations according to the first offset signal. 5.根据权利要求4所述的测试系统,其特征在于,所述第一偏移电路用于比较所述地址信号所携带的一地址值与一偏移值,其中当所述地址值等于所述偏移值时,所诉第一偏移电路根据所述第二使能信号以及所述地址信号产生该第一偏移信号来对所述第二存储器电路执行所述读写操作。5. The test system according to claim 4, wherein the first offset circuit is used for comparing an address value carried by the address signal with an offset value, wherein when the address value is equal to the When the offset value is specified, the first offset circuit generates the first offset signal according to the second enable signal and the address signal to perform the read and write operations on the second memory circuit. 6.根据权利要求5所述的测试系统,其特征在于,所述第一偏移电路包括:6. The test system according to claim 5, wherein the first offset circuit comprises: 一多工器,用于接收多个候选偏移值,且根据一选择信号从所述多个候选偏移值中输出其中一个,来作为所述偏移值;以及a multiplexer, configured to receive a plurality of candidate offset values, and output one of the plurality of candidate offset values according to a selection signal as the offset value; and 一寄存器,耦接所述多工器,其中所述寄存器用于产生所述多个候选偏移值中的一个。A register is coupled to the multiplexer, wherein the register is used to generate one of the plurality of candidate offset values. 7.根据权利要求4所述的测试系统,其特征在于,所述第二存储器电路具有对应于所述读写操作的一读写结束时间点,且所述第二使能信号在所述第二存储器电路的所述读写结束时间点具有一禁能电平。7. The test system according to claim 4, wherein the second memory circuit has a read-write end time point corresponding to the read-write operation, and the second enable signal is at the first The reading and writing end time points of the two memory circuits have a disable level. 8.根据权利要求4所述的测试系统,其特征在于,所述第一存储器电路具有对应于所述读写操作的一读写结束时间点,且所述第二使能信号在所述第一存储器电路的所述读写结束时间点具有一禁能电平。8. The test system according to claim 4, wherein the first memory circuit has a read-write end time point corresponding to the read-write operation, and the second enable signal is at the first The reading and writing end time point of a memory circuit has a disable level. 9.根据权利要求4所述的测试系统,其特征在于,所述多个存储器电路还包括一第三存储器电路,其中所述使能信号产生电路还用于产生一第三使能信号,其中所述测试电路还包括:9. The test system according to claim 4, wherein the plurality of memory circuits further comprises a third memory circuit, wherein the enable signal generating circuit is also used to generate a third enable signal, wherein The test circuit also includes: 一第二偏移电路,用于根据所述第三使能信号以及所述地址信号产生一第二偏移信号,a second offset circuit, configured to generate a second offset signal according to the third enable signal and the address signal, 其中所述第三存储器电路根据所述第二偏移信号被执行所述读写操作。Wherein the third memory circuit is executed according to the second offset signal to read and write operations. 10.一种测试方法,包括:10. A test method comprising: 通过一测试电路对多个存储器电路执行一读写操作,其中所述多个存储器电路各自具有对应于所述读写操作的一读写起始时间点;以及performing a read/write operation on a plurality of memory circuits by a test circuit, wherein each of the plurality of memory circuits has a read/write start time point corresponding to the read/write operation; and 通过所述测试电路控制所述多个存储器电路的所述多个读写起始时间点为彼此相异。The multiple reading and writing start time points of the multiple memory circuits are controlled by the testing circuit to be different from each other.
CN202210067893.6A 2022-01-20 2022-01-20 Test system and test method Pending CN116524981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210067893.6A CN116524981A (en) 2022-01-20 2022-01-20 Test system and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210067893.6A CN116524981A (en) 2022-01-20 2022-01-20 Test system and test method

Publications (1)

Publication Number Publication Date
CN116524981A true CN116524981A (en) 2023-08-01

Family

ID=87403385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210067893.6A Pending CN116524981A (en) 2022-01-20 2022-01-20 Test system and test method

Country Status (1)

Country Link
CN (1) CN116524981A (en)

Similar Documents

Publication Publication Date Title
TWI805543B (en) Universal serial bus power-delivery device and mobile device and device including the same
JP4550439B2 (en) ECC controller
JP2008217147A (en) Memory system
JP2002351737A (en) Semiconductor storage device
US20050169078A1 (en) Tracking circuit enabling quick/accurate retrieval of data stored in a memory array
JP2020017133A (en) Storage apparatus and control method thereof
JP2019160238A (en) Memory interface and memory system
JP2003187575A (en) Refresh control method for semiconductor memory device and semiconductor memory device having the control method
TWI747688B (en) Semiconductor device
TWI740757B (en) Semiconductor device
US7007181B2 (en) Microcontroller
US11404134B2 (en) Memory device test circuit and memory device test method
JP2012069565A (en) Semiconductor integrated circuit and control method
TWI792864B (en) Testing system and testing method
US20130205157A1 (en) Data transfer operation completion detection circuit and semiconductor memory device provided therewith
US7876641B2 (en) Semiconductor integrated circuit
CN116524981A (en) Test system and test method
KR100327637B1 (en) Burst Mode Semiconductor Memory Device
US20070038795A1 (en) Asynchronous bus interface and processing method thereof
JP2005234935A (en) Information storage device
JP2001243797A (en) Semiconductor device and test method thereof
US6411564B2 (en) Semiconductor memory device and synchronous memory
JP6711590B2 (en) Information processing device for controlling memory
US6194926B1 (en) Operation timing controllable system
JP2004294117A (en) Temperature detection circuit and storage device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination