Data caching system, memory chip automated test equipment, data caching method, and computer program product

By using a serial-to-parallel conversion circuit and a data caching system with a switching matrix to dynamically switch modes, the shortcomings of automated testing equipment for memory chips in terms of high bandwidth and deep expansion are solved. This achieves efficient data caching and accurate capture of trigger events, thereby improving the performance of the memory chip testing equipment.

CN123182743APending Publication Date: 2026-11-27CHENGDU TYTANTEST TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611705106.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-30
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing automated testing equipment for memory chips is insufficient to meet the high-speed caching requirements under high input/output rates, especially in terms of continuous testing of graphics storage functions with a peak bandwidth of 600Gbps.

Method used

A serial-to-parallel conversion circuit is used to convert the serial test pattern data of multiple input pins into a parallel low-speed data stream. The data is then synchronously written through parallel memory under the same write clock control. Combined with a switching matrix to dynamically switch the working mode, high bandwidth and depth expansion are achieved. Trigger events are accurately captured using a global trigger allocation network and address latch register group. The data is accurately reassembled through a read and reassemble circuit.

Benefits of technology

It achieves packet loss-free data writing with a peak bandwidth of 648Gbps under limited clock frequency, supports high-bandwidth parallel writing and low-rate deep expansion, and can accurately capture data before and after the trigger position in a single test case, thus improving the functional performance of memory chip testing equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182743A_ABST
    Figure CN123182743A_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a data caching system, a storage chip automatic testing device, a data caching method and a computer program product. The data caching system comprises a serial-parallel conversion circuit having M output ports, which is used for converting serial test pattern data of a plurality of input pins of a device into M parallel low-speed data streams and outputting the M parallel low-speed data streams, wherein M is an integer greater than 1; and M parallel storage banks, wherein a parallel write control circuit is independently configured at a write port of each storage bank, and the parallel write control circuit is connected to one output of the serial-parallel conversion circuit; and all the storage banks are configured to synchronously perform a write operation on the M parallel low-speed data streams under control of the same write clock. The application can realize high-speed caching required in the automatic testing process of the storage chip, and has the advantage of maximizing the use of the storage system under low-speed testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of memory chip testing, and more particularly to a data caching system, automated testing equipment for memory chips, data caching method, and computer program product. Background Technology

[0002] As the input / output rates of memory chips increase, the functional and performance requirements of automated test equipment (ATE) for memory chips also become more demanding. Existing automated test equipment for memory chips is finding it increasingly difficult to keep up with the high-speed cache requirements of the input / output rates of memory chips. Summary of the Invention

[0003] This application provides a data caching system, an automated testing device for memory chips, a data caching method, and a computer program product to achieve the high-speed caching required in the automated testing process of memory chips.

[0004] In a first aspect, this application provides a data caching system applied to automated testing equipment for memory chips, the data caching system comprising: A serial-to-parallel conversion circuit with M output ports is used to convert serial test pattern data from multiple input pins of a device into M parallel low-speed data streams, where M is an integer greater than 1. M parallel memory banks are configured, each with an independently configured parallel write control circuit at its write port. This parallel write control circuit is connected to one output of the serial-to-parallel conversion circuit. All memory banks are configured to synchronously perform write operations on the M parallel low-speed data streams under the control of the same write clock.

[0005] In at least one possible implementation, the data caching system further includes: A switching matrix, connected between M parallel write control circuits and M memory banks, is used to dynamically switch the M memory banks between parallel write mode and serial write mode according to the device's operating speed.

[0006] In at least one possible implementation, the switching matrix specifically includes: A switching control terminal is used to detect the device's operating speed in real time. When the device is operating at a high speed, the M memory banks are determined to be in parallel write mode. When the device is operating at a low speed, the M memory banks are determined to be in serial write mode. The execution end is switched to connect the write ports of the M storage cells in series to form a series storage cell combination with a total depth of M times the depth of a single storage cell, and to sequentially write the serial test graphic data into each storage cell in the storage cell combination.

[0007] In at least one possible implementation, the switching execution end specifically includes: A bypass switch, connected to the serial-to-parallel conversion circuit, is used to turn the serial-to-parallel conversion circuit on or off according to the control signal from the switching control terminal; The serial write control circuit is used to generate chip select signals for M memory banks and an internal write address shared by all memory banks in serial write mode, and to sequentially poll and write the input single-channel serial data into the memory bank combination by selecting the chip select signal of only one memory bank at a time.

[0008] In at least one possible implementation, the serial write control circuit is multiplexed from one of the M parallel write control circuits; and / or The value of M is chosen such that the rate of the low-speed data stream is equal to the maximum write rate of the storage bank, and the total bandwidth provided by the synchronous writes of the M storage banks is not less than the device's peak input bandwidth; and / or The storage depth of each memory bank is an integer power of 2; and / or A high rate is defined as a single data stream rate exceeding the maximum write rate of a single storage unit; otherwise, it is defined as a low rate.

[0009] In at least one possible implementation, the data caching system further includes: The global trigger allocation network has its input connected to the device trigger signal source and its output connected to the address latch enable terminals of all memory banks. It is used to simultaneously send address latch signals and write signals to all memory banks when the preset trigger conditions are met. The address latch register group contains M registers. The input of each register is connected to the current value output of the write address counter of the corresponding memory bank. It is used to synchronously latch the current write address of all memory banks as the trigger address in the same clock cycle according to the address latch signal.

