CN104678292B - A kind of complex programmable logic device (CPLD) test method and device - Google Patents
A kind of complex programmable logic device (CPLD) test method and device Download PDFInfo
- Publication number
- CN104678292B CN104678292B CN201510101265.5A CN201510101265A CN104678292B CN 104678292 B CN104678292 B CN 104678292B CN 201510101265 A CN201510101265 A CN 201510101265A CN 104678292 B CN104678292 B CN 104678292B
- Authority
- CN
- China
- Prior art keywords
- test
- register
- interchanger
- command
- numerical value
- 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.)
- Active
Links
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses a kind of CPLD test methods, and for including testing in terminal and the system of interchanger, test terminal and interchanger are by cable connection, and CPLD is located on interchanger, including:It tests terminal and sends test command to interchanger, be used to indicate interchanger and CPLD is tested;If test terminal receives the test information of interchanger transmission within the preset period, this test result is recorded to test log according to test information;Whether the number that test terminal judges to send test command is more than setting value, if so, output test log;If it is not, then continuing to send test command to interchanger.
Description
Technical field
The present invention relates to ic test technique fields more particularly to a kind of complex programmable logic device (CPLD) to test
Method and apparatus.
Background technology
CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices) is a kind of big rule
Vlsi die generates corresponding target text by Integrated Development software platform with the methods of schematic diagram and hardware description language
The code of file destination is transmitted in switch logic chip by part by download cable or online upgrading, whole to control
The system operation of a interchanger.
Fig. 1 is the CPLD peripheral circuit diagrams in Ethernet switch system.As seen from Figure 1, in Ethernet switch system
In, CPLD occupies very important part, it is not only in connection with the CPU of interchanger and MAC (multiaddress access channel), simultaneously also
Manage such as optical module (SFP/SFP+), fan adjustment module (FAN control), monitoring module " house dog " (ADM706)
Etc. modules.The stability of CPLD work directly determines the job stability of interchanger.
There are the CPLD of their own and corresponding logical code per money interchanger, so for per money exchange newly developed
Machine product is required for the test in detail to CPLD progress in all directions, just can guarantee switch system normal operation, otherwise CPLD mono-
Denier occurs abnormal, it is likely that leads to equipment depot repair, increases maintenance cost.
In the prior art, for the hardware testing means of CPLD mainly by being tested manually, such as continuous 200 are carried out
Secondary test.Test each time is required to be manually entered test command, after CPLD obtains test command, executes and this time tests,
And manual record secondary test record after being finished, then tested next time by being manually entered test command entrance.
Under such method testing, as required repeatedly update hundreds of times when the drawbacks of it is apparent that there is a need of a large amount of manpower
Input, process is single, less efficient, and is unable to continuity test.
Invention content
In view of this, a kind of complex programmable logic device (CPLD) test method of present invention proposition and device, to solve certainly
Dynamic test CPLD.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is realized in:
The embodiment of the present invention provides a kind of complex programmable logic device (CPLD) test method, the method includes:
The test terminal sends test command to interchanger, and the test command is used to indicate the interchanger to described
CPLD is tested;
If the test terminal receives the test information that the interchanger is sent within the preset period, according to
Test information records this test result to test log;
Whether the number that test terminal judges to send test command is more than setting value, if so, output test log;If
It is no, then continue to send test command to interchanger.
The embodiment of the present invention also provides a kind of complex programmable logic device (CPLD) test device,
The device includes:
Test command sending module, for sending test command to interchanger, the test command is used to indicate the friendship
It changes planes and the CPLD is tested;
Test result logging modle, if the test information sent for receiving the interchanger within the preset period,
Then this test result is recorded to test log according to the test information;
Counting module is tested, whether the number for judging to send test command is more than setting value, if so, output test
Daily record;If it is not, then continuing that the test command sending module is notified to send test command to interchanger.
The CPLD test methods of the present invention send test command, so that interchanger is automatic by testing terminal to interchanger
Multiple CPLD tests are executed, test terminal determines test result automatically according to the test information of each return of interchanger, and
Test result is recorded to test log, so as to be checked again after all be completed, carries out test analysis, it should
CPLD test methods are not necessarily to manual intervention in multiple test process, can effectively improve testing efficiency.
Description of the drawings
Fig. 1 is the CPLD circuit figure in Ethernet switch system in the prior art;
Fig. 2 is the CPLD test method flow charts in the embodiment of the present invention;
Fig. 3 is the method flow diagram of the CPLD progress version updating tests in the embodiment of the present invention;
Fig. 4 is the method flow diagram of the CPLD progress register write tests in the embodiment of the present invention;
Fig. 5 is that the CPLD in the embodiment of the present invention carries out the method flow diagram that register reads test;
Fig. 6 is the structure chart of the CPLD test devices in the embodiment of the present invention.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below by way of specific embodiment and join
See attached drawing, the present invention is described in detail.
In order to solve it is existing in the prior art CPLD is tested when, need artificial input test order repeatedly, from
And the technical problem that waste of manpower, testing efficiency are low, the embodiment of the present invention provide a kind of CPLD test methods, are carried out to CPLD
When test, referring to Fig. 2, specifically include:
A1, test terminal send test command to interchanger, and test command is used to indicate interchanger and tests CPLD.
Specifically, which can be multiple terminal, and the most common are host computers.
A2, test terminal judge whether to receive the test information of interchanger transmission within the preset period, are then to enter
Step a3;It is no, then enter step a4.
Wherein, which can be with sets itself, such as, but not limited to 3 minutes.
A3, this test result is recorded to test log according to the test information, and enters step a5.
A4, it determines that this test result is failure, and this test result is recorded to test log, and enter step
a5。
Whether the number that a5, test terminal judge to send test command is more than setting value, if it is, entering step a6;
If it is not, then returning to step a1.
A6, test terminate, and export test log.
Wherein, CPLD tests need multiple test repeatedly, such as 200 times.It is most common in being tested below with CPLD
Version updating is tested with for register readwrite tests, is illustrated to above-mentioned steps.
When version updating is tested:Test command is specially version updating test command.
Referring to Fig. 3, version updating test specifically includes following steps:
101, test terminal sends version updating test command to interchanger, which is used to indicate friendship
It changes planes and version updating test is carried out to CPLD.
In the present embodiment, the code that version updating file is write by the Verilog language run in test terminal, by patrolling
It collects converter software and is converted into version updating file, send and be stored in the memory chip of interchanger.It is tested in version updating
When, after interchanger receives the version updating test command that issues of test terminal, the CPLD that is sent out by the CPU of interchanger
The version updating file is recalled from memory chip and is written into CPLD by Update orders, so that CPLD carries out version more
Newly.If CPLD is updated successfully, interchanger update test information is first identifier;If CPLD update failures, interchanger update test
Information is second identifier.
102, whether test terminal receives the test information of interchanger transmission within the preset period, is, then enters step
Rapid 103;It is no, then enter step 104.
Wherein, which can be with sets itself, such as, but not limited to 3 minutes.
103, test terminal judges the test information received as first identifier or second identifier, if first identifier,
Then enter step 105;If second identifier, then 106 are entered step.
Wherein, second identifier includes version updating failure cause field.Wherein, the version updating failure cause field is available
Check errors, software task after the completion of indicating to upgrade hang the version updatings failure causes such as the delay of dead or byte transmission is larger.
104, it determines that this test result is failure, and this test result is recorded to test log, enter step
107。
105, this test result is determined as version updating success, and this test result is recorded to the test day
Will enters step 107.
106, determine this test result be the second identifier include the corresponding version of version updating failure cause field
Failure cause is updated, and this test result is recorded to the test log, enters step 107.
107, whether the number that test terminal judges to send test command is more than setting value, is then to enter step 108;It is no,
Then return to step 101.
It should be noted that the version updating test of CPLD, needs multiple test repeatedly, such as 200 times.This is 200 times
Update, CPLD can carry out the upgrading of version, can also carry out the degradation of version, such as upgrade to version 2 .0 from version 1.0,
Version 1.0 is degraded to by version 2 .0 again, is recycled successively.
108, terminate test, and export test log.
Therefore CPLD automatic test approach of the invention, when carrying out version updating test, by test terminal to
Interchanger sends version updating test command, so that interchanger carries out version updating test to CPLD and returns to test information, surveys
Examination terminal determines version updating test result according to test information, and result is recorded to test log.It is tested in version updating
When number is not up to preset number, version updating test command is sent again from trend interchanger, in version updating test time
When number reaches preset number, test log is exported, to carry out test analysis, the CPLD test methods are in multiple test process
Without manual intervention, testing efficiency can be effectively improved.
In the register write test of CPLD, test command is specially register write test command.
Referring to Fig. 4, register write test includes the following steps:
201, test terminal writes test command to interchanger transmitter register, and enters step 202.
Wherein, which carries the register address to be tested of CPLD and the register to be written
First numerical value of the corresponding register in location, it is corresponding in the register address which is used to indicate interchanger
The first numerical value is written in register, if changing the interchanger after the first numerical value is written in the corresponding register of the register address
Function then returns to the test information for the changes of function notice for including corresponding first numerical value to test terminal.
202, test terminal judges whether the first numerical value of the write-in can change switch function;It is then to enter step
206;It is no, then enter step 203.
It should be noted that when carrying out register write test, interchanger itself is in operating status.
Rewriting for most of register, does not interfere with switch function, for such register only need into
Row write-read operation.But for certain specified registers, exchange opportunity generates corresponding action after it is written, for
Such register, register testing is just not suitable for judging using readwrite tests again, and can be judged by presentation.
203, test terminal transmitter register read command is to interchanger, and enters step 204.
The register read command carries the register address that the register write test command sent in step 201 carries, with
So that interchanger is read the second value of the corresponding register of the register address and is back to test terminal.
204, whether test terminal receives the test information including second value within the preset period;It is then to enter step
Rapid 205;It is no, then enter step 208.
205, test terminal judges whether second value is identical as the first numerical value, is, then enters step 207;It is no, then enter
Step 208.
What 206, test terminal received interchanger transmission within the preset period includes the function change of corresponding first numerical value
The test information for changing notice, is then to enter step 207;It is no, then enter step 208.
Specifically, if the function of interchanger changes, the test packet that terminal is returned according to interchanger is tested
The changes of function of the first numerical value of correspondence included notifies, judges whether interchanger presentation (such as interchanger weight as being expected occurs
Open, the port UP or DOWN of interchanger), it is on the contrary then enter step 208 if unanimously, entering step 207.
207, it determines that this test result is the corresponding register write success of register address, and this test result is remembered
Record is to test log, subsequently into step 209.
208, it determines that this test result is the corresponding register write failure of register address, and this test result is remembered
Record is to test log, subsequently into step 209.
Wherein, register write failure information includes:The write operation failure of which time and prompt when there is write operation failure
Information.
209, whether the number that test terminal judges to send test command is more than setting value, is then to enter step 210;It is no,
Then return to step 201.
210, terminate test, and export test log.
It can be intuitive to see by the test log of register testing, such as in the 1st time to the 200th time, which time goes out
Show write operation failure, and the information of the secondary write operation failure occurred, reason is searched will pass through the write operation failure information,
And it proposes a solution.
Therefore CPLD automatic test approach of the invention, when carrying out register write test, by test terminal to
Interchanger transmitter register writes test command, so that interchanger carries out register write test to CPLD and returns to test information, surveys
Examination terminal determines register write test result according to test information, and test result is recorded to test log.In register write
When testing time is not up to preset number, from trend interchanger, transmitter register writes test command to test terminal again, is posting
When storage writes testing time and reaches preset number, test log is exported, to carry out test analysis, in multiple test process
In be not necessarily to manual intervention, testing efficiency can be effectively improved.
When the register of CPLD reads test, test command is specially that register reads test command.
Referring to Fig. 5, register is read test and is included the following steps:
301, test terminal reads test command to interchanger transmitter register..
Wherein, register reads the register address to be tested that test command carries CPLD.
Wherein, the register that test terminal is sent for the first time reads test command, is used to indicate the interchanger and reads after restart
Take the numerical value of the corresponding register of the register address, and by the test of the numerical value including the corresponding register of the register address
Message is back to the test terminal.
It tests the register that terminal is sent at follow-up time and reads test command, no longer interchanger is made to restart, be used only for indicating
Interchanger reads the numerical value of the corresponding register of the register address, and the number that will include the corresponding register of the register address
The test post of value is back to the test terminal.
302, whether test terminal receives the numerical value for including the corresponding register of register address within the preset period
Test post;It is then to enter step 303;It is no, then enter step 304.
303, the numerical value of the corresponding register in test terminal comparand register address and pre-set register address pair
Whether the default number for the register answered is identical, is, then enters step 305;It is no, then enter step 306.
304, it determines that this test result is reading failure, and this test result is recorded to test log, and enter step
Rapid 307.
305, determine that this test result is that the corresponding register of the register address is read as work(, and this test is tied
Fruit records to test log, and enters step 307.
306, it determines that this test result is the corresponding register reading failure of the register address, and this test is tied
Fruit records to test log, and enters step 307.
307, whether the number that test terminal judges to send test command is more than setting value, is then to enter step 308;It is no,
Then return to step 301.
308, register reading is completed, and exports test log.
Therefore CPLD automatic test approach of the invention can also carry out register and read test, by testing terminal
Test command is read to interchanger transmitter register, reads to test and return including register so that interchanger carries out register to CPLD
The test information of the numerical value of the corresponding register in address.Test the numerical value of the corresponding register in terminal comparand register address with it is pre-
Whether the default number for the corresponding register of register address being first arranged is identical, then determines register write according to comparison result
Test result is simultaneously recorded to test log.When register reading testing time is not up to preset number, terminal is tested from trend
Transmitter register reads test command to interchanger again, when register reading testing time reaches preset number, exports test day
Will, to be not necessarily to manual intervention in multiple test process, can effectively improve testing efficiency to carry out test analysis.
The procedure that the above-mentioned complex programmable logic device (CPLD) for the embodiment of the present invention is tested automatically.Below to this
The CPLD test devices that invention provides illustrate.
The embodiment of the present invention also provides a kind of device of complex programmable logic device (CPLD) test, referring to Fig. 6, for wrapping
It includes in test terminal and the system of interchanger, the test terminal and the interchanger are and CPLD described by cable connection
In on the interchanger;
The device is set in test terminal, including:
Test command sending module, for sending test command to interchanger, the test command is used to indicate the friendship
It changes planes and the CPLD is tested.
Test result logging modle, if the test information sent for receiving the interchanger within the preset period,
Then this test result is recorded to test log, then notice test counting module action according to the test information.
Counting module is tested, whether the number for judging to send test command is more than setting value, if so, test knot
Beam, and export test log;If it is not, then continuing that the test command sending module is notified to send test command to interchanger.
Further, test result logging modle, if being additionally operable to not receive the interchanger hair within the preset period
The test information sent, it is determined that this test result is failure, and this test result is recorded to test log.
Further, the test command is specially version updating test command, and the version updating test command is used for
Indicate that the interchanger carries out version updating test to the CPLD;
If correspondingly, the test result logging modle is specifically used for receiving the interchanger hair within the preset period
The test information sent is first identifier, it is determined that this test result is version updating success, and this test result is recorded
To the test log;If the test information is second identifier, the second identifier includes version updating failure cause field,
It includes that the corresponding version updating failure of version updating failure cause field is former that then this determining test result, which is the second identifier,
Cause, and this test result is recorded to the test log.
Further, the test command is register write test command, and the register write test command carries CPLD
Register address and the corresponding register of the register address to be written to be tested the first numerical value, the register write
Test command is used to indicate the interchanger and the first numerical value is written in the corresponding register of the register address, if being posted described
The function of changing the interchanger is written after the first numerical value in the corresponding register in storage address, then includes to test terminal return
The test information of the changes of function notice of corresponding first numerical value.
Correspondingly, the test result logging modle is specifically used for judging whether the first numerical value of the write-in can change exchange
Machine function;If will not change switch function, transmitter register read command to the interchanger, the register read command is taken
With the register address, so that interchanger reads the second value of the corresponding register of the register address and is back to institute
State test result logging modle;If receiving the test information including the second value within the preset period, described is judged
Whether two numerical value and first numerical value are identical, if identical, it is determined that this test result corresponds to for the register address
Register write success, and this test result is recorded to test log;If it is not the same, then determining that this test result is
The corresponding register write failure of the register address, and this test result is recorded to test log;If exchange can be changed
Machine function, and receive the changes of function including corresponding first numerical value that the interchanger is sent within the preset period and lead to
The test information known, it is determined that test result is the corresponding register write success of the register address, and this test is tied
Fruit records to test log.
Further, the test command is that register reads test command, and the register reads test command and carries CPLD
Register address to be tested, the register read test command be used to indicate the interchanger read after restart described in post
The numerical value of the corresponding register in storage address, and by the test post of the numerical value including the corresponding register of the register address
It is back to the test terminal;Or, the register, which reads test command, is used to indicate the interchanger with reading the register
The numerical value of the corresponding register in location, and the test post of the numerical value including the corresponding register of the register address is back to
The test terminal;
If correspondingly, it includes described post that the test result logging modle, which is specifically used for receiving within the preset period described,
The test post of the numerical value of the corresponding register in storage address, the numerical value of the corresponding register of the register address with it is pre-
Whether the default number for the corresponding register of the register address being first arranged is identical, if identical, it is determined that this test knot
Fruit is that the corresponding register of the register address is read as work(, and this test result is recorded to test log;If it is different, then
It determines that this test result is the corresponding register reading failure of the register address, and this test result is recorded to test
Daily record.
The CPLD test devices of the present invention, by sending test command to interchanger, so that interchanger executes repeatedly automatically
CPLD tests, which determines test result automatically according to the test information of each return of interchanger, and by test result
Record so as to be checked again after all be completed, carries out test analysis, CPLD test dresses to test log
It sets and is not necessarily to manual intervention in multiple test process, testing efficiency can be effectively improved.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.
Claims (10)
1. a kind of complex programmable logic device (CPLD) test method, which is characterized in that the method includes:
The test terminal sends test command to interchanger, and the test command is used to indicate the interchanger to the exchange
The CPLD in machine is tested;
If the test terminal receives the test information that the interchanger is sent within the preset period, according to the test
Information records this test result to test log;
Whether the number that test terminal judges to send test command is more than setting value, if so, output test log;If it is not, then
Continue to send test command to interchanger.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
If the test terminal does not receive the test information that the interchanger is sent within the preset period, it is determined that this survey
Test result is failure, and this test result is recorded to test log.
3. method according to claim 1 or 2, which is characterized in that
The test command is specially version updating test command, and the version updating test command is used to indicate the interchanger
Version updating test is carried out to the CPLD;
If the test terminal receives the test information that the interchanger is sent within the preset period, according to the test
Information records this test result to test log, specially:
If the test information that the test terminal receives within the preset period is first identifier, it is determined that this test
As a result it is version updating success, and this test result is recorded to the test log;If the test information is the second mark
Know, the second identifier includes version updating failure cause field, it is determined that this test result is that the second identifier includes
The corresponding version updating failure cause of version updating failure cause field, and this test result is recorded to the test day
Will.
4. method according to claim 1 or 2, which is characterized in that
The test command is specially register write test command, and the register write test command carries the to be tested of CPLD
First numerical value of register address and the corresponding register of the register address to be written, the register write test command are used
The first numerical value is written in the corresponding register of the register address in the instruction interchanger, if in the register address pair
The function of changing the interchanger is written after the first numerical value in the register answered, then includes correspondence described the to test terminal return
The test information of the changes of function notice of one numerical value;
If the test terminal receives the test information that the interchanger is sent within the preset period, according to the test
Information records this test result to test log, specially:
The test terminal judges whether the first numerical value of the write-in can change switch function;
If switch function will not be changed, the test terminal transmitter register read command to the interchanger, the deposit
Device read command carries the register address, so that interchanger reads the second value of the corresponding register of the register address
And it is back to the test terminal;If test terminal receives the test information including the second value within the preset period,
Judge whether the second value and first numerical value are identical, if identical, it is determined that this test result is the deposit
The corresponding register write success in device address, and this test result is recorded to test log;If it is not the same, then determining this
Test result is the corresponding register write failure of the register address, and this test result is recorded to test log;
If switch function can be changed, and test that terminal receives that the interchanger sends within the preset period includes corresponding to
The test information of the changes of function notice of first numerical value, it is determined that test result is the corresponding deposit of the register address
Device is write as work(, and this test result is recorded to test log.
5. method according to claim 1 or 2, which is characterized in that
The test command is specially that register reads test command, and the register reads test command and carries the to be tested of CPLD
Register address, the register reading test command are used to indicate the interchanger and read the register address pair after restart
The numerical value for the register answered, and the test post of the numerical value including the corresponding register of the register address is back to described
Test terminal;Or, the register reading test command is used to indicate, the interchanger reading register address is corresponding to be posted
The numerical value of storage, and the test post of the numerical value including the corresponding register of the register address is back to the test eventually
End;
If the test terminal receives the test information that the interchanger is sent within the preset period, according to the test
Information records this test result to test log, specially:
The test terminal receives the numerical value including the corresponding register of the register address within the preset period
The numerical value of test post, the corresponding register of the register address is corresponding with the pre-set register address
Whether the default number of register is identical, if identical, it is determined that this test result is the corresponding deposit of the register address
Device is read as work(, and this test result is recorded to test log;If it is different, then determining that this test result is the register
The corresponding register reading failure in address, and this test result is recorded to test log.
6. a kind of complex programmable logic device (CPLD) test device, which is characterized in that described device includes:
Test command sending module, for sending test command to interchanger, the test command is used to indicate the interchanger
The CPLD in the interchanger is tested;
Test result logging modle, if the test information sent for receiving the interchanger within the preset period, root
This test result is recorded to test log according to the test information;
Counting module is tested, whether the number for judging to send test command is more than setting value, if so, output test day
Will;If it is not, then continuing that the test command sending module is notified to send test command to interchanger.
7. device according to claim 6, which is characterized in that the test result logging modle, if being additionally operable to default
Period in do not receive the test information that the interchanger is sent, it is determined that this test result is failure, and this is surveyed
Test result is recorded to test log.
8. the device described according to claim 6 or 7, which is characterized in that
The test command is specially version updating test command, and the version updating test command is used to indicate the interchanger
Version updating test is carried out to the CPLD;
If the test result logging modle is specifically used for receiving the test letter that the interchanger is sent within the preset period
Breath is first identifier, it is determined that this test result is version updating success, and this test result is recorded to the test
Daily record;If the test information is second identifier, the second identifier includes version updating failure cause field, it is determined that this
Test result be the second identifier include the corresponding version updating failure cause of version updating failure cause field, and by this
Test result is recorded to the test log.
9. the device described according to claim 6 or 7, which is characterized in that
The test command is register write test command, and the register write test command carries the deposit to be tested of CPLD
First numerical value of device address and the corresponding register of the register address to be written, the register write test command is for referring to
Show that the first numerical value is written in the corresponding register of the register address in the interchanger, if corresponding in the register address
The function of the interchanger is changed after register the first numerical value of write-in, then includes corresponding first number to test terminal return
The test information of the changes of function notice of value;
The test result logging modle is specifically used for judging whether the first numerical value of the write-in can change switch function;If no
Switch function can be changed, then transmitter register read command to the interchanger, the register read command carries the deposit
Device address, so that interchanger reads the second value of the corresponding register of the register address and is back to the test result
Logging modle;If receiving the test information including the second value within the preset period, the second value and institute are judged
Whether identical the first numerical value is stated, if identical, it is determined that this test result is the corresponding register write of the register address
Success, and this test result is recorded to test log;If it is not the same, then determining that this test result is the register
The corresponding register write failure in address, and this test result is recorded to test log;If switch function can be changed, and
The test letter for the changes of function notice including corresponding first numerical value that the interchanger is sent is received in the preset period
Breath, it is determined that test result is the corresponding register write success of the register address, and this test result is recorded to survey
Try daily record.
10. the device described according to claim 6 or 7, which is characterized in that
The test command is that register reads test command, and the register reads the deposit to be tested that test command carries CPLD
Device address, the register read test command and are used to indicate the interchanger to read the register address after restart corresponding
The numerical value of register, and the test post of the numerical value including the corresponding register of the register address is back to the test
Terminal;Or, the register, which reads test command, is used to indicate the corresponding register of the interchanger reading register address
Numerical value, and the test post of the numerical value including the corresponding register of the register address is back to the test terminal;
If it includes the register address pair that the test result logging modle, which is specifically used for receiving within the preset period described,
The test post of the numerical value for the register answered, the numerical value of the corresponding register of the register address and pre-set institute
Whether the default number for stating the corresponding register of register address is identical, if identical, it is determined that this test result is described posts
The corresponding register in storage address is read as work(, and this test result is recorded to test log;If it is different, then determining this survey
Test result is the corresponding register reading failure of the register address, and this test result is recorded to test log.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510101265.5A CN104678292B (en) | 2015-03-09 | 2015-03-09 | A kind of complex programmable logic device (CPLD) test method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510101265.5A CN104678292B (en) | 2015-03-09 | 2015-03-09 | A kind of complex programmable logic device (CPLD) test method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104678292A CN104678292A (en) | 2015-06-03 |
CN104678292B true CN104678292B (en) | 2018-10-09 |
Family
ID=53313629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510101265.5A Active CN104678292B (en) | 2015-03-09 | 2015-03-09 | A kind of complex programmable logic device (CPLD) test method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104678292B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108829417B (en) * | 2018-05-31 | 2022-02-18 | 郑州云海信息技术有限公司 | Upgrading device, method, equipment and storage medium of CPLD |
CN109239586A (en) * | 2018-08-17 | 2019-01-18 | 国营芜湖机械厂 | A kind of detection method of 1032 CPLD of LATTICE |
CN109901059A (en) * | 2019-01-29 | 2019-06-18 | 航天科工防御技术研究试验中心 | A kind of Complex Programmable Logic Devices repeats configuration test method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5768288A (en) * | 1996-03-28 | 1998-06-16 | Cypress Semiconductor Corp. | Method and apparatus for programming a programmable logic device having verify logic for comparing verify data read from a memory location with program data |
CN1464651A (en) * | 2002-06-26 | 2003-12-31 | 华为技术有限公司 | Method for performance testing of radio communication product |
CN1691000A (en) * | 2004-04-26 | 2005-11-02 | 华为技术有限公司 | Testing device and method |
CN1987877A (en) * | 2006-12-22 | 2007-06-27 | 北京天碁科技有限公司 | Detecting system and method for prototype |
CN202285042U (en) * | 2011-10-25 | 2012-06-27 | 成都芯通科技股份有限公司 | Automatic test system for complex programmable logic device (CPLD) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100406903C (en) * | 2005-03-28 | 2008-07-30 | 大唐移动通信设备有限公司 | Detection method for configuration of programmable logic device |
JP5475674B2 (en) * | 2008-10-14 | 2014-04-16 | 株式会社アドバンテスト | Test equipment |
CN102298112B (en) * | 2011-05-05 | 2016-06-01 | 中兴通讯股份有限公司 | The method of testing of a kind of PLD and system |
CN102818987B (en) * | 2012-07-03 | 2014-12-24 | 航天科工防御技术研究试验中心 | Multiple real-time reconfiguration adaptor used in test of field-programmable gate array device |
CN103645435B (en) * | 2013-12-13 | 2016-03-23 | 电子科技大学 | The software module design for Measurability method of multi-signal model programmable logic device (PLD) |
-
2015
- 2015-03-09 CN CN201510101265.5A patent/CN104678292B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5768288A (en) * | 1996-03-28 | 1998-06-16 | Cypress Semiconductor Corp. | Method and apparatus for programming a programmable logic device having verify logic for comparing verify data read from a memory location with program data |
CN1464651A (en) * | 2002-06-26 | 2003-12-31 | 华为技术有限公司 | Method for performance testing of radio communication product |
CN1691000A (en) * | 2004-04-26 | 2005-11-02 | 华为技术有限公司 | Testing device and method |
CN1987877A (en) * | 2006-12-22 | 2007-06-27 | 北京天碁科技有限公司 | Detecting system and method for prototype |
CN202285042U (en) * | 2011-10-25 | 2012-06-27 | 成都芯通科技股份有限公司 | Automatic test system for complex programmable logic device (CPLD) |
Also Published As
Publication number | Publication date |
---|---|
CN104678292A (en) | 2015-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109302522B (en) | Test method, test device, computer system, and computer medium | |
US10929260B2 (en) | Traffic capture and debugging tools for identifying root causes of device failure during automated testing | |
CN108763076A (en) | A kind of Software Automatic Testing Method, device, equipment and medium | |
US10379158B2 (en) | Real-time capture of traffic upon failure for protocol debug | |
CN111124850A (en) | MQTT server performance testing method, system, computer equipment and storage medium | |
CN107797919A (en) | The method and computing device of a kind of automatic test | |
CN105738854A (en) | Simulation memory test board system for intelligent ammeter embedded application and test method | |
CN107193730A (en) | A kind of interface test method of automation | |
CN106787199A (en) | A kind of portable substation simulated testing system and method | |
CN109446075A (en) | Interface testing method and device | |
CN104678292B (en) | A kind of complex programmable logic device (CPLD) test method and device | |
CN107038120A (en) | A kind of method for testing software and equipment | |
CN110245077A (en) | A kind of response method and equipment of program exception | |
CN111694752B (en) | Application testing method, electronic device and storage medium | |
CN109426611A (en) | A kind of method for testing software and device | |
CN107992399A (en) | A kind of memory bar condition detection method, apparatus and system | |
CN108111367A (en) | Performance test methods and device | |
CN106649019A (en) | Test method for overall automatic PCIE communication quality based on serial port | |
CN105912439A (en) | Method, device and system for computer monitoring | |
CN107294814A (en) | The method of testing and device of a kind of network-on-chip | |
CN109633415B (en) | Abnormal chip identification method and equipment | |
CN109067605B (en) | Storage subsystem fault diagnosis method and device, terminal and storage medium | |
CN107679423A (en) | Partition integrity inspection method and device | |
CN105550103B (en) | A kind of automated testing method based on self-defined test script | |
CN104780123B (en) | A kind of network pack receiving and transmitting processing unit and its design method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |