WO2020083367A1 - Chip testing method, device, electronic apparatus and computer readable medium - Google Patents

Chip testing method, device, electronic apparatus and computer readable medium Download PDF

Info

Publication number
WO2020083367A1
WO2020083367A1 PCT/CN2019/113246 CN2019113246W WO2020083367A1 WO 2020083367 A1 WO2020083367 A1 WO 2020083367A1 CN 2019113246 W CN2019113246 W CN 2019113246W WO 2020083367 A1 WO2020083367 A1 WO 2020083367A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
chip
test template
template
product
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.)
Ceased
Application number
PCT/CN2019/113246
Other languages
French (fr)
Inventor
Ruei-Yuan Guo
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.)
Changxin Memory Technologies Inc
Original Assignee
Changxin Memory Technologies Inc
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 Changxin Memory Technologies Inc filed Critical Changxin Memory Technologies Inc
Publication of WO2020083367A1 publication Critical patent/WO2020083367A1/en
Priority to US17/176,536 priority Critical patent/US11145386B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
    • G11C29/56004Pattern generation
    • 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/10Test algorithms, e.g. memory scan [MScan] algorithms; Test patterns, e.g. checkerboard patterns 
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
    • G11C29/56012Timing aspects, clock generation, synchronisation

Definitions

  • the present disclosure relates generally to the technical field of chip testing and, more specifically, to a chip testing method, apparatus, electronic apparatus, and computer readable medium.
  • the majority of work need to be manually done by a tester.
  • the tester first needs to confirm a corresponding model and speed for a memory product to be tested, and then a test scheme suitable for the memory product needs to be selected. After the test scheme is selected, the tester also needs to manually write the test codes. Codes need to be written for each test instruction in a test sequence, and then the memory product can be tested after the codes have been completed.
  • the present disclosure provides a chip testing method, device, electronic apparatus, and computer readable medium, which can automatically generate a big-data test code for complex memory and improve chip testing efficiency.
  • the method may include: determining a language rule of a chip to be tested; determining product and timing specifications of the chip to be tested; selecting a test template from a test template library according to the language rule and the product and timing specifications; generating a test code according to the product and timing specifications and the test template; and automatically testing the chip to be tested by using the test code.
  • the method may further include: generating the test template library based on a plurality of test templates.
  • the plurality of test templates may include: a fast read operation test template, a fast write operation test template, a fast read/write operation test template, a self-refreshing test template, a refreshing test template, a ZQ calibration test template, a mode register setting test template, and a pre-charge power-down test template.
  • the chip may comprise a memory chip.
  • the memory chip may be a DDR4 chip.
  • determining the language rule of the chip to be tested may include: determining a language rule for the chip to be tested according to a specification document of the chip to be tested.
  • determining the product and timing specifications of the chip to be tested may comprise: determining a memory cell address, a memory row address, a memory column address, and a memory page size of the chip to be tested; and determining a model identification, a product identification, and parameters of the chip to be tested.
  • selecting a test template from a test template library according to the language rule and the product and timing specifications may comprise: determining a database of the chip to be tested according to the product and timing specifications; and selecting the test template from the test template library according to the language rule and the database.
  • selecting a test template from a test template library according to the language rule and the product and timing specifications may comprise: determining a database of the chip to be tested according to the product and timing specifications; and designating the test template from the test template library according to the language rule and the database.
  • generating a test code according to the product and timing specifications and the test template may comprise: inserting a timing sequence into the test template according to the product and timing specifications to generate the test code.
  • inserting a timing sequence into the test template to generate the test code according to the product and timing specifications may comprise: inserting the timing sequence into the test template according to the product and timing specifications; and converting the inserted timing sequence by a high-speed test machine to generate the test code.
  • the device may include: a parameter reading interface, a code generating module, and a high-speed test machine.
  • the parameter reading interface may be configured to determine a language rule of a chip to be tested, and to determine product and timing specifications of the chip to be tested.
  • the code generating module may be configured to select a test template from a test template library according to the language rule and the product and timing specifications, and to generate a test code according to the product and timing specifications and the test template.
  • the high-speed test machine may be configured to automatically test the chip to be tested using the test code.
  • the device may further include: a test template library module.
  • the test template library module may be configured to generate the test template library based on a plurality of test templates.
  • the plurality of test templates may comprise: a fast read operation test template, a fast write operation test template, a fast read/write operation test template, a self-refreshing test template, a refreshing test template, a ZQ calibration test template, a mode register setting test template, and pre-charge power-down test template.
  • the code generating module may comprise: a selection module, configured to select a test template from a test template library according to the language rule and a database.
  • the device may include: an information module, a native random pattern creator, a format conversion module, and a test module.
  • the information module may be configured to acquire related information of a chip to be tested.
  • the native random pattern creator may be configured to generate random patterns for testing the chip to be tested according to a target test template, information in the information module and content of a database.
  • the format conversion module may be configured to insert a timing sequence into the random patterns according to product and timing specifications, and to convert the inserted timing sequence by a high-speed test machine to generate a test code.
  • the test module may be configured to generate an automated test code.
  • the device may further include: a template library, configured to store a plurality of test templates; and a template model module, configured to store the target test template.
  • the target test template may be one of the plurality of test templates.
  • the apparatus may include one or more processors and a memory device.
  • the memory device may be configured to store one or more programs.
  • the one or more programs may cause the one or more processors to perform the chip test method in any of the aforementioned embodiments.
  • Another aspect of the present disclosure is directed to a computer readable medium storing a computer program executable by a processor. Upon being executed by the processor, the computer program may cause the processor to perform the chip test method of any of the aforementioned embodiments.
  • a flexible architecture may be constructed specifically for the DDR4 memory test, and the DDR4 memory test code may be automatically generated according to the product specification.
  • a big-data test code of for complex memories may be automatically generated, thereby improving the efficiency of chip product verification analysis.
  • FIG. 1 shows a flow chart illustrating a chip testing method in accordance with one embodiment of this invention.
  • FIG. 2 shows is a schematic diagram of a chip testing method in accordance with one embodiment of this invention.
  • FIG. 3 shows a block diagram of a chip testing device in accordance with one embodiment of this invention.
  • FIG. 4 shows a block diagram of a chip testing device in accordance with another embodiment of this invention.
  • FIG. 5 shows a schematic diagram of a chip testing device in accordance with one embodiment of this invention.
  • FIG. 6 shows a block diagram of an electronic apparatus in accordance with one embodiment of this invention.
  • FIG. 1 shows a flow chart showing a chip testing method according to an exemplary embodiment.
  • the chip testing method 10 may include at least steps S102 to S110.
  • a language rule of a chip to be tested may be determined.
  • the chip to be tested may include: a memory, which may specifically be, for example, a DDR4 memory.
  • the language rule of the chip to be tested can be determined according to a specification document of the chip to be tested.
  • DDR or “DDR SDRAM” may refer to a dual data rate synchronous dynamic random access memory.
  • DDR4 memory is a new generation of memory specifications. Compared with DDR3, a previous generation of memory specifications, DDR4 has a 16-bit prefetch mechanism. At a same core frequency, the theoretical speed of DDR4 is twice that of DDR3. DDR4 has more reliable transmission specifications, and thus data reliability is further improved. Moreover, DDR4 has a decreased operating voltage of 1.2V, and thus is more energy efficient. DDR4 is also known as the second generation of memory, developed from DDR1, DDR2, DDR3 memory.
  • the language rule of a DDR4 memory can be acquired by referring to the definition in JEDEC Standard No. 79-4B.
  • JEDEC Standard No. 79-4B is the instruction manual for DDR4 SDRAM, which includes information about the features, functions, AC and DC characteristics, package and ball distribution of DDR4 SDRAM.
  • the purpose of this standard is to define the JEDEC minimum standard for x4 ⁇ x8 ⁇ x16 DDR4 SDRAM from 2Gbit to 16Gbit.
  • the language rule of a memory may also be acquired from other documents depending on the specifications of the memory. These documents may include, for example: DDR SDRAM STANDARD JESD79; DDR2 SDRAM STANDARD JESD79-2; DDR3 SDRAM STANDARD JESD79-3; and SmartTest 7.4.3 Documentation.
  • the language rule of a chip may describe the operating logic of the chip.
  • the operating logic may include, for example, when the chip is in an activated state, it can be converted to a memory library activated state by an automatic sequence instruction, and when the chip is in an idle state, it can be converted to an activated state by executing an instruction.
  • the operating logic may include other logics relating to the operation of the chip, which are not exhaustively enumerated herein.
  • step S104 product and timing specifications of the chip to be tested may be determined.
  • determining a product specification of the chip to be tested may include determining a memory cell address, a memory row address, a memory column address, and a memory page size of the chip to be tested.
  • determining a timing specification of the chip to be tested may include determining a model identifier, a product identifier, and a parameter of the chip to be tested.
  • the chip to be tested may include a DDR4 memory, and the product and timing specifications of the DDR4 memory may be defined in JEDEC Standard No. 79-4B.
  • the speed class of the DDR4 may include, for example, 3200/2933/2666/2400/2133/1866 and the like.
  • Table 1 shows a product specification of the chip according to one embodiment.
  • Table 2 shows a timing specification of the chip according to one embodiment:
  • a test template may be selected from a test template library according to the language rule and the product and timing specifications.
  • step S106 may include: determining a database of the chip to be tested according to the product and timing specifications, and selecting the test template from the test template library according to the language rule and the database.
  • the method may further include generating the test template library based on a plurality of test templates.
  • the plurality of test templates may comprise: a X-direction/Y-direction fast write operation test template (X/Y fast Write pattern) , a X direction/Y direction fast read operation test template (X/Y fast Read pattern) , a X direction/Y direction fast read/write operation test template (X/Y fast Write/Read pattern) , a self-refreshing test template (Self refresh) , a refreshing test template (Refreshing) , a ZQ calibration test template (ZQ calibration) , a pre-charge power-down test template (Pre-charge Power down) , and a mode register setting test template (Mode Register Set) .
  • selecting a test template from a test template library according to the language rule and the database may comprise: first selecting a plurality of test templates that meet the condition in the test template library according to the language rule. Then the plurality of test templates may be subjected to a secondary screening according to the content in the database corresponding to the chip to be tested, so that the templates that do not meet the requirements of the chip may be removed. Finally, a test template may be selected from the rest of the plurality of test templates.
  • the number of selected test template may be one or more, which is not limited in this disclosure.
  • the method may include: determining a database of the chip to be tested according to the product and timing specifications; and designating the test template from the test template library according to the language rule and the database.
  • the method may comprise: first selecting a plurality of test templates that meet the condition in the test template library according to the language rule. Then the plurality of test templates may be subjected to a secondary screening according to the content in the database corresponding to the chip to be tested, so that the templates that does not meet the requirements of the chip may be removed. Finally, according to the expert's opinions or based on the experience from history product analysis, a target test template may be designated from the rest of the plurality of test templates.
  • a test code may be generated according to the product and timing specifications and the test template.
  • step S108 may include: inserting a timing sequence into the test template according to the product and timing specifications to generate the test code.
  • inserting a timing sequence into the test template according to the product and timing specifications to generate the test code may include: inserting the timing sequence into the test template according to the product and timing specifications; and converting the inserted timing sequence by a high-speed test machine to generate the test code.
  • the high-speed test machine may be an HSM6800 high-speed test machine, and the HSM6800 high-speed test machine may have a programmable function to support the tests for advanced features of GDDR5 (Graphics Double Data Rate, version 5) , which includes Address Bus Inversion (ABI) , Data Bus Inversion (DBI) , and Cyclic Redundancy Check (CRC) .
  • GDDR5 Graphics Double Data Rate, version 5
  • ABSI Address Bus Inversion
  • DBI Data Bus Inversion
  • CRC Cyclic Redundancy Check
  • the test machine can test the memory of a common 8-bit data frame (frame) due to its flexible architecture, and can also be extended to test 10-bit data frame memory in the future.
  • the test machine can meet the requirements in performance, functionality and cost for the testing of all kinds of high-speed memories.
  • the chip to be tested may be automatically tested using the test code.
  • An automated test code may be generated by using the programmable function of the HSM6800 high-speed test machine and the language rules of DDR4 memory, which enables the test machine to automatically generate a big-data test code for memories.
  • the generated test code may be used to simulate system environment test to expedite the unit test of the DDR4 memory.
  • each write action may be recorded by the database while the read actions may be generated based on the current contents of the database.
  • FIG. 2 shows a schematic diagram of a chip testing method in accordance with one embodiment of this invention.
  • FIG. 2 exemplarily shows a pattern of test codes for DDR4 memories of different specifications rapidly generated by the chip testing method of the present disclosure.
  • the language rule and the product and timing specifications of the chip to be tested may be determined first.
  • the test template may be selected from the test template library according to the language rule and the product and timing specifications.
  • the test code may be automatically generated according to the product and timing specifications and the test template, and the specific pattern of the test code may be a pulse code composed of 0 or 1.
  • a user may inspect the relevant test parameters of the test template from the parameter setting area 202, and, if necessary, modify the test parameters.
  • the user can inspect various test commands corresponding to the test template from the command selection area 204 to further understand the test.
  • a specific test code is shown in the code region 206, and the specific test code consists of a pulse sequence composed of 0 or 1, wherein 1 may represent a high level, and 0 may represent a low level.
  • the test template may be selected from the test template library according to the language rule and the product and timing specifications.
  • the test code may be generated according to the product and timing specifications and the test template. Therefore, a big-data test code of complex memory can be generated automatically, and the test codes for DDR4 memories of different specifications can be generated rapidly in a standardized way, thereby improving the efficiency of chip product verification analysis.
  • a flexible architecture may be constructed specifically for the DDR4 memory test, and the DDR4 memory test code may be automatically generated according to the content of the product specification. Compared to manually written codes, the automatically-generated codes may be created with much higher efficiently. Thus, the problem associated with manually writing a big-data test code for complex DDR4 memory in the related art can be solved.
  • the test codes for DDR4 memories of different specifications can be rapidly generated in a standardized way, thus human errors that are inevitable in manual coding can be avoid, and the quality of the test codes may be improved.
  • chip testing method of the present disclosure detailed coding procedural information can be provided, and each procedure in the test coding can be presented to a human inspector. Therefore, in case an error is reported during a test, the human inspector can perform a positioning analysis according to the test code to quickly identify and remedy an issue, thereby improving the efficiency of the product analysis.
  • This invention further presents a chip testing device based on the aforementioned chip testing method.
  • the device may be configured to implement the chip testing method according to the embodiments of the present disclosure. Any detail not disclosed herein can be obtained by referring to the embodiments for the method of the present disclosure.
  • FIG. 3 shows a block diagram of a chip testing device in accordance with one embodiment of this invention.
  • the chip testing device 30 may include a parameter reading interface 302, a code generating module 304, and a high-speed test machine 306.
  • the parameter reading interface 302 may be configured to determine a language rule of the chip to be tested, and to determine product and timing specifications of the chip to be tested.
  • the chip to be tested may include: a memory, which may be, for example, a DDR4 memory.
  • the product and timing specifications of the DDR4 memory and the language specifications of the DDR4 memory may be acquired by referring to the definitions in JEDEC Standard No. 79-4B.
  • the code generating module 304 may be configured to select a test template from a test template library according to the language rule and the product and timing specifications, and to generate a test code according to the product and timing specifications and the test template.
  • the code generating module 304 may determine a database of the chip to be tested according to the product and timing specifications, and select the test template from the test template library according to the language rule and the database.
  • the code generating module 304 may insert a timing sequence into the test template according to the product and timing specifications; and convert the inserted timing sequence by a high-speed test machine to generate the test code.
  • the high-speed test machine 306 may be configured to automatically test the chip to be tested using the test code.
  • An automated test code may be generated by the programmable function of the high-speed test machine 306 and the language rule of the DDR4 memory, which enables the test machine to automatically generate a big-data test code for memory.
  • the generated test code may be used to simulate system environment test to expedite the unit test of the DDR4 memory.
  • FIG. 4 shows a block diagram of a chip testing device in accordance with another embodiment of this invention.
  • the chip testing device 40 may further include a test template library module 402 in addition to the chip testing device 30 of Fig. 3.
  • the test template library module 402 may be configured to generate the test template library based on a plurality of test templates.
  • the test template library may be generated based on a plurality of test templates.
  • the plurality of test templates may include: a X-direction/Y-direction fast write operation test template, a X-direction/Y-direction fast read operation test template, a X-direction/Y-direction fast read/write operation test template, a self-refreshing test template, a refreshing test template, a ZQ calibration test template, a pre-charge power-down test template, and a mode register setting test template.
  • the test template may be selected from the test template library according to the language rule and the product and timing specifications; and the test code may be generated according to the product and timing specifications and the test template. Therefore, a big-data test code of complex memory can be generated automatically, thereby improving the efficiency of chip product verification analysis.
  • FIG. 5 shows a schematic diagram of a chip testing device in accordance with one embodiment of this invention.
  • the chip testing device 50 may include: an information module 502, a template library 504, a native random pattern creator 506, a database 508, a native random pattern module 510, a format conversion module 512, and a test module 514.
  • the information module 502 may be configured to acquire related information of a chip to be tested, and the information module 502 may be configured to determine a language rule of the chip to be tested. The information module 502 may also be configured to determine the product and timing specifications of the chip to be tested.
  • the template library 504 may be configured to store a plurality of test templates.
  • the plurality of test templates may include, for example, a X-direction/Y-direction fast write operation test template, a X-direction/Y-direction fast read operation test template, a X-direction/Y-direction fast read/write operation test template, a self-refreshing test template, a refreshing test template, a ZQ calibration test template, a pre-charge power-down test template, and a mode register setting test template.
  • the native random pattern creator 506 may be configured to generate random patterns for a test based on a test template from the template library 504, the information in the information module 502 and content in the database 508. Based on different combinations of a test template from the template library 504 and information of the chip to be tested (e.g., the language rule, the product and timing specification of the chip to be tested) in the information module 502, and the content in the database 508, the native random pattern creator 506 may generate a large number of random patterns for testing the chip to be tested.
  • a test template from the template library 504 and information of the chip to be tested e.g., the language rule, the product and timing specification of the chip to be tested
  • the content in the database 508 may include data that may be used to generate the random patterns for testing. Additionally, after a test on a chip is completed, the content in the database 508 may be used to compare with results returned from the test to determine an outcome of the test.
  • the native random pattern module 510 may be configured to store the generated random patterns.
  • the format conversion module 512 may be configured to insert a timing sequence into the generated random patterns using product and timing specifications, and to convert the inserted timing sequence by a high-speed test machine to generate a test code.
  • the test module 514 may be configured to generate an automated test code using the programmable function of a high-speed test machine and the language rules of DDR4 memory, which may enable the test machine to automatically generate a big-data test code for memories.
  • the generated test code may be used to simulate system environment test to expedite the unit test of the DDR4 memory.
  • the test module 514 may be a high-speed test machine, such as an HSM6800 high-speed test machine.
  • FIG. 6 shows a block diagram of an electronic apparatus in accordance with one embodiment of this invention.
  • FIG. 6 An electronic apparatus 200 according to an embodiment of the present disclosure is described below with reference to FIG. 6.
  • the electronic apparatus 200 shown in FIG. 6 is merely an example and should not limit the scope of function and use of apparatus according to the embodiments of the present disclosure.
  • the electronic apparatus 200 may be implemented as a general purpose computing device.
  • the components of the electronic apparatus 200 may include, but are not limited to, at least one processing unit 210, at least one memory cell 220, a bus 230 connecting different system components (including the storage unit 220 and the processing unit 210) , a display unit 240, and the like.
  • the memory cell may store a program code, and the program code can be executed by the processing unit 210, such that the processing unit 210 performs the method in any of the aforementioned embodiments.
  • the processing unit 210 can perform the method as shown in FIG. 1.
  • the memory cell 220 may include a readable medium in the form of a volatile memory cell, such as a random access memory cell (RAM) 2201 and/or a cache memory cell 2202, and may further include a read only cache memory (ROM) 2203.
  • RAM random access memory cell
  • ROM read only cache memory
  • the memory cell 220 may also include a program/utility 2204 having a set (at least one) of the program modules 2205 including but not limited to: an operating system, one or more applications, other program modules, and program data, each of or some combinations of these examples may include an implementation of a network environment.
  • a program/utility 2204 having a set (at least one) of the program modules 2205 including but not limited to: an operating system, one or more applications, other program modules, and program data, each of or some combinations of these examples may include an implementation of a network environment.
  • Bus 230 may represent one or more of several types of bus structures, which may include a memory cell bus or a memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the bus structures.
  • the electronic apparatus 200 can also communicate with one or more external devices 300 (e.g., a keyboard, pointing device, Bluetooth device, etc. ) , and can also communicate with one or more devices that enable the user to interact with the electronic apparatus 200, and/or with any device (e.g., a router, modem, etc. ) that enables the electronic apparatus 200 to communicate with one or more other computing devices.
  • the communication can take place via an input/output (I/O) interface 250.
  • electronic apparatus 200 can also communicate with one or more networks (e.g., a local area network (LAN) , a wide area network (WAN) , and/or a public network, such as the Internet) via a network adapter 260.
  • networks e.g., a local area network (LAN) , a wide area network (WAN) , and/or a public network, such as the Internet
  • the network adapter 260 can communicate with other modules of electronic apparatus 200 via the bus 230. It should be understood that although not shown in the figures, other hardware and/or software modules may be utilized in conjunction with electronic apparatus 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
  • the exemplary embodiments described herein may be implemented by software, software or the combination thereof. Therefore, the technical solution according to an embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc. ) or on a network.
  • a non-volatile storage medium which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
  • a plurality of commands are included to cause a computing device (which may be a personal computer, server, or network device, etc.
  • determining a language rule of a chip to be tested may include: determining product and timing specifications of the chip to be tested; selecting a test template from a test template library according to the language rule and the product and timing specifications; generating a test code according to the product and timing specifications and the test template; and automatically testing the chip to be tested by using the test code.
  • modules may be distributed in the device according to the description of the embodiments, or may be correspondingly changed in one or more devices different from the embodiment.
  • the modules of the above embodiments may be combined into one module, or may be further divided into a plurality of sub-modules.
  • the exemplary embodiments described herein may be implemented by software, or may be implemented by software in combination with necessary hardware. Therefore, the technical solution according to an embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc. ) or on a network.
  • a non-volatile storage medium which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
  • a plurality of commands are included to cause a computing device (which may be a personal computer, server, mobile terminal, or network device, etc. ) to perform a method in accordance with an embodiment of the present disclosure.

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