[0010] In at least one possible implementation, the data caching system further includes: The global write control circuit has its input connected to the global trigger allocation network and the number of subsequent trigger cycles N configured by the user, and its output connected to the write enable terminal of all memory banks. It is used to continue to control all memory banks to synchronously write data for N cycles after the preset trigger condition is met, where N is an integer greater than 1.

[0011] In at least one possible implementation, the data caching system further includes: The read and reassemble circuit is used to extract data slices before and after the trigger position from the M memory banks according to the latched trigger address and the number of preceding and following cycles configured by the user, and reassemble them into a continuous data word for output.

[0012] In at least one possible implementation, the read and reassemble circuit is configured as follows: Based on the trigger addresses of all latched memory banks and the number of preceding and following cycles N configured by the user, the read address range for each memory bank is calculated independently: from (trigger address – N) modulo memory depth to (trigger address + N) modulo memory depth; Data slices within the read address range are read in parallel from the M storage banks; According to the time sequence, the data of the t-th period is extracted from the (t mod M)-th memory, and the extracted M data slices are spliced ​​together to form a complete original bit-width data word for output.

[0013] Secondly, this application provides an automated testing device for memory chips, including a data caching system as described in the first aspect.

[0014] Thirdly, this application provides a data caching method applied to an automated testing device for memory chips having a data buffering system as described in the first aspect, comprising: The high-speed serial test graphic data from the multiple input pins of the device is converted into M parallel low-speed data streams for output through a serial-to-parallel conversion circuit, where M is an integer greater than 1. Under the control of the same write clock, the M parallel low-speed data streams are synchronously written to M parallel memory banks through a parallel write control circuit, wherein each memory bank is independently configured with a parallel write control circuit.

[0015] In at least one possible implementation, the data caching method further includes: By switching the matrix, the M memory banks are dynamically switched between parallel and serial operating modes according to the device's operating speed.

[0016] In at least one possible implementation, the switching via a switching matrix specifically includes: The device operates at a high speed, and when the device operates at a high speed, the M memory cells are determined to be in parallel operation mode; when the device operates at a low speed, the M memory cells are determined to be in series operation mode. In the serial operation mode, the write ports of the M memory banks are connected in series to form a serial memory bank combination with a total depth of M times the depth of a single memory bank, and the serial test graphic data is written to this memory bank combination in sequence.

[0017] In at least one possible implementation, the step of concatenating the write ports of M memory banks and sequentially writing M data streams specifically includes: The serial-to-parallel conversion circuit is turned on or off according to the switching control signal; when the serial-to-parallel conversion circuit is turned off, the input data bypasses the serial-to-parallel conversion circuit and is output directly in single-channel serial form. In serial mode, chip select signals for M memory banks and an internal write address shared by all memory banks are generated. By selecting the chip select signal of only one memory bank at a time, the input single-channel serial data is sequentially polled and written into the memory bank combination.

[0018] In at least one possible implementation, the value of M is such that the rate of the low-speed data stream is equal to the maximum write rate of the memory bank, and the total bandwidth provided by the synchronous write of the M memory banks is not less than the peak input bandwidth of the device. A data stream rate higher than the maximum write rate of a single memory bank is considered a high rate; otherwise, it is considered a low rate.

[0019] In at least one possible implementation, the data caching method further includes: Through a global trigger allocation network, when the preset trigger conditions are met, address latch signals and write signals are sent to all memory banks simultaneously. By using the address latch register group, the current write address of all memory banks is synchronously latched as the trigger address within the same clock cycle according to the address latch signal.

[0020] In at least one possible implementation, the data caching method further includes: After the preset triggering conditions are met, the global write control circuit continues to control all memory banks to synchronously write data for N cycles, where N is an integer greater than 1.

[0021] In at least one possible implementation, the data caching method further includes: Based on the latched trigger address and the number of preceding and following cycles configured by the user, data slices before and after the trigger position are extracted from the M memory banks and reassembled into continuous data words for output.

[0022] In at least one possible implementation, the extraction and reassembly of data slices specifically includes: Based on the trigger addresses of all latched memory banks and the number of preceding and following cycles N configured by the user, the read address range for each memory bank is calculated independently: from (trigger address – N) modulo memory depth to (trigger address + N) modulo memory depth; Data slices within the read address range are read in parallel from the M storage banks; According to the time sequence, the data of the t-th period is extracted from the (t mod M)-th memory, and the extracted M data slices are spliced ​​together to form a complete original bit-width data word for output.

[0023] Fourthly, this application provides a computer program product comprising: computer program code, which, when executed on a computer, causes the computer to perform the steps in the data caching method as described in the third aspect.

[0024] The beneficial effects of this application are: This application converts the serial test graphic data from multiple input pins of the device into M parallel low-speed data streams by setting up a serial-to-parallel conversion circuit; and by setting up M parallel memory banks, each memory bank's write port is independently configured with a parallel write control circuit, and the parallel write control circuit is connected to one output of the serial-to-parallel conversion circuit. All memory banks are configured to synchronously perform write operations on the M parallel low-speed data streams under the control of the same write clock, thereby realizing high-speed caching in the memory chip testing process. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 This is a schematic diagram of the structure of the first implementation of the data caching system according to an embodiment of this application.

[0027] Figure 2 This is a schematic diagram of the structure of a second implementation of the data caching system according to an embodiment of this application.

