Transmitting device, transmitting method, receiving device, receiving method, and transmitting / receiving device
The SLVS-EC standard is enhanced by separating link and physical layers for signal processing, allowing implementation on separate IC chips and enabling connection with other standards, ensuring reliable data transmission and error correction.
Patent Information
- Application Number
- JP2020569573
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-01-28
- Filing Date
- 2020-01-24
- Publication Date
- 2024-09-09
- Estimated Expiration
- 2040-01-24
AI Technical Summary
The SLVS-EC standard does not define detailed signal exchange between the link layer and the physical layer, preventing the separation of these layers onto separate IC chips.
The solution involves a transmitting device that generates packets for different layers and distributes them across multiple lanes, with parallel processing and control information insertion, while the receiving device integrates and synchronizes data streams from multiple lanes, including validity information based on bit width.
This approach allows for the separation of signal processing units by layer, enabling implementation on separate IC chips and facilitating connection with other transmission standards like CSI-2, while ensuring reliable data transmission and error correction.
Smart Images

Figure 0007547217000029 
Figure 0007547217000054 
Figure 0007547217000037
Abstract
Description
[Technical field]
[0001] The present technology relates to a transmitting device, a transmitting method, a receiving device, a receiving method, and a transmitting / receiving device, and in particular to a transmitting device, a transmitting method, a receiving device, a receiving method, and a transmitting / receiving device that enable separation of signal processing units that perform signal processing of different layers. [Background technology]
[0002] The Scalable Low Voltage Signaling-Embedded Clock (SLVS-EC) standard is an interface standard for image sensors. The transmission method of the SLVS-EC standard is a method in which the sending side transmits data with a superimposed clock, and the receiving side regenerates the clock and demodulates and decodes the data.
[0003] The SLVS-EC standard specifies the "link layer," which is a layer that performs application-oriented signal processing such as packet generation, and the "physical layer," which is a layer that performs transmission path-oriented signal processing such as clock generation and recovery. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2012-120159 A Summary of the Invention [Problem to be solved by the invention]
[0005] The SLVS-EC standard does not define detailed signal exchanges between the link layer and the physical layer, such as which port the signal output from should be input to which port, etc. Therefore, the link layer and the physical layer cannot be implemented on separate IC chips.
[0006] The present technology has been made in view of such circumstances, and makes it possible to separate signal processing units that perform signal processing of different layers. [Means for solving the problem]
[0007] A transmission device according to a first aspect of the present technology includes a first signal processing unit that performs a process of generating packets storing data to be transmitted and distributing the generated packets to a plurality of lanes as a first layer process, and a second signal processing unit that performs a process of inserting control information in parallel on the packets of the lanes output from the first signal processing unit, and outputs a data stream obtained by the process onto a transmission path between the transmission device and a reception device as a second layer process. do. The first signal processing unit The packet includes validity information indicating validity of the data to be transmitted using a number of bits according to a type of bit width of the data stored in the packet together with the data to be transmitted. The second signal processing unit Output to
[0008] A receiving device according to a second aspect of the present technology includes a first signal processing unit that receives a data stream output from a transmitting device in parallel onto a transmission path as data for a plurality of lanes, and performs processing including a synchronization process and removal of control information as processing of a first layer, and a second signal processing unit that integrates the data streams for the lanes output from the first signal processing unit into one system of data, and performs processing of acquiring packets constituting the data stream as processing of a second layer. do. The first signal processing unit The packet includes validity information indicating validity of the data stream data using a number of bits according to the type of bit width of the data stored in the packet, together with the data of the data stream. The second signal processing unit Output to .
[0009] In a first aspect of the present technology, Along with the data to be transmitted, validity information indicating validity of the data to be transmitted using a number of bits according to the type of bit width of the data stored in the packet is The first signal processing unit from The second signal processing unit will be output to .
[0010] In a second aspect of the present technology, Along with the data of the data stream, validity information indicating validity of the data of the data stream using a number of bits according to the type of bit width of the data stored in the packet is The first signal processing unit from The second signal processing unit will be output to . [Brief description of the drawings]
[0011] [Figure 1] 1 is a diagram illustrating a configuration example of a transmission system according to an embodiment of the present technology. [Diagram 2] 2 is a block diagram showing an example of the configuration of a transmitting unit and a receiving unit. FIG. [Diagram 3] 11 is a diagram illustrating an example of input / output of a Tx-Phy Layer signal processing unit of the transmitter. FIG. [Figure 4] FIG. 2 is a diagram showing an overview of input / output of each port of a Tx-Phy Layer signal processing unit. [Diagram 5] FIG. 2 is a diagram showing an overview of input / output of each port of a Tx-Phy Layer signal processing unit. [Figure 6] 11 is a diagram illustrating an example of input / output of a Tx-Link Layer signal processing unit of a transmitter. FIG. [Figure 7] FIG. 2 is a diagram showing an overview of the input / output of each port of a Tx-Link Layer signal processing unit. [Figure 8] FIG. 2 is a diagram showing an overview of the input / output of each port of a Tx-Link Layer signal processing unit. [Figure 9] FIG. 11 is a diagram illustrating an example of state transition of a Tx-Phy Layer signal processing unit. [Figure 10] FIG. 4 is a diagram illustrating an example of a timing chart of each signal. [Figure 11] 11 is a diagram illustrating an example of input / output of an Rx-Phy Layer signal processing unit of the receiving unit. FIG. [Figure 12] FIG. 2 is a diagram showing an overview of input / output of each port of an Rx-Phy Layer signal processing unit. [Figure 13] FIG. 2 is a diagram showing an overview of input / output of each port of an Rx-Phy Layer signal processing unit. [Figure 14] 11 is a diagram illustrating an example of input / output of an Rx-Link Layer signal processing unit of the receiving unit. FIG. [Figure 15] FIG. 2 is a diagram showing an overview of input / output of each port of an Rx-Link Layer signal processing unit. [Figure 16] FIG. 2 is a diagram showing an overview of input / output of each port of an Rx-Link Layer signal processing unit. [Figure 17]FIG. 11 is a diagram illustrating an example of state transition of an Rx-Phy Layer signal processing unit. [Figure 18] FIG. 4 is a diagram illustrating an example of a timing chart of each signal. [Figure 19] FIG. 2 is a block diagram illustrating an example implementation. [Figure 20] FIG. 13 is a block diagram showing another example of implementation. [Figure 21] FIG. 13 is a diagram showing an example of connection with other transmission standards. [Figure 22] FIG. 13 is a diagram showing an example of connection with other transmission standards. [Diagram 23] FIG. 2 is a diagram illustrating an example of a frame format. [Figure 24] FIG. 2 is a diagram illustrating an example of the configuration of a transmitting unit and a receiving unit. [Diagram 25] FIG. 13 is a diagram showing a header structure. [Figure 26] 11A and 11B are diagrams showing the contents and amount of information of header information. [Figure 27] FIG. 13 is a diagram illustrating an example of a bit array. [Figure 28] FIG. 13 is a diagram illustrating an example of pixel-to-byte conversion when the pixel value of each pixel is represented by 8 bits. [Figure 29] FIG. 13 is a diagram showing an example of pixel-to-byte conversion when the pixel value of each pixel is represented by 10 bits. [Diagram 30] FIG. 13 is a diagram showing an example of pixel-to-byte conversion when the pixel value of each pixel is represented by 12 bits. [Diagram 31] FIG. 13 is a diagram showing an example of pixel-to-byte conversion when the pixel value of each pixel is represented by 14 bits. [Diagram 32] FIG. 13 is a diagram showing an example of pixel-to-byte conversion when the pixel value of each pixel is represented by 16 bits. [Diagram 33] FIG. 11 is a diagram illustrating an example of payload data. [Diagram 34] FIG. 13 is a diagram showing another example of payload data. [Diagram 35] FIG. 13 is a diagram showing an example of payload data into which parity has been inserted. [Diagram 36]FIG. 13 is a diagram showing a state in which a header is added to payload data. [Figure 37] FIG. 13 is a diagram showing a state in which a header and a footer are added to payload data. [Figure 38] FIG. 13 is a diagram showing a state in which a header is added to payload data into which parity has been inserted. [Figure 39] FIG. 13 is a diagram illustrating an example of packet data allocation. [Diagram 40] FIG. 11 is a diagram illustrating an example of a control code. [Diagram 41] FIG. 13 is a diagram showing the value of K Character. [Diagram 42] FIG. 13 is a diagram showing an example of inserting a Pad Code. [Diagram 43] FIG. 13 is a diagram showing an example of packet data after a control code is inserted. [Diagram 44] FIG. 13 is a diagram illustrating an example of data skew correction. [Diagram 45] 10 is a flowchart illustrating processing of the imaging device. [Figure 46] 46 is a flowchart illustrating a data transmission process performed in step S2 of FIG. 45. [Figure 47] 46 is a flowchart illustrating the data receiving process performed in step S3 of FIG. 45. [Figure 48] FIG. 11 is a diagram showing a control sequence when switching the number of lanes. [Figure 49] FIG. 13 is a diagram showing a first combination. [Figure 50] FIG. 11 is a diagram showing a second combination. [Figure 51] FIG. 13 is a diagram showing a third combination. [Figure 52] FIG. 13 is a diagram showing a fourth combination. [Figure 53] FIG. 13 is a diagram showing a fifth combination. [Figure 54] FIG. 13 is a diagram showing a sixth combination. [Figure 55] FIG. 11 is a diagram illustrating an example of the configuration of the transmitting side in the first combination. [Figure 56] FIG. 11 is a diagram illustrating an example of the configuration of the receiving side in the first combination. [Figure 57] FIG. 11 is a diagram illustrating an example of the configuration of the transmitting side in the second combination. [Figure 58] FIG. 13 is a diagram illustrating an example of the configuration of the receiving side in the second combination. [Figure 59] FIG. 13 is a diagram illustrating an example of the configuration of the transmitting side in the third combination. [Figure 60] FIG. 13 is a diagram illustrating an example of the configuration of the receiving side in the third combination. [Figure 61] FIG. 13 is a diagram illustrating an example of the configuration of the transmitting side in a fourth combination. [Figure 62] FIG. 13 is a diagram illustrating an example of the configuration of the receiving side in the fourth combination. [Figure 63] FIG. 13 is a diagram illustrating an example of the configuration of the transmitting side in the fifth combination. [Figure 64] FIG. 13 is a diagram illustrating an example of the configuration of the receiving side in the fifth combination. [Figure 65] FIG. 13 is a diagram illustrating an example of the configuration of the transmitting side in a sixth combination. [Figure 66] FIG. 13 is a diagram illustrating an example of the configuration of the receiving side in the sixth combination. [Figure 67] FIG. 2 is a block diagram showing a configuration example of a signal conversion device. [Figure 68] FIG. 1 is a block diagram illustrating an example of the configuration of a computer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present technology will be described in the following order. 1.Phys Protocol Interface 2.SLVS-EC standard 3. Variations
[0013] <<Phy Protocol Interface> > <Example of transmission system configuration> FIG. 1 is a diagram illustrating an example of a configuration of a transmission system according to an embodiment of the present technology.
[0014] The transmission system 1 in Fig. 1 is composed of an image sensor 11 and a DSP 12. The image sensor 11 and the DSP 12 are provided in the same imaging device having an imaging function, such as a digital camera or a mobile phone. The image sensor 11 is provided with an imaging unit 21 and a transmission unit 22, and the DSP 12 is provided with a receiving unit 31 and an image processing unit 32.
[0015] The imaging unit 21 of the image sensor 11 is composed of an imaging element such as a CMOS (Complementary Metal Oxide Semiconductor) image sensor, and performs photoelectric conversion of light received through a lens. The imaging unit 21 also performs A / D conversion of the signal obtained by the photoelectric conversion, and outputs pixel data constituting one frame of an image to the transmission unit 22, one pixel at a time.
[0016] The transmission unit 22 assigns the data of each pixel supplied from the imaging unit 21 to a plurality of transmission paths, for example, in the order in which the data is supplied from the imaging unit 21, and transmits the data to the DSP 12 in parallel via the plurality of transmission paths. In the example of FIG. 1, the pixel data is transmitted using eight transmission paths. The transmission paths between the image sensor 11 and the DSP 12 may be wired transmission paths or wireless transmission paths. Hereinafter, the transmission paths between the image sensor 11 and the DSP 12 are appropriately referred to as lanes.
[0017] The receiving unit 31 of the DSP 12 receives the pixel data transmitted from the transmitting unit 22 via the eight lanes, and outputs the data for each pixel to the image processing unit 32 in sequence.
[0018] The image processing unit 32 generates one frame of image based on the pixel data supplied from the receiving unit 31, and performs various image processing using the generated image. The image data transmitted from the image sensor 11 to the DSP 12 is, for example, RAW data, and the image processing unit 32 performs various processes such as compressing the image data, displaying the image, and recording the image data on a recording medium. In addition to the RAW data, JPEG data and additional data other than pixel data may also be transmitted from the image sensor 11 to the DSP 12.
[0019] As described above, data is transmitted and received between the transmitter 22 provided in the image sensor 11 of the transmission system 1 and the receiver 31 provided in the DSP 12 using a plurality of lanes.
[0020] It is also possible to provide the same number of transmitters 22 and receivers 31. In this case, data transmission and reception using a plurality of lanes is performed between each pair of the transmitter 22 and receiver 31.
[0021] Data transmission and reception between the transmitting unit 22 and the receiving unit 31 is performed in accordance with, for example, the SLVS-EC standard.
[0022] In the SLVS-EC standard, an application layer, a link layer, and a physical layer are defined according to the contents of signal processing. Signal processing of each layer is performed by the transmitter 22 on the transmitting side (Tx) and the receiver 31 on the receiving side (Rx).
[0023] Details will be described later, but basically, signal processing is carried out in the link layer to realize the following functions: 1. Pixel data to byte data conversion 2. Payload data error correction 3. Packet Data and Ancillary Data Transmission 4. Payload data error correction using packet footer 5. Lane Management 6. Protocol management for packet generation
[0024] On the other hand, in the physical layer, basically, signal processing is carried out to realize the following functions. 1.Generating and extracting control codes 2. Bandwidth control 3. Controlling skew between lanes 4. Symbol placement 5. Symbol coding for bit synchronization 6.SERDES(SERializer / DESerializer) 7. Clock Generation and Playback 8. SLVS (Scalable Low Voltage Signaling) signal transmission
[0025] In the transmitting unit 22 in FIG. 1, a signal processing unit that performs signal processing of the link layer on the transmitting side and a signal processing unit that performs signal processing of the physical layer on the transmitting side are provided separately.
[0026] In the receiver 31, a signal processing section for performing signal processing of the physical layer on the receiving side and a signal processing section for performing signal processing of the link layer on the receiving side are provided separately.
[0027] FIG. 2 is a block diagram showing an example of the configuration of the transmitting unit 22 and the receiving unit 31. As shown in FIG.
[0028] 2, the transmitting unit 22 has a Tx-Link Layer signal processing unit 22A and a Tx-Phy Layer signal processing unit 22B. The receiving unit 31 has an Rx-Phy Layer signal processing unit 31A and an Rx-Link Layer signal processing unit 31B. The pixel data output from the image sensor 11 is input to the Tx-Link Layer signal processing unit 22A as data to be transmitted.
[0029] The Tx-Link Layer signal processing unit 22A of the transmitting unit 22 performs link layer signal processing on the data to be transmitted. In addition to the above-mentioned processing, the Tx-Link Layer signal processing unit 22A at least performs processing to generate packets that store the data to be transmitted and distribute the generated packets to a plurality of lanes. The Tx-Link Layer signal processing unit 22A outputs packets that store the data to be transmitted.
[0030] The Tx-Phy Layer signal processing unit 22B performs physical layer signal processing on the packets supplied from the Tx-Link Layer signal processing unit 22A. In the Tx-Phy Layer signal processing unit 22B, processes including a process of inserting a control code into the packets distributed to each lane are performed in parallel for each lane. The data streams of each lane are output from the Tx-Phy Layer signal processing unit 22B and transmitted to the receiving unit 31.
[0031] The Rx-Phy Layer signal processing unit 31A of the receiving unit 31 receives the data stream transmitted from the Tx-Phy Layer signal processing unit 22B of the transmitting unit 22, and performs physical layer signal processing on the received data stream. In the Rx-Phy Layer signal processing unit 31A, in addition to the above-mentioned processing, processing including symbol synchronization processing and control code removal is performed in parallel for each lane. A data stream made up of packets storing data to be transmitted is output from the Rx-Phy Layer signal processing unit 31A using multiple lanes.
[0032] The Rx-Link Layer signal processing unit 31B performs link layer signal processing on the data streams of each lane supplied from the Rx-Phy Layer signal processing unit 31A. The Rx-Link Layer signal processing unit 31B performs at least a process of integrating the data streams of multiple lanes into one system of data and a process of acquiring packets that make up the data stream. The Rx-Link Layer signal processing unit 31B outputs data to be transmitted that is extracted from the packets.
[0033] Signals are transmitted and received between the Tx-Link Layer signal processing unit 22A and the Tx-Phy Layer signal processing unit 22B in the transmitter 22 according to specifications related to the interface between the link layer and the physical layer. For example, specifications based on the link layer and specifications based on the physical layer are defined as specifications related to the interface between two signal processing units on the transmitting side.
[0034] Similarly, signals are transmitted and received between the Rx-Phy Layer signal processing unit 31A and the Rx-Link Layer signal processing unit 31B in the receiving unit 31 according to the interface specifications between the link layer and the physical layer. For example, specifications based on the link layer and specifications based on the physical layer are defined as the interface specifications between two signal processing units on the receiving side.
[0035] It is also possible to define the specifications for the interface between such a link layer and a physical layer in the SLVS-EC standard.
[0036] <Phy Protocol Interface of the sending side> Physical layer-based specifications FIG. 3 is a diagram showing an example of input / output of the Tx-Phy Layer signal processing unit 22B of the transmission unit 22. As shown in FIG.
[0037] The signals input to and output from each port of the Tx-Phy Layer signal processing unit 22B are defined as shown enclosed by dashed lines. The Tx-Link Layer signal processing unit 22A is provided with a plurality of ports corresponding to the ports of the Tx-Phy Layer signal processing unit 22B.
[0038] The transmitter 22 is provided with a PLL (Phase Locked Loop) 22C. In the PLL 22C, a high-speed clock for data transfer is generated based on a reference clock. The high-speed clock for data transfer generated in the PLL 22C is input to a port TxHighSpeedClk of the Tx-Phy Layer signal processor 22B.
[0039] The port TxWordClk outputs a Word clock. The Word clock output from the port TxWordClk is input to a corresponding port of the Tx-Link Layer signal processing unit 22A.
[0040] A Packet Data Transfer request output from a predetermined port of the Tx-Link Layer signal processor 22A is input to the port TxLineValid.
[0041] A packet data transfer status notification is output from the port TxLineReady. The packet data transfer status notification output from the port TxLineReady is input to a corresponding port of the Tx-Link Layer signal processing unit 22A.
[0042] To the port TxDataValid, Packet Data Valid output from a predetermined port of the Tx-Link Layer signal processor 22A is input.
[0043] A packet data output state notification is output from the port TxDataReady. The packet data output state notification output from the port TxDataReady is input to a corresponding port of the Tx-Link Layer signal processing unit 22A.
[0044] To the port TxData_L, packet data output from a predetermined port of the Tx-Link Layer signal processor 22A is input.
[0045] A physical layer activation request output from a predetermined port of the Tx-Link Layer signal processor 22A is input to the port TxEnable.
[0046] A Phy state notification is output from the port TxReady. The Phy state notification output from the port TxReady is input to a corresponding port of the Tx-Link Layer signal processing unit 22A.
[0047] 4 and 5 are diagrams showing an outline of input / output of each port of the Tx-Phy Layer signal processing unit 22B.
[0048] As shown in FIG. 4, ports TxHighSpeedClk and TxWordClk are ports used for inputting and outputting clocks.
[0049] The clock input to the port TxHighSpeedClk is a high-speed clock for data transfer. The high-speed clock for data transfer is used by the Tx-Phy Layer signal processor 22B to transmit bits of high-speed data via a lane between the transmitter 22 and the receiver 31.
[0050] The Word clock output from the port TxWordClk is used in the Tx-Link Layer signal processing unit 22A to synchronize the SLVS-EC PPI (Phy Protocol Interface) signal. The SLVS-EC PPI signal on the transmitting unit 22 side is each signal shown in FIG. 4 and FIG.
[0051] Port TxReady and port TxEnable are ports used to control the start / stop sequence.
[0052] As described later, a Training Sequence, which is a startup sequence, is performed by the Tx-Phy Layer signal processing unit 22B at a predetermined timing, such as before starting transmission of data to be transmitted. Also, a Standby Sequence, which is a stop sequence, is performed by the Tx-Phy Layer signal processing unit 22B at a predetermined timing, such as before stopping transmission of data.
[0053] When the Phy state notification output from the port TxReady is high, it indicates that a physical layer start or stop request can be accepted at the port TxEnable. When the Phy state notification is low, it indicates that a training sequence or a standby sequence is being executed.
[0054] When the physical layer startup request input to the port TxEnable is high, it indicates that a training sequence is to start, and when the physical layer startup request is low, it indicates that a standby sequence is to start.
[0055] As shown in FIG. 5, a port TxLineReady, a port TxLineValid, a port TxDataReady, a port TxDataValid, and ports TxData_L0 to L7 are ports used for controlling the output of data.
[0056] When the Packet Data Transfer state notification output from the port TxLineReady is high, it indicates that a Packet Data Transfer request can be accepted at the port TxLineValid.
[0057] A Packet Data Transfer request input to the port TxLineValid at a high level indicates the start of a Packet Data Transfer Sequence. In the Packet Data Transfer Sequence, a StartCode is output from the Tx-Phy Layer signal processing unit 22B to the transmission line, and then the Packet Data output from the Tx-Link Layer signal processing unit 22A is received by the Tx-Phy Layer signal processing unit 22B.
[0058] On the other hand, the Packet Data Transfer request being Low indicates the end of the Packet Data Transfer Sequence. After the End Code and Deskew Code are output from the Tx-Phy Layer signal processing unit 22B to the transmission line, the state of the Tx-Phy Layer signal processing unit 22B becomes a Blanking state (a state in which the IdleCode is output to the transmission line).
[0059] When the Packet Data output state notification output from the port TxDataReady is High, it indicates that Packet Data Valid can be accepted at the port TxDataValid.
[0060] When the Packet Data Valid input to the port TxDataValid is High, it indicates that the Packet Data is valid.
[0061] If the bit width of TxData (Packet Data) is wider than 8 bits, it is necessary to indicate which 8 bits are valid data in 8-bit units. There are four types of bit width of TxData: 8 bits, 16 bits, 32 bits, and 64 bits.
[0062] When the bit width of TxData is 8 bits, one bit of TxDataValid[0] is used as Packet Data Valid.
[0063] When the bit width of TxData is 16 bits, the two bits of TxDataValid[1:0] are used as Packet Data Valid.
[0064] When the bit width of TxData is 32 bits, the four bits of TxDataValid[3:0] are used as Packet Data Valid.
[0065] When the bit width of TxData is 64 bits, the 8 bits of TxDataValid[7:0] are used as Packet Data Valid.
[0066] When the 0th bit of Packet Data Valid (TxDataValid[0]) is high, it indicates that the 8 bits of TxData[7:0] are valid.
[0067] When the first bit of Packet Data Valid (TxDataValid[1]) is high, it indicates that the 8 bits of TxData[15:8] are valid.
[0068] When the second bit of Packet Data Valid (TxDataValid[2]) is high, it indicates that the 8 bits of TxData[23:16] are valid.
[0069] When the third bit of Packet Data Valid (TxDataValid[3]) is high, it indicates that the 8 bits of TxData[31:24] are valid.
[0070] When the fourth bit of Packet Data Valid (TxDataValid[4]) is high, it indicates that the 8 bits of TxData[39:32] are valid.
[0071] When the fifth bit of Packet Data Valid (TxDataValid[5]) is high, it indicates that the eight bits of TxData[47:40] are valid.
[0072] When the sixth bit of Packet Data Valid (TxDataValid[6]) is high, it indicates that the eight bits of TxData[55:48] are valid.
[0073] When the 7th bit of Packet Data Valid (TxDataValid[7]) is high, it indicates that the 8 bits of TxData[63:56] are valid.
[0074] The packet data input to the port TxData_L0 is the packet data of Lane0.
[0075] When the bit width of TxData is 8 bits, the 8 bits of TxData_L0[7:0] are used as TxData.
[0076] When the bit width of TxData is 16 bits, the 16 bits of TxData_L0[15:0] are used as TxData.
[0077] When the bit width of TxData is 32 bits, the 32 bits of TxData_L0[31:0] are used as TxData.
[0078] When the bit width of TxData is 64 bits, the 64 bits of TxData_L0[63:0] are used as TxData.
[0079] The packet data input to ports TxData_L1 to L7 is packet data for Lanes 1 to 7. Packet data of a predetermined bit width is input to ports TxData_L1 to L7 in the same manner as port TxData_L0.
[0080] Link layer based specifications FIG. 6 is a diagram showing an example of input / output of the Tx-Link Layer signal processing unit 22A of the transmitting unit 22. As shown in FIG.
[0081] The signals input to and output from each port of the Tx-Link Layer signal processing unit 22A are defined as shown enclosed by dashed lines. The Tx-Link Layer signal processing unit 22A is provided with a plurality of ports corresponding to the ports of the Tx-Phy Layer signal processing unit 22B.
[0082] The above-mentioned signals output from each port of the Tx-Phy Layer signal processing unit 22B are input to each port of the Tx-Link Layer signal processing unit 22A. Also, the above-mentioned signals input to each port of the Tx-Phy Layer signal processing unit 22B are output from each port of the Tx-Link Layer signal processing unit 22A. The input / output of the Tx-Link Layer signal processing unit 22A corresponds to the input / output of the Tx-Phy Layer signal processing unit 22B. Duplicate explanations will be omitted as appropriate.
[0083] That is, the Word clock output from the Tx-Phy Layer signal processor 22B is input to the port TxWordClk.
[0084] A Packet Data Transfer request is output from the port TxLineValid.
[0085] A Packet Data Transfer status notification is input to the port TxLineReady.
[0086] The port TxDataValid outputs Packet Data Valid.
[0087] A Packet data output status notification is input to the port TxDataReady.
[0088] Packet Data is output from the port TxData_L.
[0089] A physical layer activation request is output from the port TxEnable.
[0090] A Phy state notification is input to the port TxReady.
[0091] 7 and 8 are diagrams showing an outline of input / output of each port of the Tx-Link Layer signal processing unit 22A.
[0092] 7 and 8 are basically the same as those shown in Fig. 4 and 5, except that the input (I) in the Tx-Phy Layer signal processing unit 22B becomes the output (O) in the Tx-Link Layer signal processing unit 22A, and the output (O) in the Tx-Phy Layer signal processing unit 22B becomes the input (I) in the Tx-Link Layer signal processing unit 22A. Note that the port TxHighSpeedClk is not provided in the Tx-Link Layer signal processing unit 22A.
[0093] ·state transition FIG. 9 is a diagram illustrating an example of state transition in the physical layer.
[0094] Each white block in Figure 9 represents a physical layer state. The arrows pointing from one state to another represent state transitions that occur when the trigger signal shown near each arrow is output from the link layer. The main state transitions are explained below. Details of control codes such as the Idle Code will be explained later.
[0095] For example, when Standby is output from the link layer in the state in which Idle Code is being transmitted, as shown in the center, the state of the physical layer transitions to the Standby Sequence state, as shown at the tip of arrow #31. A physical layer activation request indicating Low input to port TxEnable corresponds to Standby, and is defined as a trigger signal for transitioning to the Standby Sequence state.
[0096] The Standby Sequence is a process for putting the transmitting unit 22 and the receiving unit 31 into a Standby state, or a signal used for that process.
[0097] When the Standby Sequence ends, the state of each lane becomes Standby, as shown by the tip of arrow #32. The state of each lane in High-Z corresponds to the Standby state. If the High-Z state has a negative effect on the receiving side, it may be set to Fixed Low state.
[0098] When Setup is output from the link layer while each lane is in Standby state, the physical layer state becomes Fixed Low state (a state in which a Low signal is output from each lane), as shown at the end of arrow #33. A physical layer startup request indicating High input to port TxEnable corresponds to Setup, and is defined as a trigger signal for transitioning to a Fixed Low state.
[0099] After entering the Fixed Low state, the physical layer enters the Training Sequence state, as indicated by the tip of arrow #34.
[0100] The training sequence is a process performed in the receiving unit 31 to recover a clock by performing CDR, establish synchronization, and correct data skew between lanes, or a signal used in the process.
[0101] When the training sequence ends, the state of the physical layer returns to a state in which the idle code is transmitted, as indicated by the tip of arrow #35.
[0102] When TX Start is output from the link layer while Idle Code is being transmitted, the physical layer state transitions to a state in which Start Code is output, as indicated by the tip of arrow #36. A Packet Data Transfer request indicating High input to port TxLineValid corresponds to TX Start, and is defined as a trigger signal for transitioning to a state in which Start Code is output.
[0103] After the output of the Start Code is completed, the physical layer enters a state in which a Data Symbol is output, as indicated by the tip of arrow #37. The Data Symbol is a signal obtained by performing a predetermined process, such as 8B10B encoding, on the Packet Data.
[0104] As shown by arrow #38, while Data Valid is being output from the link layer, Packet Data is output from the Tx-Phy Layer signal processor 22B to the transmission path. Packet Data Valid, which indicates High and is input to the port TxDataValid, corresponds to Data Valid and is defined as a trigger signal for outputting Packet Data.
[0105] When Data Invalid is output from the link layer during packet data transmission, the physical layer state transitions to a state in which Pad Code is output, as indicated by the tip of arrow #39. Packet Data Valid, which indicates a low level input to port TxDataValid, corresponds to Data Invalid and is defined as a trigger signal for transitioning to a state in which Pad Code is output.
[0106] As indicated by an arrow #40, while Data Invalid is being output from the link layer, Pad Code is output from the Tx-Phy Layer signal processor 22B onto the transmission path.
[0107] When a Data Valid is output from the link layer while a Pad Code is being transmitted, the state of the physical layer returns to a state in which a Data Symbol (Packet Data) is output, as indicated by the tip of arrow #41.
[0108] When TX End is output from the link layer while packet data is being transmitted, the physical layer state transitions to a state in which an End Code is output, as indicated by the tip of arrow #42. A Packet Data Transfer request indicating a low level input to port TxLineValid corresponds to TX End, and is defined as a trigger signal for transitioning to a state in which an End Code is output.
[0109] Similarly, when TX End is output from the link layer while the Pad Code is being transmitted, the state of the physical layer transitions to a state in which the End Code is output, as indicated by the tip of arrow #43.
[0110] When the output of the End Code is completed, the state of the physical layer transitions to a state in which the Deskew Code is output, as indicated by the tip of arrow #44.
[0111] When the output of the deskew code is completed, the state of the physical layer returns to the state in which the idle code is transmitted, as indicated by the tip of an arrow #45.
[0112] The above-mentioned state transitions are realized using the above-mentioned signals.
[0113] The two trigger signals, Standby and Setup, can be expressed by a single signal, a physical layer startup request, input to the port TxEnable.
[0114] In addition, the two trigger signals, TX Start and TX End, can be expressed by a single signal, a Packet Data Transfer request, that is input to the port TxLineValid.
[0115] Furthermore, the two trigger signals, Data Valid and Data Invalid, can be expressed by a single signal, Packet Data Valid, input to the port TxDataValid.
[0116] By performing such definition, the Tx-Link Layer signal processing unit 22A as the link layer can control the output of the Training Sequence / Standby Sequence, the Start Code / End Code, and the Pad Code of the SLVS-EC standard by using each trigger signal. In particular, the Tx-Link Layer signal processing unit 22A can control the output of the Pad Code during data transfer, which is a feature of the SLVS-EC standard, by using a trigger signal.
[0117] The state of the physical layer (the state of the Tx-Phy Layer signal processor 22B) is controlled in accordance with a state transition diagram as shown in FIG.
[0118] Timing chart FIG. 10 is a diagram showing an example of a timing chart of each signal.
[0119] 10 shows the Word clock output from the port TxWordClk of the Tx-Phy Layer signal processing unit 22 B. The Word clock serves as a reference for the timing of transmission and reception of each signal.
[0120] 10 shows data output to the transmission line from ports TXDP / TXDN of the Tx-Phy Layer signal processing unit 22B. The ports TXDP / TXDN are two ports used to output differential signals.
[0121] When the training sequence is completed, the Tx-Link Layer signal processor 22A goes through a blanking state and then goes into a state in which it is capable of outputting packet data.
[0122] As shown in the second row, at time t1, the Packet Data Transfer state notification output from the port TxLineReady of the Tx-Phy Layer signal processor 22B becomes High.
[0123] The Packet Data Transfer Sequence starts at time t2 when the output of port TxLineReady is High and the Packet Data Transfer request input to port TxLineValid of the Tx-Phy Layer signal processing unit 22B becomes High as shown in the third row. A Start Code is output to the transmission path at a timing after time t2.
[0124] Also, as shown in the fifth row, at time t2, Packet Data Valid input to the port TxDataValid of the Tx-Phy Layer signal processing unit 22B becomes High. As shown in the sixth row, Packet Data is input from the Tx-Link Layer signal processing unit 22A to the Tx-Phy Layer signal processing unit 22B.
[0125] This allows the Tx-Phy layer signal processing unit 22B to receive the TxData input from the Tx-Link layer signal processing unit 22A after the output of the StartCode has been completed.
[0126] As shown in the fourth row, at time t3 after it becomes possible to accept packet data, the packet data output state notification output from the port TxDataReady of the Tx-Phy Layer signal processor 22B becomes High.
[0127] After time t3, the output of the port TxDataReady is High, and the input to the port TxDataValid is High. In this state, TxData becomes valid data.
[0128] Thereafter, TxData in a state in which the input to port TxLineValid is High, the output of port TxDataReady is High, and the input to port TxDataValid is High is received by the Tx-Phy Layer signal processor 22B and output to the transmission line.
[0129] In the example of FIG. 10, packets D1 to D4, which are TxData input to the Tx-Phy Layer signal processing unit 22B, are accepted between time t3 and time t4, and are sequentially output to the transmission line as Data Symbols (TxData).
[0130] As shown in the fifth row, when the input of valid data ends at time t4, the Packet Data Valid input to the port TxDataValid of the Tx-Phy Layer signal processing unit 22B goes Low. After time t4, the output of the Pad Code starts.
[0131] At time t5 when the Pad Code is being output, if the Packet Data Valid input to the port TxDataValid of the Tx-Phy Layer signal processing unit 22B goes High, packets D5 and D6, which are TxData, are accepted and sequentially output to the transmission path as Data Symbols.
[0132] As shown in the third row, at time t6, when the Packet Data Transfer request input to the port TxLineValid of the Tx-Phy Layer signal processing unit 22B goes low, the Packet Data Transfer Sequence ends.
[0133] At time t7, the output of the port TxDataReady goes low, and from that point on, the End Code and Deskew Code are output, after which the Idle Code is output.
[0134] <Phy Protocol Interface of the receiving side> Physical layer-based specifications FIG. 11 is a diagram showing an example of input / output of the Rx-Phy Layer signal processing unit 31A of the receiving unit 31. As shown in FIG.
[0135] The signals input to and output from each port on the Rx-Phy Layer signal processing unit 31A side, which are enclosed by dashed lines, are defined. The Rx-Link Layer signal processing unit 31B is provided with a plurality of ports corresponding to each port on the Rx-Phy Layer signal processing unit 31A side.
[0136] A reference clock is input to the port RxRefClk.
[0137] The port RxWordClk outputs a Word clock. The Word clock output from the port RxWordClk is input to a corresponding port of the Rx-Link Layer signal processing unit 31B.
[0138] A Packet Data Transfer Sequence reception flag is output from the port RxLineValid. The Packet Data Transfer Sequence reception flag output from the port RxLineValid is input to a corresponding port of the Rx-Link Layer signal processing unit 31B.
[0139] Packet Data Valid is output from the port RxDataValid. The Packet Data Valid output from the port RxDataValid is input to a corresponding port of the Rx-Link Layer signal processing unit 31B.
[0140] Packet Data is output from the port RxData_L. The packet data output from the port RxData_L is input to a corresponding port of the Rx-Link Layer signal processing unit 31B.
[0141] A physical layer activation request output from a predetermined port of the Rx-Link Layer signal processor 31B is input to the port RxEnable.
[0142] The port RxCDRLock outputs a CDR Lock completion signal. The CDR Lock completion signal output from the port RxCDRLock is input to a corresponding port of the Rx-Link Layer signal processor 31B.
[0143] The port RxSymbolAlign outputs a completion of Symbol Alignment. The completion of Symbol Alignment output from the port RxSymbolAlign is input to a corresponding port of the Rx-Link Layer signal processing unit 31B.
[0144] The port RxSkewAlign outputs a signal indicating completion of skew alignment between lanes. The skew alignment between lanes output from the port RxSkewAlign is input to a corresponding port of the Rx-Link Layer signal processor 31B.
[0145] From the port RxStandbyDetect, Standby Sequence Detect is output. The Standby Sequence Detect output from the port RxStandbyDetect is input to a corresponding port of the Rx-Link Layer signal processing unit 31B.
[0146] A 10B8B decode error detection is output from the port RxDecodeError. The 10B8B decode error detection output from the port RxDecodeError is input to a corresponding port of the Rx-Link Layer signal processing unit 31B.
[0147] 12 and 13 are diagrams showing an outline of input / output of each port of the Rx-Phy Layer signal processing unit 31A.
[0148] As shown in FIG. 12, a port RxRefClk and a port RxWordClk are ports used for inputting and outputting a clock.
[0149] A reference clock is input to the port RxRefClk.
[0150] The transfer word clock output from the port RxWordClk is used in the Rx-Link Layer signal processor 31B to synchronize the SLVS-EC PPI signal. The SLVS-EC PPI signal on the receiver 31 side is each of the signals shown in FIG. 12 and FIG. 13.
[0151] Ports RxEnable, RxCDRLock, RxSymbolAlign, RxSkewAlign, RxStandbyDetect, and RxDecodeError are used to control the start / stop sequence. Ports RxCDRLock, RxSymbolAlign, RxSkewAlign, RxStandbyDetect, and RxDecodeError are also used to notify the state of the physical layer.
[0152] When the physical layer activation request input to the port RxEnable is high, it indicates that reception of signals such as Training Sequence is enabled.
[0153] When the CDR Lock Complete signal output from the port RxCDRLock is high, it indicates that Clock Data Recovery is complete.
[0154] When the Symbol Alignment Completed signal output from the port RxSymbolAlign is High, it indicates that the Symbol Alignment of the valid lane has been completed.
[0155] When the inter-lane skew alignment completion output from the port RxSkewAlign is high, it indicates that the data skew between the valid lanes has been corrected as a result of receiving the training sequence.
[0156] When the Standby Sequence Detect output from the port RxStandbyDetect is High, it indicates that the Standby Sequence has been received.
[0157] When the 10B8B decode error detection output from the port RxDecodeError is high, it indicates that a code that does not exist in the 10B8B conversion table has been detected.
[0158] As shown in FIG. 13, a port RxLineValid, a port RxDataValid, and ports RxData_L0 to L7 are ports used for controlling the output of data.
[0159] When the Packet Data Transfer Sequence reception flag output from the port RxLineValid is High, it indicates that the Packet Data Transfer Sequence period is in progress.
[0160] When the Packet Data Valid output from the port RxDataValid is High, it indicates that the Packet Data is valid.
[0161] If the bit width of RxData (Packet Data) is wider than 8 bits, it is necessary to indicate which 8 bits are valid data in 8-bit units. There are four types of bit width of RxData: 8 bits, 16 bits, 32 bits, and 64 bits.
[0162] If the bit width of RxData is 8 bits, one bit of RxDataValid[0] is used as Packet Data Valid.
[0163] When the bit width of RxData is 16 bits, the two bits of RxDataValid[1:0] are used as Packet Data Valid.
[0164] When the bit width of RxData is 32 bits, the 4 bits of RxDataValid[3:0] are used as Packet Data Valid.
[0165] If the bit width of RxData is 64 bits, the 8 bits of RxDataValid[7:0] are used as Packet Data Valid.
[0166] When the 0th bit of Packet Data Valid (RxDataValid[0]) is high, it indicates that the 8 bits of RxData[7:0] are valid.
[0167] When the first bit of Packet Data Valid (RxDataValid[1]) is high, it indicates that the 8 bits of RxData[15:8] are valid.
[0168] When the second bit of Packet Data Valid (RxDataValid[2]) is high, it indicates that the 8 bits of RxData[23:16] are valid.
[0169] When the third bit of Packet Data Valid (RxDataValid[3]) is high, it indicates that the 8 bits of RxData[31:24] are valid.
[0170] When the fourth bit of Packet Data Valid (RxDataValid[4]) is high, it indicates that the 8 bits of RxData[39:32] are valid.
[0171] When the fifth bit of Packet Data Valid (RxDataValid[5]) is high, it indicates that the eight bits of RxData[47:40] are valid.
[0172] When the sixth bit of Packet Data Valid (RxDataValid[6]) is high, it indicates that the eight bits of RxData[55:48] are valid.
[0173] When the 7th bit of Packet Data Valid (RxDataValid[7]) is high, it indicates that the 8 bits of RxData[63:56] are valid.
[0174] The packet data input to the port RxData_L0 is the packet data of Lane0.
[0175] When the bit width of RxData is 8 bits, the 8 bits of RxData_L0[7:0] are used as RxData.
[0176] When the bit width of RxData is 16 bits, the 16 bits of RxData_L0[15:0] are used as RxData.
[0177] When the bit width of RxData is 32 bits, the 32 bits of RxData_L0[31:0] are used as RxData.
[0178] When the bit width of RxData is 64 bits, the 64 bits of RxData_L0[63:0] are used as RxData.
[0179] The packet data output from the ports RxData_L1 to L7 is packet data for Lanes 1 to 7. Similar to the port RxData_L0, the ports RxData_L1 to L7 output packet data of a predetermined bit width.
[0180] Link layer based specifications FIG. 14 is a diagram showing an example of input / output of the Rx-Link Layer signal processing unit 31B of the receiving unit 31. As shown in FIG.
[0181] The signals input to and output from each port of the Rx-Link Layer signal processing unit 31B are defined as shown enclosed by a dashed line. The Rx-Link Layer signal processing unit 31B is provided with a plurality of ports corresponding to the ports on the Rx-Phy Layer signal processing unit 31A side.
[0182] The above-mentioned signals output from the respective ports of the Rx-Phy Layer signal processing unit 31A are input to each port of the Rx-Link Layer signal processing unit 31B. Also, the above-mentioned signals input to the respective ports of the Rx-Phy Layer signal processing unit 31A are output from each port of the Rx-Link Layer signal processing unit 31B. The input / output of the Rx-Link Layer signal processing unit 31B corresponds to the input / output of the Rx-Phy Layer signal processing unit 31A. Duplicate explanations will be omitted as appropriate.
[0183] That is, the Word clock output from the Rx-Phy Layer signal processor 31A is input to the port RxWordClk.
[0184] A Packet Data Transfer Sequence reception flag is input to the port RxLineValid.
[0185] Packet Data Valid is input to the port RxDataValid.
[0186] Packet Data is input to the port RxData_L.
[0187] A physical layer activation request is output from the port RxEnable.
[0188] For port RxCDRLock, CDR Lock complete is input.
[0189] For the port RxSymbolAlign, Symbol Alignment complete is input.
[0190] For port RxSkewAlign, inter-lane skew alignment completion is input.
[0191] For the port RxStandbyDetect, Standby Sequence Detect is input.
[0192] For the port RxDecodeError, 10B8B decode error detection is input.
[0193] 15 and 16 are diagrams showing an outline of input / output of each port of the Rx-Link Layer signal processing unit 31B.
[0194] 15 and 16 are basically the same as those shown in Fig. 12 and 13, except that the input (I) in the Rx-Phy Layer signal processing unit 31A becomes the output (O) in the Rx-Link Layer signal processing unit 31B, and the output (O) in the Rx-Phy Layer signal processing unit 31A becomes the input (I) in the Rx-Link Layer signal processing unit 31B. Note that the port RxRefClk is not provided in the Rx-Link Layer signal processing unit 31B.
[0195] ·state transition FIG. 17 is a diagram illustrating an example of state transition in the physical layer.
[0196] For example, when Standby Sequence is received while RX Ready shown in the center is being output to the link layer, the state of the physical layer transitions to a state where Standby Detect is output to the link layer, as shown at the tip of arrow #51. Standby Sequence Detect, which indicates a High output from port RxStandbyDetect, corresponds to Standby Detect. Standby Sequence is defined as a trigger signal for transitioning to a state where Standby Detect is output.
[0197] If Standby is output from the link layer while Standby Detect is being output, the physical layer state transitions to the Power Save state, as indicated by the tip of arrow #52. A physical layer activation request indicating a Low input to port RxEnable corresponds to Standby, and is defined as a trigger signal for transitioning to the Power Save state.
[0198] In the Power Save state, when Setup is output from the link layer, the state of the physical layer transitions to the Training Wait state, as shown by the tip of arrow #53. The physical layer startup request indicating High input to port RxEnable corresponds to Setup, and is defined as the trigger signal for transitioning to the Training Wait state.
[0199] When a training sequence is received in the Training Wait state or the Standby Detect state, the training sequence is performed in the Rx-Phy Layer signal processing unit 31A.
[0200] When Clock Data Recovery is completed by performing the Training Sequence, the port RxCDRLock outputs a CDR Lock completion signal indicating High.
[0201] Furthermore, when symbol alignment of a valid lane is completed, a symbol alignment completion signal indicating High is output from the port RxSymbolAlign.
[0202] When data skew between valid lanes has been corrected, the port RxSkewAlign outputs a signal indicating completion of lane-to-lane skew alignment, indicating High.
[0203] When the Training Sequence ends, as indicated by the tip of arrow #54, the state of the physical layer returns from the Training Wait state or the Standby Detect state to a state in which RX Ready is output.
[0204] When Start Code is received while RX Ready is being output, the physical layer state transitions to a state in which RX Start is output to the link layer, as indicated by the arrow #55. The Packet Data Transfer Sequence indicating a High signal output from the port RxLineValid corresponds to RX Start. Start Code is defined as the trigger signal for transitioning to a state in which RX Start is output to the link layer.
[0205] After the output of RX Start has finished, the state of the physical layer becomes one in which Data Symbol is received and Data Valid is output, as indicated by the tip of arrow #56.
[0206] As shown by arrow #57, while Data Symbol is being received, Data Valid is output from the physical layer. Packet Data Valid, which indicates High and is output from port RxDataValid, corresponds to Data Valid. Data Symbol is defined as a trigger signal for transitioning to a state in which Data Valid is output.
[0207] When a Pad Code is received while a Data Symbol is being received, the physical layer state transitions to a state in which Data Invalid is output to the link layer, as indicated by the arrow #58. Packet Data Valid, which indicates a low level and is output from the port RxDataValid, corresponds to Data Invalid. Pad Code is defined as a trigger signal for transitioning to a state in which Data Invalid is output to the link layer.
[0208] As indicated by arrow #59, while the Pad Code is being received, Data Invalid is output from the physical layer.
[0209] When a Data Symbol is received while a Pad Code is being received, the state of the physical layer transitions to a state in which a Data Valid is output to the link layer, as indicated by the tip of arrow #60.
[0210] When an End Code is received while a Data Symbol is being received, the state of the physical layer transitions to a state in which RX End is output to the link layer, as indicated by the tip of arrow #61. The Packet Data Transfer Sequence reception flag indicating Low output from the port RxLineValid corresponds to RX End. The End Code is defined as a trigger signal for transitioning to a state in which RX End is output to the link layer.
[0211] Similarly, when an End Code is received while a Pad Code is being received, the state of the physical layer transitions to a state in which RX End is output to the link layer, as indicated by the tip of arrow #62.
[0212] When Deskew Code is received while RX End is being output, the state of the physical layer transitions to the Deskew state, as indicated by the tip of arrow #63.
[0213] When an Idle Code is received while RX End is being output, the state of the physical layer transitions to a state where RX Ready is output, as indicated by the tip of arrow #64.
[0214] Similarly, when an idle code is received in the deskew state, the state of the physical layer transitions to a state in which RX ready is output, as indicated by the tip of arrow #65.
[0215] The above-mentioned state transitions are realized using the above-mentioned signals.
[0216] The two signals, Standby and Setup, can be expressed by a single signal output from the port RxEnable, which is a physical layer startup request.
[0217] In addition, the two signals, RX Start and RX End, can be expressed by a single signal, a Packet Data Transfer request, output from the port RxLineValid.
[0218] Furthermore, the two signals Data Valid and Data Invalid can be expressed by a single signal, Packet Data Valid, output from the port RxDataValid.
[0219] By performing such definitions, the Rx-Phy Layer signal processing unit 31A as a physical layer can express the output of the Training Sequence / Standby Sequence, Start Code / End Code, and Pad Code of the SLVS-EC standard using each signal. The Rx-Link Layer signal processing unit 31B as a link layer can recognize the detection of the Training Sequence / Standby Sequence and the completion of processing by the sequence based on the signal supplied from the Rx-Phy Layer signal processing unit 31A.
[0220] The state of the physical layer (the state of the Rx-Phy Layer signal processor 31A) is controlled in accordance with a state transition diagram as shown in FIG.
[0221] Timing chart FIG. 18 is a diagram showing an example of a timing chart of each signal.
[0222] 18 shows data input to ports RXDP / RXDN of the Rx-Phy Layer signal processing unit 31 A. The ports RXDP / RXDN are two ports used for inputting differential signals.
[0223] The second row of Fig. 18 shows the reference clock input to the port RxRefClk of the Rx-Phy Layer signal processing unit 31A. The reference clock input to the port RxRefClk is used as a reference clock for performing CDR. Each signal is transmitted and received based on the Word clock (port RxWordClk) obtained by locking the CDR.
[0224] As shown in the third row, if the input to port RxEnable is set to High at time t31 and CDR Lock (clock recovery) is completed at time t32, the CDR Lock completion signal output from port RxCDRLock will be High, as shown in the fourth row.
[0225] As shown in the fifth row, after time t32, the port RxWordClk outputs a Word clock synchronized with the data.
[0226] As shown in the sixth row, at time t33 when the Packet Data Transfer Sequence (Start Code) is received by the Rx-Phy Layer signal processing unit 31A, the Packet Data Transfer Sequence reception flag output from the port RxLineValid becomes High.
[0227] After time t33, various types of physical layer processing, including a process of decoding packet data from data symbols and a process of removing control codes, stuffing, and the like from packet data, are performed in the Rx-Phy Layer signal processor 31A.
[0228] Payload Data extracted from Packet Data by physical layer processing is output as RxData from port RxData_L. As shown in the seventh row, while RxData is being output, Packet Data Valid output from port RxDataValid is High.
[0229] In the example of FIG. 18, the output of the port RxDataValid is High during the period from time t34 to time t35, when the payload data of packets D1 to D4 is output, and during the period from time t36 to time t37, when the payload data of packets D5 and D6 is output.
[0230] During the period from time t35 to time t36 when the Pad Code is being received, the output of the port RxDataValid is Low.
[0231] When the Packet Data Transfer Sequence ends (when the End Code is received), the output of the port RxLineValid goes Low at time t37, as shown in the sixth row. After that, the reception of the Idle Code continues.
[0232] <Implementation example> FIG. 19 is a block diagram illustrating an example implementation.
[0233] 19A shows an example of an implementation of the transmission unit 22, and FIG. 19B shows an example of an implementation of the reception unit 31. In FIG.
[0234] As shown in FIG. 19A, a Tx-Link Layer signal processing unit 22A and a Tx-Phy Layer signal processing unit 22B that constitute a transmission unit 22 can be provided on the same IC chip.
[0235] Also, as shown in FIG. 19B, an Rx-Phy Layer signal processing unit 31A and an Rx-Link Layer signal processing unit 31B constituting the receiving unit 31 can be provided on the same IC chip.
[0236] FIG. 20 is a block diagram showing another example of implementation.
[0237] 20A shows another example of the implementation of the transmitting unit 22, and FIG. 20B shows another example of the implementation of the receiving unit 31. In FIG.
[0238] As shown in FIG. 20A, a Tx-Link Layer signal processing unit 22A and a Tx-Phy Layer signal processing unit 22B constituting a transmission unit 22 can be provided on different IC chips.
[0239] Also, as shown in FIG. 20B, an Rx-Phy Layer signal processing unit 31A and an Rx-Link Layer signal processing unit 31B constituting the receiving unit 31 can be provided on different IC chips.
[0240] In this way, by defining the specifications for the interface between the link layer and the physical layer in the SLVS-EC standard, it is possible to implement separately the signal processing unit that performs signal processing for the link layer and the signal processing unit that performs signal processing for the physical layer.
[0241] In addition, by separating the signal processing unit that processes the link layer signal from the signal processing unit that processes the physical layer signal, it becomes possible to connect to other transmission standards, such as the CSI-2 standard of the Mobile Industry Processor Interface (MIPI).
[0242] 21 and 22 are diagrams showing examples of connections with other transmission standards.
[0243] 21 shows an example of implementation using a link layer signal processing unit of another transmission standard as a signal processing unit that performs link layer signal processing, and a Phy layer signal processing unit of the SLVS-EC standard as a signal processing unit that performs physical layer signal processing. The Phy layer signal processing unit of the SLVS-EC standard is a Tx-Phy layer signal processing unit 22B or an Rx-Phy layer signal processing unit 31A.
[0244] For example, when the Link Layer signal processing unit of another transmission standard in Figure 21 and the Phy Layer signal processing unit of the SLVS-EC standard are configured on the transmitting side, signals similar to those described with reference to Figure 3, etc. are transmitted and received between the Link Layer signal processing unit and the Phy Layer signal processing unit.
[0245] When the Link Layer signal processing unit of another transmission standard in Figure 21 and the Phy Layer signal processing unit of the SLVS-EC standard are configured on the receiving side, signals similar to those described with reference to Figure 11, etc. are transmitted and received between the Link Layer signal processing unit and the Phy Layer signal processing unit.
[0246] FIG. 22 shows an example of an implementation in which a Link Layer signal processing unit of the SLVS-EC transmission standard is used as the signal processing unit for performing signal processing in the link layer, and a Phy Layer signal processing unit of another transmission standard is used as the signal processing unit for performing signal processing in the physical layer.
[0247] For example, when the Link Layer signal processing unit of the SLVS-EC standard in FIG. 22 and the Phy Layer signal processing unit of another transmission standard are in the transmission-side configuration, signals similar to the respective signals described with reference to FIG. 6 and the like are transmitted and received between the Link Layer signal processing unit and the Phy Layer signal processing unit.
[0248] Also, when the Link Layer signal processing unit of the SLVS-EC standard in FIG. 22 and the Phy Layer signal processing unit of another transmission standard are in the reception-side configuration, signals similar to the respective signals described with reference to FIG. 14 and the like are transmitted and received between the Link Layer signal processing unit and the Phy Layer signal processing unit.
[0249] In this way, it is possible to implement a connection between a signal processing unit that performs signal processing in the link layer of the SLVS-EC standard and a signal processing unit that performs signal processing in the physical layer of another transmission standard, or conversely, a connection between a signal processing unit that performs signal processing in the link layer of another transmission standard and a signal processing unit that performs signal processing in the physical layer of the SLVS-EC standard.
[0250] Since the signal processing in the physical layer of the SLVS-EC standard is signal processing using a differential signal with multiplexed clocks, by using the latter implementation in particular, it is possible to ensure the transmission distance while using the processing of other transmission standards for the signal processing in the link layer.
[0251] <<SLVS-EC Standard>> Here, the SLVS-EC standard will be described.
[0252] <Frame Format> FIG. 23 is a diagram showing an example of a format used to transmit one frame of image data between the image sensor 11 and the DSP 12 in FIG.
[0253] The effective pixel area A1 is an area of effective pixels in one frame of an image captured by the imaging unit 21. A margin area A2, whose vertical number of pixels is the same as that of the effective pixel area A1, is set to the left of the effective pixel area A1.
[0254] A front dummy area A3 is set above the effective pixel area A1, and the number of pixels in the horizontal direction is the same as the number of pixels in the effective pixel area A1 and the entire margin area A2 in the horizontal direction. In the example of Fig. 23, Embedded Data is inserted into the front dummy area A3. The Embedded Data includes information on setting values related to imaging by the imaging unit 21, such as shutter speed, aperture value, and gain. Embedded Data may also be inserted into the rear dummy area A4.
[0255] Below the effective pixel area A1, a rear dummy area A4 is set, the number of pixels in the horizontal direction of which is the same as the number of pixels in the effective pixel area A1 and the entire margin area A2 in the horizontal direction.
[0256] The effective pixel area A1, the margin area A2, the front dummy area A3, and the rear dummy area A4 constitute an image data area A11.
[0257] A header is added before each line that constitutes the image data area A11, and a start code is added before the header. In addition, a footer is optionally added after each line that constitutes the image data area A11, and a control code such as an end code (described later) is added after the footer. If a footer is not added, a control code such as an end code is added after each line that constitutes the image data area A11.
[0258] Every time one frame of an image captured by the imaging unit 21 is transmitted from the image sensor 11 to the DSP 12, the entire data in the format shown in FIG. 23 is transmitted as transmission data.
[0259] The upper band in Fig. 23 shows the structure of packets used to transmit the transmission data shown below. If a horizontal row of pixels is considered a line, the payload of a packet stores data of the pixels that make up one line of the image data area A11. The transmission of the entire image data of one frame is performed using packets whose number is equal to or greater than the number of pixels in the vertical direction of the image data area A11.
[0260] A packet is constructed by adding a header and footer to a payload that stores one line of pixel data. As will be described in detail later, the header contains additional information about the pixel data stored in the payload, such as Frame Start, Frame End, Line Valid, Line Number, and ECC. At least the Start Code and End Code, which are control codes, are added to each packet.
[0261] In this way, by adopting a format in which the pixel data that constitutes one frame of an image is transmitted line by line, it becomes possible to transmit additional information such as a header and control codes such as a start code and end code during the blanking period for each line.
[0262] <Configuration of the transmitter 22 and the receiver 31> FIG. 24 is a diagram showing an example of the configuration of the transmission unit 22 and the reception unit 31. As shown in FIG.
[0263] 24, the configuration enclosed by a dashed line on the left side is the configuration of the transmission unit 22, and the configuration enclosed by a dashed line on the right side is the configuration of the reception unit 31. The transmission unit 22 and the reception unit 31 each have a link layer configuration and a physical layer configuration.
[0264] The configuration shown above the solid line L2 is the link layer configuration, and the configuration shown below the solid line L2 is the physical layer configuration. In the transmitter 22, the configuration shown above the solid line L2 corresponds to the Tx-Link Layer signal processing unit 22A as a configuration for performing link layer signal processing, and the configuration shown below the solid line L2 corresponds to the Tx-Phy Layer signal processing unit 22B as a configuration for performing physical layer signal processing.
[0265] The signal exchange between the Tx-Link Layer signal processing unit 22A and the Tx-Phy Layer signal processing unit 22B is defined in the manner described with reference to FIG.
[0266] In addition, in the receiving unit 31, the configuration shown below the solid line L2 corresponds to the Rx-Phy Layer signal processing unit 31A as a configuration performing physical layer signal processing, and the configuration shown above the solid line L2 corresponds to the Rx-Link Layer signal processing unit 31B as a configuration performing link layer signal processing.
[0267] The signal exchange between the Rx-Phy Layer signal processing unit 31A and the Rx-Link Layer signal processing unit 31B is defined in the manner described with reference to FIG.
[0268] The configuration shown above the solid line L1 is the configuration of the application layer. A system control unit 51, a frame data input unit 52, and a register 53 are realized in the imaging unit 21.
[0269] The system control unit 51 communicates with a LINK-TX protocol management unit 61 of the transmission unit 22, and controls the transmission of image data by providing information regarding the frame format, for example.
[0270] The frame data input unit 52 captures an image in response to an instruction from a user, and supplies data of each pixel constituting the image obtained by capturing the image to a Pixel to Byte conversion unit 62 in the transmission unit 22 .
[0271] The register 53 stores information such as the number of bits for pixel-to-byte conversion, the number of lanes, etc. In accordance with the information stored in the register 53, a transmission process of image data is performed.
[0272] Moreover, among the components of the application layer, a frame data output unit 141 , a register 142 , and a system control unit 143 are realized in the image processing unit 32 .
[0273] The frame data output unit 141 generates and outputs one frame of image based on the pixel data of each line supplied from the receiving unit 31. Various types of processing are performed using the image output from the frame data output unit 141.
[0274] The register 142 stores various setting values related to reception of image data, such as the number of bits for Byte to Pixel conversion, the number of lanes, etc. In accordance with the information stored in the register 142, reception processing of the image data is performed.
[0275] The system control unit 143 communicates with the LINK-RX protocol management unit 121 and controls sequences such as mode changes.
[0276] <Link Layer Configuration of Transmitter 22> First, the configuration of the link layer of the transmitting unit 22 (the configuration of the Tx-Link Layer signal processing unit 22A) will be described.
[0277] The transmitter 22 has, as link layer components, a LINK-TX protocol management unit 61, a Pixel to Byte conversion unit 62, a payload ECC insertion unit 63, a packet generation unit 64, and a lane distribution unit 65. The LINK-TX protocol management unit 61 is made up of a state control unit 71, a header generation unit 72, a data insertion unit 73, and a footer generation unit 74.
[0278] The state control unit 71 of the LINK-TX protocol management unit 61 manages the state of the link layer of the transmission unit 22 .
[0279] The header generation unit 72 generates a header to be added to a payload in which one line's worth of pixel data is stored, and outputs the header to the packet generation unit 64 .
[0280] FIG. 25 is a diagram showing the structure of the header generated by the header generating unit 72. As shown in FIG.
[0281] As mentioned above, one packet consists of a header and payload data, which is one line of pixel data. A footer may be added to the packet. The header consists of header information and Header ECC.
[0282] The header information includes Frame Start, Frame End, Line Valid, Line Number, and Reserved. The content and amount of each information is shown in Figure 26.
[0283] Frame Start is 1-bit information indicating the beginning of a frame. A value of 1 is set to Frame Start in the header of a packet used to transmit pixel data of the first line in the image data area A11 in Fig. 23, and a value of 0 is set to Frame Start in the header of a packet used to transmit pixel data of other lines.
[0284] Frame End is 1-bit information indicating the end of a frame. The Frame End of the header of a packet that contains in its payload the pixel data of the last line of the effective pixel area A1 is set to a value of 1, and the Frame End of the header of a packet used to transmit pixel data of other lines is set to a value of 0.
[0285] Frame Start and Frame End constitute frame information, which is information relating to a frame.
[0286] "Line Valid" is 1-bit information that indicates whether the line of pixel data stored in the payload is a line of valid pixels. A value of 1 is set to "Line Valid" in the header of a packet used to transmit pixel data of a line within the valid pixel area A1, and a value of 0 is set to "Line Valid" in the header of a packet used to transmit pixel data of other lines.
[0287] The Line Number is 13-bit information that indicates the line number of the line composed of the pixel data stored in the payload.
[0288] Line Valid and Line Number constitute line information, which is information about the line.
[0289] Reserved is a 32-bit area for expansion. The total data size of the header information is 6 bytes.
[0290] 25, the Header ECC placed following the header information includes a CRC (Cyclic Redundancy Check) code, which is a 2-byte error detection code calculated based on the 6-byte header information. In addition, the Header ECC includes two pieces of information following the CRC code, which are the same as the 8-byte information that is a combination of the header information and the CRC code.
[0291] In other words, one packet header contains three sets of the same header information and CRC code. The total data size of the header is 24 bytes, consisting of the first 8-byte set of header information and CRC code, the second 8-byte set of header information and CRC code, and the third 8-byte set of header information and CRC code.
[0292] FIG. 27 is a diagram showing an example of an 8-byte bit array constituting one set of header information and a CRC code.
[0293] The first byte H7 of the eight bytes that make up the header contains, in order from bit 1, one each of Frame Start, Frame End, and Line Valid, as well as bits 1 to 5 of the 13-bit Line Number. Additionally, the second byte H6 contains bits 6 to 13 of the 13-bit Line Number.
[0294] The third byte H5 to the sixth byte H2 are reserved. The seventh byte H1 and the eighth byte H0 contain the bits of the CRC code.
[0295] 24, the header generation unit 72 generates header information under the control of the system control unit 51. For example, the system control unit 51 supplies information indicating the line number of the pixel data output by the frame data input unit 52 and information indicating the beginning and end of the frame.
[0296] Furthermore, the header generating unit 72 applies the header information to a generating polynomial to calculate a CRC code. The generating polynomial of the CRC code added to the header information is expressed by, for example, the following equation (1).
number
[0297] The header generating unit 72 generates a pair of the header information and the CRC code by adding a CRC code to the header information, and generates a header by arranging the same pair of the header information and the CRC code three times. The header generating unit 72 outputs the generated header to the packet generating unit 64.
[0298] The data insertion unit 73 generates data used for stuffing and outputs it to the Pixel to Byte conversion unit 62 and the lane distribution unit 65. The stuffing data supplied to the Pixel to Byte conversion unit 62, which is payload stuffing data, is added to pixel data after Pixel to Byte conversion, and is used to adjust the amount of pixel data stored in the payload. Also, the stuffing data supplied to the lane distribution unit 65, which is lane stuffing data, is added to data after lane allocation, and is used to adjust the amount of data between lanes.
[0299] The footer generating unit 74, under the control of the system control unit 51, appropriately applies the payload data to a generating polynomial to calculate a 32-bit CRC code, and outputs the calculated CRC code as a footer to the packet generating unit 64. The generating polynomial for the CRC code added as the footer is expressed by, for example, the following equation (2).
number
[0300] The pixel to byte conversion unit 62 acquires the pixel data supplied from the frame data input unit 52, and performs pixel to byte conversion to convert the data of each pixel into data in units of one byte. For example, the pixel value (RGB) of each pixel of the image captured by the imaging unit 21 is represented by any one of 8 bits, 10 bits, 12 bits, 14 bits, and 16 bits.
[0301] FIG. 28 is a diagram showing an example of pixel-to-byte conversion in the case where the pixel value of each pixel is represented by 8 bits.
[0302] Data[0] represents the LSB, and Data[7], the largest number, represents the MSB. As indicated by the white arrow, in this case, the 8 bits of Data[7]~[0] representing the pixel value of pixel N are converted to Byte N consisting of Data[7]~[0]. When the pixel value of each pixel is represented by 8 bits, the number of bytes of data after pixel to byte conversion will be the same as the number of pixels.
[0303] FIG. 29 is a diagram showing an example of pixel-to-byte conversion in the case where the pixel value of each pixel is represented by 10 bits.
[0304] In this case, the 10 bits of Data[9] to [0] that represent the pixel value of pixel N are converted into Byte 1.25*N consisting of Data[9] to [2].
[0305] Similarly, for pixels N+1 to N+3, the 10 bits Data[9] to [0] representing each pixel value are converted to Bytes 1.25*N+1 to 1.25*N+3 consisting of Data[9] to [2]. Additionally, the lowest bits Data[1] and Data[0] of pixels N to N+3 are collected and converted to Byte 1.25*N+4. When the pixel value of each pixel is represented by 10 bits, the number of bytes of data after Pixel to Byte conversion will be 1.25 times the number of pixels.
[0306] FIG. 30 is a diagram showing an example of pixel-to-byte conversion in the case where the pixel value of each pixel is represented by 12 bits.
[0307] In this case, the 12 bits of Data
[11] to [0] that represent the pixel value of pixel N are converted into Byte 1.5*N consisting of Data
[11] to [4].
[0308] Similarly, for pixel N+1, the 12 bits Data
[11] to [0] representing the pixel value of pixel N+1 are converted into Byte 1.5*N+1 consisting of Data
[11] to [4]. Additionally, the lowest bits Data[3] to [0] of pixels N and N+1 are collected and converted into Byte 1.5*N+2. When the pixel value of each pixel is represented by 12 bits, the number of data bytes after Pixel to Byte conversion will be 1.5 times the number of pixels.
[0309] FIG. 31 is a diagram showing an example of pixel-to-byte conversion in the case where the pixel value of each pixel is represented by 14 bits.
[0310] In this case, the 14 bits of Data
[13] to [0] that represent the pixel value of pixel N are converted into Byte 1.75*N consisting of Data
[13] to [6].
[0311] Similarly, for pixels N+1 to N+3, the 14 bits Data
[13] to [0] representing the pixel values are converted to Bytes 1.75*N+1 to 1.75*N+3 consisting of Data
[13] to [6]. The remaining bits of pixels N to N+3 are collected in order from the least significant bit, and for example, the bits of pixel N, Data[5] to [0], and the bits of pixel N+1, Data[5], [4], are converted to Byte 1.75*N+4.
[0312] Similarly, Data[3] to [0], which are the bits of pixel N+1, and Data[5] to [2], which are the bits of pixel N+2, are converted to Byte 1.75*N+5, and Data[1], [0], which are the bits of pixel N+2, and Data[5] to [0], which are the bits of pixel N+3, are converted to Byte 1.75*N+6. If the pixel value of each pixel is represented by 14 bits, the number of data bytes after Pixel to Byte conversion will be 1.75 times the number of pixels.
[0313] FIG. 32 is a diagram showing an example of pixel-to-byte conversion in the case where the pixel value of each pixel is represented by 16 bits.
[0314] In this case, the 16 bits of Data
[15] to [0] that represent the pixel value of pixel N are converted to Byte 2*N consisting of Data
[15] to [8] and Byte 2*N+1 consisting of Data[7] to [0]. When the pixel value of each pixel is represented by 16 bits, the number of bytes of data after Pixel to Byte conversion will be twice the number of pixels.
[0315] 24 performs such pixel to byte conversion on each pixel, starting from the pixel at the left end of the line. The pixel to byte conversion unit 62 also generates payload data by adding payload stuffing data supplied from the data insertion unit 73 to the pixel data in units of bytes obtained by the pixel to byte conversion, and outputs the payload data to the payload ECC insertion unit 63.
[0316] FIG. 33 is a diagram illustrating an example of payload data.
[0317] 33 shows payload data including pixel data obtained by pixel to byte conversion when the pixel value of each pixel is represented by 10 bits. One uncolored block represents pixel data in units of bytes after pixel to byte conversion. One colored block represents payload stuffing data generated by the data insertion unit 73.
[0318] The pixel data after pixel to byte conversion is grouped into a predetermined number of groups in the order obtained by the conversion. In the example of Fig. 33, the pixel data are grouped into 16 groups, groups 0 to 15, where the pixel data including the MSB of pixel P0 is assigned to group 0, and the pixel data including the MSB of pixel P1 is assigned to group 1. The pixel data including the MSB of pixel P2 is assigned to group 2, the pixel data including the MSB of pixel P3 is assigned to group 3, and the pixel data including the LSBs of pixels P0 to P3 is assigned to group 4.
[0319] The pixel data after the pixel data containing the MSB of pixel P4 is also assigned in order to each group from group 5 onwards. When certain pixel data is assigned to group 15, the subsequent pixel data is assigned in order to each group from group 0 onwards. Of the blocks representing pixel data, a block with three dashed lines inside represents pixel data in bytes that is generated during pixel to byte conversion so as to include the LSBs of pixels N to N+3.
[0320] In the link layer of the transmitter 22, after grouping in this manner, pixel data at the same position in each group is processed in parallel for each period defined by the clock signal. That is, when pixel data is assigned to 16 groups as shown in Fig. 33, the pixel data is processed such that the 16 pixel data arranged in each column are processed within the same period.
[0321] As described above, the payload of one packet contains pixel data for one line. The entire pixel data shown in Fig. 33 is pixel data that constitutes one line. Here, the processing of pixel data in the effective pixel area A1 in Fig. 23 is described, but pixel data in other areas such as the margin area A2 is also processed together with the pixel data in the effective pixel area A1.
[0322] After one line of pixel data is grouped, payload stuffing data is added to make the data length of each group the same. The payload stuffing data is 1 byte of data.
[0323] 33, no payload stuffing data is added to the pixel data of group 0, and one piece of payload stuffing data is added to the end of each pixel data of groups 1 to 15, as shown by the dashed lines. The data length (bytes) of the payload data consisting of pixel data and stuffing data is expressed by the following formula (3).
number
[0324] In equation (3), LineLength represents the number of pixels in a line, BitPix represents the number of bits that represent the pixel value of one pixel, and PayloadStuffing represents the number of payload stuffing data.
[0325] When pixel data is allocated to 16 groups as shown in Fig. 33, the number of payload stuffing data is expressed by the following formula (4): In formula (4), % represents a remainder.
number
[0326] FIG. 34 is a diagram illustrating another example of the payload data.
[0327] FIG. 34 shows payload data including pixel data obtained by pixel to byte conversion when the pixel value of each pixel is represented by 12 bits.
[0328] 34, pixel data including the MSB of pixel P0 is assigned to group 0, pixel data including the MSB of pixel P1 is assigned to group 1, and pixel data including the LSBs of pixels P0 and P1 is assigned to group 2. The pixel data including the MSB of pixel P2 and subsequent pixel data are also assigned in order to each group from group 3 onwards. Of the blocks representing pixel data, a block with a single dashed line inside represents pixel data in bytes that was generated during pixel to byte conversion so as to include the LSBs of pixel N and pixel N+1.
[0329] In the example of FIG. 34, no payload stuffing data is added to the pixel data of groups 0 and 1, and one piece of payload stuffing data is added to the end of each of the pixel data of groups 2 to 15.
[0330] Payload data having such a structure is supplied from the Pixel to Byte conversion unit 62 to the payload ECC insertion unit 63 .
[0331] The payload ECC insertion unit 63 calculates an error correction code used for error correction of the payload data based on the payload data supplied from the Pixel to Byte conversion unit 62, and inserts the parity, which is the error correction code obtained by calculation, into the payload data. As the error correction code, for example, a Reed-Solomon code is used. Note that the insertion of the error correction code is optional, and for example, only one of the insertion of the parity by the payload ECC insertion unit 63 and the addition of the footer by the footer generation unit 74 can be performed.
[0332] FIG. 35 is a diagram showing an example of payload data in which parity is inserted.
[0333] The payload data shown in Fig. 35 is payload data including pixel data obtained by pixel to byte conversion in the case where the pixel value of each pixel is represented by 12 bits, as described with reference to Fig. 34. The shaded blocks represent parity.
[0334] In the example of Fig. 35, 14 pixel data are selected in order from the top of each group from groups 0 to 15, and 2 bytes of parity are calculated based on the selected 224 pixel data (224 bytes). The 2 bytes of parity are inserted as the 15th data of groups 0 and 1 following the 224 pixel data used in the calculation, and the first Basic Block is formed from the 224 pixel data and the 2 bytes of parity.
[0335] In this way, in payload ECC insertion section 63, basically, 2 bytes of parity are generated based on 224 pieces of pixel data, and inserted consecutively to the 224 pieces of pixel data.
[0336] 35, 224 pixel data following the first Basic Block are selected in order from each group, and 2 bytes of parity are calculated based on the selected 224 pixel data. The 2 bytes of parity are inserted as the 29th data of groups 2 and 3 following the 224 pixel data used in the calculation, and the second Basic Block is formed from the 224 pixel data and the 2 bytes of parity.
[0337] If the number of pixel data and payload stuffing data following a Basic Block, 16×M, is less than 224, 2 bytes of parity are calculated based on the remaining 16×M blocks (pixel data and payload stuffing data). The calculated 2 bytes of parity are inserted following the payload stuffing data, and an Extra Block is formed from the 16×M blocks and 2 bytes of parity.
[0338] The payload ECC insertion unit 63 outputs the payload data with the parity inserted therein to the packet generation unit 64. When parity insertion is not performed, the payload data supplied from the Pixel to Byte conversion unit 62 to the payload ECC insertion unit 63 is output to the packet generation unit 64 as is.
[0339] The packet generator 64 generates a packet by adding a header generated by the header generator 72 to the payload data supplied from the payload ECC inserter 63. When a footer is generated by the footer generator 74, the packet generator 64 also adds the footer to the payload data.
[0340] FIG. 36 is a diagram showing a state in which a header is added to payload data.
[0341] The 24 blocks labeled H7 to H0 represent header data in bytes, which is header information or a CRC code of the header information. As described with reference to Fig. 25, the header of one packet includes three pairs of header information and a CRC code.
[0342] For example, the header data H7 to H2 are header information (6 bytes), and the header data H1 and H0 are CRC codes (2 bytes).
[0343] In the example of Fig. 36, one header data H7 is added to the payload data of group 0, and one header data H6 is added to the payload data of group 1. One header data H5 is added to the payload data of group 2, and one header data H4 is added to the payload data of group 3. One header data H3 is added to the payload data of group 4, and one header data H2 is added to the payload data of group 5. One header data H1 is added to the payload data of group 6, and one header data H0 is added to the payload data of group 7.
[0344] 36, two pieces of header data H7 are added to the payload data of group 8, and two pieces of header data H6 are added to the payload data of group 9. Two pieces of header data H5 are added to the payload data of group 10, and two pieces of header data H4 are added to the payload data of group 11. Two pieces of header data H3 are added to the payload data of group 12, and two pieces of header data H2 are added to the payload data of group 13. Two pieces of header data H1 are added to the payload data of group 14, and two pieces of header data H0 are added to the payload data of group 15.
[0345] FIG. 37 is a diagram showing a state in which a header and a footer are added to payload data.
[0346] The four blocks labeled F3 to F0 represent footer data, which is a 4-byte CRC code generated as a footer. In the example of Fig. 37, the footer data F3 to F0 are added to the payload data of each of groups 0 to 3.
[0347] FIG. 38 is a diagram showing a state in which a header is added to payload data into which parity has been inserted.
[0348] In the example of FIG. 38, header data H7 to H0 are added to the payload data of FIG. 35 into which parity has been inserted, in the same manner as in the cases of FIG. 36 and FIG.
[0349] The packet generator 64 outputs packet data, which is data constituting one packet generated in this manner, to the lane distributor 65. Packet data consisting of header data and payload data, packet data consisting of header data, payload data and footer data, or packet data consisting of header data and payload data into which parity has been inserted, is supplied to the lane distributor 65. The packet structure in Fig. 25 is a logical one, and in the link layer and physical layer, the data of a packet having the structure in Fig. 25 is processed in units of bytes.
[0350] The lane distributor 65 allocates the packet data supplied from the packet generator 64 to each of the lanes 0 to 7 used for data transmission, in order from the leading data.
[0351] FIG. 39 is a diagram illustrating an example of packet data allocation.
[0352] Here, allocation of packet data (FIG. 37) consisting of header data, payload data, and footer data will be described. An example of packet data allocation when data transmission is performed using eight lanes from Lanes 0 to 7 is shown at the end of the white arrow #1.
[0353] In this case, each of the header data constituting the three repetitions of header data H7 to H0 is assigned to Lanes 0 to 7 in order starting from the first header data. When a certain header data is assigned to Lane 7, the subsequent header data is assigned to each lane from Lane 0 onwards in order. The same header data is assigned three times to each of Lanes 0 to 7.
[0354] Furthermore, payload data is allocated in order from the leading payload data to Lanes 0 to 7. When some payload data is allocated to Lane 7, the subsequent payload data is allocated in order to each of the lanes from Lane 0 onwards.
[0355] The footer data F3 to F0 are assigned to each lane in order from the first footer data. In the example of Fig. 39, the last payload stuffing data constituting the payload data is assigned to Lane 7, and the footer data F3 to F0 are assigned to Lanes 0 to 3 one by one.
[0356] Blocks shown in black represent lane stuffing data generated by the data insertion unit 73. After one packet of packet data is assigned to each lane, the lane stuffing data is assigned to a lane with a smaller amount of data so that the data length assigned to each lane is the same. The lane stuffing data is 1 byte of data. In the example of FIG. 39, one piece of lane stuffing data is assigned to each of Lanes 4 to 7, which are lanes with a smaller amount of data assigned.
[0357] When packet data consists of header data, payload data, and footer data, the number of lane stuffing data is expressed by the following equation (5).
number
[0358] In formula (5), LaneNum represents the number of lanes, PayloadLength represents the payload data length (bytes), and FooterLength represents the footer length (bytes).
[0359] Furthermore, when packet data consists of header data and payload data with parity inserted, the number of lane stuffing data is expressed by the following formula (6): ParityLength in formula (6) represents the total number of bytes of parity included in the payload.
number
[0360] An example of packet data allocation when data transmission is performed using six lanes, Lanes 0 to 5, is shown at the end of the white arrow #2.
[0361] In this case, each of the header data constituting the three repetitions of header data H7 to H0 is assigned to Lanes 0 to 5 in order starting from the first header data. When a certain header data is assigned to Lane 5, the subsequent header data is assigned to each of the lanes from Lane 0 onwards in order. Four pieces of header data are assigned to each of Lanes 0 to 5.
[0362] Furthermore, payload data is allocated in order from the leading payload data to Lanes 0 to 5. When some payload data is allocated to Lane 5, the subsequent payload data is allocated in order to each of the lanes from Lane 0 onwards.
[0363] The footer data F3 to F0 are assigned to each lane in order from the first footer data. In the example of Fig. 39, the last payload stuffing data constituting the payload data is assigned to Lane 1, and the footer data F3 to F0 are assigned one each to Lanes 2 to 5. Since the number of packet data in Lanes 0 to 5 is the same, in this case, the lane stuffing data is not used.
[0364] An example of packet data allocation when data transmission is performed using four lanes, Lanes 0 to 3, is shown at the end of the white arrow #3.
[0365] In this case, each of the header data constituting the three repetitions of header data H7 to H0 is assigned to Lanes 0 to 3 in order starting from the first header data. When a certain header data is assigned to Lane 3, the subsequent header data is assigned to each lane from Lane 0 onwards in order. Six pieces of header data are assigned to each of Lanes 0 to 3.
[0366] Furthermore, the payload data is allocated in order from the leading payload data to Lanes 0 to 3. When some payload data is allocated to Lane 3, the subsequent payload data is allocated in order to each of the lanes from Lane 0 onwards.
[0367] The footer data F3 to F0 are assigned to each lane in order from the first footer data. In the example of Fig. 39, the last payload stuffing data constituting the payload data is assigned to Lane 3, and the footer data F3 to F0 are assigned one each to Lanes 0 to 3. Since the number of packet data in Lanes 0 to 3 is the same, in this case, the lane stuffing data is not used.
[0368] The lane distributor 65 outputs the packet data thus allocated to each lane to the physical layer. The following mainly describes a case where data is transmitted using eight lanes, Lanes 0 to 7, but similar processing is performed even when the number of lanes used for data transmission is other than the above.
[0369] <Physical Layer Configuration of Transmitter 22> Next, the configuration of the physical layer of the transmitting unit 22 (the configuration of the Tx-Phy Layer signal processing unit 22B) will be described.
[0370] The transmitter 22 is provided with a PHY-TX state control unit 81, a clock generation unit 82, and signal processing units 83-0 to 83-N as components of the physical layer. The signal processing unit 83-0 is composed of a control code insertion unit 91, an 8B10B symbol encoder 92, a synchronization unit 93, and a transmitter 94. Packet data assigned to Lane0 and output from the lane distribution unit 65 is input to the signal processing unit 83-0, and packet data assigned to Lane1 is input to the signal processing unit 83-1. Also, packet data assigned to LaneN is input to the signal processing unit 83-N.
[0371] In this way, the physical layer of the transmitter 22 is provided with signal processing units 83-0 to 83-N in the same number as the number of lanes, and processing of packet data to be transmitted using each lane is performed in parallel in each of the signal processing units 83-0 to 83-N. The configuration of the signal processing unit 83-0 will be described, but the signal processing units 83-1 to 83-N also have the same configuration.
[0372] The PHY-TX state control unit 81 controls each unit of the signal processing units 83-0 to 83-N. For example, the PHY-TX state control unit 81 controls the timing of each process performed by the signal processing units 83-0 to 83-N.
[0373] The clock generating unit 82 generates a clock signal and outputs it to the synchronization units 93 of the signal processing units 83-0 to 83-N.
[0374] The control code insertion unit 91 of the signal processing unit 83-0 adds a control code to the packet data supplied from the lane distribution unit 65. The control code is a code represented by one symbol selected from a plurality of types of symbols prepared in advance, or a combination of a plurality of types of symbols. Each symbol inserted by the control code insertion unit 91 is 8-bit data. By performing 8B10B conversion in a subsequent circuit, one symbol inserted by the control code insertion unit 91 becomes 10-bit data. On the other hand, in the receiving unit 31, 10B8B conversion is performed on the received data as described later, but each symbol before the 10B8B conversion included in the received data is 10-bit data, and each symbol after the 10B8B conversion becomes 8-bit data.
[0375] FIG. 40 is a diagram showing an example of the control code added by the control code inserting unit 91. As shown in FIG.
[0376] Control codes include Idle Code, Start Code, End Code, Pad Code, Sync Code, Deskew Code, and Standby Code.
[0377] The idle code is a group of symbols that are repeatedly transmitted during periods other than when packet data is being transmitted. The idle code is represented by the D character D00.0 (00000000), which is an 8B10B code.
[0378] The Start Code is a group of symbols that indicates the start of a packet. As mentioned above, the Start Code is added to the beginning of a packet. The Start Code is represented by four symbols, K28.5, K27.7, K28.2, and K27.7, which are combinations of three types of K Characters. The values of each K Character are shown in Figure 41.
[0379] End Code is a group of symbols that indicates the end of a packet. As mentioned above, End Code is added to the end of a packet. End Code is represented by four symbols, K28.5, K29.7, K30.7, and K29.7, which are combinations of three types of K Characters.
[0380] The Pad Code is a group of symbols inserted into the payload data to fill the difference between the pixel data bandwidth and the PHY transmission bandwidth. The pixel data bandwidth is the transmission rate of the pixel data output from the imaging unit 21 and input to the transmission unit 22, and the PHY transmission bandwidth is the transmission rate of the pixel data transmitted from the transmission unit 22 and input to the reception unit 31. The Pad Code is represented by four symbols, K23.7, K28.4, K28.6, and K28.3, which are combinations of four types of K Characters.
[0381] FIG. 42 is a diagram showing an example of inserting a Pad Code.
[0382] The upper part of Fig. 42 shows the payload data assigned to each lane before the Pad Code is inserted, and the lower part shows the payload data after the Pad Code is inserted. In the example of Fig. 42, the Pad Code is inserted between the third and fourth pixel data from the top, between the sixth and seventh pixel data, and between the twelfth and thirteenth pixel data. In this way, the Pad Code is inserted at the same position in the payload data of each lane, Lanes 0 to 7.
[0383] The insertion of Pad Code into the payload data assigned to Lane 0 is performed by the control code insertion unit 91 of the signal processing unit 83-0. Similarly, the insertion of Pad Code into the payload data assigned to the other lanes is performed at the same timing in each of the signal processing units 83-1 to 83-N. The number of Pad Codes is determined based on the difference between the pixel data band and the PHY transmission band, the frequency of the clock signal generated by the clock generation unit 82, etc.
[0384] In this way, when the pixel data band is narrow and the PHY transmission band is wide, the Pad Code is inserted to adjust the difference between the two bands. For example, the Pad Code is inserted to adjust the difference between the pixel data band and the PHY transmission band to fall within a certain range.
[0385] Returning to the explanation of Fig. 40, the Sync Code is a group of symbols used to ensure bit synchronization and symbol synchronization between the transmitter 22 and the receiver 31. The Sync Code is represented by two symbols, K28.5 and Any**. Any** indicates that any type of symbol may be used. The Sync Code is repeatedly transmitted, for example, during a training mode before the start of transmission of packet data between the transmitter 22 and the receiver 31.
[0386] The deskew code is a group of symbols used to correct data skew between lanes, that is, a difference in reception timing of data received at each lane of the receiver 31. The deskew code is represented by two symbols, K28.5 and Any**. The correction of data skew between lanes using the deskew code will be described later.
[0387] The Standby Code is a group of symbols used to notify the receiving unit 31 that the output of the transmitting unit 22 will be in a state such as High-Z (high impedance) and data transmission will no longer be performed. That is, the Standby Code is transmitted to the receiving unit 31 when the transmission of packet data ends and the unit goes into a Standby state. The Standby Code is represented by two symbols, K28.5 and Any**.
[0388] The control code insertion unit 91 outputs the packet data to which such a control code has been added to the 8B10B symbol encoder 92.
[0389] FIG. 43 is a diagram showing an example of packet data after the control code is inserted.
[0390] As shown in Fig. 43, in each of the signal processing units 83-0 to 83-N, a start code is added before the packet data, and a pad code is inserted into the payload data. An end code is added after the packet data, and a deskew code is added after the end code. In the example of Fig. 43, an idle code is added after the deskew code.
[0391] The 8B10B symbol encoder 92 performs 8B10B conversion on the packet data (packet data to which a control code has been added) supplied from the control code insertion unit 91, and outputs the packet data converted into data in 10-bit units to a synchronization unit 93.
[0392] The synchronization unit 93 outputs each bit of the packet data supplied from the 8B10B symbol encoder 92 to the transmission unit 94 in accordance with the clock signal generated by the clock generation unit 82. Note that the transmission unit 22 may not be provided with the synchronization unit 93. In this case, the packet data output from the 8B10B symbol encoder 92 is supplied to the transmission unit 94 as is.
[0393] The transmitter 94 transmits the packet data supplied from the synchronizer 93 to the receiver 31 via the transmission path constituting Lane 0. When data transmission is performed using eight lanes, the packet data is transmitted to the receiver 31 also using the transmission paths constituting Lanes 1 to 7.
[0394] <Physical Layer Configuration of Receiving Unit 31> Next, the configuration of the physical layer of the receiving unit 31 (the configuration of the Rx-Phy Layer signal processing unit 31A) will be described.
[0395] The receiving unit 31 is provided with a PHY-RX state control unit 101 and signal processing units 102-0 to 102-N as a configuration of the physical layer. The signal processing unit 102-0 is composed of a receiving unit 111, a clock generating unit 112, a synchronizing unit 113, a symbol synchronizing unit 114, a 10B8B symbol decoder 115, a skew correcting unit 116, and a control code removing unit 117. Packet data transmitted via a transmission path constituting Lane0 is input to the signal processing unit 102-0, and packet data transmitted via a transmission path constituting Lane1 is input to the signal processing unit 102-1. Also, packet data transmitted via a transmission path constituting LaneN is input to the signal processing unit 102-N.
[0396] In this way, the physical layer of the receiver 31 is provided with signal processing units 102-0 to 102-N in the same number as the number of lanes, and the packet data transmitted using each lane is processed in parallel in each of the signal processing units 102-0 to 102-N. The configuration of the signal processing unit 102-0 will be described, but the signal processing units 102-1 to 102-N also have the same configuration.
[0397] The receiving unit 111 receives a signal representing packet data transmitted from the transmitting unit 22 via the transmission path that constitutes Lane 0 , and outputs the signal to the clock generating unit 112 .
[0398] The clock generating unit 112 performs bit synchronization by detecting edges of the signal supplied from the receiving unit 111, and generates a clock signal based on the edge detection period. The clock generating unit 112 outputs the signal supplied from the receiving unit 111 to the synchronizing unit 113 together with the clock signal.
[0399] The synchronization unit 113 samples the signal received by the receiving unit 111 in accordance with the clock signal generated by the clock generation unit 112, and outputs packet data obtained by the sampling to the symbol synchronization unit 114. The clock generation unit 112 and the synchronization unit 113 realize a CDR (Clock Data Recovery) function.
[0400] The symbol synchronization unit 114 performs symbol synchronization by detecting a control code included in the packet data or by detecting a part of a symbol included in the control code. For example, the symbol synchronization unit 114 detects a K28.5 symbol included in the start code, end code, and deskew code, and performs symbol synchronization. The symbol synchronization unit 114 outputs packet data in 10-bit units representing each symbol to the 10B8B symbol decoder 115.
[0401] Furthermore, the symbol synchronization unit 114 performs symbol synchronization by detecting the boundaries of symbols contained in the Sync Code repeatedly transmitted from the transmission unit 22 during the training mode before the start of packet data transmission.
[0402] The 10B8B symbol decoder 115 performs 10B8B conversion on the 10-bit packet data supplied from the symbol synchronization unit 114 , and outputs the packet data converted into 8-bit data to the skew correction unit 116 .
[0403] The skew correction unit 116 detects the deskew code from the packet data supplied from the 10B8B symbol decoder 115. Information on the timing at which the skew code is detected by the skew correction unit 116 is supplied to the PHY-RX state control unit 101.
[0404] The skew correction unit 116 also corrects data skew between lanes by adjusting the timing of the deskew code to the timing represented by the information supplied from the PHY-RX state control unit 101. The PHY-RX state control unit 101 supplies information representing the latest timing of the deskew codes detected in each of the signal processing units 102-0 to 102-N.
[0405] FIG. 44 is a diagram showing an example of correcting data skew between lanes using deskew code.
[0406] 44, in each of Lanes 0 to 7, Sync Code, Sync Code, ..., Idle Code, Deskew Code, Idle Code, ..., Idle Code, Deskew Code are transmitted, and each control code is received by the receiver 31. The timing of receiving the same control code differs for each lane, resulting in data skew between the lanes.
[0407] In this case, the skew correction unit 116 detects Deskew Code C1 which is the first Deskew Code, and corrects the timing of the beginning of Deskew Code C1 to coincide with time t1 indicated by the information supplied from the PHY-RX state control unit 101. The PHY-RX state control unit 101 supplies information on time t1 when Deskew Code C1 was detected in Lane 7, which is the latest timing among the timings when Deskew Code C1 was detected in each of Lanes 0 to 7.
[0408] The skew correction unit 116 also detects the second Deskew Code, Deskew Code C2, and corrects the timing of the beginning of Deskew Code C2 to coincide with time t2 indicated by the information supplied from the PHY-RX state control unit 101. The PHY-RX state control unit 101 supplies information on time t2 when Deskew Code C2 is detected in Lane 7, which is the latest timing among the timings when Deskew Code C2 is detected in each of Lanes 0 to 7.
[0409] Similar processing is performed in each of the signal processing units 102-1 to 102-N, whereby data skew between the lanes is corrected as indicated by the tip of the arrow #1 in FIG.
[0410] The skew correction unit 116 outputs the packet data with the data skew corrected to a control code removal unit 117 .
[0411] The control code removal unit 117 removes the control code added to the packet data, and outputs the data between the Start Code and the End Code to the link layer as packet data.
[0412] The PHY-RX state control unit 101 controls each unit of the signal processing units 102-0 to 102-N to correct data skew between lanes, etc. When a transmission error occurs in a specific lane and a control code is lost, the PHY-RX state control unit 101 performs error correction of the control code by adding a control code transmitted in another lane in place of the lost control code.
[0413] <Link Layer Configuration of Receiving Unit 31> Next, the configuration of the link layer of the receiving unit 31 (the configuration of the Rx-Link Layer signal processing unit 31B) will be described.
[0414] The receiving unit 31 is provided with a link layer configuration including a LINK-RX protocol management unit 121, a lane integration unit 122, a packet separation unit 123, a payload error correction unit 124, and a Byte to Pixel conversion unit 125. The LINK-RX protocol management unit 121 is made up of a state control unit 131, a header error correction unit 132, a data removal unit 133, and a footer error detection unit 134.
[0415] The lane integrating unit 122 integrates the packet data supplied from the physical layer signal processing units 102-0 to 102-N by rearranging the data in the reverse order to the order in which the data was distributed to the lanes by the lane distributing unit 65 of the transmitting unit 22.
[0416] For example, when the lane distribution unit 65 distributes packet data as shown by the tip of arrow #1 in Fig. 39, the packet data of each lane is integrated to obtain the packet data on the left side of Fig. 39. When the packet data of each lane is integrated, the lane stuffing data is removed by the lane integration unit 122 under the control of the data removal unit 133. The lane integration unit 122 outputs the integrated packet data to the packet separation unit 123.
[0417] The packet separation unit 123 separates one packet's worth of packet data integrated by the lane integration unit 122 into packet data constituting header data and packet data constituting payload data. The packet separation unit 123 outputs the header data to the header error correction unit 132 and outputs the payload data to the payload error correction unit 124.
[0418] Furthermore, when a footer is included in a packet, the packet separation unit 123 separates one packet's worth of data into packet data constituting header data, packet data constituting payload data, and packet data constituting footer data. The packet separation unit 123 outputs the header data to the header error correction unit 132, and outputs the payload data to the payload error correction unit 124. Furthermore, the packet separation unit 123 outputs the footer data to the footer error detection unit 134.
[0419] When parity is inserted in the payload data supplied from the packet separation unit 123, the payload error correction unit 124 detects an error in the payload data by performing an error correction calculation based on the parity and corrects the detected error. For example, when parity is inserted as shown in Fig. 35, the payload error correction unit 124 uses the two parities inserted at the end of the first basic block to perform error correction on the 224 pixel data preceding the parity.
[0420] The payload error correction unit 124 performs error correction on each Basic Block and Extra Block, and outputs the error-corrected pixel data obtained by the error correction to the Byte to Pixel conversion unit 125. If parity is not inserted in the payload data supplied from the packet separation unit 123, the payload data supplied from the packet separation unit 123 is output to the Byte to Pixel conversion unit 125 as is.
[0421] The byte to pixel conversion unit 125 removes the payload stuffing data contained in the payload data supplied from the payload error correction unit 124 under the control of the data removal unit 133 .
[0422] In addition, the Byte to Pixel conversion unit 125 performs Byte to Pixel conversion to convert the data of each pixel in bytes obtained by removing the payload stuffing data into pixel data in units of 8 bits, 10 bits, 12 bits, 14 bits, or 16 bits. The Byte to Pixel conversion unit 125 performs a conversion that is the reverse of the Pixel to Byte conversion performed by the Pixel to Byte conversion unit 62 of the transmission unit 22 described with reference to Figs. 28 to 32.
[0423] Byte to Pixel conversion unit 125 outputs pixel data in 8-bit, 10-bit, 12-bit, 14-bit, or 16-bit units obtained by the Byte to Pixel conversion to frame data output unit 141. In frame data output unit 141, for example, each line of valid pixels specified by Line Valid in the header information is generated based on the pixel data obtained by Byte to Pixel conversion unit 125, and one frame of an image is generated by arranging each line according to the Line Number in the header information.
[0424] The state control unit 131 of the LINK-RX protocol management unit 121 manages the state of the link layer of the receiving unit 31 .
[0425] The header error correction unit 132 obtains three pairs of header information and CRC codes based on the header data supplied from the packet separation unit 123. The header error correction unit 132 performs an error detection calculation, which is a calculation for detecting an error in the header information, for each pair of header information and CRC codes, using the CRC code of the same pair as the header information.
[0426] The header error correction unit 132 infers correct header information based on at least one of the error detection result of the header information of each set and the comparison result of the data obtained by the error detection calculation, and outputs the header information inferred to be correct and the decoded result. The data obtained by the error detection calculation is a value obtained by applying a generating polynomial of the CRC to the header information. The decoded result is information indicating whether the decoding is successful or unsuccessful.
[0427] The three sets of header information and CRC codes are set 1, set 2, and set 3, respectively. In this case, the header error correction unit 132 performs an error detection calculation on set 1 to determine whether or not there is an error in the header information of set 1 (error detection result) and obtains data 1, which is the data obtained by the error detection calculation. Furthermore, the header error correction unit 132 performs an error detection calculation on set 2 to determine whether or not there is an error in the header information of set 2 and obtains data 2, which is the data obtained by the error detection calculation. The header error correction unit 132 performs an error detection calculation on set 3 to determine whether or not there is an error in the header information of set 3 and obtains data 3, which is the data obtained by the error detection calculation.
[0428] Furthermore, the header error correction unit 132 determines whether or not data 1 and data 2 match, whether or not data 2 and data 3 match, and whether or not data 3 and data 1 match, respectively.
[0429] For example, if no error is detected by any of the error detection calculations for set 1, set 2, and set 3, and all comparison results of the data obtained by the error detection calculations match, the header error correction unit 132 selects information indicating successful decoding as the decoding result. Also, the header error correction unit 132 assumes that all header information is correct, and selects one of the header information of set 1, the header information of set 2, and the header information of set 3 as output information.
[0430] On the other hand, if no error is detected only in the error detection calculation targeted at set 1, the header error correction unit 132 selects information indicating successful decoding as the decoding result, and infers that the header information of set 1 is correct, and selects the header information of set 1 as output information.
[0431] In addition, if no error is detected only in the error detection calculation targeting set 2, the header error correction unit 132 selects information indicating successful decoding as the decoding result, and infers that the header information of set 2 is correct, and selects the header information of set 2 as output information.
[0432] If no error is detected only in the error detection calculation targeting set 3, the header error correction unit 132 selects information indicating successful decoding as the decoding result, and infers that the header information of set 3 is correct, and selects the header information of set 3 as output information.
[0433] The header error correction unit 132 outputs the decoded result and output information selected as described above to and stores them in the register 142. In this manner, the header error correction unit 132 corrects errors in the header information by detecting error-free header information from among a plurality of pieces of header information using a CRC code and outputting the detected header information.
[0434] The data removal unit 133 controls the lane integration unit 122 to remove the lane stuffing data, and controls the Byte to Pixel conversion unit 125 to remove the payload stuffing data.
[0435] The footer error detection unit 134 acquires the CRC code stored in the footer based on the footer data supplied from the packet separation unit 123. The footer error detection unit 134 performs an error detection calculation using the acquired CRC code to detect an error in the payload data. The footer error detection unit 134 outputs the error detection result and stores it in the register 142.
[0436] <Operation of image sensor 11 and DSP 12> Next, a series of processes performed by the transmitting unit 22 and the receiving unit 31 having the above configuration will be described.
[0437] First, the operation of an imaging device having a transmission system 1 will be described with reference to the flowchart of Fig. 45. The process of Fig. 45 is started when an instruction to start imaging is issued, for example, by pressing a shutter button provided on the imaging device.
[0438] In step S1, the imaging unit 21 of the image sensor 11 captures an image. The frame data input unit 52 (FIG. 24) of the imaging unit 21 sequentially outputs pixel data constituting one frame of an image obtained by imaging, one pixel at a time.
[0439] In step S2, data transmission processing is performed by the transmitter 22. By the data transmission processing, a packet having one line's worth of pixel data stored in its payload is generated, and the packet data constituting the packet is transmitted to the receiver 31. The data transmission processing will be described later with reference to the flowchart of FIG.
[0440] In step S3, data reception processing is performed by the receiver 31. By the data reception processing, packet data transmitted from the transmitter 22 is received, and pixel data stored in the payload is output to the image processor 32. The data reception processing will be described later with reference to the flowchart of FIG.
[0441] The data transmission process performed by the transmitter 22 in step S2 and the data reception process performed by the receiver 31 in step S3 are alternately performed for one line of pixel data. That is, when a certain line of pixel data is transmitted by the data transmission process, the data reception process is performed, and when a line of pixel data is received by the data reception process, the data transmission process is performed for the next line of pixel data. The data transmission process by the transmitter 22 and the data reception process by the receiver 31 may be performed in parallel in time as appropriate. In step S4, the frame data output unit 141 of the image processor 32 determines whether or not transmission and reception of pixel data for all lines constituting one frame of image has been completed, and if it is determined that transmission and reception have not been completed, the frame data output unit 141 repeats the processes from step S2 onwards.
[0442] If it is determined in step S4 that the transmission and reception of pixel data for all lines constituting one frame of an image has been completed, then in step S5, the frame data output unit 141 of the image processing unit 32 generates one frame of an image based on the pixel data supplied from the receiving unit 31.
[0443] In step S6, the image processing unit 32 performs image processing using one frame of image, and then ends the processing.
[0444] Next, the data transmission process performed in step S2 in FIG. 45 will be described with reference to the flowchart in FIG.
[0445] The processing in steps S11 to S16 corresponds to link layer signal processing performed in the Tx-link layer signal processing unit 22A, and the processing in steps S17 to S19 corresponds to physical layer signal processing performed in the Tx-Phy layer signal processing unit 22B.
[0446] In step S11, the header generation unit 72 generates header information including a Frame Start, a Frame End, a Line Valid, a Line Number, and a Reserved.
[0447] In step S12, the header generating unit 72 applies the header information to a generating polynomial to calculate a CRC code.
[0448] In step S13, the header generating unit 72 generates a pair of the header information and the CRC code by adding a CRC code to the header information, and generates a header by repeatedly arranging the same pair of the header information and the CRC code three times.
[0449] In step S14, the Pixel to Byte conversion unit 62 obtains the pixel data supplied from the frame data input unit 52 and performs Pixel to Byte conversion. The Pixel to Byte conversion unit 62 outputs payload data generated by grouping the pixel data in byte units obtained by the Pixel to Byte conversion, adding payload stuffing data, etc. Parity is appropriately inserted into the payload data by the payload ECC insertion unit 63.
[0450] In step S15, the packet generator 64 generates a packet based on the payload data including one line's worth of pixel data and the header generated by the header generator 72, and outputs the packet data constituting one packet.
[0451] In step S16, the lane distributor 65 allocates the packet data supplied from the packet generator 64 to a plurality of lanes used for data transmission.
[0452] In step S 17 , the control code insertion unit 91 adds a control code to the packet data supplied from the lane distribution unit 65 .
[0453] In step S18, the 8B10B symbol encoder 92 performs 8B10B conversion on the packet data to which the control code has been added, and outputs the packet data converted into data in 10-bit units.
[0454] In step S19, the synchronization unit 93 outputs the packet data supplied from the 8B10B symbol encoder 92 in accordance with the clock signal generated by the clock generation unit 82, and transmits it from the transmission unit 94. The processing of steps S17 to S19 is performed in parallel by the signal processing units 83-0 to 83-N. When the transmission of one line's worth of pixel data is completed, the process returns to step S2 in Fig. 45 and the subsequent processing is performed.
[0455] Next, the data reception process performed in step S3 in FIG. 45 will be described with reference to the flowchart in FIG.
[0456] The processes in steps S31 to S36 correspond to physical layer signal processing performed in the Rx-Phy layer signal processing unit 31A, and the processes in steps S37 to S40 correspond to link layer signal processing performed in the Rx-Link layer signal processing unit 31B.
[0457] In step S31, the receiving unit 111 receives a signal representing packet data transmitted from the transmitting unit 22. The processes of steps S31 to S36 are performed in parallel by the signal processing units 102-0 to 102-N.
[0458] In step S32, the clock generating unit 112 performs bit synchronization by detecting an edge of the signal supplied from the receiving unit 111. The synchronizing unit 113 samples the signal received by the receiving unit 111 and outputs packet data to the symbol synchronizing unit 114.
[0459] In step S33, the symbol synchronization unit 114 performs symbol synchronization by detecting a control code included in the packet data.
[0460] In step S34, the 10B8B symbol decoder 115 performs 10B8B conversion on the packet data after symbol synchronization, and outputs the packet data converted into data in 8-bit units.
[0461] In step S35, the skew correction unit 116 detects the Deskew Code, and corrects the data skew between the lanes by matching the timing of the Deskew Code to the timing represented by the information supplied from the PHY-RX state control unit 101, as described above.
[0462] In step S36, the control code removal unit 117 removes the control code added to the packet data.
[0463] In step S37, the lane integrating unit 122 integrates the packet data supplied from the signal processing units 102-0 to 102-N.
[0464] In step S38, the packet separator 123 separates the packet data integrated by the lane integrater 122 into packet data constituting header data and packet data constituting payload data.
[0465] In step S39, the header error correction unit 132 performs an error detection calculation using the CRC code on each pair of header information and CRC code included in the header data separated by the packet separation unit 123. The header error correction unit 132 also selects and outputs error-free header information based on the error detection result of each pair and the comparison result of the data obtained by the error detection calculation.
[0466] In step S40, the Byte to Pixel conversion unit 125 performs Byte to Pixel conversion on the payload data, and outputs pixel data in units of 8 bits, 10 bits, 12 bits, 14 bits, or 16 bits. The payload error correction unit 124 appropriately performs error correction using parity on the payload data that is the subject of the Byte to Pixel conversion.
[0467] When the processing of one line's worth of pixel data is completed, the process returns to step S3 in FIG. 45 and the subsequent processing is carried out.
[0468] As described above, data transmission between the image sensor 11 and the DSP 12 is performed using a packet format in which one line of one frame corresponds to one packet.
[0469] The packet format used for data transmission between the image sensor 11 and the DSP 12 is a format that minimizes the transmission of header information and control codes that indicate packet boundaries, such as Start Code and End Code, making it possible to prevent a decrease in transmission efficiency. If a packet format in which pixel data stored in the payload of one packet is less than one line is adopted, more packets would need to be transmitted to transmit the pixel data of an entire frame, and the transmission efficiency would decrease as the number of header information and control codes to be transmitted increases.
[0470] In addition, by preventing a decrease in transmission efficiency, it is possible to reduce transmission latency, thereby realizing an interface with high pixel count and high frame rate, which requires the high-speed transmission of large amounts of image data.
[0471] It is possible to ensure measures against transmission errors in header information by adopting a packet format that increases the reliability / redundancy of transmission and assumes that error correction will be performed on the receiving unit 31 side. Since transmission of Frame / Line (V / H) synchronization information and the like is performed using header information, if the header information is lost due to a transmission error, this can cause a major malfunction in the system, but this can be prevented.
[0472] It is also possible to suppress the increase in implementation cost and power consumption required to ensure measures against header information transmission errors. That is, the packet format used for data transmission between the image sensor 11 and the DSP 12 has a CRC code added, so that the DSP 12 can detect the presence or absence of a header information transmission error. In addition, by transmitting three pairs of header information and CRC code, if a header information transmission error occurs, the DSP 12 can correct it to the correct header information.
[0473] If an error correction code is used as a measure against transmission errors in the header information, a circuit for calculating the error correction code must be provided in the transmitting unit 22, and a circuit for performing error correction calculations must be provided in the receiving unit 31. Since a CRC code, which is an error detection code, is added to the header information, the circuit scale and power consumption can be reduced compared to the case where a circuit for performing calculations related to error correction is provided. Furthermore, since the receiving unit 31 does not request the transmitting unit 22 to resend the header information when an error in the header information is detected, there is no need to provide a transmission path in the opposite direction for requesting resend.
[0474] By increasing the redundancy and combining multiple K characters of the 8B10B code to construct a control code, the probability of an error in the control code can be reduced, making it possible to ensure protection against transmission errors in the control code using relatively simple circuits.
[0475] Specifically, the Start Code uses a combination of three types of K Characters for four symbols, but if it can detect at least a symbol other than K28.5, the Start Code can be identified in the receiver 31, and it can be said to have high resistance to transmission errors. The same applies to the End Code.
[0476] In addition, four types of K Characters are combined and used for the Pad Code, and by assigning more types of K Characters than other control codes, it is possible to increase the error resistance compared to other control codes. In other words, if one type of symbol out of the four types can be detected, the Pad Code can be identified in the receiver 31. The Pad Code is transmitted more frequently than the Start Code, End Code, etc., and therefore has a structure that can increase the error resistance.
[0477] Furthermore, by transmitting the same control code at the same time on each lane, even if a transmission error occurs on one lane and the control code is lost, the erroneous control code can be reproduced using the control code on the other lanes.
[0478] In addition, because the number of K characters is limited, each control code is composed of a minimum number of K characters. For example, for the Sync Code, Deskew Code, and Standby Code, which are transmitted repeatedly and relatively tolerant of transmission errors, a data structure is used that does not require the allocation of additional K characters.
[0479] Since the control code required for resynchronization is assigned to each packet (each line), resynchronization can be quickly achieved if bit synchronization is lost due to disturbances such as static electricity or noise. In addition, the impact of transmission errors caused by out-of-synchronization can be minimized.
[0480] Specifically, bit synchronization can be achieved by detecting transitions / edges of bit data after 8B10B conversion in the CDR realized by the clock generating unit 112 and the synchronizing unit 113. If the transmitting unit 22 continues to send data, bit synchronization can be achieved within a period assumed as the CDR lock time.
[0481] Even if symbol synchronization is lost, resynchronization can be quickly achieved by detecting a specific K character (K28.5) in the symbol synchronization unit 114. Since K28.5 is used as the start code, end code, and deskew code, it becomes possible to achieve symbol synchronization at three points during the transmission period of one packet of packet data.
[0482] In addition, by making it possible to correct data skew between lanes using the deskew code, it is also possible to synchronize the lanes.
[0483] In the link layer, by processing each packet data in parallel in groups of 16 or the like (in the example of FIG. 33, in units of 16 bytes), it is possible to reduce the circuit scale and memory amount compared to processing one packet data per clock cycle. In terms of implementation, processing packet data one by one can reduce the circuit scale, etc., by processing them collectively in a predetermined unit. Reducing the circuit scale also makes it possible to reduce power consumption.
[0484] In addition, when allocating lanes, error tolerance can be improved by allocating consecutive packet data to different lanes. Even if an error occurs across a number of consecutive packet data in a certain lane that exceeds the error correction capability of the parity, lane combination is performed in the receiver 31, dispersing the positions of the packet data in which the error occurred, and it may become possible to correct the error using the parity. The error correction capability of the parity is determined by the parity length.
[0485] Furthermore, by treating the side closer to the physical layer as the lower layer and performing ECC processing at a higher level than lane distribution and lane integration, it is possible to reduce the circuit scale of the transmitter 22 and the receiver 31. For example, if ECC parity is inserted into the payload after packet data is assigned to each lane in the transmitter 22, a payload ECC insertion unit needs to be prepared for each lane, which would increase the circuit scale, but this can be prevented.
[0486] In the physical layer, parallel processing of packet data is performed by multiple circuits, but by sharing the PHY-TX state control unit 81 and clock generation unit 82, the circuits can be simplified compared to when those circuits are provided for each lane. Also, by using a protocol that does not transmit different control codes for each lane, the circuits that process the packet data of each lane can be simplified.
[0487] <Switching the number of lanes> The same control code is transmitted at the same time in each lane not only during normal data transmission, but also when, for example, the number of lanes is changed. Even when the number of lanes is changed, the state of all active lanes (lanes used for data transmission) is the same.
[0488] FIG. 48 is a diagram showing a control sequence when the number of lanes is changed.
[0489] The timing of the vertical sync signal (XVS) and horizontal sync signal (XHS) is shown on the right side of Figure 48. The pixel data of each line constituting one frame of image is transmitted in accordance with the horizontal sync signal until time t1 when the vertical sync signal is detected, and the active lanes are changed from 4 to 2 at time t1. Up until time t1, data transmission is performed using 4 lanes.
[0490] The status of each lane is shown vertically in the center of Figure 48. "PIX DATA" indicates that pixel data is being transmitted in the lane to which it is attached. "E", "BLK", and "S" following "PIX DATA" represent Frame End, blanking period, and Frame Start, respectively.
[0491] When the transmission of pixel data of a frame to be transmitted in one frame period up to time t1 is completed, in step S81, image processing unit 32 instructs receiving unit 31 to switch the number of lanes from 4 to 2. The instruction from image processing unit 32 is received by receiving unit 31 in step S71.
[0492] At time t1, in step S82, the image processing unit 32 requests a mode change from the imaging unit 21 of the image sensor 11. The request for mode change transmitted to the imaging unit 21 also includes information indicating that the number of lanes is to be switched from 4 to 2. Although not shown in FIG. 1 etc., a transmission path is provided between the imaging unit 21 and the image processing unit 32 for the image processing unit 32 to transmit information on setting values related to imaging, such as shutter speed and gain, to the imaging unit 21. The request for mode change is also transmitted to the imaging unit 21 via this transmission path.
[0493] In step S51, the imaging unit 21 receives a mode change request from the image processing unit 32, and in step S52 instructs the transmission unit 22 to switch the number of lanes from 4 to 2. The instruction from the imaging unit 21 is received by the transmission unit 22 in step S61.
[0494] A Standby Sequence is performed between the transmission unit 22 and the reception unit 31, and the Standby Code is repeatedly transmitted from the transmission unit 22 to the reception unit 31 using Lane0 to 3. When the Standby Sequence ends, at step S72, the detection result of the state is output from the reception unit 31 and received by the image processing unit 32 at step S83. Also, Lane0 and Lane1 that maintain the active state become Low, and Lane2 and Lane3 that end data transmission become High-Z.
[0495] A Training Sequence is performed between the transmission unit 22 and the reception unit 31, and the Sync Code is repeatedly transmitted from the transmission unit 22 to the reception unit 31 using Lane0 and Lane1. At the reception unit 31, bit synchronization is ensured, and symbol synchronization is ensured by detecting the Sync Code.
[0496] When the Training Sequence ends, at step S73, the reception unit 31 notifies the image processing unit 32 that the preparation is complete. The notification from the reception unit 31 is received by the image processing unit 32 at step S84, and a series of control sequences for switching the number of lanes ends.
[0497] In this way, in the control sequence for switching the number of lanes, the Standby Code is transmitted during the Standby Sequence also in Lane2 and Lane3 where data transmission ends, so that they are in the same state as Lane0 and 1 that are subsequently used for data transmission. For example, it is conceivable to leave Lane2 and Lane3 in the High-Z state without transmitting the Standby Code, but this would result in a different state from the lanes that are subsequently used for data transmission, making the control complicated.
[0498] <<Modification Example>> <Example of Connection between SLVS-EC Standard and Other Transmission Standards> ·Example of Combination 21 and 22, it is possible to implement a combination of a signal processing section conforming to the SLVS-EC standard and a signal processing section conforming to another transmission standard. An example of a combination of standards will be described.
[0499] FIG. 49 is a diagram showing the first combination.
[0500] The first combination shown in Figure 49 shows an example in which a link layer signal processing unit of another transmission standard is used as a signal processing unit that performs link layer signal processing, and a physical layer signal processing unit of the SLVS-EC standard is used as a signal processing unit that performs physical layer signal processing.
[0501] That is, the first combination is the same as the combination described with reference to Fig. 21. Fig. 49A shows the configuration of the transmitting side, and Fig. 49B shows the configuration of the receiving side.
[0502] FIG. 50 is a diagram showing the second combination.
[0503] The second combination shown in Figure 50 shows an example in which a Link Layer signal processing unit of the SLVS-EC standard is used as a signal processing unit that performs link layer signal processing, and a Phy Layer signal processing unit of another transmission standard is used as a signal processing unit that performs physical layer signal processing.
[0504] That is, the second combination is the same as the combination described with reference to Fig. 22. A of Fig. 50 shows the configuration of the transmitting side, and B of Fig. 50 shows the configuration of the receiving side.
[0505] FIG. 51 is a diagram showing the third combination.
[0506] The third combination shown in Figure 51 shows an example in which a Link Layer signal processing unit of the SLVS-EC standard and a Link Layer signal processing unit of another transmission standard are used in parallel as signal processing units performing link layer signal processing, and a Phy Layer signal processing unit of the SLVS-EC standard is used as a signal processing unit performing physical layer signal processing.
[0507] The link layer signal processing unit of the SLVS-EC standard and the link layer signal processing unit of other transmission standards are connected to the Phy layer signal processing unit of the SLVS-EC standard via a MUX (multiplexer). A in Fig. 51 shows the configuration of the transmitting side, and B in Fig. 51 shows the configuration of the receiving side.
[0508] By providing a link layer signal processing unit for the SLVS-EC standard and a link layer signal processing unit for other transmission standards in parallel, an upper layer application on the transmitting side can select one of the transmission standards and input a signal to the link layer signal processing unit.
[0509] FIG. 52 is a diagram showing the fourth combination.
[0510] The fourth combination shown in Figure 52 shows an example in which a Link Layer signal processing unit of the SLVS-EC standard and a Link Layer signal processing unit of another transmission standard are used in parallel as signal processing units performing link layer signal processing, and a Phy Layer signal processing unit of another transmission standard is used as a signal processing unit performing physical layer signal processing.
[0511] The link layer signal processing unit of the SLVS-EC standard and the link layer signal processing unit of another transmission standard are connected to the Phy layer signal processing unit of another transmission standard via a MUX. Figure 52A shows the configuration of the transmitting side, and Figure 52B shows the configuration of the receiving side.
[0512] FIG. 53 is a diagram showing the fifth combination.
[0513] The fifth combination shown in Figure 53 shows an example in which a link layer signal processing unit of the SLVS-EC standard is used as a signal processing unit that performs link layer signal processing, and a Phy layer signal processing unit of the SLVS-EC standard and a Phy layer signal processing unit of another transmission standard are used in parallel as signal processing units that perform physical layer signal processing.
[0514] The Link Layer signal processing unit of the SLVS-EC standard is connected to the Phy Layer signal processing unit of the SLVS-EC standard and the Phy Layer signal processing unit of other transmission standards via a MUX. Figure 53A shows the configuration of the transmitting side, and Figure 53B shows the configuration of the receiving side.
[0515] By arranging the Phy Layer signal processing unit of the SLVS-EC standard and the Phy Layer signal processing unit of other transmission standards in parallel, the Link Layer signal processing unit on the transmitting side can select one of the transmission standards depending on the characteristics of the transmission path, etc., and input a signal to the Phy signal processing unit.
[0516] FIG. 54 is a diagram showing the sixth combination.
[0517] The sixth combination shown in Figure 54 illustrates an example in which a link layer signal processing unit of another transmission standard is used as the signal processing unit performing link layer signal processing, and a Phy layer signal processing unit of the SLVS-EC standard and a Phy layer signal processing unit of another transmission standard are used in parallel as the signal processing unit performing physical layer signal processing.
[0518] The link layer signal processing unit of the other transmission standard is connected to the Phy layer signal processing unit of the SLVS-EC standard and the Phy layer signal processing unit of the other transmission standard via a MUX. Figure 54A shows the configuration of the transmitting side, and Figure 54B shows the configuration of the receiving side.
[0519] Below, implementation examples of each combination will be described, and overlapping descriptions of each combination will be omitted as appropriate.
[0520] First combination FIG. 55 is a diagram illustrating an example of the configuration of the transmitting side in the first combination.
[0521] As described with reference to FIG. 49, the first combination is a combination using a link layer signal processing unit of another transmission standard and a phy layer signal processing unit of the SLVS-EC standard.
[0522] 55 shows an image sensor 201 as a configuration on the transmission side. The image sensor 201 corresponds to the image sensor 11 in FIG.
[0523] The image sensor 201 includes an image sensor circuit 211, a link layer signal processing unit (other transmission standard) 212, a connection circuit 213, and a Phy layer signal processing unit (SLVS-EC standard) 214.
[0524] The link layer signal processing unit and the Phy layer signal processing unit are described below with the name of the transmission standard that each signal processing unit corresponds to. For example, the link layer signal processing unit of another transmission standard is called the link layer signal processing unit (other transmission standard), and the Phy layer signal processing unit of the SLVS-EC standard is called the Phy layer signal processing unit (SLVS-EC standard).
[0525] In addition, in Fig. 55, the Phy Layer signal processing unit (SLVS-EC standard) 214, which is a signal processing unit of the SLVS-EC standard, is colored. The same is true in other figures.
[0526] The image sensor circuit 211 captures an image and outputs pixel data constituting one frame of an image, pixel by pixel, to a link layer signal processing unit (another transmission standard) 212. The image sensor circuit 211 corresponds to the imaging unit 21 in Fig. 1. The link layer signal processing unit (another transmission standard) 212, the connection circuit 213, and the Phy layer signal processing unit (SLVS-EC standard) 214 constitute the transmission unit 22 in Fig. 1.
[0527] Link layer signal processing unit (other transmission standard) 212 performs link layer signal processing on the data supplied from image sensor circuit 211. In link layer signal processing unit (other transmission standard) 212, link layer signal processing of another transmission standard different from the link layer signal processing of the SLVS-EC standard is performed. Link layer signal processing unit (other transmission standard) 212 outputs a signal obtained by performing link layer signal processing to connection circuit 213.
[0528] The connection circuit 213 appropriately converts signals transmitted and received between the link layer signal processing unit (other transmission standard) 212 and the Phy layer signal processing unit (SLVS-EC standard) 214. The connection circuit 213 is provided with a conversion unit that converts a signal supplied from one signal processing unit into a signal in a format required by the other signal processing unit.
[0529] When a signal (assumed to be signal A) required for Phy layer signal processing unit (SLVS-EC standard) 214 is not supplied from link layer signal processing unit (other transmission standard) 212, connection circuit 213 generates signal A by converting the signal supplied from link layer signal processing unit (other transmission standard) 212 using a conversion unit. Connection circuit 213 outputs the generated signal A to Phy layer signal processing unit (SLVS-EC standard) 214. Signal A is input to Phy layer signal processing unit (SLVS-EC standard) 214 in accordance with, for example, the specifications related to the interface on the transmitting side described with reference to FIG. 3 etc.
[0530] Similarly, when a signal (assumed to be signal B) required for link layer signal processing unit (other transmission standard) 212 is not supplied from Phy layer signal processing unit (SLVS-EC standard) 214, connection circuit 213 generates signal B by converting the signal supplied from Phy layer signal processing unit (SLVS-EC standard) 214 using a conversion unit. Connection circuit 213 outputs the generated signal B to link layer signal processing unit (other transmission standard) 212. Signal B is input to link layer signal processing unit (other transmission standard) 212 in accordance with specifications defined as a link layer input of the other transmission standard.
[0531] Furthermore, a delay unit is provided in the connection circuit 213. The connection circuit 213 changes the input timing to the Phy layer signal processing unit (SLVS-EC standard) 214 by delaying the signal supplied from the link layer signal processing unit (other transmission standard) 212 using the delay unit.
[0532] In this way, in the connection circuit 213, signal processing such as conversion and delay is performed, and an input signal for the physical layer of the SLVS-EC standard is generated based on a signal obtained by signal processing of the link layer of another transmission standard. The input signal for the physical layer of the SLVS-EC standard is generated so that the original signal becomes a signal that represents the same content as that represented in another transmission standard.
[0533] If the Link Layer signal processing unit (other transmission standard) 212 transitions to a stopped state or an UltraLowPower state, the connection circuit 213 may input a Low signal (arrow #31 in Figure 9) to port TxEnable of the Phy Layer signal processing unit (SLVS-EC standard) 214 to notify the receiving side that it is in a stopped state or an UltraLowPower state.
[0534] In addition, if the amount of payload data supplied from the Link Layer signal processing unit (other transmission standard) 212 does not match the lane stuffing described with reference to Figure 39, the connection circuit 213 inserts data to enable the receiving side to determine that lane stuffing data has been inserted, and outputs the data to the Phy Layer signal processing unit (SLVS-EC standard) 214.
[0535] Furthermore, if the amount of payload data output from the link layer signal processing unit (other transmission standard) 212 is less than the amount of data output from the Phy layer signal processing unit (SLVS-EC standard) 214, the connection circuit 213 controls the port TxDataValid to notify the Phy layer signal processing unit (SLVS-EC standard) 214 that the amount of data is small. A Pad Code insertion unit may be provided in the connection circuit 213, and the insertion of the Pad Code described with reference to FIG.
[0536] The Phy Layer signal processing unit (SLVS-EC standard) 214 performs physical layer signal processing on the signal supplied from the connection circuit 213. The Phy Layer signal processing unit (SLVS-EC standard) 214 performs physical layer signal processing of the SLVS-EC standard. The Phy Layer signal processing unit (SLVS-EC standard) 214 transmits the SLVS-EC standard signal obtained by performing the physical layer signal processing to the opposing device via a transmission path. The opposing device in FIG. 55 is a device such as the DSP 12 in FIG. 1 having a receiving unit 31.
[0537] FIG. 56 is a diagram illustrating an example of the configuration of the receiving side in the first combination.
[0538] 56 shows a receiving device 202 as a configuration on the receiving side. The receiving device 202 corresponds to the DSP 12 in FIG.
[0539] The receiving device 202 is configured with a Phy layer signal processing unit (SLVS-EC standard) 221, a connection circuit 222, and a link layer signal processing unit (other transmission standard) 223. The receiving unit 31 in Fig. 1 is configured with the Phy layer signal processing unit (SLVS-EC standard) 221, the connection circuit 222, and the link layer signal processing unit (other transmission standard) 223. In the receiving device 202, components such as an image processing unit 32 are provided subsequent to the link layer signal processing unit (other transmission standard) 223.
[0540] The Phy Layer signal processing unit (SLVS-EC standard) 221 receives a signal conforming to the SLVS-EC standard transmitted from the image sensor 201 as the opposing device, and performs physical layer signal processing on the received signal. The Phy Layer signal processing unit (SLVS-EC standard) 221 performs physical layer signal processing conforming to the SLVS-EC standard. The Phy Layer signal processing unit (SLVS-EC standard) 221 outputs a signal obtained by performing physical layer signal processing to the connection circuit 222. The signal is output to the connection circuit 222 in accordance with the specifications related to the interface on the receiving side described with reference to FIG. 11 etc., for example.
[0541] The connection circuit 222 appropriately converts signals transmitted and received between the Phy Layer signal processing unit (SLVS-EC standard) 221 and the Link Layer signal processing unit (other transmission standard) 223. The connection circuit 222 is provided with a conversion unit that converts a signal supplied from one signal processing unit into a signal in a format required by the other signal processing unit.
[0542] When a signal (assumed to be signal A) required for link layer signal processing unit (other transmission standard) 223 is not supplied from Phy layer signal processing unit (SLVS-EC standard) 221, connection circuit 222 generates signal A by converting the signal supplied from Phy layer signal processing unit (SLVS-EC standard) 221 using a conversion unit. Connection circuit 222 outputs the generated signal A to link layer signal processing unit (other transmission standard) 223. Signal A is input to link layer signal processing unit (other transmission standard) 223 in accordance with specifications defined as a link layer input of the other transmission standard.
[0543] Similarly, when a signal (referred to as signal B) required for the Phy layer signal processing unit (SLVS-EC standard) 221 is not supplied from the link layer signal processing unit (other transmission standard) 223, the connection circuit 222 generates signal B by converting the signal supplied from the link layer signal processing unit (other transmission standard) 223 using a conversion unit. The connection circuit 222 outputs the generated signal B to the Phy layer signal processing unit (SLVS-EC standard) 221.
[0544] Furthermore, a delay unit is provided in the connection circuit 222. The connection circuit 222 changes the input timing to the link layer signal processing unit (other transmission standard) 223 by delaying the signal supplied from the Phy Layer signal processing unit (SLVS-EC standard) 221 using the delay unit.
[0545] In this way, in the connection circuit 222, signal processing such as conversion and delay is performed, and an input signal for the link layer of another transmission standard is generated based on the signal obtained by the signal processing of the physical layer of the SLVS-EC standard. The input signal for the link layer of another transmission standard is generated so that the original signal becomes a signal that represents the same content as that represented in the SLVS-EC standard.
[0546] The connection circuit 222 is provided with a removal unit that removes lane stuffing data inserted into the transmission data. When data that can determine that lane stuffing data has been inserted is inserted into the data supplied from the Phy Layer signal processing unit (SLVS-EC standard) 221, the connection circuit 222 removes the lane stuffing data by the removal unit. The connection circuit 222 outputs only valid payload data obtained by removing the lane stuffing data to the Link Layer signal processing unit (other transmission standard) 223.
[0547] Further, a buffer unit is provided in the connection circuit 222. When the valid data supplied from the Phy Layer signal processing unit (SLVS-EC standard) 221 is not continuous due to insertion of a Pad Code or the like, the connection circuit 222 may accumulate one packet of valid data in the buffer unit and output the data collectively to the Link Layer signal processing unit (other transmission standard) 223.
[0548] The link layer signal processing unit (other transmission standard) 223 performs link layer signal processing on the data supplied from the connection circuit 222. The link layer signal processing unit (other transmission standard) 223 performs link layer signal processing of the other transmission standard. The link layer signal processing unit (other transmission standard) 223 outputs the data obtained by performing the link layer signal processing to the subsequent stage.
[0549] The second combination FIG. 57 is a diagram illustrating an example of the configuration of the transmitting side in the second combination.
[0550] As described with reference to Fig. 50, the second combination is a combination using a Link Layer signal processing unit of the SLVS-EC standard and a Phy Layer signal processing unit of another transmission standard. The same components as those described above are denoted by the same reference numerals.
[0551] The image sensor 201 on the transmitting side is made up of an image sensor circuit 211, a Link Layer signal processing unit (SLVS-EC standard) 231, a connection circuit 232, and a Phy Layer signal processing unit (other transmission standard) 233.
[0552] Link layer signal processing unit (SLVS-EC standard) 231 performs link layer signal processing on data to be transmitted supplied from image sensor circuit 211. Link layer signal processing of SLVS-EC standard is performed in link layer signal processing unit (SLVS-EC standard) 231. Link layer signal processing unit (SLVS-EC standard) 231 outputs a signal obtained by performing link layer signal processing to connection circuit 232.
[0553] The connection circuit 232 appropriately converts signals transmitted and received between the link layer signal processing unit (SLVS-EC standard) 231 and the Phy layer signal processing unit (other transmission standard) 233. The connection circuit 232 is provided with a conversion unit that converts a signal supplied from one signal processing unit into a signal in a format required by the other signal processing unit.
[0554] When a signal (referred to as signal A) required for the Phy layer signal processing unit (other transmission standard) 233 is not supplied from the link layer signal processing unit (SLVS-EC standard) 231, the connection circuit 232 generates signal A by converting the signal supplied from the link layer signal processing unit (SLVS-EC standard) 231 using a conversion unit. The connection circuit 232 outputs the generated signal A to the Phy layer signal processing unit (other transmission standard) 233. Signal A is input to the Phy layer signal processing unit (other transmission standard) 233 in accordance with specifications defined as the input of the Phy layer of the other transmission standard.
[0555] Similarly, when a signal (assumed to be signal B) required for link layer signal processing unit (SLVS-EC standard) 231 is not supplied from Phy layer signal processing unit (other transmission standard) 233, connection circuit 232 generates signal B by converting the signal supplied from Phy layer signal processing unit (other transmission standard) 233 using a conversion unit. Connection circuit 232 outputs the generated signal B to link layer signal processing unit (SLVS-EC standard) 231. Signal B is input to link layer signal processing unit (SLVS-EC standard) 231 in accordance with the specifications related to the interface on the transmitting side described with reference to FIG. 6 etc., for example.
[0556] Further, a delay unit is provided in the connection circuit 232. The connection circuit 232 changes the input timing to the Phy layer signal processing unit (other transmission standard) 233 by delaying the signal supplied from the link layer signal processing unit (SLVS-EC standard) 231 using the delay unit.
[0557] In this way, in the connection circuit 232, signal processing such as conversion and delay is performed, and an input signal for the physical layer of another transmission standard is generated based on the signal obtained by the signal processing of the link layer of the SLVS-EC standard. The input signal for the physical layer of another transmission standard is generated so that the original signal becomes a signal that represents the same content as that represented in the SLVS-EC standard.
[0558] When the Link Layer signal processing unit (SLVS-EC standard) 231 transitions to a stopped state, the connection circuit 232 may notify the receiving side that it is in a stopped state using a low power notification function of the Phy Layer signal processing unit (other transmission standard) 233.
[0559] Further, a buffer unit is provided in the connection circuit 232. When the valid data supplied from the link layer signal processing unit (SLVS-EC standard) 231 is not continuous, the connection circuit 232 may accumulate one packet of valid data in the buffer unit and output the data collectively to the Phy layer signal processing unit (other transmission standard) 233.
[0560] The Phy Layer signal processing unit (other transmission standard) 233 performs physical layer signal processing on the signal supplied from the connection circuit 232. The Phy Layer signal processing unit (other transmission standard) 233 performs physical layer signal processing of the other transmission standard. The Phy Layer signal processing unit (other transmission standard) 233 transmits the signal of the other transmission standard obtained by performing the physical layer signal processing to the opposing device via the transmission path.
[0561] FIG. 58 is a diagram illustrating an example of the configuration of the receiving side in the second combination.
[0562] The receiving device 202 , which is a component on the receiving side, is made up of a Phy Layer signal processing unit (other transmission standard) 241 , a connection circuit 242 , and a Link Layer signal processing unit (SLVS-EC standard) 243 .
[0563] The Phy Layer signal processing unit (other transmission standard) 241 receives a signal of another transmission standard transmitted from the image sensor 201 as an opposing device, and performs physical layer signal processing on the received signal. The Phy Layer signal processing unit (other transmission standard) 241 performs physical layer signal processing of the other transmission standard. The Phy Layer signal processing unit (other transmission standard) 241 outputs a signal obtained by performing physical layer signal processing to the connection circuit 242.
[0564] The connection circuit 242 appropriately converts signals transmitted and received between the Phy Layer signal processing unit (other transmission standard) 241 and the Link Layer signal processing unit (SLVS-EC standard) 243. The connection circuit 242 is provided with a conversion unit that converts a signal supplied from one signal processing unit into a signal in a format required by the other signal processing unit.
[0565] When a signal (assumed to be signal A) required for link layer signal processing unit (SLVS-EC standard) 243 is not supplied from Phy layer signal processing unit (other transmission standard) 241, connection circuit 242 generates signal A by converting the signal supplied from Phy layer signal processing unit (other transmission standard) 241 using a conversion unit. Connection circuit 242 outputs the generated signal A to link layer signal processing unit (SLVS-EC standard) 243. The signal is input to link layer signal processing unit (SLVS-EC standard) 243 in accordance with the specifications related to the interface on the receiving side described with reference to FIG. 14 etc., for example.
[0566] Similarly, when a signal (referred to as signal B) required for the Phy layer signal processing unit (other transmission standard) 241 is not supplied from the link layer signal processing unit (SLVS-EC standard) 243, the connection circuit 242 generates signal B by converting the signal supplied from the link layer signal processing unit (SLVS-EC standard) 243 using a conversion unit. The connection circuit 242 outputs the generated signal B to the Phy layer signal processing unit (other transmission standard) 241.
[0567] In this way, in the connection circuit 242, signal processing such as conversion and delay is performed, and an input signal of the link layer of the SLVS-EC standard is generated based on a signal obtained by signal processing of the physical layer of another transmission standard. The input signal of the link layer of the SLVS-EC standard is generated so that the original signal becomes a signal that represents the same content as that represented in another transmission standard.
[0568] Further, a delay unit is provided in the connection circuit 242. The connection circuit 242 changes the input timing to the link layer signal processing unit (SLVS-EC standard) 243 by delaying the signal supplied from the Phy layer signal processing unit (other transmission standard) 241 using the delay unit.
[0569] The link layer signal processing unit (SLVS-EC standard) 243 performs link layer signal processing on the data supplied from the connection circuit 242. The link layer signal processing unit (SLVS-EC standard) 243 performs link layer signal processing of the SLVS-EC standard. The link layer signal processing unit (SLVS-EC standard) 243 outputs the data obtained by performing the link layer signal processing to the subsequent stage.
[0570] The third combination FIG. 59 is a diagram illustrating an example of the configuration of the transmitting side in the third combination.
[0571] As explained with reference to Figure 51, the third combination is a combination in which a Link Layer signal processing unit of the SLVS-EC standard and a Link Layer signal processing unit of another transmission standard are used in parallel, and a Phy Layer signal processing unit of the SLVS-EC standard is used.
[0572] The image sensor 201 is composed of an image sensor circuit 211, a link layer signal processing unit (SLVS-EC standard) 251, a link layer signal processing unit (other transmission standard) 252, a connection circuit 253, an MUX 254, and a Phy layer signal processing unit (SLVS-EC standard) 255.
[0573] Between the image sensor circuit 211 and the MUX 254, there are provided a path configured from a link layer signal processing unit (SLVS-EC standard) 251 and a path configured by connecting a link layer signal processing unit (other transmission standard) 252 and a connection circuit 253. For example, data to be transmitted is input from the image sensor circuit 211 to one of the paths.
[0574] The link layer signal processing unit (SLVS-EC standard) 251 performs SLVS-EC standard link layer signal processing on the data to be transmitted supplied from the image sensor circuit 211, and outputs the signal obtained by performing the link layer signal processing to the MUX 254.
[0575] The link layer signal processing unit (other transmission standard) 252 performs link layer signal processing of another transmission standard on the data to be transmitted supplied from the image sensor circuit 211, and outputs the signal obtained by performing the link layer signal processing to the connection circuit 253.
[0576] The connection circuit 253 has the same function as the connection circuit 213 in Fig. 55. The connection circuit 253 converts signals transmitted and received between the link layer signal processing unit (other transmission standard) 252 and the Phy layer signal processing unit (SLVS-EC standard) 255 as appropriate.
[0577] For example, when a signal (assumed to be signal A) required for the Phy layer signal processing unit (SLVS-EC standard) 255 is not supplied from the link layer signal processing unit (other transmission standard) 252, the connection circuit 253 generates signal A by converting the signal supplied from the link layer signal processing unit (other transmission standard) 252 using a conversion unit. The connection circuit 253 outputs the generated signal A to the MUX 254.
[0578] The MUX 254 selects either the link layer signal processing unit (SLVS-EC standard) 251 or the connection circuit 253. When the MUX 254 selects the link layer signal processing unit (SLVS-EC standard) 251, it causes signals to be transmitted and received between the link layer signal processing unit (SLVS-EC standard) 251 and the Phy layer signal processing unit (SLVS-EC standard) 255. When the MUX 254 selects the connection circuit 253, it causes signals to be transmitted and received between the connection circuit 253 and the Phy layer signal processing unit (SLVS-EC standard) 255.
[0579] The selection of MUX 254 may be switched according to a signal input from an external terminal provided on image sensor 201, or according to the setting of a register in image sensor 201. It is also possible to switch the selection of MUX 254 according to a switching signal supplied from an internal circuit such as image sensor circuit 211 or a DSP (not shown).
[0580] The Phy layer signal processing unit (SLVS-EC standard) 255 performs SLVS-EC standard physical layer signal processing on a signal supplied from the link layer signal processing unit (SLVS-EC standard) 251 or the connection circuit 253 via MUX 254. The Phy layer signal processing unit (SLVS-EC standard) 255 transmits the SLVS-EC standard signal obtained by performing the physical layer signal processing to the opposing device via a transmission path.
[0581] FIG. 60 is a diagram illustrating an example of the configuration of the receiving side in the third combination.
[0582] The receiving device 202, which is the receiving side configuration, is made up of a Phy layer signal processing unit (SLVS-EC standard) 261, a MUX 262, a Link layer signal processing unit (SLVS-EC standard) 263, a connection circuit 264, and a Link layer signal processing unit (other transmission standard) 265.
[0583] At the downstream of the MUX 262, a path formed by a link layer signal processing unit (SLVS-EC standard) 263 and a path formed by connecting a connection circuit 264 and a link layer signal processing unit (other transmission standard) 265 are provided in parallel.
[0584] The Phy Layer signal processing unit (SLVS-EC standard) 261 receives SLVS-EC standard data transmitted from the image sensor 201 as the opposite device, and performs SLVS-EC standard physical layer signal processing on the received data. The Phy Layer signal processing unit (SLVS-EC standard) 261 outputs the data obtained by performing the physical layer signal processing to the MUX 262.
[0585] The MUX 262 selects either the link layer signal processing unit (SLVS-EC standard) 263 or the connection circuit 264. When the MUX 262 selects the link layer signal processing unit (SLVS-EC standard) 263, it causes signals to be transmitted and received between the Phy layer signal processing unit (SLVS-EC standard) 261 and the link layer signal processing unit (SLVS-EC standard) 263. When the MUX 262 selects the connection circuit 264, it causes signals to be transmitted and received between the Phy layer signal processing unit (SLVS-EC standard) 261 and the connection circuit 264.
[0586] The link layer signal processing unit (SLVS-EC standard) 263 performs link layer signal processing of the SLVS-EC standard on the signal supplied from the Phy layer signal processing unit (SLVS-EC standard) 261 via the MUX 262. The link layer signal processing unit (SLVS-EC standard) 263 outputs data obtained by performing the link layer signal processing to a subsequent stage.
[0587] The connection circuit 264 has the same function as the connection circuit 222 in Fig. 56. The connection circuit 264 converts signals transmitted and received between the Phy Layer signal processing unit (SLVS-EC standard) 261 and the Link Layer signal processing unit (other transmission standard) 265 as appropriate.
[0588] For example, when a signal (assumed to be signal A) required for the link layer signal processing unit (other transmission standard) 265 is not supplied from the Phy layer signal processing unit (SLVS-EC standard) 261, the connection circuit 264 generates signal A by converting the signal supplied from the Phy layer signal processing unit (SLVS-EC standard) 261 using a conversion unit. The connection circuit 264 outputs the generated signal A to the link layer signal processing unit (other transmission standard) 265.
[0589] The link layer signal processing unit (other transmission standard) 265 performs link layer signal processing of another transmission standard on the signal supplied from the connection circuit 264. The link layer signal processing unit (other transmission standard) 265 outputs data obtained by performing the link layer signal processing to the subsequent stage.
[0590] The fourth combination FIG. 61 is a diagram illustrating an example of the configuration of the transmitting side in the fourth combination.
[0591] As explained with reference to Figure 52, the fourth combination is a combination in which a Link Layer signal processing unit of the SLVS-EC standard and a Link Layer signal processing unit of another transmission standard are used in parallel, and a Phy Layer signal processing unit of another transmission standard is used.
[0592] The image sensor 201 is composed of an image sensor circuit 211, a link layer signal processing unit (SLVS-EC standard) 271, a connection circuit 272, a link layer signal processing unit (other transmission standard) 273, an MUX 274, and a Phy layer signal processing unit (other transmission standard) 275.
[0593] Between the image sensor circuit 211 and the MUX 274, a path formed by connecting a link layer signal processing unit (SLVS-EC standard) 271 and a connection circuit 272, and a path formed by a link layer signal processing unit (other transmission standard) 273 are provided.
[0594] The link layer signal processing unit (SLVS-EC standard) 271 performs SLVS-EC standard link layer signal processing on the data to be transmitted supplied from the image sensor circuit 211, and outputs the signal obtained by performing the link layer signal processing to the connection circuit 272.
[0595] The connection circuit 272 has the same function as the connection circuit 232 in Fig. 57. The connection circuit 272 converts signals transmitted and received between a link layer signal processing unit (SLVS-EC standard) 271 and a phy layer signal processing unit (other transmission standard) 275 as appropriate.
[0596] For example, when a signal (assumed to be signal A) required for the Phy layer signal processing unit (other transmission standard) 275 is not supplied from the link layer signal processing unit (SLVS-EC standard) 271, the connection circuit 272 generates signal A by converting the signal supplied from the link layer signal processing unit (SLVS-EC standard) 271 using a conversion unit. The connection circuit 272 outputs the generated signal A to the MUX 274.
[0597] The link layer signal processing unit (other transmission standard) 273 performs link layer signal processing of another transmission standard on the data to be transmitted supplied from the image sensor circuit 211, and outputs the signal obtained by performing the link layer signal processing to the MUX 274.
[0598] The MUX 274 selects either the connection circuit 272 or the link layer signal processing unit (other transmission standard) 273. When the MUX 274 selects the connection circuit 272, it causes signals to be transmitted and received between the connection circuit 272 and the Phy layer signal processing unit (other transmission standard) 275. When the MUX 274 selects the link layer signal processing unit (other transmission standard) 273, it causes signals to be transmitted and received between the link layer signal processing unit (other transmission standard) 273 and the Phy layer signal processing unit (other transmission standard) 275.
[0599] The Phy Layer signal processing unit (other transmission standard) 275 performs physical layer signal processing of another transmission standard on a signal supplied from the connection circuit 272 or the link layer signal processing unit (other transmission standard) 273 via the MUX 274. The Phy Layer signal processing unit (other transmission standard) 275 transmits a signal of another transmission standard obtained by performing the physical layer signal processing to the opposing device via a transmission path.
[0600] FIG. 62 is a diagram illustrating an example of the configuration of the receiving side in the fourth combination.
[0601] The receiving device 202, which is the receiving side configuration, is made up of a Phy layer signal processing unit (other transmission standard) 281, a MUX 282, a connection circuit 283, a Link layer signal processing unit (SLVS-EC standard) 284, and a Link layer signal processing unit (other transmission standard) 285.
[0602] At the rear of the MUX 282, a path formed by connecting a connection circuit 283 and a link layer signal processing unit (SLVS-EC standard) 284 and a path formed by a link layer signal processing unit (other transmission standard) 285 are provided in parallel.
[0603] The Phy Layer signal processing unit (other transmission standard) 281 receives a signal of another transmission standard transmitted from the image sensor 201 as an opposing device, and performs physical layer signal processing of the other transmission standard on the received signal. The Phy Layer signal processing unit (other transmission standard) 281 outputs the signal obtained by performing the physical layer signal processing to the MUX 282.
[0604] The MUX 282 selects either the connection circuit 283 or the link layer signal processing unit (other transmission standard) 285. When the MUX 282 selects the connection circuit 283, it causes signals to be transmitted and received between the Phy layer signal processing unit (other transmission standard) 281 and the connection circuit 283. When the MUX 282 selects the link layer signal processing unit (other transmission standard) 285, it causes signals to be transmitted and received between the Phy layer signal processing unit (other transmission standard) 281 and the link layer signal processing unit (other transmission standard) 285.
[0605] The connection circuit 283 has the same function as the connection circuit 242 in Fig. 58. The connection circuit 283 converts signals transmitted and received between the Phy Layer signal processing unit (other transmission standard) 281 and the Link Layer signal processing unit (SLVS-EC standard) 284 as appropriate.
[0606] For example, when a signal (assumed to be signal A) required for link layer signal processing unit (SLVS-EC standard) 284 is not supplied from Phy layer signal processing unit (other transmission standard) 281, connection circuit 283 generates signal A by converting the signal supplied from Phy layer signal processing unit (other transmission standard) 281 using a conversion unit. Connection circuit 283 outputs the generated signal A to link layer signal processing unit (SLVS-EC standard) 284.
[0607] The link layer signal processing unit (SLVS-EC standard) 284 performs link layer signal processing of the SLVS-EC standard on the signal supplied from the connection circuit 283. The link layer signal processing unit (SLVS-EC standard) 284 outputs data obtained by performing the link layer signal processing to the subsequent stage.
[0608] The link layer signal processing unit (other transmission standard) 285 performs link layer signal processing of another transmission standard on the signal supplied from the Phy layer signal processing unit (other transmission standard) 281 via the MUX 282. The link layer signal processing unit (other transmission standard) 285 outputs data obtained by performing the link layer signal processing to the subsequent stage.
[0609] The fifth combination FIG. 63 is a diagram illustrating an example of the configuration of the transmitting side in the fifth combination.
[0610] As explained with reference to Figure 53, the fifth combination is a combination that uses a Link Layer signal processing unit of the SLVS-EC standard, and uses a Phy Layer signal processing unit of the SLVS-EC standard in parallel with a Phy Layer signal processing unit of another transmission standard.
[0611] The image sensor 201 is composed of an image sensor circuit 211, a link layer signal processing unit (SLVS-EC standard) 291, a MUX 292, a Phy layer signal processing unit (SLVS-EC standard) 293, a connection circuit 294, and a Phy layer signal processing unit (other transmission standard) 295.
[0612] Provided downstream of the MUX 292 are a path made up of a Phy Layer signal processing unit (SLVS-EC standard) 293 and a path made up of a connection circuit 294 and a Phy Layer signal processing unit (other transmission standard) 295 connected together.
[0613] The link layer signal processing unit (SLVS-EC standard) 291 performs SLVS-EC standard link layer signal processing on the data to be transmitted supplied from the image sensor circuit 211, and outputs the signal obtained by performing the link layer signal processing to the MUX 292.
[0614] The MUX 292 selects either a Phy layer signal processing unit (SLVS-EC standard) 293 or a connection circuit 294. When the MUX 292 selects the Phy layer signal processing unit (SLVS-EC standard) 293, it causes signals to be transmitted and received between the link layer signal processing unit (SLVS-EC standard) 291 and the Phy layer signal processing unit (SLVS-EC standard) 293. When the MUX 292 selects the connection circuit 294, it causes signals to be transmitted and received between the link layer signal processing unit (SLVS-EC standard) 291 and the connection circuit 294.
[0615] The Phy layer signal processing unit (SLVS-EC standard) 293 performs SLVS-EC standard physical layer signal processing on the signal supplied from the link layer signal processing unit (SLVS-EC standard) 291 via the MUX 292. The Phy layer signal processing unit (SLVS-EC standard) 293 transmits the SLVS-EC standard signal obtained by performing the physical layer signal processing to the opposing device via a transmission path.
[0616] The connection circuit 294 has the same function as the connection circuit 232 in Fig. 57. The connection circuit 294 converts signals transmitted and received between a link layer signal processing unit (SLVS-EC standard) 291 and a phy layer signal processing unit (other transmission standard) 295 as appropriate.
[0617] For example, when a signal (assumed to be signal A) required for the Phy layer signal processing unit (other transmission standard) 295 is not supplied from the link layer signal processing unit (SLVS-EC standard) 291, the connection circuit 294 generates signal A by converting the signal supplied from the link layer signal processing unit (SLVS-EC standard) 291 using a conversion unit. The connection circuit 294 outputs the generated signal A to the Phy layer signal processing unit (other transmission standard) 295.
[0618] The Phy Layer signal processing unit (other transmission standard) 295 performs physical layer signal processing of another transmission standard on the signal supplied from the connection circuit 294. The Phy Layer signal processing unit (other transmission standard) 295 transmits a signal of another transmission standard obtained by performing physical layer signal processing to the opposing device via a transmission path.
[0619] FIG. 64 is a diagram illustrating an example of the configuration of the receiving side in the fifth combination.
[0620] The receiving device 202 , which is the receiving side configuration, is made up of a Phy layer signal processing unit (SLVS-EC standard) 301 , a Phy layer signal processing unit (other transmission standard) 302 , a connection circuit 303 , an MUX 304 , and a Link layer signal processing unit (SLVS-EC standard) 305 .
[0621] A path made up of a Phy Layer signal processing unit (SLVS-EC standard) 301 and a path made up of a Phy Layer signal processing unit (other transmission standard) 302 and a connection circuit 303 are provided in parallel before MUX 304. A signal conforming to the SLVS-EC standard output from an opposing device is input to the Phy Layer signal processing unit (SLVS-EC standard) 301, and a signal conforming to another transmission standard is input to the Phy Layer signal processing unit (other transmission standard) 302.
[0622] The Phy Layer signal processing unit (SLVS-EC standard) 301 receives a signal conforming to the SLVS-EC standard transmitted from the image sensor 201 as the opposing device, and performs signal processing of the physical layer of the SLVS-EC standard on the received signal. The Phy Layer signal processing unit (SLVS-EC standard) 301 outputs the signal obtained by performing the signal processing of the physical layer to the MUX 304.
[0623] The Phy Layer signal processing unit (other transmission standard) 302 receives a signal of another transmission standard transmitted from the image sensor 201, and performs physical layer signal processing of the other transmission standard on the received signal. The Phy Layer signal processing unit (other transmission standard) 302 outputs a signal obtained by performing physical layer signal processing to the connection circuit 303.
[0624] The connection circuit 303 has the same function as the connection circuit 242 in Fig. 58. The connection circuit 303 appropriately converts signals transmitted and received between the Phy Layer signal processing unit (other transmission standard) 302 and the Link Layer signal processing unit (SLVS-EC standard) 305.
[0625] For example, when a signal (assumed to be signal A) required for link layer signal processing unit (SLVS-EC standard) 305 is not supplied from Phy layer signal processing unit (other transmission standard) 302, connection circuit 303 generates signal A by converting the signal supplied from Phy layer signal processing unit (other transmission standard) 302 using a conversion unit. Connection circuit 303 outputs the generated signal A to MUX 304.
[0626] MUX 304 selects either Phy layer signal processing unit (SLVS-EC standard) 301 or connection circuit 303. When MUX 304 selects Phy layer signal processing unit (SLVS-EC standard) 301, it causes signals to be transmitted and received between Phy layer signal processing unit (SLVS-EC standard) 301 and link layer signal processing unit (SLVS-EC standard) 305. When MUX 304 selects connection circuit 303, it causes signals to be transmitted and received between connection circuit 303 and link layer signal processing unit (SLVS-EC standard) 305.
[0627] Link layer signal processing unit (SLVS-EC standard) 305 performs link layer signal processing of the SLVS-EC standard on a signal supplied from Phy layer signal processing unit (SLVS-EC standard) 301 or connection circuit 303 via MUX 304. Link layer signal processing unit (SLVS-EC standard) 305 outputs data obtained by performing link layer signal processing to a subsequent stage.
[0628] The 6th combination FIG. 65 is a diagram showing an example of the configuration of the transmitting side in the sixth combination.
[0629] As explained with reference to Figure 54, the sixth combination is a combination that uses a Link Layer signal processing unit of another transmission standard, and uses a Phy Layer signal processing unit of the SLVS-EC standard in parallel with a Phy Layer signal processing unit of another transmission standard.
[0630] The image sensor 201 is composed of an image sensor circuit 211, a link layer signal processing unit (other transmission standard) 311, a MUX 312, a connection circuit 313, a Phy layer signal processing unit (SLVS-EC standard) 314, and a Phy layer signal processing unit (other transmission standard) 315.
[0631] At the subsequent stage of MUX 312, a path formed by connecting connection circuit 313 and Phy Layer signal processing unit (SLVS-EC standard) 314, and a path formed by Phy Layer signal processing unit (other transmission standard) 315 are provided.
[0632] The link layer signal processing unit (other transmission standard) 311 performs link layer signal processing of the SLVS-EC standard on the data to be transmitted supplied from the image sensor circuit 211, and outputs the signal obtained by performing the link layer signal processing to the MUX 312.
[0633] MUX 312 selects either connection circuit 313 or Phy Layer signal processing unit (other transmission standard) 315. When MUX 312 selects connection circuit 313, it causes signals to be transmitted and received between link layer signal processing unit (other transmission standard) 311 and connection circuit 313. When MUX 312 selects Phy Layer signal processing unit (other transmission standard) 315, it causes signals to be transmitted and received between link layer signal processing unit (other transmission standard) 311 and Phy Layer signal processing unit (other transmission standard) 315.
[0634] The connection circuit 313 has the same function as the connection circuit 213 in Fig. 55. The connection circuit 313 appropriately converts signals transmitted and received between the link layer signal processing unit (other transmission standard) 311 and the Phy layer signal processing unit (SLVS-EC standard) 314.
[0635] For example, when a signal (assumed to be signal A) required for the Phy layer signal processing unit (SLVS-EC standard) 314 is not supplied from the link layer signal processing unit (other transmission standard) 311, the connection circuit 313 generates signal A by converting the signal supplied from the link layer signal processing unit (other transmission standard) 311 using a conversion unit. The connection circuit 313 outputs the generated signal A to the Phy layer signal processing unit (SLVS-EC standard) 314.
[0636] The Phy Layer signal processing unit (SLVS-EC standard) 314 performs physical layer signal processing of the SLVS-EC standard on the signal supplied from the connection circuit 313. The Phy Layer signal processing unit (SLVS-EC standard) 314 transmits the SLVS-EC standard signal obtained by performing the physical layer signal processing to the opposing device via a transmission path.
[0637] The Phy layer signal processing unit (other transmission standard) 315 performs physical layer signal processing of another transmission standard on the signal supplied from the link layer signal processing unit (other transmission standard) 311 via MUX 312. The Phy layer signal processing unit (other transmission standard) 315 transmits the signal of the other transmission standard obtained by performing the physical layer signal processing to the opposing device via the transmission path.
[0638] FIG. 66 is a diagram showing an example of the configuration of the receiving side in the sixth combination.
[0639] The receiving device 202 , which is the receiving side configuration, is made up of a Phy layer signal processing unit (SLVS-EC standard) 321 , a connection circuit 322 , a Phy layer signal processing unit (other transmission standard) 323 , an MUX 324 , and a Link layer signal processing unit (other transmission standard) 325 .
[0640] Provided in parallel before MUX 324 are a path formed by connecting a Phy Layer signal processing unit (SLVS-EC standard) 321 and a connection circuit 322, and a path formed by a Phy Layer signal processing unit (other transmission standard) 323. A signal conforming to the SLVS-EC standard transmitted from an opposing device is input to the Phy Layer signal processing unit (SLVS-EC standard) 321, and a signal conforming to another transmission standard is input to the Phy Layer signal processing unit (other transmission standard) 323.
[0641] The Phy Layer signal processing unit (SLVS-EC standard) 321 receives a signal conforming to the SLVS-EC standard transmitted from the image sensor 201 as the opposing device, and performs signal processing of the physical layer of the SLVS-EC standard on the received signal. The Phy Layer signal processing unit (SLVS-EC standard) 321 outputs a signal obtained by performing the signal processing of the physical layer to the connection circuit 322.
[0642] The connection circuit 322 has the same function as the connection circuit 222 in Fig. 56. The connection circuit 322 appropriately converts signals transmitted and received between the Phy Layer signal processing unit (SLVS-EC standard) 321 and the Link Layer signal processing unit (other transmission standard) 325.
[0643] For example, when a signal (assumed to be signal A) required for the link layer signal processing unit (other transmission standard) 325 is not supplied from the Phy layer signal processing unit (SLVS-EC standard) 321, the connection circuit 322 generates signal A by converting the signal supplied from the Phy layer signal processing unit (SLVS-EC standard) 321 using a conversion unit. The connection circuit 322 outputs the generated signal A to the MUX 324.
[0644] The Phy Layer signal processing unit (other transmission standard) 323 receives a signal of another transmission standard transmitted from the image sensor 201, and performs signal processing of the physical layer of the other transmission standard on the received signal. The Phy Layer signal processing unit (other transmission standard) 323 outputs the signal obtained by performing the signal processing of the physical layer to the MUX 324.
[0645] MUX 324 selects either connection circuit 322 or link layer signal processing unit (other transmission standard) 323. When MUX 324 selects connection circuit 322, it causes signals to be transmitted and received between connection circuit 322 and link layer signal processing unit (other transmission standard) 325. When MUX 324 selects Phy layer signal processing unit (other transmission standard) 323, it causes signals to be transmitted and received between Phy layer signal processing unit (other transmission standard) 323 and link layer signal processing unit (other transmission standard) 325.
[0646] The link layer signal processing unit (other transmission standard) 325 performs link layer signal processing of another transmission standard on the signal supplied from the connection circuit 322 or the Phy layer signal processing unit (other transmission standard) 323 via the MUX 324. The link layer signal processing unit (other transmission standard) 325 outputs data obtained by performing the link layer signal processing to the subsequent stage.
[0647] Other examples FIG. 67 is a block diagram showing an example of the configuration of the signal conversion device 203.
[0648] There are multiple MIPI physical layer standards, including C-PHY and D-PHY, which are explained as other transmission standards. C-PHY and D-PHY are standards with different specifications, such as the number of pins per lane used to transmit differential signals. The link layer standards corresponding to the C-PHY and D-PHY standards are common standards, such as CSI-2.
[0649] In the signal conversion device 203 in Fig. 67, for example, a signal of the C-PHY standard input from the outside is output as a signal of the D-PHY standard. The signal conversion device 203 is a device that converts a signal of a certain physical layer standard into a signal of another physical layer standard when another transmission standard has multiple physical layer standards.
[0650] As shown in FIG. 67, the signal conversion device 203 is composed of an Rx-Phy Layer signal processing unit (other transmission standard) 331, an Rx-Link Layer signal processing unit (other transmission standard) 332, a timing synchronization circuit 333, a Tx-Link Layer signal processing unit (other transmission standard) 334, an MUX 335, a connection circuit 336, a Tx-Phy Layer signal processing unit (SLVS-EC standard) 337, and a Tx-Phy Layer signal processing unit (other transmission standard) 338.
[0651] The above-mentioned receiving side configuration and transmitting side configuration are provided inside the signal conversion device 203. The receiving side configuration includes an Rx-Phy Layer signal processing unit (other transmission standard) 331 and an Rx-Link Layer signal processing unit (other transmission standard) 332, while the transmitting side configuration includes a Tx-Link Layer signal processing unit (other transmission standard) 334, an MUX 335, a connection circuit 336, a Tx-Phy Layer signal processing unit (SLVS-EC standard) 337, and a Tx-Phy Layer signal processing unit (other transmission standard) 338.
[0652] The Rx-Phy Layer signal processing unit (other transmission standard) 331 is a receiving side signal processing unit that supports a first physical layer standard of the other transmission standard. On the other hand, the Tx-Phy Layer signal processing unit (other transmission standard) 338 is a transmitting side signal processing unit that supports a second physical layer standard of the other transmission standard. For example, the first physical layer standard supported by the Rx-Phy Layer signal processing unit (other transmission standard) 331 is C-PHY, and the second physical layer standard supported by the Tx-Phy Layer signal processing unit (other transmission standard) 338 is D-PHY.
[0653] The Rx-Phy Layer signal processing unit (other transmission standard) 331 receives a signal conforming to the first physical layer standard of the other transmission standard transmitted from the image sensor 201, and performs physical layer signal processing on the received signal. The Rx-Phy Layer signal processing unit (other transmission standard) 331 performs signal processing according to the first physical layer standard of the other transmission standard. The Rx-Phy Layer signal processing unit (other transmission standard) 331 outputs the signal obtained by performing the physical layer signal processing to the Rx-Link Layer signal processing unit (other transmission standard) 332.
[0654] The Rx-Link Layer signal processing unit (other transmission standard) 332 performs link layer signal processing on the signal supplied from the Rx-Phy Layer signal processing unit (other transmission standard) 331. The Rx-Link Layer signal processing unit (other transmission standard) 332 performs link layer signal processing of the other transmission standard. The Rx-Link Layer signal processing unit (other transmission standard) 332 outputs data obtained by performing the link layer signal processing to the timing synchronization circuit 333.
[0655] The timing synchronization circuit 333 synchronizes the signal supplied from the Rx-Link Layer signal processing unit (other transmission standard) 332 with the timing of the transmitting side and outputs it to the Tx-Link Layer signal processing unit (other transmission standard) 334.
[0656] The configuration of the transmitting side, including a Tx-Link Layer signal processing unit (other transmission standard) 334, a MUX 335, a connection circuit 336, a Tx-Phy Layer signal processing unit (SLVS-EC standard) 337, and a Tx-Phy Layer signal processing unit (other transmission standard) 338, is basically the same as the configuration described with reference to Figure 65.
[0657] The Tx-Link Layer signal processing unit (other transmission standard) 334 performs link layer signal processing on the signal supplied from the timing synchronization circuit 333. The Tx-Link Layer signal processing unit (other transmission standard) 334 performs link layer signal processing of the other transmission standard. The Tx-Link Layer signal processing unit (other transmission standard) 334 outputs the signal obtained by performing the link layer signal processing to the MUX 335.
[0658] The MUX 335 selects either the connection circuit 336 or the Tx-Phy Layer signal processing unit (other transmission standard) 338. When the MUX 335 selects the connection circuit 336, it causes signals to be transmitted and received between the Tx-Link Layer signal processing unit (other transmission standard) 334 and the connection circuit 336. When the MUX 335 selects the Tx-Phy Layer signal processing unit (other transmission standard) 338, it causes signals to be transmitted and received between the Tx-Link Layer signal processing unit (other transmission standard) 334 and the Tx-Phy Layer signal processing unit (other transmission standard) 338.
[0659] The connection circuit 336 appropriately converts signals transmitted and received between the Tx-Link Layer signal processing unit (other transmission standard) 334 and the Tx-Phy Layer signal processing unit (SLVS-EC standard) 337 .
[0660] For example, when a signal (referred to as signal A) required for the Tx-Phy Layer signal processing unit (SLVS-EC standard) 337 is not supplied from the Tx-Link Layer signal processing unit (other transmission standard) 334, the connection circuit 336 generates signal A by converting the signal supplied from the Tx-Link Layer signal processing unit (other transmission standard) 334 using a conversion unit. The connection circuit 336 outputs the generated signal A to the Tx-Phy Layer signal processing unit (SLVS-EC standard) 337.
[0661] The Tx-Phy Layer signal processing unit (SLVS-EC standard) 337 performs physical layer signal processing of the SLVS-EC standard on the signal supplied from the connection circuit 336. The Tx-Phy Layer signal processing unit (SLVS-EC standard) 337 transmits the SLVS-EC standard signal obtained by performing physical layer signal processing to the opposing device via a transmission path.
[0662] The Tx-Phy Layer signal processing unit (other transmission standard) 338 performs physical layer signal processing of the other transmission standard on the signal supplied from the Tx-Link Layer signal processing unit (other transmission standard) 334 via the MUX 335. The Tx-Phy Layer signal processing unit (other transmission standard) 338 transmits the signal of the other transmission standard obtained by performing the physical layer signal processing to the opposing device via the transmission path.
[0663] By providing the signal conversion device 203 between the image sensor 201 and the opposing device, it becomes possible to convert a signal conforming to the first physical layer standard of another transmission standard, which is difficult to receive at high speed, into a signal conforming to the second physical layer standard of the same transmission standard or a signal conforming to the SLVS-EC standard and output the converted signal. For example, by converting the signal into a signal conforming to the SLVS-EC standard and outputting the converted signal, long-distance transmission becomes possible.
[0664] In addition, if the receiving device does not support receiving signals of other transmission standards, the signal conversion device 203 outputs the signal as an SLVS-EC standard signal, thereby enabling such a device to receive the signal.
[0665] By using standards such as MIPI as the link layer standard, it will be possible to reduce the need to change the receiving device, for example.
[0666] Although the specification of the interface between signal processing units of the SLVS-EC standard has been mainly explained, the specification explained with reference to Fig. 3 to Fig. 8 can be applied to input / output between signal processing units on the transmitting side of other standards. Also, the specification explained with reference to Fig. 11 to Fig. 16 can be applied to input / output between signal processing units on the receiving side of other standards.
[0667] <Computer configuration example> The above-mentioned series of processes can be executed by hardware or software. When the series of processes is executed by software, the program constituting the software is installed from a program recording medium into a computer incorporated in dedicated hardware, or into a general-purpose personal computer, etc.
[0668] FIG. 68 is a block diagram showing an example of the hardware configuration of a computer that executes the above-mentioned series of processes by a program.
[0669] A CPU (Central Processing Unit) 1001, a ROM (Read Only Memory) 1002, and a RAM (Random Access Memory) 1003 are interconnected by a bus 1004.
[0670] An input / output interface 1005 is further connected to the bus 1004. An input unit 1006 including a keyboard, a mouse, etc., and an output unit 1007 including a display, a speaker, etc. are connected to the input / output interface 1005. In addition, a storage unit 1008 including a hard disk or non-volatile memory, a communication unit 1009 including a network interface, etc., and a drive 1010 that drives a removable medium 1011 are connected to the input / output interface 1005.
[0671] In the computer configured as above, the CPU 1001 loads a program stored in the storage unit 1008, for example, into the RAM 1003 via the input / output interface 1005 and the bus 1004, and executes the program, thereby performing the series of processes described above.
[0672] The programs executed by the CPU 1001 are installed in the storage unit 1008, for example, by being recorded on a removable medium 1011, or provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital broadcasting.
[0673] In addition, the program executed by the computer may be a program in which processing is performed chronologically in the order described in this specification, or it may be a program in which processing is performed in parallel or at the required timing, such as when called.
[0674] The effects described herein are merely examples and are not limiting, and other effects may also be present.
[0675] The embodiments of the present technology are not limited to the above-described embodiments, and various modifications are possible without departing from the gist of the present technology.
[0676] For example, the present technology can be configured as cloud computing, in which a single function is shared and processed collaboratively by multiple devices via a network.
[0677] Furthermore, each step described in the above flow chart can be executed by one device, or can be shared and executed by a plurality of devices.
[0678] Furthermore, when a single step includes multiple processes, the multiple processes included in the single step can be executed by a single device, or can be shared and executed by multiple devices.
[0679] <Examples of configuration combinations> The present technology can also be configured as follows.
[0680] (1) A first signal processing unit that generates a packet storing data to be transmitted and distributes the generated packet to a plurality of lanes as a first layer process; a second signal processing unit that performs processing including insertion of control information in parallel on the packets of the lanes output from the first signal processing unit, and outputs the data stream obtained by the processing onto a transmission path between the first signal processing unit and a receiving device, as processing of a second layer; Equipped with The first signal processing unit and the second signal processing unit are configured to input and output signals according to input and output specifications defined based on the first layer and input and output specifications defined based on the second layer. Transmitting device. (2) The first signal processing unit outputs a signal requesting the start of a sequence to the second signal processing unit. The transmitting device according to (1) above. (3) The second signal processing unit outputs a signal notifying the state of the second layer to the first signal processing unit. A transmitting device according to (1) or (2). (4) The first signal processing unit and the second signal processing unit are provided on different IC chips. A transmitting device according to any one of (1) to (3). (5) A first signal processing unit that generates a packet storing data to be transmitted and distributes the generated packet to a plurality of lanes as a first layer process; a second signal processing unit that performs processing including insertion of control information in parallel on the packets of the lanes output from the first signal processing unit, and outputs the data stream obtained by the processing onto a transmission path between the first signal processing unit and a receiving device, as processing of a second layer; A transmitting device comprising: Between the first signal processing unit and the second signal processing unit, signals are input / output in accordance with input / output specifications defined based on the first layer and input / output specifications defined based on the second layer. Transmission method. (6) a first signal processing unit that receives a data stream output from a transmitting device onto a transmission path in parallel as data for a plurality of lanes, and performs processing including synchronization processing and removal of control information as processing of a first layer; a second signal processing unit that integrates the data streams of the lanes output from the first signal processing unit into one system of data and acquires packets constituting the data streams as processing of a second layer; Equipped with The first signal processing unit and the second signal processing unit are configured to input and output signals according to input and output specifications defined based on the first layer and input and output specifications defined based on the second layer. Receiving device. (7) The second signal processing unit outputs a signal requesting the start of a sequence to the first signal processing unit. The receiving device according to (6) above. (8) The first signal processing unit outputs a signal notifying the state of the first layer to the second signal processing unit. A receiving device according to (6) or (7). (9) The first signal processing unit and the second signal processing unit are provided on different IC chips. A receiving device according to any one of (6) to (8). (10) a first signal processing unit that receives a data stream output from a transmitting device onto a transmission path in parallel as data for a plurality of lanes, and performs processing including synchronization processing and removal of control information as processing of a first layer; a second signal processing unit that integrates the data streams of the lanes output from the first signal processing unit into one system of data and acquires packets constituting the data streams as processing of a second layer; A receiving device comprising: Between the first signal processing unit and the second signal processing unit, signals are input / output in accordance with input / output specifications defined based on the first layer and input / output specifications defined based on the second layer. Receiving method. (11) A first signal processing unit that generates a packet storing data to be transmitted and distributes the generated packet to a plurality of lanes as a first layer process; a second signal processing unit that performs processing including insertion of control information in parallel on the packets of the lanes output from the first signal processing unit, and outputs the data stream obtained by the processing onto a transmission path between the first signal processing unit and a receiving device, as processing of a second layer; Equipped with The first signal processing unit and the second signal processing unit are configured to input and output signals in accordance with input and output specifications defined based on the first layer and input and output specifications defined based on the second layer. A transmitting device; a third signal processing unit that receives the data stream output from the transmitting device onto a transmission path in parallel as data of the plurality of lanes, and performs processing including synchronization processing and removal of control information as processing of the second layer; a fourth signal processing unit that performs a process of integrating the data streams of the lanes output from the third signal processing unit into one system of data and acquiring the packets that constitute the data streams as a process of the first layer; Equipped with The third signal processing unit and the fourth signal processing unit are configured to input and output signals according to input and output specifications defined based on the first layer and input and output specifications defined based on the second layer. Receiving device and A transmitting and receiving device including: [Explanation of symbols]
[0681] 1 Transmission system, 11 Image sensor, 12 DSP, 21 Imaging section, 22 Transmitter, 22A Tx-Link Layer signal processing section, 22B Tx-Phy Layer signal processing section, 31 Receiver, 31A Tx-Phy Link Layer signal processing section, 31B Tx-Link Layer signal processing section, 32 Image processing section, 62 Pixel to Byte conversion section, 63 Payload ECC insertion section, 64 Packet generation section, 65 Lane distribution section, 72 Header generation section, 83-0 to 83-N Signal processing section, 91 Control code insertion section, 92 8B10B symbol encoder, 93 Synchronization section, 94 Transmitter, 102-0 to 102-N Signal processing section, 111 Receiver, 112 Clock generation section, 113 Synchronization section, 114 Symbol synchronization section, 115 10B8B symbol decoder, 116 skew correction unit, 117 control code removal unit, 122 lane integration unit, 123 packet separation unit, 124 payload error correction unit, 125 byte to pixel conversion unit, 132 header error correction unit
Claims
1. A first signal processing unit that generates a packet storing data to be transmitted and distributes the generated packet to a plurality of lanes as a first layer process; a second signal processing unit that performs processing including insertion of control information in parallel on the packets of the lanes output from the first signal processing unit, and outputs the data stream obtained by the processing onto a transmission path between the first signal processing unit and a receiving device, as processing of a second layer; The first signal processing unit outputs, together with the data to be transmitted, validity information indicating validity of the data to be transmitted using a number of bits according to a type of bit width of the data stored in the packet to the second signal processing unit. Transmitting device.
2. The first signal processing unit outputs a signal requesting the start of a sequence to the second signal processing unit. The transmitting device according to claim 1 .
3. The second signal processing unit outputs a signal notifying the state of the second layer to the first signal processing unit. The transmitting device according to claim 1 .
4. The first signal processing unit and the second signal processing unit are provided on different IC chips. The transmitting device according to claim 1 .
5. A first signal processing unit that generates a packet storing data to be transmitted and distributes the generated packet to a plurality of lanes as a first layer process; a second signal processing unit that performs processing including insertion of control information in parallel on the packets of the lanes output from the first signal processing unit, and outputs the data stream obtained by the processing onto a transmission path between the first signal processing unit and a receiving device as processing of a second layer, The first signal processing unit outputs, together with the data to be transmitted, validity information indicating validity of the data to be transmitted using a number of bits corresponding to a type of bit width of the data stored in the packet, to the second signal processing unit. Transmission method.
6. a first signal processing unit that receives a data stream output from a transmitting device onto a transmission path in parallel as data of a plurality of lanes, and performs processing including synchronization processing and removal of control information as processing of a first layer; a second signal processing unit that integrates the data streams of the lanes output from the first signal processing unit into one system of data and acquires packets constituting the data streams as processing of a second layer; Equipped with The first signal processing unit outputs, together with the data of the data stream, validity information indicating validity of the data of the data stream using a number of bits according to a type of bit width of the data stored in the packet to the second signal processing unit. Receiving device.
7. The second signal processing unit outputs a signal requesting the start of a sequence to the first signal processing unit.
7. The receiving device according to claim 6.
8. The first signal processing unit outputs a signal notifying the state of the first layer to the second signal processing unit.
7. The receiving device according to claim 6.
9. The first signal processing unit and the second signal processing unit are provided on different IC chips.
7. The receiving device according to claim 6.
10. a first signal processing unit that receives a data stream output from a transmitting device onto a transmission path in parallel as data of a plurality of lanes, and performs processing including synchronization processing and removal of control information as processing of a first layer; a second signal processing unit that integrates the data streams of the lanes output from the first signal processing unit into one system of data and acquires packets constituting the data streams as processing of a second layer; A receiving device comprising: The first signal processing unit outputs validity information indicating validity of the data of the data stream using a number of bits corresponding to a type of bit width of the data stored in the packet together with the data of the data stream to the second signal processing unit. Receiving method.
11. A first signal processing unit that generates a packet storing data to be transmitted and distributes the generated packet to a plurality of lanes as a first layer process; a second signal processing unit that performs processing including insertion of control information in parallel on the packets of the lanes output from the first signal processing unit, and outputs the data stream obtained by the processing onto a transmission path between the first signal processing unit and a receiving device, as processing of a second layer; Equipped with The first signal processing unit outputs, together with the data to be transmitted, validity information indicating validity of the data to be transmitted using a number of bits according to a type of bit width of the data stored in the packet to the second signal processing unit. A transmitting device; a third signal processing unit that receives the data stream output from the transmitting device in parallel onto a transmission path as data of the plurality of lanes, and performs processing including synchronization processing and removal of control information as processing of the second layer; a fourth signal processing unit that performs a process of integrating the data streams of the lanes output from the third signal processing unit into one system of data and acquiring the packets that constitute the data streams as the process of the first layer; and Equipped with The third signal processing unit outputs, together with the data of the data stream, validity information indicating validity of the data of the data stream using a number of bits according to a type of bit width of the data stored in the packet to the fourth signal processing unit. Receiving device and A transmitting and receiving device including:
Citation Information
Patent Citations
Transmission device, transmission method, reception device, reception method, and program
JP2012120159A
System, method, and computer program product for improving memory systems
US9432298B1
