TIME DOMAIN DUPLEXING ETHERNET PHY
20230136444 · 2023-05-04
Inventors
Cpc classification
H04L1/0042
ELECTRICITY
International classification
H04L5/14
ELECTRICITY
H04L25/49
ELECTRICITY
Abstract
The proposed communication protocol enables both asymmetrical and symmetrical communication using TDD based allocation system, while having Ethernet PHY compatibility for interface with other systems. Ethernet physical layer device is configured to process data from a MAC to a desired line rate and is configured with a a XGMII interface configured to transport data from the MAC. An encoder is configured to perform encoding on the data received over the XGMII interface to create encoded data. A burst mapper is configured to append OAM or reserved bit allocation to the encoded data to create mapped data and a PCS device configured process the mapped data to data burst that include a header and one or phy blocks of data.
Claims
1. A physical layer Ethernet device, utilizing time domain duplexing, capable of symmetrical or asymmetrical communication, comprising: a time domain duplexing PCS comprising: XGMII encoder configured to: receive first data, over an XGMII interface; encode the first data to create second data using XGMII encoding; a burst mapper configured to receive the second data and generate mapped data, the mapped data comprising blocks of data, OAM data, and reserved bits; a framer configured to process the mapped data with Reed Solomon FEC framing and perform scrambling to create data bursts, that include a header and one or more phyL blocks; a mapping module configured to performing pulse amplitude mapping on the data bursts to create mapped signals; and a PMA configured to transmit and receive the PAM4 signals and the PAM2 signals over a channel, ranging from 2 Gbps to 16 Gbps.
2. The device of claim 1 wherein the first data comprises 64 bits of payload and 4 bits of control per 32 bits of payload;
3. The device of claim 1 wherein the XGMII encoding comprises 64b/65b encoding or 64B/66b encoding.
4. The device of claim 1 wherein the mapped data comprising 26 blocks of data, each having 65 bits along with 22 bits for OAM and reserved bits.
5. The device of claim 1 wherein the mapped signal comprise PAM2 signal, PAM4 signals, or both, such that 12 Gbps and 16 Gbps signals are transmitted as PAM4 signals and 8 Gbps and lower signal are transmitted as PAM2 signals.
6. The device of claim 1 wherein each phyL block comprises 240 bytes.
7. The device of claim 1 further comprising incorporating idle symbols, prior to burst mapping, to reduce the effective data rate.
8. The device of claim 1 wherein the data rates in asymmetrical mode comprise: 2.5 Gbps and 100 Mbps; 5 Gbps and 100 Mbps; 10 Gbps and 100 Mbps; and 10 Gbps and 1 Gbps.
9. A method, utilizing time domain duplexing, capable of symmetrical or asymmetrical communication, performed by a physical layer device, comprising: performing XGMII encoding on first data, received over an XGMII interface, wherein the first data comprises 64 bits of payload and 4 bits of control per 32 bits of payload, to create second data; mapping the second data with a burst mapper to generate mapped data; framing the mapped data with Reed Solomon FEC framing and performing scrambling to create data bursts, the data bursts including a header and one or more phyL blocks; performing PAM2/PAM4 mapping on the data bursts to create PAM4 signals and PAM2 signals; and transmitting and receiving the PAM4 signals and the PAM2 signals, ranging from 2 Gbps to 16 Gbps, such that 12 Gbps and 16 Gbps signals are transmitted as PAM4 signals and 8 Gbps and lower signal are transmitted as PAM2 signals.
10. The method of claim 9 wherein the mapped data comprises 65 bits of data along with 22 bits for OAM and reserved bits.
11. The method of claim 9 further comprising performing time domain duplexing bursting with an ASA compatible PCS.
12. The method of claim 9 wherein the method occurs in a communication system configured to operate in symmetrical mode or asymmetrical mode based on TDD within an Ethernet compatible network.
13. The method of claim 12 wherein the data line rates in asymmetrical mode comprise: 2.5 Gbps downstream and 100 Mbps upstream; 5 Gbps downstream and 100 Mbps upstream; 10 Gbps downstream and 100 Mbps upstream; and 10 Gbps downstream and 1 Gbps upstream.
14. The method of claim 9 wherein the number of blocks in the mapped data, created by the burst mapper, is varied to change the effective line rate.
15. The method of claim 9 wherein in the case of 10.000 Gbps data rate from a MAC, the XGMII rate is 10.105 Gbps and the transmit line rate is 16 Gbps.
16. An Ethernet PHY device comprising: a time domain duplexing PCS comprising: XGMII encoder configured to: receive first data, over an XGMII interface, wherein the first data comprises 64 bits of payload and 4 bits of control per 32 bits of payload; encode the first data to create second data using XGMII encoding; a burst mapper configured to receive the second data and generate mapped data, the mapped data comprising 26 blocks of data, each having 65 bits along with 22 bits for OAM and reserved bits; a framer configured to process the mapped data with Reed Solomon FEC framing and perform scrambling to create data bursts, that include a header and one or more phyL blocks; a PAM2/PAM4 mapping module configured to performing pulse amplitude mapping on the data bursts to create PAM4 signals and PAM2 signals; and a PMA configured to transmit and receive the PAM4 signals and the PAM2 signals over a channel, ranging from 2 Gbps to 16 Gbps, such that 12 Gbps and 16 Gbps signals are transmitted as PAM4 signals and 8 Gbps and lower signal are transmitted as PAM2 signals.
17. The device of claim 16 wherein the XGMII encoding comprises 64b/65b encoding or 64B/66b encoding.
18. The device of claim 16 wherein the user selectable data rates comprise: the following asymmetrical rates: 2.5 Gbps downstream and 100 Mbps upstream; 5 Gbps downstream and 100 Mbps upstream; 10 Gbps downstream and 100 Mbps upstream; 10 Gbps downstream and 1 Gbps upstream; and the following symmetrical rates: 1 Gbps downstream and 1 Gbps upstream; 2.5 Gbps downstream and 2.5 Gbps upstream; and 5 Gbps downstream and 5 Gbps upstream.
19. The device of claim 16 further comprising a reconciliation sublayer configured to interface the PHY to a MAC.
20. The device of claim 16 wherein the pyhL blocks comprises payload, OAM/reserved allocation, and forward error correction data.
21. The device of claim 20 wherein each pyhL block comprises 211.25 bytes of payload, 22 bits of OAM/reserved allocation, and 26 bits of forward error correction data.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. In the figures, like reference numerals designate corresponding parts throughout the different views.
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
DETAILED DESCRIPTION
[0031] The proposed communication protocol enables both asymmetrical and symmetrical communication using a TDD based allocation system, while having Ethernet PHY compatibility for interface with other systems. This results in a system that has several benefits over prior art implementations, including lower power use and lower cost for a given bandwidth requirement, as well as flexible upstream and downstream data rates. In addition, a smaller die size leads to more dies per wafer. In addition, a higher SNR with a lower bit error rate is realized.
[0032]
[0033] As shown in
[0034]
[0035] Also interfacing with the reconciliation sub-layer (RS) 412 is a MAC layer 408. The MAC layer is known by one of ordinary skill in the art, and as such it is not discussed in detail herein. The RS sublayer 412 is configured to provide a mapping between the signals available at XGMII sublayer and MAC layer. The RS sublayer 412 controls the flow of data from the MAC layer to the PHY layer upon indication from TCI client. For example, when the TCI client decides to temporarily stop the MAC layer 408 data from being sent on the wire, the RS sublayer prevents the MAC from transmitting by de-asserting the “carrier” signal. This is described in detail in U.S. patent application Ser. No. 17/507,632 filed on Oct. 21, 2021, titled Method and Apparatus for Asymmetrical Communication, which is incorporated in its entirety herein.
[0036] The RS sublayer communicates over the XGMII interface with an improved physical coding sublayer (PCS) 416. The PCS 416 is a networking protocol sublayer that is a part of the physical layer (PHY), and provides an interface between the Physical Medium Attachment (PMA) sublayer 432 and the media independent interface, such as the XGMII. It is responsible for data encoding and decoding, scrambling and descrambling, alignment marker insertion and removal, block and symbol redistribution, and lane block synchronization. The PMA sublayer 432 is known in the art and not described herein in detail. For the PMA rates of 12 Gbps and 16 Gbps, the PMA is operated in PAM4 mode and for 8 Gbps and other lower rates, the PMA is operated in PAM2 mode.
[0037] In this embodiment, the PCS 416 includes a 65b/65b encoder 420, a burst mapper with OAM 424, and an ASA PCS 428 with TDD functionality. This maintains Ethernet compatibility characteristics while also enabling the asymmetrical and symmetrical data rates using TDD as shown in
[0038]
[0039] However, since ASA PCS layer 518 is not natively designed to accept the data in this format and operates at a rate different from XGMII data rate, a mapping circuit is utilized to adapt to this format and to adjust the data rates. For example, XGMII operates at 10/5/2.5 Gbps whereas the ASA PMA operates at 16/12/8/4/2 Gbps. In an embodiment of a PHY operating at the 10 Gbps XGMII data rate, 26 blocks of 64 bits each is received by the new PCS 518. Each block of 64 bits is encoded into a 65 bit block by a 64b/65b encoder circuit according to IEEE defined 64b/65b coding mechanism. Such encoding uses 4 bits of control data that is sent by the RS sublayer 504 to the PHY with every 32 bits of payload data.
[0040] The output of the xMii encoder is provided to a burst mapper 520. The burst mapper 520 maps the bits to 26 blocks each having 65 bits of encoded data based on 64b/65b coding by combining the payload 512 and the control bits 508. The burst mapper 520 also receives OAM message 524 which is appended to the data with reserved bits such that in this embodiment the OAM and reserved bits are allocated 22 bits. The OAM bit allocation is provided for, but it does not have to be utilized. The resulting burst is provided to the ASA PCS 532. Alternatively, as shown in burst 528, the burst could comprise 25×66 bits of encoded data based on 64b/66b coding and 62 bits allocated for OAM and reserved bits.
[0041] In particular, the mapper circuit concatenates 26 blocks of 65 bits and appends 22 bits of OAM data+reserved bits at the end of the block of 26×65, which is equal to 1690 bits.
[0042] Within the ASA PCS layer 532, additional processing occurs to further format the 214 bytes of data into blocks of 240 bytes. This additional processing includes the assembly of data into physical layer blocks comprising Reed-Solomon Forward Error Correction (RS-FEC) framing plus Reed-Solomon (RS) encoding. This encoding of the data is performed for the purpose of error correction and error detection and generates the tx_phy_block of 240 bytes. The resulting block, referred to a tx_phy_block is provided to a PCS scrambler which also receives scrambler codes for downstream and upstream scrambling. The 240 bytes are then scrambled. This ASA PCS layer 532 differs from prior art ASA PCS layers in configuration and operation. For example, as discussed above, the prior art ASA utilizes tx_phy_blocks containing 720 bytes while in the structure disclosed herein such that the tx_phy_block contains 240 bytes. In addition, the system structure is also different, in the prior art, Reed Solomon (RS) FEC uses 642 bytes which are processed to generate the 720 bytes. Disclosed herein is a structure that uses RS FEC of 214 bytes which are processed into the tx_phy_block of 240 bytes.
[0043] Concurrently, the ASA PCS 532 assembles a resynchronization header using a PTB message to output a tx_phy_rsync_hdr, which is to say, the 240 byte long PHY blocks are grouped into a burst containing 24 phyL blocks with 240 bytes each. After this, the resync header is added. The resulting downstream burst is shown in
[0044] For each TDD cycle, downstream PCS sends 24 blocks of 240 bytes encoded as PAM4 symbols to the PMA sublayer at 8 Gigasymbols/sec (16 Gbps). The PAM2/PAM4 mapper 550 performs the designated type of mapping on the data and provides the mapper data to a transmit block 554 which selectively transmits the resulting waveform, based on an enable/disable signal, on the transmission medium. The line rate from the transmit block 554 is 16.000 Gbps. The resync header is sent as PAM2 symbols.
[0045] In this example embodiment, the resulting data rate is 10.105 Gbps per second at the PHY level. However, since the MAC/PLS interface, under the IEEE standard, operates at a nominal rate of up to 10.000 Gbps, the difference between rates is reconciled by the RS sub layer 504 along with the TCI Idle client as described earlier. The client input 560 to the RS sublayer 504 controls the RS sublayer such that the RS sublayer prevents the MAC from sending more than 10.000 Gbps of data to the PHY. Since, the PHY has some excess bandwidth, it sends idle symbols on the physical medium when the MAC is not sending data to the PHY. In one embodiment, idle symbols can be sent by the PCS (instead of RS) resulting in XGMII rate of 10.000 Gbps instead of 10.105 Gbps. This is illustrated in
[0046]
[0047] The downstream burst 604 comprises a resync header 612 and number of phyL blocks 620. A phyL block 620 is a combination of payload 650, OAM/reserved bit allocation 654, and FEC bits 658. In this embodiment, the downstream burst 604 includes 24 phyL blocks with each block being 240 bytes. Each phyL block contains 211.25 bytes of payload 650, 22 bits of OAM content or reserved allocation 654, and 26 bytes of forward error correction (FEC) content 658. It is contemplated that future embodiment may include a MUX header.
[0048] The upstream burst 608 is similarly configured as the downstream burst but provided less transmit time. It comprises an upstream resync header 630 and phyL blocks 634. The content of each phyL block may be the same as in the downstream burst.
[0049]
[0050] In operation during upstream transmit mode during TDD based 100 Mbps of the Ethernet PHY. The data received by the RS sublayer is sent to the PCS sublayer of PHY in 32 bit increments along with 4 bits of control signaling based on the XGMII specification. However, since the ASA PCS layer is not natively designed to accept the data in this format and operates at a rate different from XGMII data rate, a mapping circuit adapts to this format and also to adjust the rates. For example, the XGMII interface operates at 10/5/2.5 Gbps, whereas the ASA PMA operates at 16/12/8/4/2 Gbps.
[0051] In one embodiment of a PHY operating at a 100 Mbps XGMII data rate, blocks of 64 bits each, are received by the improved PCS disclosed herein. Each block of 64 bits is encoded into a 65 bit block by a 64b/65b encoder circuit according to IEEE defined 64b/65b coding mechanism. Such encoding uses 4 bits of control data that is sent by the RS sublayer to the PHY with every 32 bits of payload data.
[0052] The mapper circuit concatenates 26 blocks of 65 bits and appends 22 bits of OAM data+reserved bits at the end of the block of the 1690 bits (26 blocks×65 bits equals 1690 bits). The resulting block of 1712 bits (214 bytes) is then fed to a Reed Solomon encoder which generates a PHY block of 240 bytes. The resulting 240 bytes are then scrambled. The scrambled 240 byte long PHY blocks form a burst containing 1 phyL block containing 240 bytes. After this, the resync header is added. The resulting upstream burst is as shown in
[0053] For each TDD cycle, the upstream PCS sends 1 phyL block of 240 bytes encoded as PAM2 symbols to the PMA sublayer at 2 G symbols/sec (4 Gbps) which in turn sends the resulting waveform on the transmission medium. The resync header is sent as PAM2 symbols. The resulting data rate is 421 Mbps per second at the PHY level. However, since it is desired to operate the MAC/PLS interface at a standard Ethernet rate such as 100 Mbps, the difference between rates is reconciled by the RS sublayer along with the TCI Idle client. The client controls the RS sublayer such that the RS sublayer prevents the MAC from sending more than 100 Mbps of data to the PHY. Because, the RS sublayer has excess bandwidth, it sends IDLE symbols on the physical medium when the MAC is not sending data to the PHY. In one embodiment, the IDLE symbols can be sent by the PCS (instead of the RS sublayer).
[0054]
[0055] The upstream line speed in Gbps is shown in column 828. As can be seen, for the symmetric line rates, the downstream rate matches the upstream rate, while for the asymmetrical line rates, the upstream rate differs from the downstream rate. Columns 832, 836, 840, 844 and 848 are generally the same as columns 810, 812, 816, 820 and 824. Columns 852, 856 define the downstream burst count and downstream burst time respectively. Similarly, columns 858, 860 define the downstream burst count and downstream burst time respectively. As can be seen, the asymmetrical burst count in blocks and the allocated time varies between the downstream and upstream directions.
[0056] Column 862 represents the downstream 64b data rate while column 864 represents the upstream 64b data rate, both in Gbps. In the case of asymmetrical mode with a 16/4 PMA rate, the data rate is actually 10.105 Gbps and 0.421 Gbps, which includes OAM. To reach the desired line rates, shown in column 890, idle symbols are added to the data stream to reduce the effective data transfer rate to the 10G/100M rate. This rate of 10G/100M complies with one of Ethernet's traditional data rates, which are traditionally 1M, 10M, 100M, 1G, and 10G.
[0057] Varying the burst count values shown in column 852, controls the data rate. For example, for the exemplary 10 Gbps/100 Mbps line data rate, the block count in the downstream direction is 24 phyL blocks per burst, while the block count in the upstream direction is 1 phyL block per burst. In addition, varying the PMA (physical medium attachment) line rate will also affect the data rate. The excess data rate available as shown in column 862 is filled with idle symbols to arrive at the Ethernet compatible line rate shown in column 890.
[0058]
[0059] Using 64b/66b coding also changes the downstream burst count (in blocks) and the downstream burst time as compared to 64b/65b coding as is shown in column 928. As a result of the mapping disclosed herein, the downstream data rate is for the exemplary 10G/100M set to 10.108 Gbps, as shown in column 932, and the upstream data rate is 0.361, as shown in column 936 is for the exemplary 10G/100M data rate. Columns 940, 944 represent the data rates without OAM.
[0060]
[0061]
[0062]
[0063]
[0064] In this exemplary environment of use, a camera lens system 1304 that directs an image to a sensor 1312, such as a CMOS image sensor that is part of a camera module 1312. The image data from the sensor 1312 is provided to a communication circuit 1308 that handles data input and output from the camera module 1316 over a network.
[0065] The communication circuit connects to or communicates over a channel 1320, which may be any type channel including fiber optics, conductive metal, such as copper, wireless communications, or a combination of these channel types. As such, downstream traffic, such as video data, is provided from the camera module 1316 to a vehicle computer 1330.
[0066] At the vehicle computer, a communication circuit 1334 functions similarly to the communication circuit 1308 in the camera module 1316. The communication circuit 1334 interfaces with the processor 1338, which may be the CPU, GPU, AI processor or any other device or element that received the data from the sensor and provides control data back to the sensor 1316 in the upstream direction. The control data may be any type data which controls the sensor 1316. As such, the input to the processor 1338 from the communication circuit is the video data, while the control data is sent from the processor to the communication circuit.
[0067] As is understood in the art, the communication circuits 1308, 1334 include number elements which establish communication over the channel 1320. This may include but is not limited to amplifiers, filters, memory, transformers, processors, ASICS, DSP, equalizers, slicers, error corrections systems, modulators, demodulators, and other elements which enable network communication.
[0068] Also incorporated by reference herein, in their entirety, are the following references 1) U.S. Provisional Patent Application No. 63/253,044 filed on Oct. 6, 2021, entitled A TDD Based Multi-Gigabit Ethernet Physical Layer Device and 2) U.S. Provisional Patent Application No. 63/293,572 filed on Dec. 23, 2021, entitled A TDD Based Symmetrical Ethernet Physical Layer Device.
[0069] While various embodiments of the invention have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible that are within the scope of this invention. In addition, the various features, elements, and embodiments described herein may be claimed or combined in any combination or arrangement.