[0028] Figure 3 This is a schematic diagram of the switching matrix structure in the second implementation of the data caching system according to an embodiment of this application.

[0029] Figure 4 This is a schematic diagram of the third implementation of the data caching system according to an embodiment of this application.

[0030] Figure 5 This is a schematic diagram of the circuit structure of a first implementation example of the data caching system according to an embodiment of this application.

[0031] Figure 6 This is a schematic diagram of the circuit structure of a second implementation example of the data caching system according to an embodiment of this application.

[0032] Figure 7 This is a schematic diagram of the data structure of a third implementation example of the data caching system in this application.

[0033] Figure 8 This is a flowchart illustrating the first implementation of the data caching method according to an embodiment of this application.

[0034] Figure 9 This is a flowchart illustrating a second implementation of the data caching method according to an embodiment of this application.

[0035] Figure 10 This is a schematic diagram of the data caching method in an embodiment of this application that triggers data processing.

[0036] Explanation of reference numerals in the attached figures: 1. Serial-to-parallel conversion circuit; 2. Memory module; 20. Parallel write control circuit; 3. Switching matrix; 31. Switching control terminal; 32. Switching execution terminal; 321. Bypass switch; 322. Serial write control circuit. 4. Global trigger allocation network; 5. Address latch register group; 6. Global write control circuit; 7. Read and reassemble circuit. Detailed Implementation

[0037] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be described in detail below with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Unless otherwise specified, the embodiments and features in the embodiments of this application can be combined with each other. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0038] It should be noted that: throughout the accompanying drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions; in the description of this application, the terms "center," "longitudinal," "lateral," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the scope of protection of this application; in the description of this application, "first," "second," etc., are only used to distinguish each other, and do not indicate their degree of importance or order, etc.

[0039] In the description of this application, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linkage" should be interpreted broadly. For example, they can refer to fixed connections, movable connections, or detachable connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; they can refer to the internal communication between two components, etc. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0040] The main function of automated test equipment (ATE) for memory chips is to allow users to run test cases, write data to the design-under-test (DUT) chip, and then read back the data for analysis. As the I / O rate of memory chips increases, the functional performance requirements of memory chip ATEs also increase. For example, the single I / O rate of high-speed ATEs can reach 18Gbps or even higher.

[0041] Existing technologies can only solve data caching in low- and medium-speed ATE systems, and cannot meet the functional requirement of continuous test pattern storage with a peak bandwidth of 600Gbps.

[0042] Therefore, embodiments of this application provide a data caching system applied to automated testing equipment for memory chips, aiming to achieve high-speed caching during the memory chip testing process. Please refer to... Figure 1 The data caching system includes: The serial-to-parallel conversion circuit 1 has M output ports for converting serial test pattern data from multiple input pins of the device into M parallel low-speed data streams, where M is an integer greater than 1. M parallel memory banks 2 (RAMs) are configured, each memory bank 2 has an independently configured parallel write control circuit 20 at its write port, and the parallel write control circuit 20 is connected to one output of the serial-to-parallel conversion circuit 1. All memory banks 2 are configured to synchronously perform write operations on the M parallel low-speed data streams under the control of the same write clock.

[0043] When dealing with peak bandwidths of 600Gbps or higher, existing ATE technology cannot handle such high write bandwidth with a single RAM; if simple multi-RAM parallelism is adopted, complex arbitration and routing logic is required, which makes it difficult to guarantee no packet loss and causes waste at low speeds.

[0044] In this embodiment, a single high-speed data stream is reduced to M low-speed data streams (e.g., M=32, 18Gbps→562.5Mbps) through a 1:M serial-to-parallel conversion, so that the data rate of each stream matches the write rate of the RAM; at the same time, M RAMs are written synchronously, and the total bandwidth reaches M times the bandwidth of a single RAM. Thus, the peak bandwidth requirement of 648Gbps is met without increasing the RAM clock frequency, and there are no data conflicts, ensuring no packet loss. This achieves continuous data writing with ultra-high bandwidth under limited clock frequency.

[0045] The serial-to-parallel conversion circuit 1 can be implemented using a multi-stage shift register plus a parallel latch. The data of each pin is written to M registers sequentially under the control of M clocks with different phases, and then output in parallel.

[0046] The parallel write control circuit 20 may include an address counter, write enable logic, and necessary timing alignment circuitry. All parallel write control circuits 20 share the same write clock, which can be obtained by dividing the main clock of the ATE, and the frequency is equal to the data slice rate after serial-to-parallel conversion.

[0047] The storage bank 2 in this embodiment can be an on-chip SRAM, and its depth can be set to an integer power of 2 so that it will overflow naturally when the address wraps around.

[0048] In at least one possible implementation, please refer to Figure 2 The data caching system in this application embodiment further includes: The switching matrix 3 is connected between the M parallel write control circuits 20 and the M memory banks 2, and is used to dynamically switch the M memory banks 2 between parallel write mode and serial write mode according to the device operating speed.

[0049] During testing, it is often necessary to simultaneously meet two extreme demands: high-bandwidth parallel writing (high-speed mode) and low-speed depth expansion (low-speed mode). Designing two separate storage banks would be too costly; if a fixed parallel mode is used, a large amount of storage bandwidth would be idle in the low-speed mode, and the storage depth would be insufficient. The embodiments of this application solve the problem of how to dynamically adapt the same physical storage bank 2 to different speed modes.

[0050] In this embodiment, by setting a switching matrix 3, a group of memory banks 2 can operate in two modes: at high speed, all memory banks 2 are written independently and in parallel, providing extremely high bandwidth; at low speed, this group of memory banks 2 is connected in series to form a large-capacity buffer with extended depth, significantly increasing the pre-trigger memory depth. The two modes share the same group of memory banks 2, thereby maximizing hardware utilization and avoiding the increase in area and cost caused by configuring independent memory banks for different modes.

[0051] Please refer to Figure 3In at least one possible implementation, the switching matrix 3 specifically includes: The switching control terminal 31 is used to detect the device's operating speed in real time. When the device is operating at a high speed, it is determined that the M storage banks 2 are in parallel writing mode. When the device is operating at a low speed, it is determined that the M storage banks 2 are in serial writing mode. The execution terminal 32 is used to connect the write ports of the M storage banks 2 in series into a series storage bank 2 combination with a total depth of M times the depth of a single storage bank 2, and to write the serial test graphic data into each storage bank 2 in the storage bank 2 combination in sequence.

[0052] In this embodiment, a clear rate determination logic is used, such as comparing the single-channel data rate after serial-to-parallel conversion with the maximum write rate of the memory bank, to automatically switch modes without user intervention. In serial mode, the M memory banks 2 are consecutively addressed in the address space, and data is written sequentially, which is equivalent to a large-capacity circular buffer with a depth of M×D, thereby significantly improving storage capacity.

[0053] The switching control terminal 31 in this embodiment may include a comparator, one end of which is input to the rate of a single data stream after serial-to-parallel conversion (which can be measured by a counter), and the other end is input to the maximum write rate of the memory bank (a known constant). When the single-channel rate is greater than or equal to the maximum write rate of the memory bank, it is determined to be in high-speed mode, and a parallel mode control signal is output; otherwise, it is determined to be in low-speed mode, and a serial mode control signal is output. After receiving the serial mode signal, the switching execution terminal 32 reconfigures the chip select logic of the M memory banks 2: a global address counter (bit width log2(M×D)) is used, the high log2(M) bits of which are decoded to generate chip select signals, and the low log2(D) bits are used as the internal address bus for all memory banks 2.

[0054] The core of switching matrix 3 can be implemented using a set of 2:1 multiplexers and a mode control logic. The mode control logic generates a mode selection signal by detecting the current data rate configured by the ATE, for example, by reading the rate register or comparing the input clock frequency. In high-speed mode, the multiplexer directly connects the output of each write control circuit to the corresponding memory bank 2; in low-speed mode, the multiplexer reconstructs the data, address, and enable signals of the write control circuit into a serial bus structure: only one parallel write control circuit 20 is used, for example, the parallel write control circuit 20 corresponding to memory bank 2, as the serial write control circuit. The resulting write address is decomposed into a high-order chip select and a low-order internal address. Data is broadcast to all memory banks, while the chip select signal ensures that only one memory bank is selected for writing per cycle. The switching process is executed at the test case boundary to avoid data corruption.

[0055] In at least one possible implementation, please continue to refer to Figure 3Switching execution end 32 specifically includes: Bypass switch 321 is connected to the serial-to-parallel conversion circuit 1 and is used to turn the serial-to-parallel conversion circuit on or off according to the control signal of the switching control terminal 31. The serial write control circuit 322 is used to generate chip select signals for M memory banks 2 and an internal write address shared by all memory banks 2 in serial write mode, and to sequentially poll and write the input single-channel serial data into the combination of memory banks 2 by selecting only one memory bank 2 chip select signal at the same time.

[0056] In low-speed mode, if the peak bandwidth of the data stream is less than the write bandwidth of a single memory bank 2, no data conversion processing is required. In this embodiment, by setting a bypass switch 321, the serial-to-parallel conversion circuit 1 is turned off in low-speed mode, allowing the input data to directly enter the subsequent stage in its original single-channel serial form; and a serial write control circuit 322 is set to uniformly manage chip select and address, making the control logic of low-speed mode clear and the hardware overhead small.

[0057] Bypass switch 321 can be configured to add a data selector and a gated clock to the input data path of serial-to-parallel conversion circuit 1. In high-speed mode, the data selector selects the output of the serial-to-parallel conversion logic; in low-speed mode, the data selector selects the direct path, while the gated clock turns off the shift register clock of the serial-to-parallel conversion circuit, putting it into sleep mode.

[0058] The serial write control circuit 322 can be multiplexed from the parallel write control circuit 20 originally corresponding to memory bank 2, by expanding its write address counter to a global counter (increasing the bit width by log2(M)) and adding an M-to-1 decoder to generate the chip select. Finally, the serial write control circuit outputs the chip select signal (only one is valid at a time), the internal address (shared by all memory banks 2), and broadcast data to complete the sequential polling write.

[0059] In at least one possible implementation, the value of M is such that the rate of the low-speed data stream is equal to the maximum write rate of the memory bank 2, and the total bandwidth provided by the synchronous writes of the M memory banks 2 is not less than the device's peak input bandwidth; and / or A high rate is defined as a single data stream rate exceeding the maximum write rate of the single storage unit 2; otherwise, a low rate is defined as a single data stream rate.

