DFT signal data processing method, DFT design method and verification method

Through the processing of the DFT signal table and the application of DFT scripts, design code and verification test cases are generated, and the problems of incomplete functional points and easy-to-missage changes in the DFT design/verification process are solved, and the chip test coverage and development are improved Efficiency, achieving higher measurability and reliability.

CN118536442BActive Publication Date: 2024-11-08MINDMOTION MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411000776.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-08
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

The DFT design/verification process has problems such as incomplete design function points, easy to miss changes, and poor code reusability, resulting in long chip development time, low verification efficiency, low test coverage, and low streaming success rate.

Method used

By splitting the DFT signal total table into different tables, generating input data files, and using DFT scripts for data processing, automatically generating design code and verification test cases, adding DFT monitor to detect signal consistency, and integrating design verification data to improve compatibility and reusability.

Benefits of technology

It solves the problems of easy design omission, long verification time and low coverage, improves chip measurability and testing reliability, shortens development time, and improves design and verification compatibility and reusability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536442B_ABST
    Figure CN118536442B_ABST
Patent Text Reader

Abstract

The present invention discloses a DFT signal data processing method, a DFT design method and a verification method, comprising: splitting the input DFT signal total table into different tables to generate different input data files; placing the generated input data files into the input folders of the DFT design module and the DFT verification module respectively; and performing data processing operations on the input folders of the DFT design module or the DFT verification module by a DFT script. The embodiment of the present invention solves the problems of incomplete SOC-level DFT design function points, easy omission of changes, and poor code reusability leading to long chip development time, as well as the problems of low SOC-level DFT verification efficiency, low chip test coverage, and low chip tape-out success rate, thereby increasing DFT design and verification coverage, and improving chip testability and test reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of chip testing technology, and in particular to a DFT signal data processing method, a DFT design method and a DFT verification method. Background Art

[0002] As more and more devices are integrated on a chip, the design complexity of SoC chips has increased dramatically, resulting in a greater possibility of chip defects. For mass-produced chips, chip testing is required to screen out defective chips, but traditional chip testing requires high testing costs and time. Currently, chip testing has begun to be considered in the chip design process, that is, adding the DFT (Design For Test) testability design process.

[0003] The DFT process is widely used in monolithic VLSIs represented by CPUs and GPUs. The purpose of using the DFT process is to find fixed faults in the chip and test the actual performance of the chip, so as to facilitate mass production screening. The current test structure of the DFT process mainly includes: scan chain test, boundary scan test, memory built-in self-test, analog test, etc.

[0004] The purpose of DFT design is to embed certain special structures into the circuit during the chip design stage so that the chip can be tested after tape-out to detect design defects that occur during the manufacturing process. The purpose of DFT verification is to check for errors in the design and ensure that the design meets its design specifications and expected functions.

[0005] However, the current DFT design / verification flow has obvious shortcomings, such as:

[0006] 1. DFT design / verification documents come from many sources, including documents from architecture engineers, IP design engineers, backend engineers, and simulation engineers. This results in many changes to DFT design / verification during the project due to document changes for some chips, which can easily lead to omissions and result in the inability to mass produce chips after tape-out.

[0007] 2. DFT design codes are not easy to be considered complete, which may lead to missing some test modes and signals, resulting in reduced chip testability coverage, and even failure to test some chip functions during the test phase;

[0008] 3. DFT verification requires checking the simulation waveform of each test case, checking the test mode and whether the chip signal is consistent with the expectation, which has low work efficiency. In addition, the compilation time of the SOC-level verification platform is very long, the simulation target file is large, and the simulation time of a single test case is long, which greatly compresses the DFT verification debugging time.

[0009] 4. DFT designs for different projects need to redesign and modify the system-level RTL code according to project requirements, resulting in poor compatibility and reusability of DFT design codes, poor reusability of verification codes, and extended chip development time. Summary of the invention

[0010] One of the purposes of the present invention is to provide a SOC-level DFT signal data processing method, a DFT design method and a DFT verification method to solve the problems of incomplete SOC-level DFT design function points, easy omission of changes, and poor code reusability leading to long chip development time, as well as the technical problems of low SOC-level DFT verification efficiency, low chip test coverage, and low chip tape-out success rate.

[0011] In order to solve the above technical problems, in a first aspect, an embodiment of the present invention provides a DFT signal data processing method, the method comprising:

