CN104317664A - USB (Universal Serial Bus) chip identification system and method - Google Patents
USB (Universal Serial Bus) chip identification system and method Download PDFInfo
- Publication number
- CN104317664A CN104317664A CN201410526571.9A CN201410526571A CN104317664A CN 104317664 A CN104317664 A CN 104317664A CN 201410526571 A CN201410526571 A CN 201410526571A CN 104317664 A CN104317664 A CN 104317664A
- Authority
- CN
- China
- Prior art keywords
- chip
- data
- data message
- module
- modules
- 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.)
- Pending
Links
Landscapes
- Information Transfer Systems (AREA)
Abstract
The invention provides a USB (Universal Serial Bus) chip identification system which is used for functionally identifying a USB3.0 chip. The system comprises a sampling module and a checking module, wherein the sampling module is connected between input/output interfaces of any two modules of the USB3.0 chip; when the USB3.0 chip transmits data, the sampling module samples data information transmitted between the input/output interfaces of any two modules of the USB3.0 chip and inputs the sampled data information to the checking module; standard data information is preset in the checking module; the checking module compares the input data information with the standard data information; when the input data information is not in accordance with the standard data information, the checking module reports errors and stops simulation. Correspondingly, the invention also discloses a USB chip identification method. According to the USB chip identification system and the USB chip identification method, the USB3.0 chip can be flexibly identified, an identification process is rapid, an identification result is accurate, and the errors found by identification can be positioned.
Description
Technical field
The present invention relates to the checking field of USB chip, relate more specifically to a kind of USB chip checking system and method for carrying out functional verification to USB3.0 chip.
Background technology
Prior art is mainly verified chip by FPGA prototype verification and software emulation the checking of USB3.0 chip, after pre-set normal data bag is write storer, and then the packet to be verified of identical address read out contrast with the normal data write into, thus to verify whether packet to be verified makes mistakes.
But existing verification mode only just can know error in data after full data transmission completes, verification operation underaction, the proving time is long, and it is larger to search wrong difficulty; And cannot the position of locator data mistake, cause verification efficiency low.
Therefore, be necessary to provide a kind of USB chip checking system of improvement and method to overcome above-mentioned defect.
Summary of the invention
The object of this invention is to provide a kind of USB chip checking system and method, can realize the checking to USB3.0 chip neatly, and proof procedure is quick, the result is accurate, and can position the mistake that checking finds.
For achieving the above object, the invention provides a kind of USB chip checking system, for carrying out functional verification to USB3.0 chip, it comprises sampling module and checking module, described sampling module is connected between the input/output interface of any two modules of USB3.0 chip, when USB3.0 chip carries out data transmission, described sampling module sample described USB3.0 chip any two modules input/output interface between the data message that transmits, and the data message after sampling is inputed to described checking module, standard data message is preset with in described checking module, the data message of described checking module contrast input and standard data message, when input data message and standard data message inconsistent time, described checking module reports an error and stops emulation.
Preferably, the standard data message in described checking module is the data stream formed by self-defining standard time sequence.
Preferably, described sampling module comprises interface analysis unit, data transformations unit and data-interface conversion unit, the interface of any two modules of USB3.0 chip described in described interface analysis element analysis, eliminate redundancy data, extract the data message that the input/output interface of any two modules of described USB3.0 chip transmits; Data message after described data transformations unit extracts by the characteristic process of any two modules of described USB3.0 chip; The data message that described data transformations unit exports is changed into the data stream of self-defining standard time sequence and flows to described data review module by described data-interface conversion unit.
Preferably, described data transformations unit specifically comprises data de-scrambling, 8b/10b conversion by the data message after the characteristic process extraction of any two modules of described USB3.0 chip.
Correspondingly, the present invention also provides a kind of verification method of USB chip, and for carrying out functional verification to USB3.0 chip, it comprises the steps: that standard data message defaults in checking module by a.; B. start USB3.0 chip and carry out data transmission; The data message transmitted between the input/output interface of c. any two modules of sampling module sampling USB3.0 chip, and the data message after sampling is inputted described checking module; D. described checking module judges that whether the data message inputted is consistent with standard data message.
Preferably, when described checking module judges the data message of input and standard data message is inconsistent, described checking module reports an error and stops emulation.
Preferably, described step c specifically comprises the steps: the interface of any two modules of USB3.0 chip described in c1. mono-interface analysis element analysis, eliminate redundancy data, extract the data message that the input/output interface of any two modules of described USB3.0 chip transmits; C2. a data transformations unit by any two modules of described USB3.0 chip characteristic descrambling extract after data message or to extract after data message carry out 8b/10b conversion; C3. the data message that described data transformations unit exports is changed into the data stream of self-defining standard time sequence by a data-interface conversion unit.
Compared with prior art, USB chip checking system for carrying out functional verification at USB3.0 chip of the present invention and method are by between the input/output interface that described sampling module is connected to any two modules of USB3.0 chip, thus in the process of data transmission, sampling module is by the data sampling of transmission and be transferred to checking module, the data message of input and standard data message are carried out real time contrast by checking module, when directly reporting an error after discovery mistake and stopping emulation waiting for checking personnel instruction; Therefore can realize the checking to USB3.0 chip neatly, and proof procedure is quick, the result is accurate.
By following description also by reference to the accompanying drawings, the present invention will become more clear, and these accompanying drawings are for explaining embodiments of the invention.
Accompanying drawing explanation
Fig. 1 is the annexation figure between USB chip checking system of the present invention and each module of USB chip.
Fig. 2 is the process flow diagram of the verification method of USB chip of the present invention.
Fig. 3 is another process flow diagram of the verification method of USB chip of the present invention.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, element numbers similar in accompanying drawing represents similar element.As mentioned above, the invention provides a kind of USB chip checking system and method for carrying out functional verification to USB3.0 chip, the checking to USB3.0 chip can be realized neatly, and proof procedure is quick, the result is accurate, and can position the mistake that checking finds.
Please refer to Fig. 1, Fig. 1 is the annexation figure between USB chip checking system of the present invention and each module of USB chip.As shown in the figure, the present invention is used for USB chip checking system USB3.0 chip being carried out to functional verification, comprises sampling module and checking module; Between the input/output interface that described sampling module is connected to any two modules of USB3.0 chip (between USB3.0PHY as shown in Figure 1 and the input/output interface of serial interface engine, between the input/output interface of USB controller and FLASH memory module and between other module), when USB3.0 chip carries out data transmission, described sampling module sample described USB3.0 chip any two modules input/output interface between the data message that transmits, and the data message after sampling is inputed to described checking module; Be preset with standard data message in described checking module, the data message of input and standard data message contrast by described checking module, and when the data message and standard data message that contrast discovery input are inconsistent, described checking module reports an error and stops emulation; In a preferred embodiment of the invention, the signature verification personnel according to concrete USB3.0 chip are preset with self-defining standard time sequence in described checking module, thus described standard data message is formed by described standard time sequence.The data message that can be transmitted between any two modules in real time to USB3.0 chip by USB chip checking system of the present invention is verified, whether wrong to judge the data message transmitted, can realize proof procedure rapidly, the result is accurate, and can position the mistake that checking finds.
In the preferred implementation of USB chip checking system of the present invention, described sampling module comprises interface analysis unit, data transformations unit and data-interface conversion unit; The interface of any two modules of USB3.0 chip described in described interface analysis element analysis, be specially, described interface analysis unit rejects the redundant data in the data transmitted between any two modules of described USB3.0 chip, extract the data message on the input/output interface of any two modules of described USB3.0 chip again, to realize the sampling transmitting data between the input/output interface to any two modules of USB3.0 chip; Data message after described data transformations unit extracts by the characteristic process of any two modules of described USB3.0 chip, in a preferred embodiment of the invention, described data transformations unit can carry out data de-scrambling according to the data of the characteristic of the concrete module of USB3.0 chip to input, and 8b/10b transforms; The data message that described data transformations unit exports is changed into the data stream of self-defining standard time sequence and flows to described data review module by described data-interface conversion unit.Particularly, the verification system of USB chip of the present invention can be connected between the input/output interface of any two modules of USB3.0 chip, a set of verification system can be set between the module of described USB3.0 chip, also can arrange and overlap verification system more, be provided with 4 cover verification systems as shown in Figure 1, specifically arrange and how much can design by concrete USB3.0 chip.As shown in Figure 1, sampling module 1 (sampling USB3.0PHY is to the data stream of serial interface engine) and the interface analysis unit of sampling module 2 (sampling serial interface engine is to the data stream of USB3.0PHY) carry out interface analysis to USB3.0PHY and serial interface engine; Wherein the interface analysis unit of sampling module 3 (sampling USB controller is to the data stream of FLASH memory module) and sampling module 4 (sampling FLASH memory module is to the data stream of USB controller) carries out interface analysis to USB controller and FLASH memory module.Data message after described data transformations unit extracts by the characteristic process of any two modules of described USB3.0 chip, namely, if the data message that any two modules of described USB3.0 chip export does not need process after described interface analysis element analysis extracts, then described data transformations unit is not needed to process this data message; As in Fig. 1, the data that the interface analysis unit of sampling module 3 and sampling module 4 exports need described data transformations unit to process, and are specially the descrambling (writing the data stream meeting scrambling of FLASH memory module) realizing data stream; The data of the interface analysis unit output of sampling module 1 and sampling module 2 are then without the need to carrying out data transformations.Data-interface conversion unit then exports data transformations unit the data transformations come and becomes the data stream of self-defining standard time sequence to give described checking module, thus make the sequential of the data message inputted in described checking module consistent with the sequential of standard data message, so that described checking module is to the contrast between the data message of input and standard data message, and ensure that the accuracy of comparing result; Thus the sampling module that internal module interface for different USB3.0 chips connects and sampling module to connect checking module all the same; Sampling module 1 as shown in Figure 1, sampling module 2, sampling module 3 are all the same with the data review module after sampling module 4.
Below incorporated by reference to reference to figure 2 and Fig. 3, describe the verification method that the present invention is used for USB chip USB3.0 chip being carried out to functional verification, comprise the steps:
Step S101, defaults in standard data message in checking module; In this step, by standard data message is defaulted in described checking module, thus for verifying that described USB3.0 chip provides validation criteria, to ensure the accuracy of subsequent authentication result.
Step S102, starts USB3.0 chip and carries out data transmission; In this step, carrying out data transmission by starting USB3.0 chip, making in subsequent step, in data transmission procedure, functional verification to be carried out to USB3.0 chip by USB chip checking system of the present invention, thus make proof procedure more flexibly fast.
The data message transmitted between the input/output interface of any two modules of step S103, sampling module sampling USB3.0 chip, and the data message after sampling is inputted described checking module; In this step, in described checking module, be preset with standard data message, think that follow-up proof procedure provides normative reference; And in a preferred embodiment of the invention, described standard data message is the data stream formed by self-defining standard time sequence.
Step S104, described checking module judges that whether the data message inputted is consistent with standard data message; In this step, when the data message and standard data message that are found input by described checking module contrast are inconsistent, described checking module reports an error and stops emulation; Thus the checking realized USB3.0 chip, and proof procedure is quick, the result is accurate, also by the position of proof procedure Wrong localization.
In the preferred implementation of the verification method of USB chip of the present invention, described step S103 specifically also comprises the steps:
Step S201, the interface of an interface analysis unit to any two modules of described USB3.0 chip is analyzed, and eliminate redundancy data extract the data message on the input/output interface of any two modules of described USB3.0 chip; In this step, the interface of any two modules of USB3.0 chip described in described interface analysis element analysis, reject the redundant data in the data transmitted between any two modules of described USB3.0 chip, extract the data message on the input/output interface of any two modules of described USB3.0 chip again, to realize the sampling transmitting data between the input/output interface to any two modules of USB3.0 chip.
Step S202, a data transformations unit is by the data message after the characteristic descrambling extraction of any two modules of described USB3.0 chip or carry out 8b/10b conversion to the data message after extracting; In this step, if the data message that any two modules of described USB3.0 chip export does not need process after described interface analysis element analysis extracts, then described data transformations unit is not needed to process this data message; As in Fig. 1, the data that the interface analysis unit of sampling module 3 and sampling module 4 exports need described data transformations unit to process, and are specially the descrambling (writing the data stream meeting scrambling of FLASH memory module) realizing data stream; The data of the interface analysis unit output of sampling module 1 and sampling module 2 are then without the need to carrying out data transformations.
Step S203, the data message that described data transformations unit exports is changed into the data stream of self-defining standard time sequence by a data-interface conversion unit; In this step, described data-interface conversion unit by the extremely described checking module of the data stream after conversion, thus makes the sequential of the data message inputted in described checking module consistent with the sequential of standard data message, to ensure the accuracy of comparing result.
To sum up, USB chip checking system for carrying out functional verification at USB3.0 chip of the present invention and method are by between the input/output interface that described sampling module is connected to any two modules of USB3.0 chip, thus in the process of data transmission, sampling module is by the data sampling of transmission and be transferred to checking module, the data message of input and standard data message are carried out real time contrast by checking module, when directly reporting an error after discovery mistake and stopping emulation waiting for checking personnel instruction; Therefore can realize the checking to USB3.0 chip neatly, and proof procedure is quick, the result is accurate.
More than in conjunction with most preferred embodiment, invention has been described, but the present invention is not limited to the embodiment of above announcement, and should contain various carry out according to essence of the present invention amendment, equivalent combinations.
Claims (8)
1. a USB chip checking system, for carrying out functional verification to USB3.0 chip, it is characterized in that, comprise sampling module and checking module, described sampling module is connected between the input/output interface of any two modules of USB3.0 chip, when USB3.0 chip carries out data transmission, described sampling module sample described USB3.0 chip any two modules input/output interface between the data message that transmits, and the data message after sampling is inputed to described checking module, standard data message is preset with in described checking module, the data message of described checking module contrast input and standard data message, when input data message and standard data message inconsistent time, described checking module reports an error and stops emulation.
2. USB chip checking system as claimed in claim 1, it is characterized in that, the standard data message in described checking module is the data stream formed by self-defining standard time sequence.
3. USB chip checking system as claimed in claim 2, it is characterized in that, described sampling module comprises interface analysis unit, data transformations unit and data-interface conversion unit, the interface of any two modules of USB3.0 chip described in described interface analysis element analysis, eliminate redundancy data, extract the data message that the input/output interface of any two modules of described USB3.0 chip transmits; Data message after described data transformations unit extracts by the characteristic process of any two modules of described USB3.0 chip; The data message that described data transformations unit exports is changed into the data stream of self-defining standard time sequence and flows to described data review module by described data-interface conversion unit.
4. USB chip checking system as claimed in claim 3, is characterized in that, the data message after described data transformations unit extracts by the characteristic process of any two modules of described USB3.0 chip specifically comprises data de-scrambling, 8b/10b conversion.
5. the verification method of USB chip as claimed in claim 1, for carrying out functional verification to USB3.0 chip, is characterized in that, comprising the steps:
A. standard data message is defaulted in checking module;
B. start USB3.0 chip and carry out data transmission;
The data message transmitted between the input/output interface of c. any two modules of sampling module sampling USB3.0 chip, and the data message after sampling is inputted described checking module;
D. described checking module judges that whether the data message inputted is consistent with standard data message.
6. the verification method of USB chip as claimed in claim 5, is characterized in that, when described checking module judges the data message of input and standard data message is inconsistent, described checking module reports an error and stops emulation.
7. the verification method of USB chip as claimed in claim 6, it is characterized in that, described standard data message is the data stream formed by self-defining standard time sequence.
8. the verification method of USB chip as claimed in claim 7, it is characterized in that, described step c specifically comprises the steps:
C1. the interface of any two modules of USB3.0 chip described in an interface analysis element analysis, eliminate redundancy data, extract the data message that the input/output interface of any two modules of described USB3.0 chip transmits;
C2. a data transformations unit by any two modules of described USB3.0 chip characteristic descrambling extract after data message or to extract after data message carry out 8b/10b conversion;
C3. the data message that described data transformations unit exports is changed into the data stream of self-defining standard time sequence by a data-interface conversion unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410526571.9A CN104317664A (en) | 2014-10-08 | 2014-10-08 | USB (Universal Serial Bus) chip identification system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410526571.9A CN104317664A (en) | 2014-10-08 | 2014-10-08 | USB (Universal Serial Bus) chip identification system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104317664A true CN104317664A (en) | 2015-01-28 |
Family
ID=52372899
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410526571.9A Pending CN104317664A (en) | 2014-10-08 | 2014-10-08 | USB (Universal Serial Bus) chip identification system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104317664A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026590A (en) * | 2019-11-08 | 2020-04-17 | 广东高云半导体科技股份有限公司 | Data verification method and platform of interface circuit |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101068264A (en) * | 2007-07-20 | 2007-11-07 | 北京中星微电子有限公司 | Signal collecting device in USB test and USB signal testing method |
CN101236790A (en) * | 2008-03-07 | 2008-08-06 | 北京中星微电子有限公司 | Chip with integrated read-only memory and built-in self-test system and its method |
-
2014
- 2014-10-08 CN CN201410526571.9A patent/CN104317664A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101068264A (en) * | 2007-07-20 | 2007-11-07 | 北京中星微电子有限公司 | Signal collecting device in USB test and USB signal testing method |
CN101236790A (en) * | 2008-03-07 | 2008-08-06 | 北京中星微电子有限公司 | Chip with integrated read-only memory and built-in self-test system and its method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026590A (en) * | 2019-11-08 | 2020-04-17 | 广东高云半导体科技股份有限公司 | Data verification method and platform of interface circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107038280B (en) | Software and hardware collaborative simulation verification system and method | |
CN105161130B (en) | The EEPROM online burning of automobile instrument and method of calibration | |
CN105652183A (en) | Vehicle-mounted system PCB mainboard automated testing method | |
CN104317712A (en) | Linux-based storage server fatigue test method | |
CN112732636B (en) | Configuration method, device and equipment of chip prototype verification system based on multiple FPGAs | |
US10809298B2 (en) | Batch testing system and method thereof | |
CN104850114A (en) | Vehicle failure analyzing method and system | |
CN105490881A (en) | Configurable data interface test method and system | |
CN104246521A (en) | Method and device for automatic test of relay protection function of intelligent susbstation | |
CN105070321B (en) | The quick test circuit and method of memory device | |
CN107508727B (en) | Automatic network card information checking method and device | |
CN110134795A (en) | Generate method, apparatus, computer equipment and the storage medium of validation problem group | |
CN106817224A (en) | Encryption apparatus and password login system | |
CN105245392A (en) | Method and device for base line checking and repairing | |
CN103077343B (en) | The method of testing of safety chip and device | |
CN105790830A (en) | Optical module in-situ detection method and device | |
CN111615688A (en) | Assertion verification code binding method and device | |
CN105117316A (en) | Automatic check and maintenance method and system for server | |
CN104317664A (en) | USB (Universal Serial Bus) chip identification system and method | |
CN103425580A (en) | Method for automatically and rapidly obtaining and calibrating configuration information of cloud computing device | |
US11927434B2 (en) | Device and method for managing registration and arrangement of detonator | |
CN116776788B (en) | Context switching verification method and device | |
CN109656769A (en) | A kind of Android communicating terminal test method for hardware, test technology and system test process | |
CN115345098B (en) | SOC verification method and device, electronic equipment and storage medium | |
CN103294837A (en) | Method and system for verifying and debugging integrated circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150128 |