[0060] In at least one possible implementation, the data caching system further includes: The global trigger allocation network 4 has its input end connected to the device trigger signal source and its output end connected to the address latch enable terminals of all memory banks 2 respectively. It is used to send address latch signals and write signals to all memory banks simultaneously when the preset trigger conditions are met. Address latch register group 5 contains M registers. The input of each register is connected to the current value output of the write address counter of the corresponding memory bank. It is used to synchronously latch the current write address of all memory banks as the trigger address in the same clock cycle according to the address latch signal.

[0061] In the existing technology, there are many ways to implement the function of triggering at any position of ATE. However, after the triggering event occurs, multiple test cases need to be run and cached data needs to be retrieved multiple times to display the continuous pattern of N cycles (arbitrarily configurable) before / after the triggering position. Only then can the continuous test graph (pattern) of N cycles (arbitrarily configurable) before / after the triggering position be seen at the same time.

[0062] In view of this, embodiments of this application also provide a caching system that can see the continuous pattern of N cycles (arbitrarily configurable) before and after the trigger position by running a test case only once.

[0063] In the parallel write architecture of M memory banks 2 in this embodiment, when a trigger event occurs, the write address of each memory bank 2 represents the position of the data slice corresponding to that memory bank 2 at the time of the trigger. In order to accurately locate the data in all memory banks 2 before and after the trigger, it is necessary to capture all M addresses simultaneously.

[0064] In this embodiment of the application, by setting up a global trigger allocation network 4 and an address latch register group 5, it is ensured that the write addresses of all memory banks 2 are latched on the same clock edge, thereby completely recording the distribution of the entire data stream in the M memory banks 2 (RAM) at the trigger moment, providing an accurate address reference for subsequent reading and reassembly of data before and after the trigger.

[0065] In at least one possible implementation, the data caching system further includes: The global write control circuit 6 has its input connected to the global trigger allocation network 4 and the user-configured number of subsequent trigger cycles N, and its output connected to the write enable terminal of all memory banks 2. It is used to continue to control all memory banks 2 to synchronously write data for N cycles after the preset trigger condition is met, where N is an integer greater than 1.

[0066] After a trigger event occurs, N cycles of data need to be written to fully capture the waveform following the trigger. If writing stops after simply latching the address, the subsequently triggered data will be lost. This application's embodiments address how to precisely control the number of write cycles following a trigger.

[0067] In this embodiment, the user can flexibly set the value of N, such as 1-1024, through a post-trigger counter. The system automatically maintains the write state for N cycles after triggering, and then stops writing. This ensures that the storage bank 2 contains both historical data before triggering (the part that has been overwritten and retained) and new data after triggering.

[0068] In at least one possible implementation, the data caching system further includes: The read and reassemble circuit 7 is used to extract data slices before and after the trigger position from the M memory banks according to the latched trigger address and the number of preceding and following cycles configured by the user, and reassemble them into continuous data words for output.

[0069] In the M parallel memory bank 2 architecture of this application embodiment, after the trigger event ends, the data is scattered and stored in different address ranges of the M RAMs. It is necessary to extract complete and continuous waveform data before and after the trigger position from these scattered data slices.

[0070] In this embodiment, by setting up the read and reassemble circuit 7, the ability to extract and reassemble data before and after triggering from multiple memory banks is achieved. The complete waveform can be read directly without performing multiple tests or complex post-processing. This function works in conjunction with the M parallel memory bank architecture to form a complete high-bandwidth pre-trigger memory system.

[0071] In at least one possible implementation, the read and reassemble circuit is configured as follows: Based on the trigger addresses of all latched memory banks and the number of preceding and following cycles N configured by the user, the read address range for each memory bank is calculated independently: from (trigger address – N) modulo memory depth to (trigger address + N) modulo memory depth; Data slices within the read address range are read in parallel from the M storage banks; According to the time sequence, the data of the t-th period is extracted from the (t mod M)-th memory, and the extracted M data slices are spliced ​​together to form a complete original bit-width data word for output.

[0072] In this embodiment, the address wraparound problem is correctly solved by modulo address calculation, ensuring that data near the trigger point can be read correctly regardless of whether it crosses a boundary. A deterministic mapping between the period number and memory bank 2 is established using the t mod M rule, making the reassembly logic simple, fast, and unambiguous. Reassembly is performed all memory banks in parallel and then all at once, avoiding the additional latency caused by multiple reads. Here, D is the depth of a single memory bank, M is the number of memory banks, t is the period number, and modulo storage depth (i.e., modulo operation on storage depth D) is used to handle address wraparound.

[0073] Based on the same concept as the above embodiments, this application also provides an automated testing device for memory chips, including a data caching system described in any of the foregoing embodiments.

[0074] The embodiments of this application integrate the data caching system described in any possible implementation of the foregoing embodiments. Therefore, the technical effects achieved therein can be extended to the memory chip automated testing equipment of the embodiments of this application, and will not be described in detail hereafter.

[0075] Based on the same concept as the above embodiments, this application also provides a data caching method applied to automated testing equipment for memory chips. Please refer to [link / reference]. Figure 8 The data caching method in this application embodiment includes: In step S100, the high-speed serial test pattern data of the device's multiple input pins is converted into M parallel low-speed data streams by the serial-to-parallel conversion circuit 1, where M is an integer greater than 1. In step S200, under the control of the same write clock, the M parallel low-speed data streams are synchronously written to M parallel storage banks 2 through the parallel write control circuit 20, wherein each storage bank is independently configured with a parallel write control circuit.