[0012] Split the input DFT signal table into different tables to generate different input data files;

[0013] Put the generated input data files into the input folders of the DFT design module and the DFT verification module respectively;

[0014] The DFT script performs data processing operations on the input folder of the DFT design module or the DFT verification module.

[0015] Preferably, the step of splitting the input DFT signal total table into different tables to generate different input data files specifically includes:

[0016] Convert the input DFT signal summary table into an intermediate text file through a script;

[0017] Classify and sort the signals according to the signal names, the signals including: analog input signal, analog output signal, IO input signal, IO output signal, memory input signal, memory output signal, cross-voltage domain input signal, and cross-voltage domain output signal;

[0018] Generate the first corresponding file in each test mode according to the test priority and signal sorting;

[0019] Determine the signal name and design expected value that the DFT design needs to use in each test mode, and generate the second corresponding file;

[0020] Determine the signal name, design expected value, verification expected value of the non-DFT design multiplexing signal and the verification stimulus value of the DFT design multiplexing signal in each test mode, and generate a third corresponding file.

[0021] Preferably, the DFT script performs data processing operations on the input folder of the DFT design module, specifically including:

[0022] Compare the design expected value and verification expected value of the non-DFT design multiplexing signal in each test mode. If they are inconsistent, modify the verification expected value.

[0023] Generate input and output signal files in each test mode according to the first corresponding file;

[0024] Generate an internal signal file required for each test mode according to the first corresponding file and the second corresponding file;

[0025] According to the first corresponding file and the third corresponding file, the DFT design expected value and the signal name are matched one by one. If the DFT design expected value of a signal is mask, the DFT design does not use the signal in this test mode, and the signal expected value is the default power-on reset value.

[0026] Preferably, the DFT script performs data processing operations on the input folder of the DFT verification module, specifically including:

[0027] According to the first corresponding file and the third corresponding file, the DFT verification expected value is matched with the non-DFT design multiplexed signal one by one. If the DFT verification expected value of a certain signal is a mask, the signal is not checked in this test mode.

[0028] According to the second corresponding file, the multiplexed signals required in each test mode are classified according to the input and output signals;

[0029] Match the verification stimulus value of the DFT design multiplexing signal in each test mode with the input signal name one by one;

[0030] The verification expected value of the DFT design multiplexing signal in each test mode is matched with the output signal name one by one.

[0031] In a second aspect, an embodiment of the present invention further provides a DFT design method based on a DFT signal data processing method, the method comprising:

[0032] Input the generated DFT signal summary table into the DFT script to determine the signal usage information of the DFT code. The DFT script automatically generates the DFT output signal code and DFT input signal code in each test mode.

[0033] According to the priority of the test mode, the DFT script merges and compresses the generated DFT design code to generate signal isolation code under different test modes;

[0034] Automatically generate module ports, inputs, outputs and internal signals based on the signal information used by the DFT code;

[0035] In the scan chain mode, the DFT script adds wrap-around logic to the output signal of the module port according to the DFT signal summary table, generates a new internal signal to replace the original input signal as the input signal in the scan chain mode.

[0036] In a third aspect, an embodiment of the present invention further provides a DFT verification method based on a DFT signal data processing method, the method comprising:

[0037] Enter different test modes. According to different test function points, the DFT script generates corresponding stimulus codes and injects corresponding stimulus values ​​into the DFT multiplexed input IO to verify whether the chip output signal is consistent with the expected value.

[0038] The DFT script automatically packages the verification code to generate DFT verification test cases with different test modes;

[0039] Using the gray box verification method, the DFT script generates corresponding assertion detection code based on IO, memory, digital and analog ports, non-multiplexed signals across voltage domains and verification expected value files to detect whether the signal value changes from entering the test mode to exiting the test mode and whether it is consistent with the expected value;

[0040] The DFT script automatically packages the generated code to generate a DFT monitor.

[0041] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the DFT signal data processing method as described above.

[0042] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the DFT signal data processing method as described above.

[0043] In a sixth aspect, an embodiment of the present invention provides an electronic device, comprising a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the DFT design method or the DFT verification method as described above.

[0044] Compared with the prior art, the DFT signal data processing method, DFT design method and DFT verification method provided by the embodiments of the present invention have at least the following beneficial effects:

[0045] The DFT signal summary table of the embodiment of the present invention directly links the documents of the architecture engineer, IP design engineer, back-end engineer, and simulation engineer through the cloud. All their modifications to the documents will be synchronized to the DFT signal summary table, which solves the problem that the DFT design and verification changes are easily missed after some chip documents in the project are changed.

[0046] The DFT script processes data through the DFT signal summary table and automatically generates DFT design code, DFT monitor, and DFT verification test cases, solving the problems of incomplete design, long verification and debugging time, and low work efficiency. The newly added DFT monitor detects whether DFT reused IO, DFT non-reuse IO, digital-analog interface signals, memory interface signals, and cross-voltage domain signals are consistent with expectations during chip simulation testing, increasing DFT design and verification coverage and improving chip testability and test reliability.

[0047] In addition, the embodiment of the present invention uses the DFT signal summary table to integrate the data required for DFT design verification, and the DFT script processes the data and generates code, thereby solving the problems of poor compatibility and reusability of DFT design code, poor reusability of verification code, and extended chip development time, and has good compatibility, reusability and scalability. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.

[0049] Figure 1 This is a flow chart of a DFT signal data processing method according to an embodiment of the present invention;

[0050] Figure 2 A schematic diagram of the documents required for the DFT design / verification process of the prior art and the DFT embodiment of the present invention is described;

[0051] Figure 3 Describes the prior art DFT design / verification flow;

[0052] Figure 4 A DFT design / verification flow chart describing an embodiment of the present invention;

[0053] Figure 5 A flowchart of a data processing module for performing data processing on a signal by a DFT script described in an embodiment of the present invention;

[0054] Figure 6 A processing flow chart of a DFT design module based on a DFT script described in an embodiment of the present invention;

[0055] Figure 7 A processing flow chart of a DFT verification module based on a DFT script described in an embodiment of the present invention;

[0056] Figure 8 The present invention is a block diagram of an electronic device for a DFT signal data processing method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0058] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".

[0059] The following mainly takes some specific embodiments as examples to describe in detail the implementation of the technical solution of the present invention.

[0060] like Figure 1 As shown, a DFT signal data processing method in an embodiment of the present invention includes:

[0061] S1. Split the input DFT signal table into different tables to generate different input data files;

[0062] S2. Put the generated input data files into the input folders of the DFT design module and the DFT verification module respectively;

[0063] S3. The DFT script performs data processing operations on the input folder of the DFT design module or the DFT verification module.

[0064] like Figure 2 As shown, Figure 2 The left side describes the documents required for the existing DFT design / verification process, including:

[0065] DFT specification sheet, from DFT design engineers;

[0066] Digital-analog interface signal table, from analog engineers;

[0067] IO allocation table, from the architecture engineer;

[0068] DFT IO multiplexing table, from backend / DFT engineers;

[0069] Memory interface signal table, from IP engineers;

[0070] Table of signals across voltage domains, from architecture engineers;

[0071] DFT verification plan / report from DFT verification engineer;

[0072] DFT checklist from architecture / analog / IP / backend / DFT design engineers;

[0073] DFT simulation waveform, from a DFT verification engineer.

[0074] Figure 2 The right side describes the documents required for the DFT design / verification process of the embodiment of the present invention, where:

[0075] DFT specification sheet, from DFT design engineers;

[0076] DFT verification plan / report from DFT verification engineer;

[0077] The DFT signal summary table directly links the documents of architecture engineers, IP design engineers, backend engineers, and simulation engineers through the cloud. All changes made to the documents will be synchronized to the DFT signal summary table.

[0078] The DFT signal summary table designed in the embodiment of the present invention is an EXCEL file, which consists of a digital-analog signal interface table, an IO allocation table, a memory interface table, a cross-voltage domain signal table, a DFT multiplexing signal table, a DFT check table, chip test mode information, and a signal value expectation table, each of which is a page of a sheet.

[0079] For example, taking the digital-to-analog signal interface table, each row represents a signal, the first column is the signal name, the second column is the signal attribute (input, output, internal signal), the third column is the signal function description, the fourth column is the voltage domain of the signal, and the fifth column is the default value of the signal after power-on reset.

[0080] Signal expected value table, filled in by DFT verification engineer;

[0081] DFT monitor, generated by DFT script, replaces the original DFT verification method of checking the signal simulation waveform and directly checks the signal to be tested;