A chip testing method, device, electronic apparatus, and computer readable medium are provided, relating to the field of chip testing. The method includes: determining a language rule of a chip to be tested; determining product and timing specifications of the chip to be tested; selecting a test template from a test template library according to the language rule and the product and timing specifications; generating a test code according to the product and timing specifications and the test template; and automatically testing the chip to be tested by using the test code. The chip testing method, device, electronic apparatus and computer readable medium can automatically generate a big-data test code for complex memories, and rapidly generate, in a standardized way, test codes for DDR4 memories of different specifications, thereby improving the efficiency of chip product verification analysis.

Description

CHIP TESTING METHOD, DEVICE, ELECTRONIC APPARATUS AND COMPUTER READABLE MEDIUM
CROSS-REFERENCE TO RELATED APPLICATION
This application is based on and claims priority of the Chinese Patent Application No. 201811261790.3, filed on October 26, 2018 and entitled “CHIP TESTING METHOD, DEVICE, ELECTRONIC APPARATUS AND COMPUTER READABLE MEDIUM. ” The above-referenced application is incorporated herein by reference in its entirety.
TECHNICAL FIELD
The present disclosure relates generally to the technical field of chip testing and, more specifically, to a chip testing method, apparatus, electronic apparatus, and computer readable medium.
BACKGROUND
With the rapid development in memory technologies and the rapid expansion of the memory market, memory chips with large capacity, fast read/write speed, and low price are dominating the market. To ensure long-term reliability of these memory chips, they need to undergo meticulous high speed tests before being released to the market.
In the related art regarding the testing of memory products, the majority of work need to be manually done by a tester. The tester first needs to confirm a corresponding model and speed for a memory product to be tested, and then a test scheme suitable for the memory product needs to be selected. After the test scheme is selected, the tester also needs to manually write the test codes. Codes need to be written for each test instruction in a test sequence, and then the memory product can be tested after the codes have been completed.
The chip testing that relies on manually-written codes requires substantial manpower and material resources and thus results in a low efficiency of memory testing. Moreover, with the development in memory technologies, more and more high-speed, high- capacity memories come to the market, and chip testing for these memories requires increasingly complicate and voluminous test codes. For high-speed, high-capacity memories, chip testing with big-data test codes that need to be manually written has become a limiting factor in the development of memory testing industry.
Therefore, a new chip testing method, device, electronic apparatus, and computer readable medium that can address the aforementioned issues are desired.
The above information is only used to facilitate understanding the background of the present disclosure, and thus may include information that does not constitute prior art known to a person of ordinary skill in the art.
SUMMARY
In view of the limitations of existing technologies described above, the present disclosure provides a chip testing method, device, electronic apparatus, and computer readable medium, which can automatically generate a big-data test code for complex memory and improve chip testing efficiency.
Other features and advantages of the present disclosure will be apparent from the following detailed description or obtained in part from the practice of the disclosure.
One aspect of the present disclosure is direct to a chip testing method. The method may include: determining a language rule of a chip to be tested; determining product and timing specifications of the chip to be tested; selecting a test template from a test template library according to the language rule and the product and timing specifications; generating a test code according to the product and timing specifications and the test template; and automatically testing the chip to be tested by using the test code.
In some embodiments of the present disclosure, the method may further include: generating the test template library based on a plurality of test templates. The plurality of test templates may include: a fast read operation test template, a fast write operation test template, a fast read/write operation test template, a self-refreshing test template, a refreshing test template, a ZQ calibration test template, a mode register setting test template, and a pre-charge power-down test template.
In some embodiments of the present disclosure, the chip may comprise a memory chip.
In some embodiments of the present disclosure, the memory chip may be a DDR4 chip.
In some embodiments of the present disclosure, determining the language rule of the chip to be tested may include: determining a language rule for the chip to be tested according to a specification document of the chip to be tested.
In some embodiments of the present disclosure, determining the product and timing specifications of the chip to be tested may comprise: determining a memory cell address, a memory row address, a memory column address, and a memory page size of the chip to be tested; and determining a model identification, a product identification, and parameters of the chip to be tested.
In some embodiments of the present disclosure, selecting a test template from a test template library according to the language rule and the product and timing specifications may comprise: determining a database of the chip to be tested according to the product and timing specifications; and selecting the test template from the test template library according to the language rule and the database.
In some embodiments of the present disclosure, selecting a test template from a test template library according to the language rule and the product and timing specifications may comprise: determining a database of the chip to be tested according to the product and timing specifications; and designating the test template from the test template library according to the language rule and the database.
In some embodiments of the present disclosure, generating a test code according to the product and timing specifications and the test template may comprise: inserting a timing sequence into the test template according to the product and timing specifications to generate the test code.
In some embodiments of the present disclosure, inserting a timing sequence into the test template to generate the test code according to the product and timing specifications may comprise: inserting the timing sequence into the test template according to the product and  timing specifications; and converting the inserted timing sequence by a high-speed test machine to generate the test code.
Another aspect of the present disclosure is directed to a chip testing device. The device may include: a parameter reading interface, a code generating module, and a high-speed test machine. The parameter reading interface may be configured to determine a language rule of a chip to be tested, and to determine product and timing specifications of the chip to be tested. The code generating module may be configured to select a test template from a test template library according to the language rule and the product and timing specifications, and to generate a test code according to the product and timing specifications and the test template. The high-speed test machine may be configured to automatically test the chip to be tested using the test code.
In some embodiments of the present disclosure, the device may further include: a test template library module. The test template library module may be configured to generate the test template library based on a plurality of test templates. The plurality of test templates may comprise: a fast read operation test template, a fast write operation test template, a fast read/write operation test template, a self-refreshing test template, a refreshing test template, a ZQ calibration test template, a mode register setting test template, and pre-charge power-down test template.
In some embodiments of the present disclosure, the code generating module may comprise: a selection module, configured to select a test template from a test template library according to the language rule and a database.
Another aspect of the present disclosure is direct to a chip testing device. The device may include: an information module, a native random pattern creator, a format conversion module, and a test module. The information module may be configured to acquire related information of a chip to be tested. The native random pattern creator may be configured to generate random patterns for testing the chip to be tested according to a target test template, information in the information module and content of a database. The format conversion module may be configured to insert a timing sequence into the random patterns according to product and timing specifications, and to convert the inserted timing sequence by a high-speed test machine to generate a test code. The test module may be configured to generate an  automated test code.
In some embodiments of the present disclosure, the device may further include: a template library, configured to store a plurality of test templates; and a template model module, configured to store the target test template. The target test template may be one of the plurality of test templates.
Another aspect of the present disclosure is directed to an electronic apparatus. The apparatus may include one or more processors and a memory device. The memory device may be configured to store one or more programs. Upon being executed by the one or more processors, the one or more programs may cause the one or more processors to perform the chip test method in any of the aforementioned embodiments.
Another aspect of the present disclosure is directed to a computer readable medium storing a computer program executable by a processor. Upon being executed by the processor, the computer program may cause the processor to perform the chip test method of any of the aforementioned embodiments.
According to the chip testing method, device, electronic apparatus and computer readable medium of the present disclosure, a flexible architecture may be constructed specifically for the DDR4 memory test, and the DDR4 memory test code may be automatically generated according to the product specification. A big-data test code of for complex memories may be automatically generated, thereby improving the efficiency of chip product verification analysis.
It should be understood that the above general description and the following detailed description are merely exemplary, and it is not intended to limit the disclosure.
BRIEF DESCRIPTION OF THE DRAWINGS
The above and other objectives, features, and advantages of the present disclosure will become more apparent after reading the exemplary embodiments in view of the accompanying drawings. The drawings described below are only some of the embodiments of the present disclosure, and those skilled in the art can obtain other drawings based on these drawings without any creative work.
FIG. 1 shows a flow chart illustrating a chip testing method in accordance with one embodiment of this invention.
FIG. 2 shows is a schematic diagram of a chip testing method in accordance with one embodiment of this invention.
FIG. 3 shows a block diagram of a chip testing device in accordance with one embodiment of this invention.
FIG. 4 shows a block diagram of a chip testing device in accordance with another embodiment of this invention.
FIG. 5 shows a schematic diagram of a chip testing device in accordance with one embodiment of this invention.
FIG. 6 shows a block diagram of an electronic apparatus in accordance with one embodiment of this invention.
DETAILED DESCRIPTION OF THE EMBODIMENTS
Exemplary embodiments will now be described in detailed with reference to the accompanying drawings. However, the exemplary embodiments can be embodied in a variety of forms and should not be construed to be limited by the embodiments set forth herein. Instead, providing such embodiments may make the present disclosure comprehensive and complete, and completely convey the concept of the present disclosure to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and the repeated description thereof will be omitted.
It shall be understood that, although the terms first, second, third, etc. may be used herein to describe various components, these components shall not be limited by these terms. These terms are used to distinguish one component from another. Thus, a first component discussed below could be termed a second component without departing from the teachings of the present disclosure. The term “and/or” as used herein includes any and all combinations of one or more of the associated listed items.
It shall be understood by those skilled in the art that the drawings are only a schematic diagram of the exemplary embodiments, and the modules or processes in the drawings are not  necessarily required to implement the disclosure, and therefore are not intended to limit the scope of the disclosure.
FIG. 1 shows a flow chart showing a chip testing method according to an exemplary embodiment. The chip testing method 10 may include at least steps S102 to S110.
As shown in FIG. 1, in step S102, a language rule of a chip to be tested may be determined. The chip to be tested may include: a memory, which may specifically be, for example, a DDR4 memory. The language rule of the chip to be tested can be determined according to a specification document of the chip to be tested.
In this application, “DDR” or “DDR SDRAM” may refer to a dual data rate synchronous dynamic random access memory. DDR4 memory is a new generation of memory specifications. Compared with DDR3, a previous generation of memory specifications, DDR4 has a 16-bit prefetch mechanism. At a same core frequency, the theoretical speed of DDR4 is twice that of DDR3. DDR4 has more reliable transmission specifications, and thus data reliability is further improved. Moreover, DDR4 has a decreased operating voltage of 1.2V, and thus is more energy efficient. DDR4 is also known as the second generation of memory, developed from DDR1, DDR2, DDR3 memory.
In one embodiment, the language rule of a DDR4 memory can be acquired by referring to the definition in JEDEC Standard No. 79-4B. JEDEC Standard No. 79-4B is the instruction manual for DDR4 SDRAM, which includes information about the features, functions, AC and DC characteristics, package and ball distribution of DDR4 SDRAM. The purpose of this standard is to define the JEDEC minimum standard for x4\x8\x16 DDR4 SDRAM from 2Gbit to 16Gbit.
In one embodiment, the language rule of a memory may also be acquired from other documents depending on the specifications of the memory. These documents may include, for example: DDR SDRAM STANDARD JESD79; DDR2 SDRAM STANDARD JESD79-2; DDR3 SDRAM STANDARD JESD79-3; and SmartTest 7.4.3 Documentation.
In one embodiment, the language rule of a chip may describe the operating logic of the chip. The operating logic may include, for example, when the chip is in an activated state, it can be converted to a memory library activated state by an automatic sequence instruction, and when the chip is in an idle state, it can be converted to an activated state by executing an  instruction. The operating logic may include other logics relating to the operation of the chip, which are not exhaustively enumerated herein.
In step S104, product and timing specifications of the chip to be tested may be determined.
In one embodiment, determining a product specification of the chip to be tested may include determining a memory cell address, a memory row address, a memory column address, and a memory page size of the chip to be tested.
In one embodiment, determining a timing specification of the chip to be tested may include determining a model identifier, a product identifier, and a parameter of the chip to be tested. The chip to be tested may include a DDR4 memory, and the product and timing specifications of the DDR4 memory may be defined in JEDEC Standard No. 79-4B.
The speed class of the DDR4 may include, for example, 3200/2933/2666/2400/2133/1866 and the like.
Table 1 shows a product specification of the chip according to one embodiment.
Figure PCTCN2019113246-appb-000001
Figure PCTCN2019113246-appb-000002
Table 2 shows a timing specification of the chip according to one embodiment:
Figure PCTCN2019113246-appb-000003
In step S106, a test template may be selected from a test template library according to the language rule and the product and timing specifications. For example, step S106 may  include: determining a database of the chip to be tested according to the product and timing specifications, and selecting the test template from the test template library according to the language rule and the database.
In one embodiment, the method may further include generating the test template library based on a plurality of test templates. The plurality of test templates may comprise: a X-direction/Y-direction fast write operation test template (X/Y fast Write pattern) , a X direction/Y direction fast read operation test template (X/Y fast Read pattern) , a X direction/Y direction fast read/write operation test template (X/Y fast Write/Read pattern) , a self-refreshing test template (Self refresh) , a refreshing test template (Refreshing) , a ZQ calibration test template (ZQ calibration) , a pre-charge power-down test template (Pre-charge Power down) , and a mode register setting test template (Mode Register Set) .
In one embodiment, selecting a test template from a test template library according to the language rule and the database may comprise: first selecting a plurality of test templates that meet the condition in the test template library according to the language rule. Then the plurality of test templates may be subjected to a secondary screening according to the content in the database corresponding to the chip to be tested, so that the templates that do not meet the requirements of the chip may be removed. Finally, a test template may be selected from the rest of the plurality of test templates.
In one embodiment, the number of selected test template may be one or more, which is not limited in this disclosure.
In one embodiment, the method may include: determining a database of the chip to be tested according to the product and timing specifications; and designating the test template from the test template library according to the language rule and the database. Specifically, the method may comprise: first selecting a plurality of test templates that meet the condition in the test template library according to the language rule. Then the plurality of test templates may be subjected to a secondary screening according to the content in the database corresponding to the chip to be tested, so that the templates that does not meet the requirements of the chip may be removed. Finally, according to the expert's opinions or based on the experience from history product analysis, a target test template may be designated from the rest of the plurality of test templates.
In step S108, a test code may be generated according to the product and timing specifications and the test template. In one example, step S108 may include: inserting a timing sequence into the test template according to the product and timing specifications to generate the test code.
In one embodiment, inserting a timing sequence into the test template according to the product and timing specifications to generate the test code may include: inserting the timing sequence into the test template according to the product and timing specifications; and converting the inserted timing sequence by a high-speed test machine to generate the test code.
In one embodiment, the high-speed test machine may be an HSM6800 high-speed test machine, and the HSM6800 high-speed test machine may have a programmable function to support the tests for advanced features of GDDR5 (Graphics Double Data Rate, version 5) , which includes Address Bus Inversion (ABI) , Data Bus Inversion (DBI) , and Cyclic Redundancy Check (CRC) . In addition, the test machine can test the memory of a common 8-bit data frame (frame) due to its flexible architecture, and can also be extended to test 10-bit data frame memory in the future. Thus the test machine can meet the requirements in performance, functionality and cost for the testing of all kinds of high-speed memories.
In step S110, the chip to be tested may be automatically tested using the test code. An automated test code may be generated by using the programmable function of the HSM6800 high-speed test machine and the language rules of DDR4 memory, which enables the test machine to automatically generate a big-data test code for memories. The generated test code may be used to simulate system environment test to expedite the unit test of the DDR4 memory.
In one embodiment, during the test, each write action may be recorded by the database while the read actions may be generated based on the current contents of the database.
FIG. 2 shows a schematic diagram of a chip testing method in accordance with one embodiment of this invention. FIG. 2 exemplarily shows a pattern of test codes for DDR4 memories of different specifications rapidly generated by the chip testing method of the present disclosure.
As shown in FIG. 2, the language rule and the product and timing specifications of the chip to be tested may be determined first. Then the test template may be selected from the  test template library according to the language rule and the product and timing specifications. Then the test code may be automatically generated according to the product and timing specifications and the test template, and the specific pattern of the test code may be a pulse code composed of 0 or 1.
According to the schematic diagram of the chip testing method as shown in FIG. 2, a user may inspect the relevant test parameters of the test template from the parameter setting area 202, and, if necessary, modify the test parameters. The user can inspect various test commands corresponding to the test template from the command selection area 204 to further understand the test. A specific test code is shown in the code region 206, and the specific test code consists of a pulse sequence composed of 0 or 1, wherein 1 may represent a high level, and 0 may represent a low level.
According to the chip testing method of the present disclosure, the test template may be selected from the test template library according to the language rule and the product and timing specifications. The test code may be generated according to the product and timing specifications and the test template. Therefore, a big-data test code of complex memory can be generated automatically, and the test codes for DDR4 memories of different specifications can be generated rapidly in a standardized way, thereby improving the efficiency of chip product verification analysis.
According to the chip testing method of the present disclosure, a flexible architecture may be constructed specifically for the DDR4 memory test, and the DDR4 memory test code may be automatically generated according to the content of the product specification. Compared to manually written codes, the automatically-generated codes may be created with much higher efficiently. Thus, the problem associated with manually writing a big-data test code for complex DDR4 memory in the related art can be solved.
According to the chip testing method of the present disclosure, the test codes for DDR4 memories of different specifications can be rapidly generated in a standardized way, thus human errors that are inevitable in manual coding can be avoid, and the quality of the test codes may be improved.
According to the chip testing method of the present disclosure, detailed coding procedural information can be provided, and each procedure in the test coding can be presented  to a human inspector. Therefore, in case an error is reported during a test, the human inspector can perform a positioning analysis according to the test code to quickly identify and remedy an issue, thereby improving the efficiency of the product analysis.
This invention further presents a chip testing device based on the aforementioned chip testing method. The device may be configured to implement the chip testing method according to the embodiments of the present disclosure. Any detail not disclosed herein can be obtained by referring to the embodiments for the method of the present disclosure.
FIG. 3 shows a block diagram of a chip testing device in accordance with one embodiment of this invention. The chip testing device 30 may include a parameter reading interface 302, a code generating module 304, and a high-speed test machine 306.
The parameter reading interface 302 may be configured to determine a language rule of the chip to be tested, and to determine product and timing specifications of the chip to be tested. The chip to be tested may include: a memory, which may be, for example, a DDR4 memory.
In one embodiment, the product and timing specifications of the DDR4 memory and the language specifications of the DDR4 memory may be acquired by referring to the definitions in JEDEC Standard No. 79-4B.
The code generating module 304 may be configured to select a test template from a test template library according to the language rule and the product and timing specifications, and to generate a test code according to the product and timing specifications and the test template.
In one embodiment, the code generating module 304 may determine a database of the chip to be tested according to the product and timing specifications, and select the test template from the test template library according to the language rule and the database.
In one embodiment, the code generating module 304 may insert a timing sequence into the test template according to the product and timing specifications; and convert the inserted timing sequence by a high-speed test machine to generate the test code.
The high-speed test machine 306 may be configured to automatically test the chip to be tested using the test code. An automated test code may be generated by the programmable function of the high-speed test machine 306 and the language rule of the DDR4 memory, which  enables the test machine to automatically generate a big-data test code for memory. The generated test code may be used to simulate system environment test to expedite the unit test of the DDR4 memory.
FIG. 4 shows a block diagram of a chip testing device in accordance with another embodiment of this invention. As shown in Fig. 4, the chip testing device 40 may further include a test template library module 402 in addition to the chip testing device 30 of Fig. 3.
The test template library module 402 may be configured to generate the test template library based on a plurality of test templates.
In one embodiment, the test template library may be generated based on a plurality of test templates. The plurality of test templates may include: a X-direction/Y-direction fast write operation test template, a X-direction/Y-direction fast read operation test template, a X-direction/Y-direction fast read/write operation test template, a self-refreshing test template, a refreshing test template, a ZQ calibration test template, a pre-charge power-down test template, and a mode register setting test template.
According to the chip testing device of the present disclosure, the test template may be selected from the test template library according to the language rule and the product and timing specifications; and the test code may be generated according to the product and timing specifications and the test template. Therefore, a big-data test code of complex memory can be generated automatically, thereby improving the efficiency of chip product verification analysis.
FIG. 5 shows a schematic diagram of a chip testing device in accordance with one embodiment of this invention. As shown in Fig. 5, the chip testing device 50 may include: an information module 502, a template library 504, a native random pattern creator 506, a database 508, a native random pattern module 510, a format conversion module 512, and a test module 514.
The information module 502 may be configured to acquire related information of a chip to be tested, and the information module 502 may be configured to determine a language rule of the chip to be tested. The information module 502 may also be configured to determine the product and timing specifications of the chip to be tested.
The template library 504 may be configured to store a plurality of test templates. The plurality of test templates may include, for example, a X-direction/Y-direction fast write  operation test template, a X-direction/Y-direction fast read operation test template, a X-direction/Y-direction fast read/write operation test template, a self-refreshing test template, a refreshing test template, a ZQ calibration test template, a pre-charge power-down test template, and a mode register setting test template.
The native random pattern creator 506 may be configured to generate random patterns for a test based on a test template from the template library 504, the information in the information module 502 and content in the database 508. Based on different combinations of a test template from the template library 504 and information of the chip to be tested (e.g., the language rule, the product and timing specification of the chip to be tested) in the information module 502, and the content in the database 508, the native random pattern creator 506 may generate a large number of random patterns for testing the chip to be tested.
In some embodiments, the content in the database 508 may include data that may be used to generate the random patterns for testing. Additionally, after a test on a chip is completed, the content in the database 508 may be used to compare with results returned from the test to determine an outcome of the test.
The native random pattern module 510 may be configured to store the generated random patterns.
The format conversion module 512 may be configured to insert a timing sequence into the generated random patterns using product and timing specifications, and to convert the inserted timing sequence by a high-speed test machine to generate a test code.
The test module 514 may be configured to generate an automated test code using the programmable function of a high-speed test machine and the language rules of DDR4 memory, which may enable the test machine to automatically generate a big-data test code for memories. The generated test code may be used to simulate system environment test to expedite the unit test of the DDR4 memory.
In some embodiments, the test module 514 may be a high-speed test machine, such as an HSM6800 high-speed test machine.
FIG. 6 shows a block diagram of an electronic apparatus in accordance with one embodiment of this invention.
An electronic apparatus 200 according to an embodiment of the present disclosure is described below with reference to FIG. 6. The electronic apparatus 200 shown in FIG. 6 is merely an example and should not limit the scope of function and use of apparatus according to the embodiments of the present disclosure.
As shown in Figure 6, the electronic apparatus 200 may be implemented as a general purpose computing device. The components of the electronic apparatus 200 may include, but are not limited to, at least one processing unit 210, at least one memory cell 220, a bus 230 connecting different system components (including the storage unit 220 and the processing unit 210) , a display unit 240, and the like.
The memory cell may store a program code, and the program code can be executed by the processing unit 210, such that the processing unit 210 performs the method in any of the aforementioned embodiments. For example, the processing unit 210 can perform the method as shown in FIG. 1.
The memory cell 220 may include a readable medium in the form of a volatile memory cell, such as a random access memory cell (RAM) 2201 and/or a cache memory cell 2202, and may further include a read only cache memory (ROM) 2203.
The memory cell 220 may also include a program/utility 2204 having a set (at least one) of the program modules 2205 including but not limited to: an operating system, one or more applications, other program modules, and program data, each of or some combinations of these examples may include an implementation of a network environment.
Bus 230 may represent one or more of several types of bus structures, which may include a memory cell bus or a memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the bus structures.
The electronic apparatus 200 can also communicate with one or more external devices 300 (e.g., a keyboard, pointing device, Bluetooth device, etc. ) , and can also communicate with one or more devices that enable the user to interact with the electronic apparatus 200, and/or with any device (e.g., a router, modem, etc. ) that enables the electronic apparatus 200 to communicate with one or more other computing devices. The communication can take place via an input/output (I/O) interface 250. Moreover, electronic apparatus 200 can also communicate with one or more networks (e.g., a local area network (LAN) , a wide area  network (WAN) , and/or a public network, such as the Internet) via a network adapter 260. The network adapter 260 can communicate with other modules of electronic apparatus 200 via the bus 230. It should be understood that although not shown in the figures, other hardware and/or software modules may be utilized in conjunction with electronic apparatus 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
Based on the description of the above embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, software or the combination thereof. Therefore, the technical solution according to an embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc. ) or on a network. A plurality of commands are included to cause a computing device (which may be a personal computer, server, or network device, etc. ) to perform the above method in accordance with an embodiment of the present disclosure, which may include: determining a language rule of a chip to be tested; determining product and timing specifications of the chip to be tested; selecting a test template from a test template library according to the language rule and the product and timing specifications; generating a test code according to the product and timing specifications and the test template; and automatically testing the chip to be tested by using the test code.
It will be understood by those skilled in the art that the above various modules may be distributed in the device according to the description of the embodiments, or may be correspondingly changed in one or more devices different from the embodiment. The modules of the above embodiments may be combined into one module, or may be further divided into a plurality of sub-modules.
Based on the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein may be implemented by software, or may be implemented by software in combination with necessary hardware. Therefore, the technical solution according to an embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc. ) or on a network. A plurality  of commands are included to cause a computing device (which may be a personal computer, server, mobile terminal, or network device, etc. ) to perform a method in accordance with an embodiment of the present disclosure.
The exemplary embodiments of the present disclosure have been particularly shown and described above. It should be understood that the invention is not limited to the details of the details of the embodiments of the disclosure.

Claims (19)

  1. A chip testing method, comprising:
    determining a language rule of a chip to be tested;
    determining product and timing specifications of the chip to be tested;
    selecting, according to the language rule and the product and timing specifications, a test template from a test template library;
    generating, according to the product and timing specifications and the test template, a test code; and
    automatically testing, using the test code, the chip to be tested.
  2. The chip testing method of claim 1, further comprising:
    generating, based on a plurality of test templates, the test template library,
    wherein the plurality of test templates comprise:
    a fast read operation test template, a fast write operation test template, a fast read/write operation test template, a self-refreshing test template, a refreshing test template, a ZQ calibration test template, a mode register setting test template, and a pre-charge power-down test template.
  3. The chip testing method of claim 1, wherein the chip comprises a memory chip.
  4. The chip testing method of claim 3, wherein the memory chip is a DDR4 chip.
  5. The chip testing method of claim 3, wherein determining a language rule of the chip to be tested comprises:
    determining, according to a specification document of the chip to be tested, a language rule for the chip to be tested.
  6. The chip testing method of claim 3, wherein determining product and timing specifications of the chip to be tested comprises:
    determining a memory cell address, a memory row address, a memory column address, and a memory page size of the chip to be tested; and
    determining a model identification, a product identification, and parameters of the chip to be tested.
  7. The chip testing method of claim 1, wherein selecting, according to the language rule and the product and timing specifications, a test template from a test template library comprises:
    determining, according to the product and timing specifications, a database of the chip to be tested; and
    selecting, according to the language rule and the database, the test template from the test template library.
  8. The chip testing method of claim 1, wherein selecting, according to the language rule and the product and timing specifications, a test template from a test template library comprises:
    determining, according to the product and timing specifications, a database of the chip to be tested; and
    designating, according to the language rule and the database, the test template from the test template library.
  9. The chip testing method of claim 1, wherein generating, according to the product and timing specifications and the test template, a test code comprises:
    inserting, according to the product and timing specifications, a timing sequence into the test template to generate the test code.
  10. The chip testing method of claim 9, wherein inserting, according to the product and timing specifications, a timing sequence into the test template to generate the test code comprises:
    inserting, according to the product and timing specifications, the timing sequence into the test template; and
    converting, by a high-speed test machine, the inserted timing sequence to generate the test code.
  11. A chip testing device, comprising:
    a parameter reading interface, configured to determine a language rule of a chip to be tested, and to determine product and timing specifications of the chip to be tested;
    a code generating module, configured to select, according to the language rule and the product and timing specifications, a test template from a test template library, and to generate, according to the product and timing specifications and the test template, a test code; and
    a high-speed test machine, configured to automatically test, using the test code, the chip to be tested.
  12. The chip testing device of claim 11, further comprising:
    a test template library module, configured to generate, based on a plurality of test templates, the test template library,
    wherein the plurality of test templates comprise:
    a fast read operation test template, a fast write operation test template, a fast read/write operation test template, a self-refreshing test template, a refreshing test template, a ZQ calibration test template, a mode register setting test template, and pre-charge power-down test template.
  13. The chip testing device of claim 11, wherein the code generating module comprises:
    a selection module, configured to select, according to the language rule and a database, a test template from a test template library.
  14. A chip testing device, comprising:
    an information module, configured to acquire related information of a chip to be tested;
    a native random pattern creator configured to generate, according to a target test template, information in the information module, and content of a database, random patterns for testing the chip to be tested;
    a format conversion module, configured to insert, according to product and timing specifications, a timing sequence into the random patterns, and to convert, by a high-speed test machine, the inserted timing sequence to generate a test code; and
    a test module, configured to generate an automated test code.
  15. The chip testing device of claim 14, further comprising:
    a template library, configured to store a plurality of test templates, wherein the target test template is one of the plurality of test templates; and
    a template model module, configured to store the target test template.
  16. An electronic apparatus, comprising:
    one or more processors; and
    a memory device, configured to store one or more programs;
    wherein, upon being executed by the one or more processors, the one or more programs cause the one or more processors to perform operations, comprising:
    determining a language rule of a chip to be tested;
    determining product and timing specifications of the chip to be tested;
    selecting, according to the language rule and the product and timing specifications, a test template from a test template library;
    generating, according to the product and timing specifications and the test template, a test code; and
    automatically testing, using the test code, the chip to be tested.
  17. The electronic apparatus of claim 16, wherein the operations further comprise:
    generating, based on a plurality of test templates, the test template library,
    and wherein the plurality of test templates comprise:
    a fast read operation test template, a fast write operation test template, a fast read/write operation test template, a self-refreshing test template, a refreshing test template, a ZQ calibration test template, a mode register setting test template, and a pre-charge power-down test template.
  18. A computer readable medium, storing a computer program executable by a processor, wherein, upon being executed by the processor, the computer program causes the  processor to perform operations, comprising:
    determining a language rule of a chip to be tested;
    determining product and timing specifications of the chip to be tested;
    selecting, according to the language rule and the product and timing specifications, a test template from a test template library;
    generating, according to the product and timing specifications and the test template, a test code; and
    automatically testing, using the test code, the chip to be tested.
  19. The computer readable medium of claim 18, wherein the operations further comprises:
    generating, based on a plurality of test templates, the test template library,
    wherein the plurality of test templates comprise:
    a fast read operation test template, a fast write operation test template, a fast read/write operation test template, a self-refreshing test template, a refreshing test template, a ZQ calibration test template, a mode register setting test template, and a pre-charge power-down test template.
PCT/CN2019/113246 2018-10-26 2019-10-25 Chip testing method, device, electronic apparatus and computer readable medium Ceased WO2020083367A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/176,536 US11145386B2 (en) 2018-10-26 2021-02-16 Chip testing method, device, electronic apparatus and computer readable medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811261790.3A CN111105839B (en) 2018-10-26 2018-10-26 Chip testing method and device, electronic equipment and computer readable medium
CN201811261790.3 2018-10-26

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/176,536 Continuation US11145386B2 (en) 2018-10-26 2021-02-16 Chip testing method, device, electronic apparatus and computer readable medium

Publications (1)

Publication Number Publication Date
WO2020083367A1 true WO2020083367A1 (en) 2020-04-30

Family

ID=70330914

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/113246 Ceased WO2020083367A1 (en) 2018-10-26 2019-10-25 Chip testing method, device, electronic apparatus and computer readable medium

Country Status (3)

Country Link
US (1) US11145386B2 (en)
CN (1) CN111105839B (en)
WO (1) WO2020083367A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102864982B1 (en) * 2019-07-15 2025-09-29 삼성전자주식회사 Memory module storing test pattern information, computer system comprising the same, and test method thereof
CN114253828B (en) * 2020-09-25 2025-08-05 华为云计算技术有限公司 Method, device, computing device and storage medium for determining test template
CN112133357B (en) * 2020-09-30 2023-06-09 深圳市宏旺微电子有限公司 eMMC test method and device
CN115238706B (en) * 2022-07-15 2023-11-07 江苏柒捌玖电子科技有限公司 Chip detection and processing method and system
CN115047323B (en) * 2022-08-17 2022-10-25 中诚华隆计算机技术有限公司 Intelligent test method and system for chip
CN116225796B (en) * 2022-12-20 2023-12-08 广州芯德通信科技股份有限公司 Cross-chip-platform ONU (optical network Unit) production and measurement method and device and electronic equipment
CN115952041A (en) * 2022-12-26 2023-04-11 昆山软龙格自动化技术有限公司 A memory stick detection device based on FPGA
CN116127888A (en) * 2023-01-11 2023-05-16 长鑫存储技术有限公司 Method, device and storage medium for automatically generating simulation excitation
CN116405423A (en) * 2023-04-24 2023-07-07 苏州浪潮智能科技有限公司 A chip traffic verification method, device, computer equipment and storage medium
CN117558335B (en) * 2023-11-27 2025-02-11 皇虎测试科技(深圳)有限公司 A DDR test system and method
CN117313651B (en) * 2023-11-30 2024-02-09 沐曦集成电路(上海)有限公司 Chip function feature setting method, electronic device and medium
CN118519011B (en) * 2024-07-12 2024-10-01 星沿科技(杭州)有限责任公司 CP (control program) testing method and system of RFID (radio frequency identification) chip

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118788A (en) * 2007-07-19 2008-02-06 中兴通讯股份有限公司 A memory controller automatic testing method and device
CN104298590A (en) * 2013-07-16 2015-01-21 爱德万测试(新加坡)私人有限公司 Rapid semantic processor for pin-based APG (Automatic Pattern Generator)
CN105158673A (en) * 2015-08-27 2015-12-16 青岛海信信芯科技有限公司 ATE machine table file generation method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5046033A (en) * 1989-08-09 1991-09-03 Unisys Corporation System for transferring test program information
TW536678B (en) * 2000-11-28 2003-06-11 Winbond Electronics Corp Device and method for automatically generating test programs of test mechanism
US7103860B2 (en) * 2002-01-25 2006-09-05 Logicvision, Inc. Verification of embedded test structures in circuit designs
EP1521093B1 (en) * 2003-09-30 2006-01-11 Infineon Technologies AG Long running test method for a circuit design analysis
CN100516911C (en) * 2006-12-31 2009-07-22 合肥工业大学 A block-marked system chip test data compression method
US9689922B2 (en) * 2013-12-20 2017-06-27 Advantest Corporation Online design validation for electronic devices
US9792402B1 (en) * 2015-06-30 2017-10-17 Cadence Design Systems, Inc. Method and system for debugging a system on chip under test

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118788A (en) * 2007-07-19 2008-02-06 中兴通讯股份有限公司 A memory controller automatic testing method and device
CN104298590A (en) * 2013-07-16 2015-01-21 爱德万测试(新加坡)私人有限公司 Rapid semantic processor for pin-based APG (Automatic Pattern Generator)
CN105158673A (en) * 2015-08-27 2015-12-16 青岛海信信芯科技有限公司 ATE machine table file generation method and device