[0076] In at least one possible implementation, please refer to Figure 9 The data caching method further includes: In step S300, the M memory banks 2 are dynamically switched between parallel working mode and serial working mode by switching matrix 3 according to the device working speed.

[0077] In at least one possible implementation, the switching via switching matrix 3 specifically includes: The detection device operates at a high speed. When the device operates at a high speed, the M memory banks 2 are determined to be in parallel operation mode. When the device operates at a low speed, the M memory banks 2 are determined to be in series operation mode. In step S400, in the serial working mode, the write ports of the M memory banks 2 are connected in series to form a series memory bank 2 combination with a total depth of M times the depth of a single memory bank 2, and a series test graphic data is sequentially written into the memory bank 2 combination.

[0078] In at least one possible implementation, the step of concatenating the write ports of the M memory banks 2 and sequentially writing the data stream specifically includes: According to the switching control signal, the serial-to-parallel conversion circuit 1 is turned on or off; when the serial-to-parallel conversion circuit 1 is turned off, the input data bypasses the serial-to-parallel conversion circuit 1 and is directly output in single-channel serial form. In serial mode, chip select signals for M memory banks 2 and an internal write address shared by all memory banks 2 are generated. By selecting the chip select signal of only one memory bank 2 at a time, the input single-channel serial data is sequentially polled and written into the combination of memory banks 2.

[0079] In at least one possible implementation, the serial write control circuit 322 for generating the chip select signal and the internal write address is multiplexed from one of the write control circuits configured in each of the M memory banks 2. The value of M is such that the rate of the low-speed data stream is equal to the maximum write rate of the storage bank 2, and the total bandwidth provided by the synchronous write of the M storage banks 2 is not less than the peak input bandwidth of the device. When the rate of a single data stream is higher than the maximum write rate of the single memory bank 2, it is determined to be a high rate; otherwise, it is a low rate.

[0080] In at least one possible implementation, please refer to Figure 10 The data caching method further includes: In step S500, when the preset triggering condition is met, the global trigger allocation network simultaneously sends address latch signals and write signals to all memory banks 2 through the global trigger allocation network. In step S600, the current write address of all memory banks 2 is synchronously latched as the trigger address within the same clock cycle through the address latch register group 5 according to the address latch signal.

[0081] In at least one possible implementation, the data caching method further includes: In step S700, after the preset triggering condition is met, the global write control circuit 6 continues to control all memory banks 2 to synchronously write data for N cycles, where N is an integer greater than 1.

[0082] In at least one possible implementation, the data caching method further includes: In step S800, based on the latched trigger address and the number of preceding and following cycles configured by the user, data slices before and after the trigger position are extracted from the M memory banks 2 and reassembled into continuous data words for output.

[0083] In at least one possible implementation, the extraction and reassembly of data slices specifically includes: Based on the trigger addresses of all latched memory banks 2 and the number of preceding and following cycles N configured by the user, the read address range for each memory bank 2 is calculated independently: from (trigger address – N) modulo memory depth to (trigger address + N) modulo memory depth; Data slices within the read address range are read in parallel from the M storage banks 2; According to the time sequence, the data of the t-th period is extracted from the (t mod M)-th memory, and the extracted M data slices are spliced ​​together to form a complete original bit-width data word for output.

[0084] The data caching method in this application is a method embodiment that corresponds one-to-one with the aforementioned data caching system. Therefore, the technical effects achieved by any possible implementation method in the data caching system of any of the aforementioned embodiments can be extended to the data caching method in this application, and will not be described in detail hereafter.

[0085] The following is for reference. Figures 4-6 A specific example of an embodiment of this application is described in detail.

[0086] Currently, the smallest test functional unit (ASIC) of high-speed ATE can have up to 36 input / output pins, each with a data rate of 18Gbps or even higher. In extreme cases, when designing test cases, users may need to read back continuous test patterns from the pin inputs at the highest speed, resulting in an input data bandwidth of 18Gbps × 36 = 648Gbps. Existing general-purpose memory controllers cannot achieve instantaneous bandwidth exceeding 600Gbps.

[0087] The first objective of this example is to implement the high-bandwidth caching function required by the high-speed storage chip ATE, supporting caching in all modes from low speed to high speed, and supporting a peak bandwidth of up to 600Gbps without packet loss.

[0088] The second objective of this example is to enable the acquisition of continuous patterns for N cycles (arbitrarily configurable) before and after the trigger position by executing the test case only once, and to support a maximum peak storage bandwidth of 600Gbps.

[0089] refer to Figure 5 This example mainly includes: The serial-to-parallel conversion circuit 1 divides the data of each pin's single cycle into 32 parts, completing a 1-to-32 serial-to-parallel conversion. This reduces the rate on a single pin by a factor of 32, to approximately 18Gbps / 32 ≈ 562.5Mbps. The first 1 / 32 data segment from each of the 36 pins is then combined into a data packet and written into memory 2 (RAM1~32). The memory bank is composed of two RAM modules (RAM1-32). Each RAM write port is designed with a bit width of 36 bits, using a 562.5MHz clock as the write clock, which can complete the writing of 1 / 32 of the data from each of the 36 pins. Similarly, by combining the second 1 / 32 data from each of the 36 pins into a data packet, and so on, 32 independent RAM channels can be designed to complete the writing of all the data from each of the 36 pins.

