USB Ordered Set Decoder for Incremental FEC Synchronization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Low-level embedded devices such as repeaters and retimers face challenges in parsing USB messages due to memory and processing limitations, particularly in handling forward error correction and maintaining synchronization with sync bits, which can lead to errors and failure in data reception.
Innovation Solution
A method that parses USB messages incrementally, using pattern matching to identify unscrambled and scrambled ordered sets on the fly, reducing the need for full buffering and computational resources, and dynamically managing the descrambler state to maintain synchronization and correct errors.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If full buffering of USB message frames is implemented, then message parsing accuracy is improved, but memory requirements and device complexity increase significantly
Solution Approach 1:
The patent divides the USB message frame into multiple super symbols and processes them incrementally as they arrive. Instead of buffering the entire frame, the system parses each super symbol sequentially, using pattern matching to identify ordered sets and validate messages on-the-fly. This segmentation approach maintains parsing accuracy while dramatically reducing memory requirements from full-frame buffering to minimal per-symbol processing buffers.
Solution Approach 2:
The patent performs preliminary pattern matching and validation operations on incoming super symbols before complete frame assembly. By pre-identifying ordered set patterns and performing preliminary error checking incrementally, the system avoids the need to store entire frames for later processing, thereby reducing memory requirements while maintaining parsing accuracy.
2Reliability
If full forward error correction computation is performed, then error detection and correction capability is improved, but processing power requirements and computational complexity increase
Solution Approach 1:
The patent implements partial FEC computation by performing incremental error checking and validation on individual super symbols and ordered sets as they are received, rather than computing full FEC on the entire message frame. This partial action approach provides sufficient error detection and correction capability for critical segments while significantly reducing the processing power and computational complexity required compared to complete frame-level FEC.
3Quantity of substance
If incremental pattern matching is used to identify USB messages, then memory usage is reduced, but the complexity of real-time pattern recognition and synchronization increases
Solution Approach 1:
The patent employs self-synchronizing ordered set patterns with predefined synchronization identifiers that automatically indicate message boundaries and types. The incremental pattern matching system uses these self-identifying patterns to maintain synchronization without requiring complex external control logic or large buffers to track message state, thereby reducing memory usage while managing recognition complexity through the inherent structure of the protocols.
4Measurement precision
If sync bits are used for message synchronization, then message boundary detection is improved, but synchronization loss and false identifications may occur due to errors
Solution Approach 1:
The patent incorporates feedback mechanisms where each received super symbol is validated against expected ordered set patterns, and synchronization status is continuously monitored and adjusted. When synchronization errors or false identifications are detected through pattern validation failures, the system can detect and correct sync bit errors using forward error correction, providing feedback-driven synchronization recovery that improves reliability while maintaining precise boundary detection.
Data Source
AI summary
Methods are described for identifying and acting upon predetermined message patterns during reception of a data stream structured as USB message frames. A first embodiment performs pattern matching between received message bits and one or more predetermined sequences, identifying unscrambled ordered set messages. A second embodiment applies a descrambling operation and performs comparable pattern matching between descrambled received message bits and one or more additional predetermined sequences, identifying scrambled ordered set messages.


