CN101799506B - Chip test method, device and system based on script control - Google Patents

Chip test method, device and system based on script control Download PDF

Info

Publication number
CN101799506B
CN101799506B CN201010153051XA CN201010153051A CN101799506B CN 101799506 B CN101799506 B CN 101799506B CN 201010153051X A CN201010153051X A CN 201010153051XA CN 201010153051 A CN201010153051 A CN 201010153051A CN 101799506 B CN101799506 B CN 101799506B
Authority
CN
China
Prior art keywords
script
instrument
integrated circuit
unit
measured integrated
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.)
Expired - Fee Related
Application number
CN201010153051XA
Other languages
Chinese (zh)
Other versions
CN101799506A (en
Inventor
李俊鸿
郑卫国
叶晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
RISING MICRO ELECTRONICS CO Ltd
Original Assignee
RISING MICRO ELECTRONICS CO Ltd
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 RISING MICRO ELECTRONICS CO Ltd filed Critical RISING MICRO ELECTRONICS CO Ltd
Priority to CN201010153051XA priority Critical patent/CN101799506B/en
Publication of CN101799506A publication Critical patent/CN101799506A/en
Application granted granted Critical
Publication of CN101799506B publication Critical patent/CN101799506B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses chip test method, device and system based on script control. The chip test method is characterized in that a main control server starts a test platform, a script runs in the test platform, and an SCPI (Standard Command for a Programmable Instrument) is sent to a signal source; the signal source transfers generated excitation signals to an integrated circuit to be tested based on the SCPI; a circuit state of the integrated circuit to be tested is changed under the action of the excitation signals; an analysis instrument detects the circuit state of the integrated circuit to be tested; and the main control server sends the SCPI to the analysis instrument, and circuit state data of the integrated circuit to be tested, which are detected by the analysis instrument, are collected. In the method, the script which is simple and feasible to revise is introduced into a test process, thereby greatly reducing the difficulty and the workload of programming and also enhancing the test efficiency.

Description

Chip detecting method, Apparatus and system based on script control
Technical field
The application relates to field of automatic testing, particularly relates to a kind of chip detecting method Apparatus and system based on script control.
Background technology
The test of existing integrated circuits chip initial stage is manually accomplished in the laboratory usually; What need that the tester spends great amount of time repeatability carries out statistical test to the chip performance index; And it is bigger to the loss of testing tool button; The frequent generation that also leads to errors easily, test condition receives the restriction (different testers uses different test customs and reading custom etc.) of various human factors simultaneously, thereby influences the effect of test data.
Usually way is to use programming tool such as Visual C++ programming, calls the tool interface system library file, in programmable instrument standard commands SCPI write-in program code, compiles the formation executable file then.Connect testing tool and circuit under test and form test macro, move this program, the adjustment parameter options is carried out the test of long-distance distribution formula.
But the method for above-mentioned utilization programming need be programmed into the SCPI order in the program source code, and the source code that is about to concrete content measurement and test macro closely merges, and becomes executable file after the compiling.When revising the adjustment content measurement, need the SCPI order of instrument be found out from source program code, carry out additions and deletions, update routine recompilates; This programmer that need be proficient in this programming language works out, and receives a large amount of and the non-program source code interference that is closely related of content measurement, and workload is big during programming, and difficulty is big, easy error.And this method is because need the intervention of third party's compiler, and implementation procedure is more loaded down with trivial details.In addition, what it was faced is fixing test event, poor expandability.
Summary of the invention
For solving the problems of the technologies described above, the application embodiment provides a kind of chip detecting method, Apparatus and system based on script control, concrete content measurement is placed script file, and separate with test platform, reaches the easy of remote testing, flexibly purpose.
Technical scheme is following:
A kind of chip detecting method based on script control comprises:
Main control startup of server test platform, Run Script in said test platform, and send programmable instrument standard commands SCPI to signal source;
Said signal source is transported to to-be-measured integrated circuit according to said programmable instrument standard commands SCPI with the pumping signal that produces;
Said to-be-measured integrated circuit changes circuit state under the effect of said pumping signal;
Analytical instrument detects the circuit state of said to-be-measured integrated circuit;
The main control server sends programmable instrument standard commands SCPI to said analytical instrument, gathers the circuit state data of the said to-be-measured integrated circuit of said analytical instrument detection.
Above-mentioned method, preferred, the process of said test platform Run Script is:
Said test platform receives the script that the user imports;
Said script is carried out pre-service, resolve the instrument object and the remote interface that contain in the said script, and open said instrument object;
Analyze said logical relation through the pre-service script;
According to said logical relation said instrument object is carried out teleinstruction control.
A kind of apparatus for testing chip based on script control comprises: the main control server, signal source, analytical instrument and the to-be-measured integrated circuit that contain test platform;
Wherein: said main control server is used to start said test platform; The script that run user is uploaded in said test platform; And send SCPI and order said signal source and said analytical instrument, and gather the circuit state data of the said to-be-measured integrated circuit of said analytical instrument detection;
Said signal source is used for ordering the pumping signal with its generation to be transported to to-be-measured integrated circuit according to said SCPI;
Said to-be-measured integrated circuit is used to receive said pumping signal, and under the effect of said pumping signal, changes circuit state;
Said analytical instrument is used to detect the circuit state of said to-be-measured integrated circuit.
Above-mentioned device, preferred, said test platform comprises:
User operation unit, script receiving element, script pretreatment unit, script explanation unit, virtual instrument interface unit and data are preserved the unit;
Said user operation unit is used for the user edits script, and editor's script is imported said script receiving element;
Said script receiving element is used to receive the script that said user operation unit imports, and said script is sent to the script pretreatment unit;
Said script pretreatment unit is used for script is carried out pre-service, resolves the instrument object and the remote interface that contain in the said script, and opens said instrument object;
Said script explanation unit is used to analyze the logical relation through the pretreated script of said script pretreatment unit, and according to said logical relation, said instrument object is carried out teleinstruction control;
Said virtual instrument interface unit is used to shield the difference between the remote interface, makes the instrument object in the script only need can to identify and visit with title;
Said data preservation unit is used for the circuit state data of the said to-be-measured integrated circuit of the said analytical instrument detection of gathering are preserved.
Above-mentioned device, preferred, it is spreadsheet format that said data are preserved the data layout of preserving the unit.
A kind of chip test system based on script control comprises client, application end and the apparatus for testing chip of controlling based on script.
The technical scheme that is provided by above the application embodiment is visible, and the application is incorporated into script in the test process, and test run platform and steering logic and instrument steering order are separated; Make that the test run platform is relatively-stationary, often revise the content that changes and embody through script.The test run platform provides the platform of script operation, and does not have relatedly with the project particular content of test, so be relatively-stationary, system moves stability and safety more.Script is revised simple and easy to do, has significantly reduced the difficulty and the workload of program composition, has also improved testing efficiency.
Description of drawings
In order to be illustrated more clearly in the application embodiment or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiment that put down in writing among the application, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 realizes the process flow diagram based on the chip detecting method of script control for the application embodiment;
Fig. 2 is the process flow diagram of the disclosed test platform Run Script of the application embodiment;
Fig. 3 is the disclosed apparatus for testing chip structural drawing based on script control of the application embodiment;
Fig. 4 is the another structural drawing of the disclosed apparatus for testing chip based on script control of the application embodiment;
Fig. 5 is the concrete structure figure of the disclosed test platform of the application embodiment;
Fig. 6 is the structural drawing of the disclosed chip test system based on script control of the application embodiment.
Embodiment
The application embodiment provides a kind of chip detecting method based on script, device and system.Main control server operation automatic testing software and script; Send SCPI and order signal source; Signal source is transported to to-be-measured integrated circuit with the pumping signal of its generation; The variation that to-be-measured integrated circuit takes place is detected by the analytical instrument that is connected, and the main control server is gathered related data through sending controling instruction to analytical instrument, is saved in then in the main control server.
More than be the application's core concept, understand the application's scheme better in order to make those skilled in the art person.To combine the accompanying drawing among the application embodiment below, the technical scheme among the application embodiment is carried out clear, intactly description, obviously, described embodiment only is the application's part embodiment, rather than whole embodiment.Based on the embodiment among the application, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all should belong to the scope of the application's protection.
The application embodiment realizes based on the process flow diagram of the chip detecting method of script control as shown in Figure 1, and performing step is following:
Step S101: main control startup of server test platform, Run Script in said test platform, and send programmable instrument standard commands SCPI to signal source;
Step S102: signal source is transported to to-be-measured integrated circuit according to programmable instrument standard commands SCPI with the pumping signal that produces;
Step S103: to-be-measured integrated circuit changes circuit state under the effect of pumping signal;
Step S104: analytical instrument detects the circuit state of to-be-measured integrated circuit;
Step S105: the main control server sends programmable instrument standard commands SCPI to analytical instrument, the circuit state data of the to-be-measured integrated circuit that collection analysis instrument detects.
The process flow diagram of the disclosed test platform Run Script of the application embodiment is as shown in Figure 2, and performing step is following:
Step S201: test platform receives the script that the user imports;
Step S202: script is carried out pre-service, resolve the instrument object and the remote interface that contain in the script, and open the instrument object;
Step S203: analyze logical relation through the pre-service script;
Step S204: the instrument object is carried out teleinstruction control according to logical relation.
The disclosed apparatus for testing chip structural drawing based on script control of the application embodiment is as shown in Figure 3, comprising: the main control server 301, signal source 302, analytical instrument 304 and the to-be-measured integrated circuit 303 that contain test platform 312;
Main control server 301 is used to start test platform 312; The script 311 that run user is uploaded in test platform 312; Send SCPI and order signal source 302 and analytical instrument 304, and the circuit state data of the to-be-measured integrated circuit 303 of collection analysis instrument 304 detections;
Signal source 302 is used for ordering the pumping signal with its generation to be transported to to-be-measured integrated circuit 303 according to SCPI;
To-be-measured integrated circuit 303 is used to receive the pumping signal that signal source 302 is sent, and under the effect of pumping signal, changes circuit state;
Analytical instrument 304 is used to detect the circuit state of to-be-measured integrated circuit 303.
Before using the disclosed apparatus for testing chip of the application embodiment, at first need connect the remote connection interface, normally hardware interfaces such as gpib interface, serial ports, Ethernet etc. based on script control;
The user need use script compile script file; The script of writing is a computer documents, and filename is arranged, and its content can comprise structures such as order is carried out, condition is carried out, circulation execution; The user is according to test event demand compile script file, and remote connection interface definition and steering order are enrolled script, wherein instructs with character string forms; Both sides add quotation marks; In script file, increase the instruction of data acquisition and preservation, test data can be gathered and preserve, many test items can be put into same script file and test.
The test logic relation also can only be described in the script file, control command, and the instrument definitional part describes in addition or the use test platform software is searched, added; The user opens test platform, imports the script file of finishing, and can move.
The another structural drawing of the disclosed apparatus for testing chip based on script control of the application embodiment is as shown in Figure 4, is known that by Fig. 4 the disclosed device of the application embodiment is tested through a plurality of testing tools of standard commands SCPI networking control able to programme are collaborative.
The main control server can send SCPI and order to a plurality of signal sources, and each signal source sends to to-be-measured integrated circuit with the pumping signal of its generation respectively under the SCPI order that the main control server sends;
Analytical instrument detects the circuit state of to-be-measured integrated circuit under the effect of the pumping signal of sending with the corresponding signal source of its analytical instrument; The SCPI that the main control server could also send and send to signal source orders corresponding SCPI to order to analytical instrument, obtains the circuit state data of the to-be-measured integrated circuit of analytical instrument detection.
The concrete structure figure of the disclosed test platform of the application embodiment is as shown in Figure 5, comprising: user operation unit 401, script receiving element 402, script pretreatment unit 403, script explanation unit 404, virtual instrument interface unit 405 and data are preserved unit 406;
User operation unit 401 is used for the user edits script, and editor's script is imported script receiving element 402;
Script receiving element 402 is used to receive the script that said user operation unit 401 imports, and script is sent to script pretreatment unit 403;
Script pretreatment unit 403 is used for script is carried out pre-service, resolves the instrument object and the remote interface that contain in the said script, and opens said instrument object;
Script explanation unit 404 is used to analyze the logical relation through said script pretreatment unit 403 pretreated scripts, and according to the logical relation in the script of handling through pretreatment unit 403, the instrument object is carried out teleinstruction control;
Virtual instrument interface unit 405 is used to shield the difference between the remote interface, makes the instrument object in the script only need can to identify and visit with title; Virtual interface unit 405 provides the driver of various interface, and the method for operating of unified interface makes application program pass through the instrument that access handle can be visited various communications protocol, like RS232, and LXI, GPIB, communications protocol such as PXI.
Data preservation unit 406 is used for the circuit state data of the to-be-measured integrated circuit of analytical instrument 304 detections of gathering are preserved, and the circuit state data are preserved into spreadsheet format or alternative document form.
403 pairs of script preprocessing process of script pretreatment unit are specially: in the script file stem, find out earlier networking instrument and definition of keywords, separate this article one's own profession, obtain reference name and instrument reference address in the script; Open instrument through reference address then, obtain the access handle of instrument, utilize two-dimensional array storage this an instrument reference name and an access handle, form both corresponding relations.Follow-up through in two-dimensional array, searching reference name, can obtain deserved instrument access handle, therefore, the variable access handle that is changed to of reference name in the script file, and then visit and operate corresponding instrument.The networking instrument of all definition of processing scripts file is set up the one by one relation of mapping of reference name to the networking instrument successively.Therefore, the present invention can define a plurality of remote instruments simultaneously, a plurality of networking instrument of operation collaborative work in test.
The script explanation unit reads in remaining content in the script file line by line, analyzes logical relation wherein, the instrument object of effect, the SCPI order that instrument uses in the script.
The structural drawing of the disclosed chip test system based on script control of the application embodiment is as shown in Figure 6, comprising: client 501, based on the apparatus for testing chip 502 and the application end 503 of script control;
Wherein: client 501 is used to the client exercisable platform is provided;
Apparatus for testing chip 502 based on script control is used for remote instruments is tested;
Application end 503 is used for the practical implementation test process.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is the difference with other embodiment.The above only is the application's a embodiment; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the application's principle; Can also make some improvement and retouching, these improvement and retouching also should be regarded as the application's protection domain.

Claims (4)

1. the chip detecting method based on script control is characterized in that, comprising:
Main control startup of server test platform, Run Script in said test platform, and send programmable instrument standard commands SCPI to signal source;
Said signal source is transported to to-be-measured integrated circuit according to said programmable instrument standard commands SCPI with the pumping signal that produces;
Said to-be-measured integrated circuit changes circuit state under the effect of said pumping signal;
Analytical instrument detects the circuit state of said to-be-measured integrated circuit;
The main control server sends programmable instrument standard commands SCPI to said analytical instrument, gathers the circuit state data of the said to-be-measured integrated circuit of said analytical instrument detection;
Wherein:
The process of said test platform Run Script is:
Said test platform receives the script that the user imports;
Said script is carried out pre-service, resolve the instrument object and the remote interface that contain in the said script, and open said instrument object;
Analyze said logical relation through the pre-service script;
According to said logical relation said instrument object is carried out teleinstruction control.
2. the apparatus for testing chip based on script control is characterized in that, comprising: the main control server, signal source, analytical instrument and the to-be-measured integrated circuit that contain test platform;
Wherein: said main control server is used to start said test platform; The script that run user is uploaded in said test platform; And send SCPI and order said signal source and said analytical instrument, and gather the circuit state data of the said to-be-measured integrated circuit of said analytical instrument detection;
Said signal source is used for ordering the pumping signal with its generation to be transported to to-be-measured integrated circuit according to said SCPI;
Said to-be-measured integrated circuit is used to receive said pumping signal, and under the effect of said pumping signal, changes circuit state;
Said analytical instrument is used to detect the circuit state of said to-be-measured integrated circuit;
Wherein:
Said test platform comprises:
User operation unit, script receiving element, script pretreatment unit, script explanation unit, virtual instrument interface unit and data are preserved the unit;
Said user operation unit is used for the user edits script, and editor's script is imported said script receiving element;
Said script receiving element is used to receive the script that said user operation unit imports, and said script is sent to the script pretreatment unit;
Said script pretreatment unit is used for script is carried out pre-service, resolves the instrument object and the remote interface that contain in the said script, and opens said instrument object;
Said script explanation unit is used to analyze the logical relation through the pretreated script of said script pretreatment unit, and according to said logical relation, said instrument object is carried out teleinstruction control;
Said virtual instrument interface unit is used to shield the difference between the remote interface, makes the instrument object in the script only need can to identify and visit with title;
Said data preservation unit is used for the circuit state data of the said to-be-measured integrated circuit of the said analytical instrument detection of gathering are preserved.
3. device according to claim 2 is characterized in that, it is spreadsheet format that said data are preserved the data layout of preserving the unit.
4. the chip test system based on script control is characterized in that, comprises each described apparatus for testing chip based on script control of client, application end and claim 2~3.
CN201010153051XA 2010-04-21 2010-04-21 Chip test method, device and system based on script control Expired - Fee Related CN101799506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010153051XA CN101799506B (en) 2010-04-21 2010-04-21 Chip test method, device and system based on script control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010153051XA CN101799506B (en) 2010-04-21 2010-04-21 Chip test method, device and system based on script control

Publications (2)

Publication Number Publication Date
CN101799506A CN101799506A (en) 2010-08-11
CN101799506B true CN101799506B (en) 2012-05-30

Family

ID=42595263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010153051XA Expired - Fee Related CN101799506B (en) 2010-04-21 2010-04-21 Chip test method, device and system based on script control

Country Status (1)

Country Link
CN (1) CN101799506B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375103B (en) * 2010-08-27 2015-07-29 富泰华工业(深圳)有限公司 Electronic product test device and method
CN102479123A (en) * 2010-11-29 2012-05-30 上海华虹集成电路有限责任公司 System and method for testing chip operating system (COS)
CN101986280A (en) * 2010-11-29 2011-03-16 浙江大学 Automatic testing platform for virtual computing system
CN102081679B (en) * 2011-01-24 2012-10-03 深圳市共济科技有限公司 Computer performance data acquisition method and device
CN103969520A (en) * 2013-01-30 2014-08-06 深圳伊欧陆微电子系统有限公司 Hardware testing system
CN106841878A (en) * 2017-03-29 2017-06-13 阳光电源股份有限公司 A kind of photovoltaic inverter test system and method
CN110275818B (en) * 2018-03-13 2024-04-30 龙芯中科技术股份有限公司 Post-silicon verification method, post-silicon verification device and storage medium
CN112131109A (en) * 2020-09-21 2020-12-25 上海华虹集成电路有限责任公司 Python-based chip automatic verification test system and method
CN113535496B (en) * 2021-07-30 2024-03-29 北京奕斯伟计算技术股份有限公司 Chip verification system and method
CN114401032B (en) * 2021-12-24 2023-10-27 中科南京移动通信与计算创新研究院 Testing method and system for satellite communication comprehensive tester

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1170225C (en) * 2001-08-28 2004-10-06 华为技术有限公司 Method for carrying out instrument module drive of automatic test system
TW594021B (en) * 2002-04-30 2004-06-21 Via Tech Inc Main computer board on/off testing device, method and system
CN100349134C (en) * 2005-03-28 2007-11-14 华为技术有限公司 Method and system for testing drive software
CN100439923C (en) * 2006-04-03 2008-12-03 华为技术有限公司 Chip general detector and its structure method
CN101251573B (en) * 2008-02-29 2010-04-14 东南大学 Automatic testing method for mixer third order inter-modulation distortion of radio-frequency tuner chip

Also Published As

Publication number Publication date
CN101799506A (en) 2010-08-11

Similar Documents

Publication Publication Date Title
CN101799506B (en) Chip test method, device and system based on script control
US10210076B2 (en) White box testing
US9703678B2 (en) Debugging pipeline for debugging code
CN112270149B (en) Verification platform automatic integration method and system, electronic equipment and storage medium
CN105183592B (en) Method and apparatus for supporting performance evaluation
CN110221968A (en) Method for testing software and Related product
CN102243609A (en) Embedded software-based test analysis method and system
CN101866315B (en) Test method and system of software development tool
US10489543B1 (en) Productivity platform using system-on-chip with programmable circuitry
CN104050080A (en) Method and system for debugging linux kernel in user mode
US9921946B2 (en) Method and system to display and browse program trace using source code decoration
CN102234046B (en) Lift control software field debugging system
CN105760296A (en) Automation testing control method, device and terminal
CN103955429B (en) Determine the method and device of regression test scope
CN104503898A (en) Method and system for checking embedded software debugging parameter in real time
CN101030160A (en) Tester and method for testing unified series interface command
US20200097260A1 (en) Software application developer tools platform
CN104317602B (en) The development approach and device of a kind of mainframe code file
CN103176903B (en) The test method and equipment of MapReduce distributed system program
US8819626B2 (en) Sharable development environment bookmarks for functional/data flow
CN102521250A (en) Method for implementing universal syntactic analysis of intelligent measuring instrument
US20150121051A1 (en) Kernel functionality checker
CN109683900B (en) Universal upper computer symbol searching and analyzing method for ELF file debugging information
Casinghino et al. Using binary analysis frameworks: The case for BAP and angr
CN103116495B (en) Based on automatic storage method and the device of the single-chip microcomputer register value of IDE

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120530

Termination date: 20210421