[0090] The capacity design of RAM1-32 determines the duration of peak data input bandwidth. In this example, the total input bandwidth reaches 18Gbps×36=648Gbps.

[0091] High / low speed switching matrix design: Because high-speed ATEs also need to be compatible with the input data bandwidth of medium and low-speed pins, this example is not designed solely for high-speed caching, but can cache both high-bandwidth data inputs and medium and low-speed data inputs.

[0092] Please refer to Figure 6 When inputting data at low to medium speeds via the Pin, it is not necessary to slice the data into 32 equal parts. For example, when the Pin rate is below 562.5 Mbps, no slicing is performed. After the data enters the switching matrix, a RAM_WR1 module is used as the control module for the subsequent RAM1-32. The high 5 bits of the RAM's write address are used as the chip select address for the subsequent 32 RAMs. The data port of RAM_WR1 is simultaneously muxed to the write data ports of the 32 RAMs. In low-speed mode, the data is sequentially polled and written to the 32 RAMs. In contrast, in high-speed mode, one RAM_WR module is directly connected to one RAM module.

[0093] The advantage of this example is that RAM2-32 is not wasted in low-speed mode. The last 31 RAMs are used in series, which can ensure that there is no packet loss in low-speed data input and maximize the use of expensive SRAM resources in ASIC. The storage time in low-speed mode is also 32 times faster than in high-speed mode.

[0094] Caching design after triggering at any location: In high-speed ATE (Automatic Test Environment), there is a need to implement a scenario where the user sets a trigger condition at any position and reads the data pattern of N cycles (parameters adjustable) before / after the trigger position. After the trigger condition is met, it is necessary to store both the N cycles after the trigger position and the N cycles before the trigger position. In existing technologies, this typically involves setting the trigger position, caching the consecutive patterns of the next N cycles, performing the first data read, then running the second test case, moving the trigger position, caching the second consecutive patterns of the next N cycles, performing the second data read, and finally merging the two sets of data into a single waveform displayed on the user interface, thus showing the data pattern of N cycles (parameters adjustable) before / after the trigger position.

[0095] This example demonstrates how to store data patterns (parameters adjustable) for N cycles before / after the trigger location after running a test case once, as detailed below: After the user sets the trigger position, the parameter value is cached for N cycles. When the test case is run, the operation of RAM_WR_EN=1 begins, repeatedly writing to RAM1. Since the RAM write address range is 0x000-0x3FF, when the range is exceeded, the address is accumulated and truncated by 10 bits. At this point, on the 1025th write, the RAM write address becomes 0, and the accumulation and writing continue sequentially, performing overwrite operations. When the trigger signal is valid (trigger=1), the RAM address at this time is recorded as ram_trig_addr (range 0x000-0x3FF). Then, the register N cycles after the user-set trigger position is read, and data continues to be written for the next N cycles. Please refer to [reference needed]. Figure 7 The RAM stores data for 1024-N cycles before the trigger=1 position, and also stores data for N cycles after the user-set trigger position. Figure 7 In this code, `Trigger=1` indicates the write address at the moment the trigger condition is met; `RD_RAM_ADDR` indicates the starting address for the software to read data; historical data segment A represents the data for N cycles after the trigger position; and historical data segment B represents the historical data for 1024-N cycles before the trigger position. The software reads from the address pointed to by `RD_RAM_ADDR` to obtain the continuous data pattern for N cycles before / after the trigger position. This design can cache a total of [number] cycles of a single RAM, as mentioned in this example where RAM1 is designed to be 1KB. Through this overwrite method, it is possible to store the data pattern for N cycles (parameters are configurable) before / after the trigger position after running a single test case.

[0096] like Figure 7 As shown, after the trigger signal is valid (trigger=1), N cycles of data set by the user are stored. Therefore, within a 1k-depth RAM, the N addresses following trigger=1 contain N cycles of data after the trigger position. Starting from the (N+1)th address, historical data before the trigger=1 condition is reached is stored. The software reads data from these (N+1)th addresses to obtain the data pattern for N cycles (parameters are configurable) before / after the trigger position. This completes the execution of a test case, allowing the view of both historical data and the N cycles of data after the trigger condition is met.

[0097] This application also provides a computer program product, which includes computer program code that, when run on a computer, causes the computer to perform the steps of the data caching method in any of the possible implementations of the foregoing embodiments.

[0098] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0099] Note that the above are merely preferred embodiments and the technical principles employed in this application. Those skilled in the art will understand that this application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of this application, the scope of which is determined by the scope of the appended claims.

Claims

1. A data caching system, applied to automated testing equipment for memory chips, characterized in that, The data caching system includes: A serial-to-parallel conversion circuit with M output ports is used to convert serial test pattern data from multiple input pins of a device into M parallel low-speed data streams, where M is an integer greater than 1. M parallel memory banks are configured, each with an independently configured parallel write control circuit at its write port. This parallel write control circuit is connected to one output of the serial-to-parallel conversion circuit. All memory banks are configured to synchronously perform write operations on the M parallel low-speed data streams under the control of the same write clock.

2. The data caching system according to claim 1, characterized in that, The data caching system also includes: A switching matrix, connected between M parallel write control circuits and M memory banks, is used to dynamically switch the M memory banks between parallel write mode and serial write mode according to the device's operating speed.

3. The data caching system according to claim 2, characterized in that, The switching matrix specifically includes: A switching control terminal is used to detect the device's operating speed in real time. When the device is operating at a high speed, the M memory banks are determined to be in parallel write mode. When the device is operating at a low speed, the M memory banks are determined to be in serial write mode. The execution end is switched to connect the write ports of the M storage cells in series to form a series storage cell combination with a total depth of M times the depth of a single storage cell, and to sequentially write the serial test graphic data into each storage cell in the storage cell combination.

4. The data caching system according to claim 3, characterized in that, The switching execution end specifically includes: A bypass switch, connected to the serial-to-parallel conversion circuit, is used to turn the serial-to-parallel conversion circuit on or off according to the control signal from the switching control terminal; The serial write control circuit is used to generate chip select signals for M memory banks and an internal write address shared by all memory banks in serial write mode, and to sequentially poll and write the input single-channel serial data into the memory bank combination by selecting the chip select signal of only one memory bank at a time.

5. The data caching system according to claim 4, characterized in that, The serial write control circuit can be multiplexed from one of the M parallel write control circuits; and / or The value of M is such that the rate of the low-speed data stream is equal to the maximum write rate of the storage bank, and the total bandwidth provided by the synchronous write of the M storage banks is not less than the peak input bandwidth of the device. and / or The storage depth of each memory bank is an integer power of 2; and / or A high rate is defined as a single data stream rate exceeding the maximum write rate of a single storage unit; otherwise, it is defined as a low rate.

6. The data caching system according to any one of claims 1-5, characterized in that, Also includes: The global trigger allocation network has its input connected to the device trigger signal source and its output connected to the address latch enable terminals of all memory banks. It is used to simultaneously send address latch signals and write signals to all memory banks when the preset trigger conditions are met. The address latch register group contains M registers. The input of each register is connected to the current value output of the write address counter of the corresponding memory bank. It is used to synchronously latch the current write address of all memory banks as the trigger address in the same clock cycle according to the address latch signal.

7. The data caching system according to claim 6, characterized in that, Also includes: A global write control circuit, whose input is connected to the global trigger allocation network and the user-configured number of subsequent trigger cycles N, and whose output is connected to the write enable terminal of all memory banks, is used to continue controlling all memory banks to synchronously write data for N cycles after a preset trigger condition is met, where N is an integer greater than 1; and / or The read and reassemble circuit is used to extract data slices before and after the trigger position from the M memory banks according to the latched trigger address and the number of preceding and following cycles configured by the user, and reassemble them into a continuous data word for output.

8. An automated testing device for memory chips, characterized in that, It includes a data caching system as described in any one of claims 1 to 7.

9. A data caching method, applied to an automated testing device for memory chips having a data caching system as described in claim 1, characterized in that, include: The high-speed serial test graphic data from the multiple input pins of the device is converted into M parallel low-speed data streams for output through a serial-to-parallel conversion circuit, where M is an integer greater than 1. Under the control of the same write clock, the M parallel low-speed data streams are synchronously written to M parallel memory banks through a parallel write control circuit, wherein each memory bank is independently configured with a parallel write control circuit.

10. The data caching method according to claim 9, characterized in that, Also includes: By switching the matrix, the M memory banks are dynamically switched between parallel and serial operating modes according to the device's operating speed.

11. The data caching method according to claim 10, characterized in that, The switching via a switching matrix specifically includes: The device operates at a high speed, and when the device operates at a high speed, the M memory cells are determined to be in parallel operation mode; when the device operates at a low speed, the M memory cells are determined to be in series operation mode. In the serial operation mode, the write ports of the M memory banks are connected in series to form a serial memory bank combination with a total depth of M times the depth of a single memory bank, and the serial test graphic data is written to this memory bank combination in sequence.

12. The data caching method according to claim 11, characterized in that, The step of sequentially writing the serial test graphic data into the storage group specifically includes: The serial-to-parallel conversion circuit is turned on or off according to the switching control signal; when the serial-to-parallel conversion circuit is turned off, the input data bypasses the serial-to-parallel conversion circuit and is output directly in single-channel serial form. In serial mode, chip select signals for M memory banks and an internal write address shared by all memory banks are generated. By selecting the chip select signal of only one memory bank at a time, the input single-channel serial data is sequentially polled and written into the memory bank combination.

13. The data caching method according to claim 12, characterized in that, The value of M is such that the rate of the low-speed data stream is equal to the maximum write rate of the storage bank, and the total bandwidth provided by the synchronous write of the M storage banks is not less than the peak input bandwidth of the device. A data stream rate higher than the maximum write rate of a single memory bank is considered a high rate; otherwise, it is considered a low rate.

14. The data caching method according to any one of claims 9-13, characterized in that, Also includes: Through a global trigger allocation network, when the preset trigger conditions are met, address latch signals and write signals are sent to all memory banks simultaneously. By using the address latch register group, the current write address of all memory banks is synchronously latched as the trigger address within the same clock cycle according to the address latch signal.

15. The data caching method according to claim 14, characterized in that, Also includes: After the preset trigger condition is met, the global write control circuit continues to control all memory banks to synchronously write data for N cycles, where N is an integer greater than 1; and / or Based on the latched trigger address and the number of preceding and following cycles configured by the user, data slices before and after the trigger position are extracted from the M memory banks and reassembled into continuous data words for output.

16. A computer program product, characterized in that, The computer program product includes: computer program code, which, when run on a computer, causes the computer to perform the steps of the data caching method as described in any one of claims 9-15.