[0082] like Figure 3 As shown, Figure 3 The present invention describes the DFT design / verification process of the prior art, in which the DFT design engineer designs the DFT code according to the DFT design document, and the designed DFT code is used for SOC-level system integration and instantiated in the system verification environment; the DFT verification engineer designs the test case for DFT verification according to the DFT design document and the DFT verification document, compiles and simulates in the system verification environment, checks the simulation waveform of each test case, and checks whether the test mode and chip signal are consistent with the expectations.

[0083] It is worth noting that DFT design and DFT verification are two independent sub-processes in the chip design process:

[0084] The purpose of DFT design is to design circuit code specifically for chip testing so that the chip can be tested after tape-out to screen out defective chips.

[0085] The purpose of DFT verification is to check whether the circuit code function of the DFT design is consistent with the expectation, whether the designed circuit code will introduce other errors, etc. It is necessary to write verification test case code, inject stimulus into the DFT design code, give verification expectation value, detect the design code response value, and compare the response value with the expected value.

[0086] From a chronological perspective, DFT design comes first and DFT verification comes later, but DFT verification will give feedback on the results of DFT design. DFT design will modify the design code based on the verification results, and then perform DFT verification until the function of the DFT design code is consistent with the expected function of DFT verification (verification simulation pass, verification waveform is consistent with expectations).

[0087] But DFT design and DFT verification require some common input files, such as:

[0088] "Chip design specification document" to clarify which test modes are required for the chip;

[0089] "Digital-analog interface signal table, IO allocation table, memory interface table, cross-voltage domain signal table" to clarify the signal direction / type / quantity;

[0090] At the same time, DFT design and DFT verification have an expected value for the above signals in each test mode. DFT design will put the expected value into the design circuit code, and DFT verification will check whether the signal waveform is consistent with the expected value during simulation verification; if the expected values ​​of the two are inconsistent, a discussion is needed to reach a consensus.

[0091] In addition, DFT verification also requires some input files from DFT design: "DFT design specifications, DFT IO multiplexing table" and other files to clarify which signals the DFT design uses;

[0092] Based on the above DFT design and verification principle description, such as Figure 4 As shown, it is a DFT design / verification process described in an embodiment of the present invention, wherein the generated DFT signal summary table is input into a dedicated DFT script.

[0093] In an embodiment of the present invention, the DFT script consists of a signal data processing module, a DFT design module, and a DFT verification module. The script is a shell script. The steps of automatically generating DFT design code, DFT monitor, and DFT verification test cases are described in the following embodiment.

[0094] like Figure 5 As shown in the figure, the DFT script processes the signal data in the DFT signal table as follows through the data processing module:

[0095] Split the DFT signal table into different tables to generate different input data files: First, convert the input file into an intermediate text file, such as a CSV file, through a python / shell script;

[0096] For the input files of the design module: classify and sort the signals according to the signal names, including analog input signals, analog output signals, IO input signals, IO output signals, memory input signals, memory output signals, cross-voltage domain input signals, cross-voltage domain output signals, etc., and generate the first corresponding file; determine the signal names that need to be reused for each test mode in the DFT design, and generate the second corresponding file; determine the signal names of the input and output of the test module and the internal signal names that need to be generated, and generate the third corresponding file, which will make a one-to-one correspondence between the DFT design expected values ​​of the circuit signals and the signal names in each test mode;

[0097] For the input file of the validation module:

[0098] According to the signal name, the signals are classified and sorted, including: analog input signal, analog output signal, IO input signal, IO output signal, memory input signal, memory output signal, cross-voltage domain input signal, cross-voltage domain output signal, etc., and the corresponding files are generated;

[0099] In each test mode, the DFT verification expected value of the circuit signal is matched with the signal name one by one, and a corresponding file is generated;

[0100] Generate monitor original file.

[0101] The DFT script performs data processing operations on the input folder of the DFT design module, including:

[0102] Compare the design expected value and verification expected value of the non-DFT design multiplexing signal in each test mode. If they are inconsistent, print an error message to clarify the correct expected value;

[0103] Generate input and output signal files of the test module according to the first corresponding file;

[0104] Generate an internal signal file of the test module according to the first corresponding file and the second corresponding file;

[0105] According to the first corresponding file and the third corresponding file, the DFT design expected value and the signal name are matched one by one. If the DFT design expected value of a signal is mask, the DFT design does not use the signal in this test mode, and the signal expected value is the default power-on reset value.

[0106] The DFT script performs data processing operations on the input folder of the DFT verification module, including:

[0107] According to the first corresponding file and the third corresponding file, the DFT verification expected value is matched with the non-DFT design multiplexed signal one by one. If the DFT verification expected value of a certain signal is a mask, the signal is not checked in this test mode.

[0108] According to the second corresponding file, the multiplexed signals required in each test mode are classified according to the input and output signals;

[0109] Match the verification stimulus value of the DFT design multiplexing signal in each test mode with the input signal name one by one;

[0110] The verification expected value of the DFT design multiplexing signal in each test mode is matched with the output signal name one by one.

[0111] The embodiment of the present invention further provides a DFT design method based on a DFT script, the method comprising the following steps:

[0112] S21, input the generated DFT signal summary table into the DFT script, determine the signal usage information of the DFT code, and the DFT script automatically generates the DFT output signal code and the DFT input signal code in each test mode;

[0113] S22. According to the priority of the test mode, the DFT script merges and compresses the generated DFT design codes to generate signal isolation codes under different test modes;

[0114] S23, automatically generate module ports, inputs, outputs and internal signals according to the usage signal information of the DFT code;

[0115] S24. In the scan chain mode, the DFT script adds a wrap-around logic to the output signal of the module port according to the DFT signal summary table, generates a new internal signal to replace the original input signal as the input signal in the scan chain mode.

[0116] That is, according to the chip test mode information, the DFT script generates the entry and exit logic codes of different test modes; the generated DFT signal summary table is input into the DFT script to determine the signal usage information of the DFT code, and the DFT output signal code and DFT input signal code under each test mode are automatically generated;

[0117] The design module of the DFT script will output the design code file asic_test.v. The module port asic_test is instantiated in asic_test. That is, a module named asic_test is instantiated. The module port has input and output signal interfaces, and the module has combinational timing logic inside.

[0118] The signal usage information includes: DFT multiplexed signal name, IO non-multiplexed signal name, digital-analog interface non-multiplexed signal name, memory non-multiplexed signal name, cross-voltage domain non-multiplexed signal name and DFT signal design expected value corresponding to the test mode type;

[0119] The generated DFT design code is merged and compressed according to the test mode priority script to generate signal isolation code under different test modes; according to the signal information used by the code, the DFT script automatically generates module ports, inputs, outputs and internal signals;

[0120] Then, in the scan chain mode, the DFT script will generate part of the output signals of the module port according to the DFT signal summary table, add wrap-around logic, and generate new internal signals to replace part of the original input signals as the input signals in the scan chain mode.

[0121] In test mode, some digital-to-analog interface signals, IO signals, and memory interface signals always maintain the same value. However, these signal values ​​will change when the chip is working normally. Therefore, in order to improve the coverage and observability of the test mode, some output signals of the asic_test module port are added with loopback logic to replace the original input signals, ensuring that the signal values ​​of these signals will continue to change in test mode and can be used normally in functional mode.

[0122] like Figure 6 As shown in the figure, the DFT design RTL code consists of the following parts:

[0123] 1. Test mode entry and exit logic code;

[0124] 2. After entering the test mode, the corresponding logic code needs to be added for the signals that need to be reused when performing different tests;

[0125] 3. According to the chip architecture, in different test modes, some input and output non-multiplexed signals need to be fixed values, some input and output non-multiplexed signals need to be default values, and some input and output non-multiplexed signals need to be variable values. It is necessary to add mode selection related logic code;

[0126] 4. In order to improve the test coverage of the chip scan chain mode, some module port output signals are replaced with original input signals after adding combinational logic codes;

[0127] 5. After the test mode is completed, the logic code of the relevant information is generated according to the test results.

[0128] The embodiment of the present invention further provides a DFT verification method based on a DFT script, the method comprising the following steps:

[0129] S31, enter different test modes, according to different test function points, the DFT script generates corresponding stimulus codes and injects corresponding stimulus values ​​into the DFT multiplexed input IO to verify whether the chip output signal is consistent with the expected value;

[0130] S32, DFT script automatically packages the verification code to generate DFT verification test cases of different test modes;

[0131] S33, using the gray box verification method, the DFT script generates corresponding assertion detection code based on IO, memory, digital-analog ports, non-multiplexed signals across voltage domains and verification expected value files to detect whether the signal value changes from entering the test mode to exiting the test mode and whether it is consistent with the expected value;

