Micro-code test method and device

A test method and microcode technology, applied in the field of microcode, can solve the problems of inconvenient testing and high price, and achieve the effect of avoiding unnecessary occupation and improving ease of use and convenience

Inactive Publication Date: 2010-07-14
ZTE CORP
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The above-mentioned microcode test method needs to occupy expensive tester resources, which is not convenient for testing when resources are tight; in addition, different professional testers are often required for microcode testing of messages of different protocol types

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Micro-code test method and device
  • Micro-code test method and device
  • Micro-code test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Speaking from the idea of ​​the invention, the microcode testing method provided by the present invention includes: the CPU constructs a test message and uses the test message to trigger the execution of the microcode, and the CPU judges that the microcode function is correct according to the message content obtained after executing the microcode sex.

[0028] The microcode testing device provided by the present invention includes a connected network processor and a CPU; wherein the CPU is used to construct a test message and apply the test message to trigger the execution of the microcode of the network processor; also according to the execution The result obtained after the microcode determines the correctness of the microcode function; the network processor is used to trigger the execution of the microcode according to the test message constructed by the CPU, and send the result obtained after executing the microcode to the CPU.

[0029] see figure 2 , figure 2 I...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a micro-code test method, which comprises the following steps: a test massage is constructed by CPU, the test message is used for triggering the execution of the micro-code, and the accuracy of the micro-code function is judged according to the message content which is obtained after the micro-code is executed. The invention also discloses a micro-code test device, which comprises a network processor and a CPU, which are connected with each other; the CPU is used for constructing a test message and for utilizing the test message to trigger the micro-code of the network processor to execute; the CPU is also used for judging the accuracy of the micro-code function according to the result obtained after the micro-code is executed; and the network processor is used for triggering the micro-code to execute according to the test message constructed by the CPU and for transmitting the results after the execution of the micro-code to the CPU. The interaction of the micro-code test is realized through a data main line. The method and the device can effectively improve the usability and the convenience of the micro-code test and also can prevent the unnecessary occupation of the resource of the test instrument.

Description

technical field [0001] The invention relates to microcode technology, in particular to a microcode testing method and device. Background technique [0002] At present, microcode testing is a very important link in the function development of network processors. After the functional scheme design and microcode coding are completed, the microcode functions need to be tested. [0003] General microcode testing methods such as figure 1 shown. Depend on figure 1 It can be seen that it is necessary to use the tester to construct the test message, and send the packet to the network processor through the physical port of the single board; after that, the result of microcode processing by the network processor is sent to the tester through the physical port. Finally, the microcode processing result received by the tester can be judged to verify the correctness of the microcode function. [0004] The above-mentioned microcode testing method requires expensive tester resources, whi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26H04L12/56
Inventor 姜海明孙蓓
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products