US20080204285A1 - Robust control/delineation in serial streams - Google Patents
Robust control/delineation in serial streams Download PDFInfo
- Publication number
- US20080204285A1 US20080204285A1 US11/678,825 US67882507A US2008204285A1 US 20080204285 A1 US20080204285 A1 US 20080204285A1 US 67882507 A US67882507 A US 67882507A US 2008204285 A1 US2008204285 A1 US 2008204285A1
- Authority
- US
- United States
- Prior art keywords
- words
- bit
- control
- data
- serial
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/14—Conversion to or from non-weighted codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
- H04L7/041—Speed or phase control by synchronisation signals using special codes as synchronising signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/38—Synchronous or start-stop systems, e.g. for Baudot code
- H04L25/40—Transmitting circuits; Receiving circuits
- H04L25/49—Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
- H04L25/4906—Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes
- H04L25/4908—Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes using mBnB codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/26—Systems using multi-frequency codes
- H04L27/2601—Multicarrier modulation systems
- H04L27/2602—Signal structure
- H04L27/2605—Symbol extensions, e.g. Zero Tail, Unique Word [UW]
- H04L27/2607—Cyclic extensions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/0091—Signalling for the administration of the divided path, e.g. signalling of configuration information
- H04L5/0092—Indication of how the channel is divided
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
- H04N19/89—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4122—Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4367—Establishing a secure communication between the client and a peripheral device or smart card
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4408—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream encryption, e.g. re-encrypting a decrypted video stream for redistribution in a home network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/24—Systems for the transmission of television signals using pulse code modulation
- H04N7/52—Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
- H04L7/041—Speed or phase control by synchronisation signals using special codes as synchronising signal
- H04L2007/045—Fill bit or bits, idle words
Definitions
- the present invention relates generally to serial streams, and more particularly to enhanced delineation and control symbols suitable for delineating data and synchronizing stream data.
- digital display terminals are fast becoming commonplace—rapidly replacing older analog devices such as cathode ray tube monitors.
- Digital video transmission may take place between two integrated circuits in a given display device or between two external devices.
- Device-to-device digital video exchange may be observed between computers and monitors, set-top boxes and television displays, and projectors and display terminals.
- the DisplayPort standard for example, provides a high bandwidth (currently 2.7 Gbps per stream), multi-stream forward transmission channel across a data link, with a bit error rate of no more than 10 ⁇ 9 per lane. Each serial stream is referred to as a lane.
- DisplayPort further provides for a bi-directional auxiliary channel and an interrupt request line from the receiver to the transmitting device, to facilitate link training and the exchange of control data.
- Pixels in a digital video frame are sent in parallel using symbols across all lanes.
- the receiver must be able to identify frames, and to process symbols from different lanes that are transmitted together.
- control symbols which carry synchronization information and control commands are required.
- the information carried by control symbols may include the start and end of vertical and horizontal blanking intervals, commands to reset a scrambler or reestablish a data link, and/or symbols used to synchronize a transmitter to a receiver.
- the current mechanism for re-synchronizing requires the receiver to alert the transmitter of the loss of synchronization, using the auxiliary channel. However, this may entail an unacceptable delay leading to poor user experience.
- control symbols taking the form ⁇ k1-k2-k2-k1 ⁇ or ⁇ k1-k1-k2-k2 ⁇ are inserted in a serial stream including m bit data words.
- k1 and k2 are each predefined m bit control words differing from the m bit data words.
- the Hamming distance between k1 and k2 is at least 2.
- Such control symbols may be robustly detected in the presence of a one bit error in the symbol, or a data word immediately preceding or following the symbol.
- the control symbols may be used for data delineation, stream synchronization, transmitter/receiver synchronization or for other control signaling.
- a method comprising: transmitting a serial stream from a transmitter to a receiver, in which m bit data words in the stream represent n bit data words wherein m>n, the; and including control symbols in the serial stream, wherein each of the control symbols takes the form ⁇ k1-k2-k2-k1 ⁇ , and wherein k1 and k2 are each predefined m bit control words differing from the m bit data words, and wherein the Hamming distance between k1 and k2 is at least 2.
- a transmitter for sending data to a receiver in a serial stream, the data arranged as m bit words in the serial stream, the transmitter comprising: an encoder for encoding n bit data words to be transmitted, as the m bit data words, wherein m>n; a controller in communication with the encoder to insert control symbols is the serial stream, the control symbols taking the form ⁇ k1-k2-k2-k1 ⁇ , wherein k1 and k2 are each predefined m bit control words differing from the m bit data words, and wherein k1 and k2 are separated by a Hamming distance of at least 2.
- a transmitter for sending data to a receiver in multiple serial streams, the data arranged as m bit words in each of the serial streams, the transmitter comprising: at least two lane encoders, each for encoding one of the serial streams, each lane encoder comprising an m/n encoder for encoding n bit data words to be transmitted as the m bit data words, wherein m>n; a controller in communication with the m/n encoders to insert control symbols in each of the serial streams, the control symbols taking the form ⁇ k1-k2-k2-k1 ⁇ , wherein k1 and k2 are each predefined m bit control words differing from the m bit data words, and wherein k1 and k2 are separated by a Hamming distance of at least 2.
- a receiver for receiving a serial bitstream comprising: a serial-to-parallel (S/P) converter for converting the serial bitstream to m bit words, wherein the m bit words comprise m bit data words and m bit control words; a decoder interconnecting the S/P converter, for decoding the m bit data words into n bit data words and for detecting m bit control words, wherein m>n; and a controller in communication with the decoder, for detecting control symbols of the form ⁇ k1-k2-k2-k1 ⁇ , wherein k1 and k2 are each predefined m bit control words spaced by a Hamming distance of at least 2.
- S/P serial-to-parallel
- a receiver for receiving data in multiple serial streams, the data arranged as m bit words in each of the serial streams, the receiver comprising: at least two lane decoders, each for decoding one of the serial streams, each lane decoder comprising: a serial to parallel converter (S/P), for converting one of the serial bitstreams to m bit words, wherein the m bit words comprise m bit data words and m bit control words; a decoder interconnecting the S/P converter, for decoding the m bit data words into n bit data words and for detecting m bit control words, wherein m>n; and a controller in communication with at least one of the decoders, for detecting control symbols of the form ⁇ k1-k2-k2-k1 ⁇ in the serial streams, wherein k1 and k2 are each predefined m bit control words spaced by a Hamming distance of at least 2.
- S/P serial to parallel converter
- a method of receiving a plurality serial streams from a transmitter comprising: serial to parallel converting each of the serial streams, to form m bit control words and m bit data words; decoding each of the m bit data words as an n bit data word; detecting in each of the serial streams control symbols of the form ⁇ k1-k2-k2-k1 ⁇ , wherein k1 and k2 are each predefined m bit control words differing from the m bit data words, and wherein the Hamming distance between k1 and k2 is at least 2.
- a method comprising: transmitting a serial stream from a transmitter to a receiver, in which m bit data words in the stream represent n bit data words wherein m>n, the; including control symbols in the serial stream, wherein each of the control symbols takes the form ⁇ k1-k1-k2-k2 ⁇ , and wherein k1 and k2 are each predefined m bit control words differing from the m bit data words, and wherein the Hamming distance between k1 and k2 is at least 2.
- FIG. 1 is a block diagram of a digital transmitter and receiver interconnected by a channel carrying at least one serial stream, exemplary of embodiments of the present invention
- FIG. 2 is a simplified schematic diagram of a single lane transmitter useable in the transmitter/receiver of FIG. 1 ;
- FIG. 3 is a block diagram of a complementary single lane receiver useable in the transmitter/receiver of FIG. 1 ;
- FIG. 4 is a block diagram illustrating the organization of data and control symbols in the stream transmitted between transmitter/receiver of FIGS. 2 and 3 ;
- FIG. 5 is a state diagram illustrating detection of control symbols by the receiver of FIG. 3 ;
- FIG. 6 is a simplified schematic diagram of a multi-lane transmitter useable in the transmitter/receiver of FIG. 1 ;
- FIG. 7 is a block diagram of a complementary multi-lane receiver useable in the transmitter/receiver of FIG. 1 ;
- FIG. 8 is a block diagram illustrating the organization of data and control symbols in multiple lanes transmitted between transmitter/receiver of FIGS. 6 and 7 ;
- FIG. 9 is a block diagram illustrating the organization of data and control symbols in aligned streams at the receiver of FIG. 7 .
- FIG. 1 is a schematic block diagram of a digital transmitter/receiver pair including a transmitter 102 / 102 ′ and a receiver 104 / 104 ′ interconnected by a serial link.
- a unidirectional primary link 100 provides serial data streams from transmitter 102 / 102 ′ to receiver 104 / 104 ′.
- transmitter 102 / 102 ′ and receiver 104 / 104 ′ may be suitable for the exchange of video and audio.
- transmitter 102 / 102 ′ may form part of a digital video source, such as a personal video recorder, cable-television or terrestrial television receiver, DVD player, video game, computing device, or the like.
- Receiver 104 / 104 ′ may form part of a display, such as a liquid crystal display (LCD), plasma, surface-conduction electron-emitter display (SED), or similar panel.
- LCD liquid crystal display
- SED surface-conduction electron-emitter display
- a main forward transmission channel 100 may be used to send data and a bi-directional auxiliary channel 108 may be used by both transmitter 102 / 102 ′ and receiver 104 / 104 ′ to communicate status and control data between them.
- FIG. 2 is a schematic block diagram of transmitter 102 of FIG. 1 .
- the depicted transmitter 102 transmits a single serial stream.
- transmitter/receivers of FIG. 1 could easily be formed as multi-lane transmitters.
- transmitter 102 includes a single serial channel encoder 130 .
- Channel encoder 130 includes a multiplexer 112 , receiving data from a plurality of sources: a primary channel data buffer 110 ; a secondary channel data buffer 106 ; and a stuff data source 108 .
- Primary channel data buffer 110 is fed by a primary source of data to transmit—such as a source of a video pixel stream.
- Secondary channel data buffer 106 is similarly fed with a source of secondary data to transmit—such as a source of audio data, providing suitably encoded audio data.
- Encryption block 116 may be a public or private key encryption block that converts an unencrypted m bit words to corresponding m bit encrypted words, as understood by those of ordinary skill.
- a scrambler 118 receives the output of encryption block 116 to deterministically scramble the data to ensure a certain statistical distribution of n bit data words at the output of scrambler 118 .
- Scrambler 118 may, for example reduce electromagnetic interference caused by repeating patterns in the data stream.
- the output of scrambler 118 is fed to an optional first-in, first-out buffer (FIFO) 116 that may introduce a desired delay (or skew) in an output stream of data words, output by FIFO 120 .
- the output of FIFO 120 is provided to an m/n bit encoder 122 .
- m/n bit encoder 122 generates an m bit data word for each n bit data word provided at its input (m is greater than n).
- the output 10 bit data words are chosen to ensure an approximate balance of 1s and 0s in bits output in the sequence of encoded m bit data words.
- each 8 bit data word may be encoded as two possible 10 bit data words, with one having more binary “1”s than “0”s, and the other having more binary “0”s than “1”s.
- Control circuit 126 controls operation of serial stream encoder 130 , and thus the overall format of the serial stream produced by encoder 130 . Specifically, control circuit 126 controls which of buffer 106 , 110 or stuff source 108 is selected at any instant in time. In particular, control circuit 126 ensures that primary and secondary channel data are time division multiplexed. In the absence of data for primary and secondary channels, stuff data is provided to multiplexer 110 . Control circuit 126 may further control the insertion of control symbols in the produced stream, as described below, the cycle of encryption block 116 , the cycle of scrambler 118 , and the skew created by buffer 120 .
- m/n encoder 122 additionally outputs defined m bit control words, as the result of control signals provided to encoder 122 , by control circuit 126 . Specifically, in the presence of an asserted control signal, encoder 122 outputs reserved m bit words, that are not used to encode n bit data inputs, and may thus be easily distinguished from encoded data words.
- ANSI 8B/10B (as detailed ANSI INCITS 230-1994 (R1999): Information Technology—Fibre Channel—Physical and Signaling Interface (FC-PH) (formerly ANSI X3.230-1994 (R1999)), the contents of which are hereby incorporated by reference) defines numerous control words referred to as K-codes.
- Example K-codes are set out in Table I, below:
- each of the above K-codes is represented by two separate binary codes: one may be used in the presence of a surplus of 0s in the stream; the other in the presence of a surplus of 1s in the stream.
- control signals provided by control circuit 126 at control inputs to encoder 122 may force the output of encoder 122 to produce defined 10 bit outputs, independent of data at the input of encoder 122 .
- a parallel to serial converter 124 converts the stream of m bit words to a serial binary stream. Conveniently, as the stream of 10 bit words provided to serial converter 124 is generally DC balanced, the resulting serial bit stream produced by parallel to serial converter 124 is also DC balanced.
- FIG. 4 An example format of a produced stream is depicted in FIG. 4 .
- the stream may include primary data 402 from buffer 110 and may optionally include secondary data 408 from buffer 106 .
- Primary data 402 and secondary data 408 may be interspersed with stuffing data 406 originating with stuffing data source 108 .
- primary data 402 (and any accompanying stuff data) is organized in lines of words. Lines may correspond to lines of a digital video image. Lines are delimited by a blanking interval. In FIG. 4 , data in line N is depicted. Secondary channel data 408 may be carried in the blanking interval. Primary data 402 is framed by control symbols BS (blanking start) and BE (blanking end). Secondary data 408 is framed by control symbols SS (secondary start) and SE (secondary end). Control symbols BE and BS define the beginning and end of the blanking interval, respectively.
- symbols BE and/or BS may conveniently be used to delineate data within the serial stream output by transmitter 102 , and to synchronize receiver 104 to transmitter 102 .
- delineation symbols are chosen to allow for robust delineation of data within stream 400 , in the presence of errors.
- BS is chosen as four m bit control words.
- BS may be chosen as a symbol represented as ⁇ k1-k2-k2-k1 ⁇ .
- k1 and k2 are chosen to have a Hamming distance of at least two.
- choice of a Hamming distance of at least two prevents k1 from being corrupted into k2, and k2 into k1, in the presence of a one bit error.
- such choice of k1 and k2 allows for unambiguous and timely detection of control symbol BS in the presence of noise resulting in a single bit error in the data word preceding BS, in the BS symbol itself, or in the data word following BS.
- a two control words symbol using k1 and k2 would similarly not reduce ambiguity. For example, corruption of a data symbol into control symbol k1 or k2 would result in false detection of the control symbol. Similarly, other control words formed of k1 and k2 would not be available for use.
- control symbols formed as ⁇ k1-k2-k2-k1 ⁇ with control symbols k1, k2 that have a Hamming distance of at least two ensures that a single bit error in any of k1, k2, k2, or k1 in the control symbol may still be unambiguously detected.
- control symbols ⁇ k1-k2-k2-k1 ⁇ meeting the requirement include ANSI 8B/10B control symbols ⁇ K28.5-K28.3-K28.3-K28.5 ⁇ ; ⁇ K28.0-K28.3-K28.3-K28.0 ⁇ ; ⁇ K28.5-K28.1-K28.1-K28.5 ⁇ ; and ⁇ K28.0-K28.1-K28.1-K28.0 ⁇ .
- control circuit 126 may insert additional control symbols that may delineate other portions of the data stream, or be otherwise treated at a complementary receiver.
- secondary data 408 may be delimited with control symbols 404 SS (secondary start) and SE (secondary end); fill data 406 may be delimited with control symbols FS (fill start) and FE (fill end).
- the data stream may include a symbol CPSR to reset the encryption sequence or SR to reset the scrambling sequence at receiver 104 .
- SS, SE, FS, FE, CPSR, and SR may be formed using one control word, or multiple control words.
- FIG. 3 depicts schematic block diagram of receiver 104 of FIG. 1 , complementary to transmitter 102 .
- the depicted receiver 104 includes a single stream decoder 230 .
- Single stream decoder 230 receives a single serial stream output by parallel to serial converter 124 of transmitter 102 , passed over a serial channel from transmitter 100 .
- stream decoder 230 includes a serial to parallel (S/P) converter 224 that converts the received serial bit stream into a stream of m bit words.
- a control circuit 226 controls overall operation of receiver 104 .
- n/m decoder 222 generates an n bit data word for each m bit data word provided at its input by S/P converter 224 .
- n/m decoder 222 is complementary to encoder 122 of transmitter 102 .
- n/m decoder 222 may for example be an ANSI 8B/10B decoder.
- n/m decoder 222 further signals receipt of any m bit control words to control circuit 226 .
- Control circuit 226 may use m-bit control words to detect control symbols to delineate the received data, or otherwise to control the operation of receiver 104 .
- n bit decoded data words 222 are provided to FIFO buffer 220 that feeds a descrambler 218 that descrambles scrambled data.
- Descrambler 218 is complementary to scrambler 118 , and undoes any scrambling performed by scrambler 118 .
- FIFO 220 under control of control circuit 226 may be used to realign skewed data streams when multiple lanes are used, as will be described below.
- the output of descrambler 218 is provided to a decryption block to decrypt the received stream and provided to a de-multiplexer 212 in communication with control circuit 226 .
- Decryption block 216 is complementary to encryption block 116 of transmitter 102 and generates decryption sequence that may be used to decrypt n bit data words previously encrypted by encryption block 116 .
- Decryption block 116 may be controlled by control circuit 216 , that may re-set or resynchronize the decryption sequence produced by decryption block 116 .
- De-multiplexer 212 receives the decrypted output and may de-multiplex its input data into a primary/main stream and secondary stream.
- Control circuit 226 may control the operation of de-multiplexer 212 .
- data delineated by a BE and/or a BS symbol may be de-multiplexed as pixel data, and output to a main data buffer 210 .
- data delineated by SS and SE symbols may be de-multiplexed as secondary stream data, output to a secondary data buffer 206 .
- data delineated by symbols FS and FE may be de-multiplexed as fill data.
- control circuit 216 may detect any control symbol that is robustly encoded using the described four control word encoding.
- control circuit 216 maintains a state machine 500 to detect the control symbol ⁇ k1-k2-k2-k1 ⁇ or any one bit variation thereof.
- state machine 500 is initially in its wait state 502 .
- state machine 500 Upon being signaled of the arrival of a control word k1, or k2 by n/m decoder 222 , state machine 500 enters state 504 or state 518 . Thereafter, the next three arriving data or control words control state transitions of state machine 500 .
- state machine 500 assumes state 510 , and waits for subsequent control words k2 (state 512 ) and thereafter k1 in order to detect ⁇ k1-x-k2-k1 ⁇ and interpret it as control symbol ⁇ k1-k2-k2-k1 ⁇ in state 516 .
- k1 a data or control word other than k2
- k1 a data or control word other than k2
- k1 are received, ⁇ k1-k2-x′-k1 ⁇ is detected and interpreted as ⁇ k1-k2-k2-k1 ⁇ in state 516 , via state 508 .
- ⁇ k1-k2-k2-k1 ⁇ is detected via state 522 .
- a symbol non-detect state (or error state) 514 is entered in response to detecting the word sequence ⁇ k1-x-x ⁇ or ⁇ k1-x-k2-x ⁇ .
- the word sequence ⁇ x-k2-k2-k1 ⁇ is detected, and interpreted as control symbol ⁇ k1-k2-k2-k1 ⁇ in state 516 , via states 518 and 520 .
- a timing signal may be generated by control circuit 216 .
- This timing signal may be used to delimit data in the received stream, or synchronize to receiver 104 to transmitter 102 .
- receiver 102 may include an additional state machine having the form of state machine 500 . Again, each state machine may generate a timing signal upon detection of its four control word control symbol.
- receiver 104 may alternatively signal for resynchronization or retransmission of transmitted streams, by way of auxiliary channel 108 ( FIG. 1 ).
- control circuit 216 may reset the cycle generated by descrambler 218 , or decryption block 216 , allowing accurate synchronization of these blocks with their transmitter counterparts (i.e. scrambler 118 , encryption block 116 ) at transmitter 102 .
- state machine 500 may be replicated for each control symbol to be detected.
- FIGS. 7 and 8 A further exemplary transmitter/receiver pair 102 ′/ 104 ′ is illustrated in FIGS. 7 and 8 .
- an example transmitter 102 ′ may be formed of a plurality single lane encoders 130 ′- 1 , 130 ′- 2 . . . 130 ′- n (individually and collectively lane encoders 130 ′), formed like single lane encoder 130 of transmitter 102 of FIG. 2 .
- Further de-multiplexers 136 , 138 under control of a control circuit 140 , may de-multiplex primary and secondary data from a primary and secondary data source among the multiple single lane encoders 130 ′. In this way, payload data from primary source and secondary source may be multiplexed across several serial streams (or lanes). Each stream may be carried on a separated cable or wires.
- Resulting payload data is illustrated in FIG. 8 .
- payload data across multiple lanes may be skewed, using FIFO buffers 120 , of each lane encoder 130 ′.
- each lane encoder 130 ′ is formed in a manner identical to lane encoder 130 of transmitter 102 .
- a single controller 140 controls overall operation of the multiple lane encoders, and of multiplexers 136 , and 138 . Controller 140 ensures that each of the multiple lanes includes control symbols, as describer with reference to the stream of FIG. 4 . Controller 140 also controls inter-lane skew by controlling the effective word size of each FIFO 130 .
- control symbols in each of the multiple lanes such as symbol BS may be formed using four control words ⁇ k1-k2-k2-k1 ⁇ , as described above.
- Inter-lane skewing may increase the immunity of the link against external noise.
- multi-lane transmitter includes multiple serial lane decoders 230 ′- 1 , 230 ′- 2 . . . 230 ′- n (individually and collectively lane decoders 230 ′), each identical to serial lane decoder 230 of receiver 104 of FIG. 3 .
- Control signals from each n/m bit decoder 222 of each lane decoder 230 are provided to control circuit 240 .
- detection of BS symbols, once aligned may also be used to control de-multiplexers 212 of each lane decoder 230 , so that main data and secondary data may be de-multiplexed and presented to buffers 210 and 206 of each lane decoder 230 .
- Main and secondary data from multiple lane decoders 230 may be further be multiplexed by multiplexers 236 and 238 , to generate main and secondary data streams, all under control of control circuit 240 .
- control symbols of the form ⁇ k1-k2-k2-k1 ⁇ are not the only symbols suitable for use in receiver/transmitter pair 102 / 104 or 102 ′/ 104 ′. Instead, control symbols of the form ⁇ k1-k1-k2-k2 ⁇ could be used.
- State machine 500 may be suitably adapted.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Theoretical Computer Science (AREA)
- Communication Control (AREA)
- Time-Division Multiplex Systems (AREA)
- Dc Digital Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Television Systems (AREA)
Abstract
Description
- The present invention relates generally to serial streams, and more particularly to enhanced delineation and control symbols suitable for delineating data and synchronizing stream data.
- Digital processing and presentation of information is now in wide spread use in the consumer electronics and personal computing industries. Video, audio and text are now digitally manipulated and presented in a variety of applications.
- In particular, digital display terminals are fast becoming commonplace—rapidly replacing older analog devices such as cathode ray tube monitors. Digital video transmission may take place between two integrated circuits in a given display device or between two external devices. Device-to-device digital video exchange may be observed between computers and monitors, set-top boxes and television displays, and projectors and display terminals.
- To facilitate flexible transmission of digital video data between a transmitting device and a receiver, various standards defining suitable communications are evolving. The current trends use a serial link, to carry one or more data streams.
- The DisplayPort standard, for example, provides a high bandwidth (currently 2.7 Gbps per stream), multi-stream forward transmission channel across a data link, with a bit error rate of no more than 10−9 per lane. Each serial stream is referred to as a lane. DisplayPort further provides for a bi-directional auxiliary channel and an interrupt request line from the receiver to the transmitting device, to facilitate link training and the exchange of control data.
- Pixels in a digital video frame are sent in parallel using symbols across all lanes. The receiver must be able to identify frames, and to process symbols from different lanes that are transmitted together. As video is transmitted frame by frame, control symbols which carry synchronization information and control commands are required. The information carried by control symbols may include the start and end of vertical and horizontal blanking intervals, commands to reset a scrambler or reestablish a data link, and/or symbols used to synchronize a transmitter to a receiver.
- Unfortunately, at such high transmission rates, errors may corrupt the stream and the control symbols which may cause a loss of synchronization between the receiver and transmitter.
- The current mechanism for re-synchronizing requires the receiver to alert the transmitter of the loss of synchronization, using the auxiliary channel. However, this may entail an unacceptable delay leading to poor user experience.
- Accordingly, there remains a need to for a more robust technique of exchanging control symbols that may be used for re-synchronizing, data delineation or other control.
- Exemplary of the present invention, control symbols taking the form {k1-k2-k2-k1} or {k1-k1-k2-k2} are inserted in a serial stream including m bit data words. k1 and k2 are each predefined m bit control words differing from the m bit data words. The Hamming distance between k1 and k2 is at least 2. Such control symbols may be robustly detected in the presence of a one bit error in the symbol, or a data word immediately preceding or following the symbol. The control symbols may be used for data delineation, stream synchronization, transmitter/receiver synchronization or for other control signaling.
- In accordance with an aspect of the present invention, there is provided, a method comprising: transmitting a serial stream from a transmitter to a receiver, in which m bit data words in the stream represent n bit data words wherein m>n, the; and including control symbols in the serial stream, wherein each of the control symbols takes the form {k1-k2-k2-k1}, and wherein k1 and k2 are each predefined m bit control words differing from the m bit data words, and wherein the Hamming distance between k1 and k2 is at least 2.
- In accordance with another aspect of the present invention, there is provided, a transmitter for sending data to a receiver in a serial stream, the data arranged as m bit words in the serial stream, the transmitter comprising: an encoder for encoding n bit data words to be transmitted, as the m bit data words, wherein m>n; a controller in communication with the encoder to insert control symbols is the serial stream, the control symbols taking the form {k1-k2-k2-k1}, wherein k1 and k2 are each predefined m bit control words differing from the m bit data words, and wherein k1 and k2 are separated by a Hamming distance of at least 2.
- In accordance with a further of the present invention, there is provided, a transmitter for sending data to a receiver in multiple serial streams, the data arranged as m bit words in each of the serial streams, the transmitter comprising: at least two lane encoders, each for encoding one of the serial streams, each lane encoder comprising an m/n encoder for encoding n bit data words to be transmitted as the m bit data words, wherein m>n; a controller in communication with the m/n encoders to insert control symbols in each of the serial streams, the control symbols taking the form {k1-k2-k2-k1}, wherein k1 and k2 are each predefined m bit control words differing from the m bit data words, and wherein k1 and k2 are separated by a Hamming distance of at least 2.
- In accordance with another aspect of the present invention, there is provided, a receiver for receiving a serial bitstream comprising: a serial-to-parallel (S/P) converter for converting the serial bitstream to m bit words, wherein the m bit words comprise m bit data words and m bit control words; a decoder interconnecting the S/P converter, for decoding the m bit data words into n bit data words and for detecting m bit control words, wherein m>n; and a controller in communication with the decoder, for detecting control symbols of the form {k1-k2-k2-k1}, wherein k1 and k2 are each predefined m bit control words spaced by a Hamming distance of at least 2.
- In accordance with yet another aspect of the present invention, there is provided a receiver for receiving data in multiple serial streams, the data arranged as m bit words in each of the serial streams, the receiver comprising: at least two lane decoders, each for decoding one of the serial streams, each lane decoder comprising: a serial to parallel converter (S/P), for converting one of the serial bitstreams to m bit words, wherein the m bit words comprise m bit data words and m bit control words; a decoder interconnecting the S/P converter, for decoding the m bit data words into n bit data words and for detecting m bit control words, wherein m>n; and a controller in communication with at least one of the decoders, for detecting control symbols of the form {k1-k2-k2-k1} in the serial streams, wherein k1 and k2 are each predefined m bit control words spaced by a Hamming distance of at least 2.
- In accordance with a further aspect of the present invention, there is provided, a method of receiving a plurality serial streams from a transmitter, comprising: serial to parallel converting each of the serial streams, to form m bit control words and m bit data words; decoding each of the m bit data words as an n bit data word; detecting in each of the serial streams control symbols of the form {k1-k2-k2-k1}, wherein k1 and k2 are each predefined m bit control words differing from the m bit data words, and wherein the Hamming distance between k1 and k2 is at least 2.
- In accordance with another aspect of the present invention, there is provided, a method comprising: transmitting a serial stream from a transmitter to a receiver, in which m bit data words in the stream represent n bit data words wherein m>n, the; including control symbols in the serial stream, wherein each of the control symbols takes the form {k1-k1-k2-k2}, and wherein k1 and k2 are each predefined m bit control words differing from the m bit data words, and wherein the Hamming distance between k1 and k2 is at least 2.
- Other aspects and features of the present invention will become apparent to those of ordinary skill in the art upon review of the following description of specific embodiments of the invention in conjunction with the accompanying figures.
- In the figures which illustrate by way of example only, embodiments of the present invention,
-
FIG. 1 is a block diagram of a digital transmitter and receiver interconnected by a channel carrying at least one serial stream, exemplary of embodiments of the present invention; -
FIG. 2 is a simplified schematic diagram of a single lane transmitter useable in the transmitter/receiver ofFIG. 1 ; -
FIG. 3 is a block diagram of a complementary single lane receiver useable in the transmitter/receiver ofFIG. 1 ; -
FIG. 4 is a block diagram illustrating the organization of data and control symbols in the stream transmitted between transmitter/receiver ofFIGS. 2 and 3 ; -
FIG. 5 is a state diagram illustrating detection of control symbols by the receiver ofFIG. 3 ; -
FIG. 6 is a simplified schematic diagram of a multi-lane transmitter useable in the transmitter/receiver ofFIG. 1 ; -
FIG. 7 is a block diagram of a complementary multi-lane receiver useable in the transmitter/receiver ofFIG. 1 ; -
FIG. 8 is a block diagram illustrating the organization of data and control symbols in multiple lanes transmitted between transmitter/receiver ofFIGS. 6 and 7 ; and -
FIG. 9 is a block diagram illustrating the organization of data and control symbols in aligned streams at the receiver ofFIG. 7 . -
FIG. 1 is a schematic block diagram of a digital transmitter/receiver pair including atransmitter 102/102′ and areceiver 104/104′ interconnected by a serial link. A unidirectionalprimary link 100 provides serial data streams fromtransmitter 102/102′ toreceiver 104/104′. As will become apparent,transmitter 102/102′ andreceiver 104/104′ may be suitable for the exchange of video and audio. Assuch transmitter 102/102′ may form part of a digital video source, such as a personal video recorder, cable-television or terrestrial television receiver, DVD player, video game, computing device, or the like.Receiver 104/104′ may form part of a display, such as a liquid crystal display (LCD), plasma, surface-conduction electron-emitter display (SED), or similar panel. - As illustrated, a main
forward transmission channel 100 may be used to send data and a bi-directionalauxiliary channel 108 may be used by bothtransmitter 102/102′ andreceiver 104/104′ to communicate status and control data between them. -
FIG. 2 is a schematic block diagram oftransmitter 102 ofFIG. 1 . The depictedtransmitter 102 transmits a single serial stream. As will be apparent, transmitter/receivers ofFIG. 1 could easily be formed as multi-lane transmitters. - To this end,
transmitter 102 includes a singleserial channel encoder 130.Channel encoder 130 includes amultiplexer 112, receiving data from a plurality of sources: a primarychannel data buffer 110; a secondarychannel data buffer 106; and astuff data source 108. Primarychannel data buffer 110 is fed by a primary source of data to transmit—such as a source of a video pixel stream. Secondarychannel data buffer 106 is similarly fed with a source of secondary data to transmit—such as a source of audio data, providing suitably encoded audio data. - Data from primary the primary data source and the secondary data source is provided n bit data words. In the depicted embodiment, n=8.
- The output of
multiplexer 112 is provided a stream of m bit words to anencryption block 116 where the data is encrypted for secure transmission across a possibly insecure channel.Encryption block 116 may be a public or private key encryption block that converts an unencrypted m bit words to corresponding m bit encrypted words, as understood by those of ordinary skill. - A
scrambler 118 receives the output ofencryption block 116 to deterministically scramble the data to ensure a certain statistical distribution of n bit data words at the output ofscrambler 118.Scrambler 118, may, for example reduce electromagnetic interference caused by repeating patterns in the data stream. The output ofscrambler 118 is fed to an optional first-in, first-out buffer (FIFO) 116 that may introduce a desired delay (or skew) in an output stream of data words, output byFIFO 120. The output ofFIFO 120 is provided to an m/n bit encoder 122. - m/
n bit encoder 122 generates an m bit data word for each n bit data word provided at its input (m is greater than n).Encoder 122 may for example be an ANSI 8B/10B encoder (i.e. n=8, m=10). Theoutput 10 bit data words are chosen to ensure an approximate balance of 1s and 0s in bits output in the sequence of encoded m bit data words. To maintain the DC balance, each 8 bit data word may be encoded as two possible 10 bit data words, with one having more binary “1”s than “0”s, and the other having more binary “0”s than “1”s. -
Control circuit 126 controls operation ofserial stream encoder 130, and thus the overall format of the serial stream produced byencoder 130. Specifically,control circuit 126 controls which ofbuffer stuff source 108 is selected at any instant in time. In particular,control circuit 126 ensures that primary and secondary channel data are time division multiplexed. In the absence of data for primary and secondary channels, stuff data is provided tomultiplexer 110.Control circuit 126 may further control the insertion of control symbols in the produced stream, as described below, the cycle ofencryption block 116, the cycle ofscrambler 118, and the skew created bybuffer 120. - m/
n encoder 122 additionally outputs defined m bit control words, as the result of control signals provided toencoder 122, bycontrol circuit 126. Specifically, in the presence of an asserted control signal,encoder 122 outputs reserved m bit words, that are not used to encode n bit data inputs, and may thus be easily distinguished from encoded data words. ANSI 8B/10B (as detailed ANSI INCITS 230-1994 (R1999): Information Technology—Fibre Channel—Physical and Signaling Interface (FC-PH) (formerly ANSI X3.230-1994 (R1999)), the contents of which are hereby incorporated by reference) defines numerous control words referred to as K-codes. - Example K-codes are set out in Table I, below:
-
TABLE I Input ANSI 8B/10B code K.28.0 001111 0100 110000 1011 K.28.1 001111 1001 110000 0110 K.28.2 001111 0101 110000 1010 K.28.3 001111 0011 110000 1100 K.28.4 001111 0010 110000 1101 K.28.5 001111 1010 110000 0101 K.28.6 001111 0110 110000 1001 K.28.7 001111 1000 110000 0111 K.23.7 111010 1000 000101 0111 K.27.7 110110 1000 001001 0111 K.29.7 101110 1000 010001 0111 K.30.7 011110 1000 100001 0111 - As will be appreciated each of the above K-codes is represented by two separate binary codes: one may be used in the presence of a surplus of 0s in the stream; the other in the presence of a surplus of 1s in the stream.
- Specifically, control signals provided by
control circuit 126 at control inputs toencoder 122 may force the output ofencoder 122 to produce defined 10 bit outputs, independent of data at the input ofencoder 122. - A parallel to
serial converter 124, converts the stream of m bit words to a serial binary stream. Conveniently, as the stream of 10 bit words provided toserial converter 124 is generally DC balanced, the resulting serial bit stream produced by parallel toserial converter 124 is also DC balanced. - An example format of a produced stream is depicted in
FIG. 4 . As illustrated, the stream may includeprimary data 402 frombuffer 110 and may optionally includesecondary data 408 frombuffer 106.Primary data 402 andsecondary data 408 may be interspersed with stuffingdata 406 originating with stuffingdata source 108. - In the depicted embodiment, primary data 402 (and any accompanying stuff data) is organized in lines of words. Lines may correspond to lines of a digital video image. Lines are delimited by a blanking interval. In
FIG. 4 , data in line N is depicted.Secondary channel data 408 may be carried in the blanking interval.Primary data 402 is framed by control symbols BS (blanking start) and BE (blanking end).Secondary data 408 is framed by control symbols SS (secondary start) and SE (secondary end). Control symbols BE and BS define the beginning and end of the blanking interval, respectively. As will become apparent, symbols BE and/or BS may conveniently be used to delineate data within the serial stream output bytransmitter 102, and to synchronizereceiver 104 totransmitter 102. Exemplary of embodiments of the present invention, delineation symbols are chosen to allow for robust delineation of data withinstream 400, in the presence of errors. - In order to ensure the ability for robust detection and delineation, BS is chosen as four m bit control words. For example BS may be chosen as a symbol represented as {k1-k2-k2-k1}. k1 and k2 are chosen to have a Hamming distance of at least two. As will be appreciated, choice of a Hamming distance of at least two prevents k1 from being corrupted into k2, and k2 into k1, in the presence of a one bit error. Conveniently, such choice of k1 and k2 allows for unambiguous and timely detection of control symbol BS in the presence of noise resulting in a single bit error in the data word preceding BS, in the BS symbol itself, or in the data word following BS.
- By contrast, use of a single control word as a control symbol would not allow detection of the control symbol in the presence of a single bit error in the control symbol.
- Similarly, forming a control symbol using repeated control symbols (e.g {k1-k1}), would not allow robust detection as a single bit error may obfuscate the position of the symbol in the stream. For example, corruption of the data word D immediately preceding the control symbol into control word k1 would result in ambiguity. That is, control symbol detection and data delineation/synchronization in the presence of
-
{... D, k1, k1 k1, D, D ...} or {... D, D, k1 k1, k1, D ...} - is not possible.
- A two control words symbol using k1 and k2 (e.g. {k1-k2}) would similarly not reduce ambiguity. For example, corruption of a data symbol into control symbol k1 or k2 would result in false detection of the control symbol. Similarly, other control words formed of k1 and k2 would not be available for use.
- Conveniently, use of control symbols formed as {k1-k2-k2-k1} with control symbols k1, k2 that have a Hamming distance of at least two, ensures that a single bit error in any of k1, k2, k2, or k1 in the control symbol may still be unambiguously detected.
- An exemplary list of control symbols {k1-k2-k2-k1} meeting the requirement include ANSI 8B/10B control symbols {K28.5-K28.3-K28.3-K28.5}; {K28.0-K28.3-K28.3-K28.0}; {K28.5-K28.1-K28.1-K28.5}; and {K28.0-K28.1-K28.1-K28.0}.
- Optionally,
control circuit 126 may insert additional control symbols that may delineate other portions of the data stream, or be otherwise treated at a complementary receiver. For example, as notedsecondary data 408 may be delimited withcontrol symbols 404 SS (secondary start) and SE (secondary end); filldata 406 may be delimited with control symbols FS (fill start) and FE (fill end). Similarly, the data stream may include a symbol CPSR to reset the encryption sequence or SR to reset the scrambling sequence atreceiver 104. Depending on whether or not these symbols should be robust, SS, SE, FS, FE, CPSR, and SR may be formed using one control word, or multiple control words. -
FIG. 3 depicts schematic block diagram ofreceiver 104 ofFIG. 1 , complementary totransmitter 102. The depictedreceiver 104 includes asingle stream decoder 230.Single stream decoder 230 receives a single serial stream output by parallel toserial converter 124 oftransmitter 102, passed over a serial channel fromtransmitter 100. As such,stream decoder 230 includes a serial to parallel (S/P)converter 224 that converts the received serial bit stream into a stream of m bit words. Acontrol circuit 226 controls overall operation ofreceiver 104. - An n/
m decoder 222 generates an n bit data word for each m bit data word provided at its input by S/P converter 224. n/m decoder 222 is complementary to encoder 122 oftransmitter 102. As such, n/m decoder 222 may for example be an ANSI 8B/10B decoder. - n/
m decoder 222 further signals receipt of any m bit control words to controlcircuit 226.Control circuit 226 may use m-bit control words to detect control symbols to delineate the received data, or otherwise to control the operation ofreceiver 104. - n bit decoded
data words 222 are provided to FIFO buffer 220 that feeds adescrambler 218 that descrambles scrambled data.Descrambler 218 is complementary toscrambler 118, and undoes any scrambling performed byscrambler 118.FIFO 220 under control ofcontrol circuit 226 may be used to realign skewed data streams when multiple lanes are used, as will be described below. - The output of
descrambler 218 is provided to a decryption block to decrypt the received stream and provided to a de-multiplexer 212 in communication withcontrol circuit 226. Decryption block 216 is complementary to encryption block 116 oftransmitter 102 and generates decryption sequence that may be used to decrypt n bit data words previously encrypted byencryption block 116. Decryption block 116 may be controlled bycontrol circuit 216, that may re-set or resynchronize the decryption sequence produced bydecryption block 116. -
De-multiplexer 212 receives the decrypted output and may de-multiplex its input data into a primary/main stream and secondary stream.Control circuit 226 may control the operation ofde-multiplexer 212. For example, data delineated by a BE and/or a BS symbol may be de-multiplexed as pixel data, and output to amain data buffer 210. Similarly, data delineated by SS and SE symbols may be de-multiplexed as secondary stream data, output to asecondary data buffer 206. Likewise, data delineated by symbols FS and FE may be de-multiplexed as fill data. - Conveniently, any control symbol that is robustly encoded using the described four control word encoding may be detected by
control circuit 216 as illustrated inFIG. 5 . Specifically,control circuit 216 maintains astate machine 500 to detect the control symbol {k1-k2-k2-k1} or any one bit variation thereof. Thus,state machine 500 is initially in itswait state 502. Upon being signaled of the arrival of a control word k1, or k2 by n/m decoder 222,state machine 500 enters state 504 or state 518. Thereafter, the next three arriving data or control words control state transitions ofstate machine 500. So, if after receipt of k1, a data or control word other than k2 (collectively denoted as symbol x) arrives in the incoming stream,state machine 500 assumes state 510, and waits for subsequent control words k2 (state 512) and thereafter k1 in order to detect {k1-x-k2-k1} and interpret it as control symbol {k1-k2-k2-k1} instate 516. Similarly, if after receipt of k1, words k2, x′ (a data or control word other than k2), k1 are received, {k1-k2-x′-k1} is detected and interpreted as {k1-k2-k2-k1} instate 516, viastate 508. Likewise, {k1-k2-k2-k1} is detected via state 522. A symbol non-detect state (or error state) 514 is entered in response to detecting the word sequence {k1-x-x} or {k1-x-k2-x}. - Similarly, upon receipt of symbol k2, the word sequence {x-k2-k2-k1} is detected, and interpreted as control symbol {k1-k2-k2-k1} in
state 516, viastates 518 and 520. - Conveniently, as soon as
state 516 is assumed, the control or delineation symbol {k1-k2-k2-k1} has been detected, and a timing signal may be generated bycontrol circuit 216. This timing signal may be used to delimit data in the received stream, or synchronize toreceiver 104 totransmitter 102. - For each control symbol of the form {k1-k2-k2-k1} to be recognized by
receiver 102,receiver 102 may include an additional state machine having the form ofstate machine 500. Again, each state machine may generate a timing signal upon detection of its four control word control symbol. - In the presence of a loss of synchronization between
transmitter 102 andreceiver 104, caused for example by a high bit error rate,receiver 104 may alternatively signal for resynchronization or retransmission of transmitted streams, by way of auxiliary channel 108 (FIG. 1 ). - As will be appreciated, at a bit error rate of 10−9, frequent single bit errors may occur. For example, at a data rate of 1.62 Gbps, a single bit error leads to an error being detected at the receiver every 0.62 seconds. At data rate of 2.70 Gbps, a single bit error leads to an error being detected at the receiver every 0.37 seconds. Advantageously, in the presence of robust delineation/control symbols such single bit errors may be tolerable, and need not result in a loss of synchronization or other error.
- Optionally, upon receipt of other control symbols like SR, and CPSR,
control circuit 216 may reset the cycle generated bydescrambler 218, ordecryption block 216, allowing accurate synchronization of these blocks with their transmitter counterparts (i.e.scrambler 118, encryption block 116) attransmitter 102. As will be appreciated,state machine 500 may be replicated for each control symbol to be detected. - A further exemplary transmitter/
receiver pair 102′/104′ is illustrated inFIGS. 7 and 8 . As illustrated, anexample transmitter 102′ may be formed of a pluralitysingle lane encoders 130′-1, 130′-2 . . . 130′-n (individually and collectively laneencoders 130′), formed likesingle lane encoder 130 oftransmitter 102 ofFIG. 2 .Further de-multiplexers control circuit 140, may de-multiplex primary and secondary data from a primary and secondary data source among the multiplesingle lane encoders 130′. In this way, payload data from primary source and secondary source may be multiplexed across several serial streams (or lanes). Each stream may be carried on a separated cable or wires. - Resulting payload data is illustrated in
FIG. 8 . As illustrated, payload data across multiple lanes may be skewed, usingFIFO buffers 120, of eachlane encoder 130′. In the depicted embodiment, eachlane encoder 130′, is formed in a manner identical tolane encoder 130 oftransmitter 102. However, asingle controller 140 controls overall operation of the multiple lane encoders, and ofmultiplexers Controller 140 ensures that each of the multiple lanes includes control symbols, as describer with reference to the stream ofFIG. 4 .Controller 140 also controls inter-lane skew by controlling the effective word size of eachFIFO 130. - Again, control symbols in each of the multiple lanes such as symbol BS may be formed using four control words {k1-k2-k2-k1}, as described above. Inter-lane skewing may increase the immunity of the link against external noise.
- A complementary multi-lane receiver is schematically depicted in
FIG. 7 . As illustrated, multi-lane transmitter includes multipleserial lane decoders 230′-1, 230′-2 . . . 230′-n (individually and collectively lanedecoders 230′), each identical toserial lane decoder 230 ofreceiver 104 ofFIG. 3 . - Control signals from each n/
m bit decoder 222 of eachlane decoder 230 are provided to controlcircuit 240.Control circuit 240 may include state machines like state machine 500 (FIG. 5 ) for each lane, and optionally for each other control symbol (including four word control symbols) to be detected. Detection of control symbol BS={k1-k2-k2-k1} in each lane, may be used bycontrol circuit 240, to control delays introduced byFIFO buffers 220 of each lane. Specifically, FIFO buffers 220 the size of each FIFO buffer may be adjusted to ensure BS symbols within each lane align, as illustrated inFIG. 9 . Data in the multiple streams are consequently aligned. Conveniently, detection of BS symbols, once aligned may also be used to controlde-multiplexers 212 of eachlane decoder 230, so that main data and secondary data may be de-multiplexed and presented tobuffers lane decoder 230. Main and secondary data frommultiple lane decoders 230 may be further be multiplexed bymultiplexers control circuit 240. - As may now be appreciated, control symbols of the form {k1-k2-k2-k1} are not the only symbols suitable for use in receiver/
transmitter pair 102/104 or 102′/104′. Instead, control symbols of the form {k1-k1-k2-k2} could be used.State machine 500 may be suitably adapted. - Of course, the above described embodiments are intended to be illustrative only, and in no way limiting. The described embodiments of carrying out the invention are susceptible to many modifications of form, arrangement of parts, details and order of operation. The invention, rather, is intended to encompass all such modification within its scope, as defined by the claims.
Claims (26)
Priority Applications (8)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/678,825 US7477169B2 (en) | 2007-02-26 | 2007-02-26 | Robust control/delineation in serial streams |
CN2008800062265A CN101669345B (en) | 2007-02-26 | 2008-02-26 | Robust control/delineation in serial streams |
JP2009550653A JP5220034B2 (en) | 2007-02-26 | 2008-02-26 | Robust control and rendering method in serial stream |
EP08714693.2A EP2122961B1 (en) | 2007-02-26 | 2008-02-26 | Robust control/delineation in serial streams |
KR1020097017730A KR101565561B1 (en) | 2007-02-26 | 2008-02-26 | Robust control/delineation in serial streams |
PCT/CA2008/000372 WO2008104069A1 (en) | 2007-02-26 | 2008-02-26 | Robust control/delineation in serial streams |
US12/528,712 US8589770B2 (en) | 2007-02-26 | 2008-02-26 | Robust control/delineation in serial streams |
JP2012236588A JP5474160B2 (en) | 2007-02-26 | 2012-10-26 | Robust control and rendering method in serial stream |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/678,825 US7477169B2 (en) | 2007-02-26 | 2007-02-26 | Robust control/delineation in serial streams |
Related Child Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/528,712 Continuation-In-Part US8589770B2 (en) | 2007-02-26 | 2008-02-26 | Robust control/delineation in serial streams |
US12/528,712 Continuation US8589770B2 (en) | 2007-02-26 | 2008-02-26 | Robust control/delineation in serial streams |
Publications (2)
Publication Number | Publication Date |
---|---|
US20080204285A1 true US20080204285A1 (en) | 2008-08-28 |
US7477169B2 US7477169B2 (en) | 2009-01-13 |
Family
ID=39715275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/678,825 Active US7477169B2 (en) | 2007-02-26 | 2007-02-26 | Robust control/delineation in serial streams |
Country Status (6)
Country | Link |
---|---|
US (1) | US7477169B2 (en) |
EP (1) | EP2122961B1 (en) |
JP (2) | JP5220034B2 (en) |
KR (1) | KR101565561B1 (en) |
CN (1) | CN101669345B (en) |
WO (1) | WO2008104069A1 (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080235551A1 (en) * | 2007-03-22 | 2008-09-25 | Realtek Semiconductor Corp. | Error correction circuit and method thereof |
US20100037283A1 (en) * | 2008-08-05 | 2010-02-11 | Ning Zhu | Multi-Stream Digital Display Interface |
US20100271389A1 (en) * | 2009-04-22 | 2010-10-28 | Dell Products, Lp | Information Handling System And Method For Using Main Link Data Channels |
US20110249192A1 (en) * | 2010-04-07 | 2011-10-13 | Prashant Shamarao | Data rate buffering in display port links |
US20120163490A1 (en) * | 2010-12-22 | 2012-06-28 | Colin Whitby-Strevens | Methods and apparatus for the intelligent association of control symbols |
US8897398B2 (en) | 2012-01-27 | 2014-11-25 | Apple Inc. | Methods and apparatus for error rate estimation |
US8917194B2 (en) | 2013-03-15 | 2014-12-23 | Apple, Inc. | Methods and apparatus for context based line coding |
US8990645B2 (en) | 2012-01-27 | 2015-03-24 | Apple Inc. | Methods and apparatus for error rate estimation |
US9210010B2 (en) | 2013-03-15 | 2015-12-08 | Apple, Inc. | Methods and apparatus for scrambling symbols over multi-lane serial interfaces |
US9450790B2 (en) | 2013-01-31 | 2016-09-20 | Apple Inc. | Methods and apparatus for enabling and disabling scrambling of control symbols |
US9621467B1 (en) * | 2014-08-27 | 2017-04-11 | Altera Corporation | Iterative frame synchronization for multiple-lane transmission |
US9838226B2 (en) | 2012-01-27 | 2017-12-05 | Apple Inc. | Methods and apparatus for the intelligent scrambling of control symbols |
US11356379B1 (en) * | 2018-10-01 | 2022-06-07 | Xilinx, Inc. | Channelized rate adaptation |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8589770B2 (en) * | 2007-02-26 | 2013-11-19 | Ati Technologies Ulc | Robust control/delineation in serial streams |
JP5535672B2 (en) * | 2010-02-02 | 2014-07-02 | エヌイーシーコンピュータテクノ株式会社 | Serial transfer apparatus and method |
US8989277B1 (en) | 2011-11-03 | 2015-03-24 | Xilinx, Inc. | Reducing artifacts within a video processing system |
CN105227969B (en) * | 2013-05-09 | 2016-09-14 | 青岛青知企业管理咨询有限公司 | The television signal transmission device of compatible for wired television transmission and network TV transmission |
US9401729B2 (en) * | 2014-02-03 | 2016-07-26 | Valens Semiconductor Ltd. | Maintaining running disparity while utilizing different line-codes |
CN104378648B (en) * | 2014-10-31 | 2017-10-10 | 广东威创视讯科技股份有限公司 | image coding, decoding, transmission method and system |
KR101825301B1 (en) | 2016-08-22 | 2018-02-02 | 한양대학교 산학협력단 | Signal transmission apparatus, signal transmission method and signal receive apparatus |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4667334A (en) * | 1984-02-15 | 1987-05-19 | Etablissement Public De Diffusion Dit "Telediffusion De France" | System for broadcasting data packets originating from different sources |
US4745605A (en) * | 1986-08-19 | 1988-05-17 | Amadahl Corporation | Control word error detection and classification |
US5625644A (en) * | 1991-12-20 | 1997-04-29 | Myers; David J. | DC balanced 4B/8B binary block code for digital data communications |
US6530638B2 (en) * | 2000-11-17 | 2003-03-11 | Canon Kabushiki Kaisha | Image processing apparatus, printing apparatus and storage medium |
US6650638B1 (en) * | 2000-03-06 | 2003-11-18 | Agilent Technologies, Inc. | Decoding method and decoder for 64b/66b coded packetized serial data |
US6862701B2 (en) * | 2001-03-06 | 2005-03-01 | Agilent Technologies, Inc. | Data communication system with self-test facility |
US7020211B2 (en) * | 2000-04-18 | 2006-03-28 | Nippon Telegraph And Telephone Corporaiton | Encoding method and apparatus for forward error correction |
US7055073B2 (en) * | 2000-03-06 | 2006-05-30 | Walker Richard C | Coding method for coding packetized serial data with low overhead |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62241449A (en) * | 1986-04-14 | 1987-10-22 | Nippon Telegr & Teleph Corp <Ntt> | Transmission system for control code of synchronizing word data sequence |
US5347547A (en) * | 1992-02-21 | 1994-09-13 | Advanced Micro Devices, Inc. | Method and apparatus for synchronizing transmitter and receiver for high speed data communication |
US5511096A (en) | 1994-01-18 | 1996-04-23 | Gi Corporation | Quadrature amplitude modulated data for standard bandwidth television channel |
US5999571A (en) * | 1995-10-05 | 1999-12-07 | Silicon Image, Inc. | Transition-controlled digital encoding and signal transmission system |
US5825824A (en) * | 1995-10-05 | 1998-10-20 | Silicon Image, Inc. | DC-balanced and transition-controlled encoding method and apparatus |
DE19614737A1 (en) | 1996-04-15 | 1997-10-16 | Bosch Gmbh Robert | Error-proof multiplex process with possible retransmission |
US7010607B1 (en) * | 1999-09-15 | 2006-03-07 | Hewlett-Packard Development Company, L.P. | Method for training a communication link between ports to correct for errors |
JP2001144822A (en) * | 1999-11-12 | 2001-05-25 | Sony Corp | Data transmission method and data transmitter |
JP2001223592A (en) * | 2000-02-10 | 2001-08-17 | Sony Corp | Data transmission method and data transmission system |
WO2004002094A1 (en) | 2002-06-25 | 2003-12-31 | Lockheed Martin Corporation | Method to increase the hamming distance between frame delimiter symbol and data symbols of a mbnb line code |
JP4062078B2 (en) * | 2002-12-10 | 2008-03-19 | 株式会社日立製作所 | Skew adjustment device |
JP3930823B2 (en) * | 2003-03-24 | 2007-06-13 | 日本電信電話株式会社 | FRAME SIGNAL ENCODED COMMUNICATION METHOD, ENCODING DEVICE, ENCODED TRANSMITTING DEVICE, AND ENCODED RECEIVING DEVICE |
ATE416525T1 (en) | 2004-01-08 | 2008-12-15 | Mitsubishi Electric Corp | ERROR CHECKING METHOD AND SYSTEM WITH FEEDBACK RESOURCE ALLOCATION SCHEME |
CN1319278C (en) * | 2004-03-05 | 2007-05-30 | 上海交通大学 | Turbo product code serial cascade NR code channel coding method |
JP4413797B2 (en) * | 2005-02-23 | 2010-02-10 | 富士通テレコムネットワークス株式会社 | Passive optical network system |
WO2007006128A1 (en) | 2005-04-18 | 2007-01-18 | Research In Motion Limited | Method for handling a detected error in a script-based application |
-
2007
- 2007-02-26 US US11/678,825 patent/US7477169B2/en active Active
-
2008
- 2008-02-26 WO PCT/CA2008/000372 patent/WO2008104069A1/en active Application Filing
- 2008-02-26 KR KR1020097017730A patent/KR101565561B1/en active Active
- 2008-02-26 CN CN2008800062265A patent/CN101669345B/en active Active
- 2008-02-26 EP EP08714693.2A patent/EP2122961B1/en active Active
- 2008-02-26 JP JP2009550653A patent/JP5220034B2/en active Active
-
2012
- 2012-10-26 JP JP2012236588A patent/JP5474160B2/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4667334A (en) * | 1984-02-15 | 1987-05-19 | Etablissement Public De Diffusion Dit "Telediffusion De France" | System for broadcasting data packets originating from different sources |
US4745605A (en) * | 1986-08-19 | 1988-05-17 | Amadahl Corporation | Control word error detection and classification |
US5625644A (en) * | 1991-12-20 | 1997-04-29 | Myers; David J. | DC balanced 4B/8B binary block code for digital data communications |
US6650638B1 (en) * | 2000-03-06 | 2003-11-18 | Agilent Technologies, Inc. | Decoding method and decoder for 64b/66b coded packetized serial data |
US7055073B2 (en) * | 2000-03-06 | 2006-05-30 | Walker Richard C | Coding method for coding packetized serial data with low overhead |
US7020211B2 (en) * | 2000-04-18 | 2006-03-28 | Nippon Telegraph And Telephone Corporaiton | Encoding method and apparatus for forward error correction |
US6530638B2 (en) * | 2000-11-17 | 2003-03-11 | Canon Kabushiki Kaisha | Image processing apparatus, printing apparatus and storage medium |
US6862701B2 (en) * | 2001-03-06 | 2005-03-01 | Agilent Technologies, Inc. | Data communication system with self-test facility |
Cited By (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8533573B2 (en) * | 2007-03-22 | 2013-09-10 | Realtek Semiconductor Corp. | Error correction circuit and method thereof |
US20080235551A1 (en) * | 2007-03-22 | 2008-09-25 | Realtek Semiconductor Corp. | Error correction circuit and method thereof |
US20100037283A1 (en) * | 2008-08-05 | 2010-02-11 | Ning Zhu | Multi-Stream Digital Display Interface |
US8397272B2 (en) * | 2008-08-05 | 2013-03-12 | Analogix Semiconductor, Inc. | Multi-stream digital display interface |
US20100271389A1 (en) * | 2009-04-22 | 2010-10-28 | Dell Products, Lp | Information Handling System And Method For Using Main Link Data Channels |
US8237721B2 (en) | 2009-04-22 | 2012-08-07 | Dell Products, Lp | Information handling system and method for using main link data channels |
US20110249192A1 (en) * | 2010-04-07 | 2011-10-13 | Prashant Shamarao | Data rate buffering in display port links |
US8432408B2 (en) * | 2010-04-07 | 2013-04-30 | Synaptics Incorporated | Data rate buffering in display port links |
US20150078479A1 (en) * | 2010-12-22 | 2015-03-19 | Apple Inc. | Methods and apparatus for the intelligent association of control symbols |
US20120163490A1 (en) * | 2010-12-22 | 2012-06-28 | Colin Whitby-Strevens | Methods and apparatus for the intelligent association of control symbols |
US8750176B2 (en) * | 2010-12-22 | 2014-06-10 | Apple Inc. | Methods and apparatus for the intelligent association of control symbols |
US9647701B2 (en) * | 2010-12-22 | 2017-05-09 | Apple, Inc. | Methods and apparatus for the intelligent association of control symbols |
US8897398B2 (en) | 2012-01-27 | 2014-11-25 | Apple Inc. | Methods and apparatus for error rate estimation |
US8990645B2 (en) | 2012-01-27 | 2015-03-24 | Apple Inc. | Methods and apparatus for error rate estimation |
US10680858B2 (en) | 2012-01-27 | 2020-06-09 | Apple Inc. | Methods and apparatus for the intelligent scrambling of control symbols |
US9264740B2 (en) | 2012-01-27 | 2016-02-16 | Apple Inc. | Methods and apparatus for error rate estimation |
US10326624B2 (en) | 2012-01-27 | 2019-06-18 | Apple Inc. | Methods and apparatus for the intelligent scrambling of control symbols |
US9838226B2 (en) | 2012-01-27 | 2017-12-05 | Apple Inc. | Methods and apparatus for the intelligent scrambling of control symbols |
US9661350B2 (en) | 2012-01-27 | 2017-05-23 | Apple Inc. | Methods and apparatus for error rate estimation |
US10432435B2 (en) | 2013-01-31 | 2019-10-01 | Apple Inc. | Methods and apparatus for enabling and disabling scrambling of control symbols |
US9450790B2 (en) | 2013-01-31 | 2016-09-20 | Apple Inc. | Methods and apparatus for enabling and disabling scrambling of control symbols |
US9979570B2 (en) | 2013-01-31 | 2018-05-22 | Apple Inc. | Methods and apparatus for enabling and disabling scrambling of control symbols |
US9210010B2 (en) | 2013-03-15 | 2015-12-08 | Apple, Inc. | Methods and apparatus for scrambling symbols over multi-lane serial interfaces |
US9749159B2 (en) | 2013-03-15 | 2017-08-29 | Apple Inc. | Methods and apparatus for scrambling symbols over multi-lane serial interfaces |
US9307266B2 (en) | 2013-03-15 | 2016-04-05 | Apple Inc. | Methods and apparatus for context based line coding |
US8917194B2 (en) | 2013-03-15 | 2014-12-23 | Apple, Inc. | Methods and apparatus for context based line coding |
US9621467B1 (en) * | 2014-08-27 | 2017-04-11 | Altera Corporation | Iterative frame synchronization for multiple-lane transmission |
US11356379B1 (en) * | 2018-10-01 | 2022-06-07 | Xilinx, Inc. | Channelized rate adaptation |
Also Published As
Publication number | Publication date |
---|---|
KR20090122431A (en) | 2009-11-30 |
EP2122961B1 (en) | 2015-11-04 |
EP2122961A4 (en) | 2012-01-18 |
KR101565561B1 (en) | 2015-11-03 |
JP5220034B2 (en) | 2013-06-26 |
WO2008104069A1 (en) | 2008-09-04 |
JP5474160B2 (en) | 2014-04-16 |
JP2013031227A (en) | 2013-02-07 |
CN101669345A (en) | 2010-03-10 |
CN101669345B (en) | 2013-05-15 |
US7477169B2 (en) | 2009-01-13 |
JP2010519836A (en) | 2010-06-03 |
EP2122961A1 (en) | 2009-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7477169B2 (en) | Robust control/delineation in serial streams | |
US8589770B2 (en) | Robust control/delineation in serial streams | |
US8312328B2 (en) | Data transmission apparatus with information skew and redundant control information and method | |
CN101053165B (en) | Method and system for processing wireless digital multimedia | |
US8514208B2 (en) | Method and apparatus for optical wireless communication | |
US8000351B2 (en) | Source synchronous link with clock recovery and bit skew alignment | |
JP2004522362A (en) | Method and system for transmitting side channel data | |
JP2020074654A (en) | High speed serial link for video interfaces | |
US8139610B1 (en) | Method for framing data for transmission over an encoded channel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: ATI TECHNOLOGIES ULC, CANADA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CARTER, COLLIS Q.;CHORNEY, NICHOLAS J.;GOODMAN, JAMES;REEL/FRAME:019444/0656;SIGNING DATES FROM 20070326 TO 20070328 Owner name: ATI TECHNOLOGIES ULC,CANADA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CARTER, COLLIS Q.;CHORNEY, NICHOLAS J.;GOODMAN, JAMES;SIGNING DATES FROM 20070326 TO 20070328;REEL/FRAME:019444/0656 |
|
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
FPAY | Fee payment |
Year of fee payment: 8 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 12 |
|
CC | Certificate of correction |