[0132] S34. The DFT script automatically packages the generated code to generate a DFT monitor.

[0133] That is, according to different test modes, generate the key coding logic stimulus code for entering the test mode and the relevant code for checking the exit of the test mode after the test is completed; according to different test function points, generate the corresponding stimulus code and inject the corresponding test stimulus value into the DFT multiplexed input IO, and check whether the output signal of the DFT multiplexed output IO is consistent with the DFT verification expected value;

[0134] The DFT script automatically packages the verification code to generate DFT verification test cases in different modes;

[0135] Using the gray box verification method, the DFT script generates corresponding assertion detection code based on IO, memory, digital and analog ports, non-multiplexed signals across voltage domains and verification expected values ​​to detect whether the signal value changes from entering the test mode to exiting the test mode and whether it is consistent with the expected value;

[0136] The script automatically packages the code to generate a DFT monitor.

[0137] Create verification case folders of different test modes according to the chip test mode information, including user.v and other files; generate the key coding logic stimulus code for entering the test mode and the test mode exit code after the test is completed in user.v according to different test modes; the DFT script automatically generates the DFT design code for SOC-level system integration and instantiates it in the system verification environment; the DFT verification engineer modifies and runs the automatically generated DFT verification test cases, compiles and simulates them in the system verification environment, and only checks whether the test cases pass, without checking the simulation waveforms, and uses DFTmonitor instead of checking.

[0138] like Figure 7 As shown, in the embodiment of the present invention, specifically, the DFT verification method is composed of two parts. The first part is to automatically generate a test instance testcase: the test instance testcase can generate a test stimulus in the simulation, enter the test mode through the DFT multiplexing IO input, and perform chip testing. After the chip test is completed, the DFT multiplexing IO output signal is checked. Here, only the chip external multiplexing signal is detected after the test is completed, wherein the test stimulus logic is basically universal for each project and does not need to be modified, and only the DFT multiplexing signal needs to be modified for different projects;

[0139] The second part is to automatically generate a monitor: the monitor is instantiated in the chip system verification environment. During the entire chip simulation process, it will detect whether the internal and external signals of the chip are consistent with expectations. If they are inconsistent, an error will be printed to indicate which signal has a problem, thereby increasing the debugging speed.

[0140] Compared with the prior art, the DFT signal data processing method, DFT design method and DFT verification method provided by the embodiments of the present invention have at least the following beneficial effects:

[0141] The DFT signal summary table of the embodiment of the present invention directly links the documents of the architecture engineer, IP design engineer, back-end engineer, and simulation engineer through the cloud. All their modifications to the documents will be synchronized to the DFT signal summary table, which solves the problem that the DFT design and verification changes are easily missed after some chip documents in the project are changed.

[0142] The DFT script processes data through the DFT signal summary table and automatically generates DFT design code, DFT monitor, and DFT verification test cases, solving the problems of incomplete design, long verification and debugging time, and low work efficiency. The newly added DFT monitor detects whether DFT reused IO, DFT non-reuse IO, digital-analog interface signals, memory interface signals, and cross-voltage domain signals are consistent with expectations during chip simulation testing, increasing DFT design and verification coverage and improving chip testability and test reliability.

[0143] In addition, the embodiment of the present invention uses the DFT signal summary table to integrate the data required for DFT design verification, and the DFT script processes the data and generates code, thereby solving the problems of poor compatibility and reusability of DFT design code, poor reusability of verification code, and extended chip development time, and has good compatibility, reusability and scalability.

[0144] See also Figure 8 , Figure 8 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Figure 8 As shown, the electronic device 1000 includes a processor 1001 and a memory 1002, and the processor 1001 and the memory 1002 can be connected to each other via a communication bus 1003. The communication bus 1003 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 1003 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 The memory 1002 is used to store computer programs, which include program instructions. The processor 1001 is configured to call program instructions. The program includes steps for executing some or all of the steps in the method included in the embodiment of the present invention.

[0145] The processor 1001 may be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.

[0146] The memory 1002 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a bus. The memory may also be integrated with the processor.

[0147] The electronic device 1000 may further include a communication module 1004 and a display 1005. The communication module 1004 may be connected to the optical tracking device for communication. The communication module 1004 may be a wireless communication module (eg, a WiFi module, a Bluetooth module, etc.) or a wired communication module.