Also Published As

Publication number Publication date
CN111105839B (en) 2022-04-15
US20210166778A1 (en) 2021-06-03
US11145386B2 (en) 2021-10-12
CN111105839A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
US11145386B2 (en) Chip testing method, device, electronic apparatus and computer readable medium
US11734113B2 (en) Solid state disk access method and apparatus, device, and medium
CN113160875A (en) Chip test system and test method
CN107193733A (en) Simulate the methods, devices and systems of Monkey tests
CN112466379B (en) Memory bit mapping relation determination method and device, processor chip and server
CN105070321A (en) Quick test circuit and method for memory device
CN114116355A (en) Memory test method and device and electronic equipment
CN116149901A (en) A data verification test method, device and computer-readable storage medium
CN112380127B (en) Test case regression method, device, equipment and storage medium
US7293204B2 (en) Computer peripheral connecting interface system configuration debugging method and system
CN114822675A (en) Memory detection method and device, electronic equipment and storage medium
CN107766228A (en) It is a kind of based on multilingual automated testing method and device
CN106649137B (en) Nand Flash bad block management method and device and memory
CN105183641A (en) Data consistency check method and system for kernel module
CN112463633A (en) Method, device, equipment and medium for checking address decoding of on-chip memory
CN114649051B (en) Memory test method, device and system
KR20110010381A (en) Semiconductor memory device including self repair function and its self repair method
CN107807870B (en) A method and system for testing the power failure protection function of a storage server motherboard
CN119806898B (en) Methods, apparatus, equipment and storage media for improving Flash mass production efficiency
CN106776779A (en) The method of the JSON data genaration entity files based on Mac platforms
CN102591669B (en) Modularized computer firmware and realizing method thereof
US11579195B2 (en) Automated verification code generation based on a hardware design and design data
CN120162261A (en) Test case generation method, electronic device, storage medium and computer program product
CN101470650B (en) Method and device for detecting computer motherboard
TW440765B (en) L2 cache testing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19877033

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19877033

Country of ref document: EP

Kind code of ref document: A1