Method and system for converting USB
First Claim
Patent Images
1. A method for testing a USB (universal serial bus) device comprising:
- receiving a USB packet trace output from a USB host, at a USB packet trace converting apparatus;
generating at least one token corresponding to the USB packet trace received from the USB host;
determining a syntax tree corresponding to the at least one token; and
generating a host code for a USB host model corresponding to the syntax tree.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for testing a USB (universal serial bus) device includes receiving a USB packet trace output from a USB host, at a USB packet trace converting apparatus, generating at least one token corresponding to the USB packet trace received from the USB host, determining a syntax tree corresponding to the at least one token, and generating a code for a USB host model corresponding to the determined syntax tree.
-
Citations
16 Claims
-
1. A method for testing a USB (universal serial bus) device comprising:
-
receiving a USB packet trace output from a USB host, at a USB packet trace converting apparatus; generating at least one token corresponding to the USB packet trace received from the USB host; determining a syntax tree corresponding to the at least one token; and generating a host code for a USB host model corresponding to the syntax tree. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer readable medium storing instructions executable by a processor to perform a method for testing a USB (universal serial bus) device, the method steps comprising:
-
receiving a USB packet trace output from a USB host, at a USB packet trace converting apparatus; generating at least one token corresponding to the USB packet trace received from the USB host; determining a syntax tree corresponding to the at least one token; and generating a host code for a USB host model corresponding to the syntax tree.
-
-
10. A system for testing a USB (universal serial bus) device, the system comprising:
-
a storage device storing an expression-token table, the expression-token table comprising an expression and a token corresponding to the expression, and a syntax tree forest generated based on the token of the expression-token table; a token generation module receiving a USB packet trace output from a USB host and generating at least one generated token corresponding to the received USB packet trace based on the expression-token table; a syntax tree determination module determining a syntax tree corresponding to the at least one generated token based on the syntax tree forest; and a host code generation module generating a host code for a USB host model corresponding to the syntax tree. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
Specification