[0148] In addition, the electronic device 1000 may also include common components such as a communication interface (eg, a USB interface, a microphone interface, etc.), an antenna, etc., which will not be described in detail here.

[0149] An embodiment of the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any surgical needle guidance method recorded in the above method embodiments.

[0150] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0151] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0152] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.

[0153] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0154] In addition, the functional units in the various embodiments of the application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software program modules.

[0155] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0156] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, which can include: a flash drive, a read-only memory, a random access memory, a magnetic disk or an optical disk, etc.

[0157] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A DFT signal data processing method, characterized in that: The method comprises: Split the input DFT signal table into different tables to generate different input data files, including: Convert the input DFT signal summary table into an intermediate text file through a script; Classify and sort the signals according to the signal names, the signals including: analog input signal, analog output signal, IO input signal, IO output signal, memory input signal, memory output signal, cross-voltage domain input signal, and cross-voltage domain output signal; Generate the first corresponding file in each test mode according to the test mode priority and signal sorting; Determine the signal name and design expected value that the DFT design needs to use in each test mode, and generate a second corresponding file; Determine the signal name, design expected value, verification expected value of the non-DFT design multiplexing signal, and verification stimulus value of the DFT design multiplexing signal in each test mode, and generate a third corresponding file; Put the generated input data files into the input folders of the DFT design module and the DFT verification module respectively; The DFT script performs data processing operations on the input folder of the DFT design module or the DFT verification module, wherein the data processing operations performed by the DFT script on the input folder of the DFT design module specifically include: Compare the design expected value and verification expected value of the non-DFT design multiplexing signal in each test mode. If they are inconsistent, modify the verification expected value. Generate input and output signal files in each test mode according to the first corresponding file; Generate an internal signal file required for each test mode according to the first corresponding file and the second corresponding file; According to the first corresponding file and the third corresponding file, the DFT design expected value and the signal name are matched one by one. If the DFT design expected value of a signal is a mask, the DFT design does not use this signal in this test mode, and the signal expected value is the default power-on reset value; The DFT script performs data processing operations on the input folder of the DFT verification module, including: According to the first corresponding file and the third corresponding file, the DFT verification expected value is matched with the non-DFT design multiplexed signal one by one. If the DFT verification expected value of a certain signal is a mask, the signal is not checked in this test mode. According to the second corresponding file, the multiplexed signals required in each test mode are classified according to the input and output signals; Match the verification stimulus value of the DFT design multiplexing signal in each test mode with the input signal name one by one; The verification expected value of the DFT design multiplexing signal in each test mode is matched with the output signal name one by one.

2. A DFT design method based on the DFT signal data processing method according to claim 1, characterized in that: The method comprises: Input the generated DFT signal summary table into the DFT script to determine the signal usage information of the DFT code. The DFT script automatically generates the DFT output signal code and DFT input signal code in each test mode. According to the priority of the test mode, the DFT script merges and compresses the generated DFT design code to generate signal isolation code under different test modes; Automatically generate module ports, inputs, outputs and internal signals based on the signal information used by the DFT code; In the scan chain mode, the DFT script adds wrap-around logic to the output signal of the module port according to the DFT signal summary table, generates a new internal signal to replace the original input signal as the input signal in the scan chain mode.

3. The DFT design method according to claim 2, characterized in that: The signal usage information includes: DFT multiplexed signal name corresponding to the test mode type, determined DFT multiplexed signal value, IO non-multiplexed signal name, digital-analog interface non-multiplexed signal name, memory non-multiplexed signal name, cross-voltage domain non-multiplexed signal and DFT signal design expected value.

4. A DFT verification method based on the DFT signal data processing method according to claim 1, characterized in that: The method comprises: Enter different test modes. According to different test function points, the DFT script generates corresponding stimulus codes and injects corresponding stimulus values ​​into the DFT multiplexed input IO to verify whether the chip output signal is consistent with the expected value. The DFT script automatically packages the verification code to generate DFT verification test cases with different test modes; Using the gray box verification method, the DFT script generates corresponding assertion detection code based on IO, memory, digital and analog ports, non-multiplexed signals across voltage domains and verification expected value files to detect whether the signal value changes from entering the test mode to exiting the test mode and whether it is consistent with the expected value; The DFT script automatically packages the generated code to generate a DFT monitor.

5. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to claim 1.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor, the processor is caused to perform the method according to claim 1, 2 or 4.

7. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to claim 2 or 4.