# Patent

## Title
Long-reach ethernet for 1000BASE-T and 10GBASE-T

## Abstract

A physical-layer device (PHY) having corresponding methods comprises: a data rate module to select a data rate divisor N, where N is at least one of a positive integer, or a real number greater than, or equal to, 1; and a PHY core comprising a PHY transmit module to transmit first signals a data rate of M/N Gbps, and a PHY receive module to receive second signals at the data rate of M/N Gbps; wherein the first and second signals conform to at least one of 1000BASE-T, wherein M=1, and 10GBASE-T, wherein M=10.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims the benefit of U.S. Provisional Patent Application Ser. No. 61/012,810, filed on Dec. 11, 2007, the disclosure thereof incorporated by reference herein in its entirety.
This application is a continuation-in-part of U.S. patent application Ser. No. 11/696,476 filed Apr. 4, 2007, the disclosure thereof incorporated by reference herein in its entirety.


This application is related to U.S. patent application Ser. No. 11/595,053 filed Nov. 10, 2006, the disclosure thereof incorporated by reference herein in its entirety.
FIELD
The present disclosure relates generally to data communications. More particularly, the present disclosure relates to increasing the reach of 1000BASE-T and 10GBASE-T Ethernet.
BACKGROUND
Data communications using Ethernet over twisted pair, as specified by the IEEE 802.3 10/100/1000/10GBASE-T standards, is currently limited to a distance of 100 meters. However, new applications have emerged having requirements for distances greater than 100 meters, in addition to data rates exceeding 100 Mbps. For example, multiple-input, multiple-output (MIMO) wireless access points often require Ethernet connections having speeds above 100 Mbps, and are being deployed in locations requiring Ethernet cable lengths greater than 100 meters.
Conventional solutions include changing the number of conductors or cables, changing the signaling used, and the like. However, each of these solutions suffer from problems such as increased complexity, increased semiconductor die area, increased power consumption, and the like.
SUMMARY
In general, in one aspect, an embodiment features a physical-layer device (PHY) comprising: a data rate module to select a data rate divisor N, where N is at least one of a positive integer, or a real number greater than, or equal to, 1; and a PHY core comprising a PHY transmit module to transmit first signals a data rate of M/N Gbps, and a PHY receive module to receive second signals at the data rate of M/N Gbps; wherein the first and second signals conform to at least one of 1000BASE-T, wherein M=1, and 10GBASE-T, wherein M=10.
Embodiments of the PHY can include one or more of the following features. Some embodiments comprise a cable measurement module to measure one or more characteristics of a cable transporting the first signals and the second signals; wherein the data rate module selects the data rate divisor N based on the one or more characteristics of the cable. In some embodiments, the one or more characteristics of the cable comprise at least one of: a length of the cable; or a signal transmission quality of the cable. Some embodiments comprise a clock reduction circuit to generate a local clock rate based on a reference clock rate, wherein a ratio of the reference clock rate to the local clock rate is N; wherein the PHY core operates according to the local clock rate. Some embodiments comprise a physical coding sublayer (PCS) transmit module to generate PAM-5 symbols at a symbol rate of 125 Mbaud; and a symbol transmit module to generate a PAM-5 line signal for N consecutive symbol periods for each of the PAM-5 symbols. In some embodiments, levels of each generated PAM-5 line signal represent the corresponding PAM-5 symbol. In some embodiments, levels of each generated PAM-5 line signal represent interpolations between consecutive ones of the PAM-5 symbols. Some embodiments comprise a cable receive module to generate PAM-5 line signals based on the second signals; and a symbol receive module to generate one PAM-5 symbol for each N consecutive symbol periods of each of the PAM-5 line signals. Some embodiments comprise a network interface module comprising: the PHY; and a media access controller to provide first data to the PHY module, and to receive second data from the PHY. In some embodiments, the network interface module further comprises a first-in first-out buffer (FIFO) to store the first data received from the media access controller; and a flow control circuit to transmit a pause signal to the media access controller when an amount of the first data stored in the FIFO exceeds a predetermined threshold. Some embodiments comprise a network device comprising the network interface module. In some embodiments, the network device is selected from the group consisting of: a network switch; a router; and a network interface controller.
In general, in one aspect, an embodiment features a method comprising: selecting a data rate divisor N, where N is at least one of a positive integer, or a real number greater than, or equal to, 1; transmitting first signals at a data rate of M/N Gbps; and receiving second signals at the data rate of M/N Gbps; wherein the first and second signals conform to at least one of 1000BASE-T, wherein M=1, and 10GBASE-T, wherein M=10.
Embodiments of the method can include one or more of the following features. Some embodiments comprise measuring one or more characteristics of a cable transporting the first signals and the second signals; and selecting the data rate divisor N based on the one or more characteristics of the cable. In some embodiments, the one or more characteristics of the cable comprise at least one of: a length of the cable; or a signal transmission quality of the cable. Some embodiments comprise generating a local clock rate based on a reference clock rate, wherein a ratio of the reference clock rate to the local clock rate is N; wherein the first signals are transmitted according to the local clock rate; and wherein the second signals are received according to the local clock rate. Some embodiments comprise generating PAM-5 symbols at a symbol rate of 125 Mbaud; and generating a PAM-5 line signal for N consecutive symbol periods for each of the PAM-5 symbols. In some embodiments, levels of each generated PAM-5 line signal represent the corresponding PAM-5 symbol. In some embodiments, levels of each generated PAM-5 line signal represent interpolations between consecutive ones of the PAM-5 symbols. Some embodiments comprise generating PAM-5 line signals based on the second signals; and generating one PAM-5 symbol for each N consecutive symbol periods of each of the PAM-5 line signals. Some embodiments comprise storing data represented by the first signals in a first-in first-out buffer (FIFO); and transmitting a pause signal when an amount of the data stored in the FIFO exceeds a predetermined threshold.
The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features will be apparent from the description and drawings, and from the claims.



DESCRIPTION OF DRAWINGS
FIG. 1 depicts a data communications system according to one embodiment.
FIG. 2 shows a switch having a network interface module including the PHY and MAC of FIG. 1.
FIG. 3 shows a router having a network interface module including the PHY and MAC of FIG. 1.
FIG. 4 shows a NIC having a network interface module including the PHY and MAC of FIG. 1.
FIG. 5 shows a process for the PHY of FIG. 1 according to one embodiment.
FIG. 6 shows the data communications system of FIG. 1 with the addition of a cable measurement module to the PHY.
FIG. 7 shows a process for the PHY of FIG. 6 according to one embodiment.
FIG. 8 shows the data communications system of FIG. 1 with the addition of a clock reduction circuit to the PHY.
FIG. 9 shows a process for the PHY of FIG. 8 according to one embodiment.
FIG. 10 depicts a 1000BASE-T data communications system according to one embodiment.
FIG. 11 shows a process for the PHY of FIG. 10 according to one embodiment.
FIG. 12 depicts further detail of the PHY of FIG. 11 according to one embodiment.
FIG. 13 shows detail of the symbol transmitter of FIG. 12 according to one embodiment.
FIG. 14 shows detail of the symbol receiver of FIG. 12 according to one embodiment.
FIG. 15 shows a simplified view of the MAC and PHY of FIG. 1 according to an embodiment employing in-band flow control.
FIG. 16 shows an in-band signaling process for the PHY of FIG. 1 according to one embodiment.
FIG. 17 shows an autonegotiation process for the PHY of FIG. 1 according to one embodiment.



The leading digit(s) of each reference numeral used in this specification indicates the number of the drawing in which the reference numeral first appears.
DETAILED DESCRIPTION
The subject matter of the present disclosure relates to increasing the reach of 1000BASE-T and 10GBASE-T Ethernet, that is, to increasing the cable lengths over which 1000BASE-T and 10 GBASE-T Ethernet can operate. According to various embodiments disclosed herein, the transmit and receive data rates are reduced while retaining the other aspects of 1000BASE-T and/or 10GBASE-T such as the physical coding sublayer (PCS), error correction, and signaling schemes, thereby allowing for cable lengths greater than the 100 meters specified for 1000BASE-T and 10GBASE-T.
FIG. 1 depicts a data communications system 100 according to one embodiment. Although in the described embodiments, the elements of data communications system 100 are presented in one arrangement, other embodiments may feature other arrangements, as will be apparent to one skilled in the relevant arts based on the disclosure and teachings provided herein. For example, the elements of data communications system 100 can be implemented in hardware, software, or combinations thereof. In some embodiments, data communications system 100 is otherwise compliant with all or part of IEEE standard 802.3, including draft and approved amendments.
Referring to FIG. 1, data communications system 100 includes a physical-layer device (PHY) 102, a media access controller (MAC) 104, and a cable 106. PHY 102 includes a PHY core 108 and a data rate module 116 to select a data rate divisor N. Data rate divisor N can be selected manually. PHY core 108 includes a PHY transmit module 110 and a PHY receive module 112.
PHY 102 of FIG. 1 can be implemented in a network interface module. The network interface module can be implemented in a network device such as a switch, router, network interface controller (NIC), and the like. FIG. 2 shows a switch 200 having a network interface module 202 including PHY 102 and MAC 104 of FIG. 1. FIG. 3 shows a router 300 having a network interface module 302 including PHY 102 and MAC 104 of FIG. 1. FIG. 4 shows a NIC 400 having a network interface module 402 including PHY 102 and MAC 104 of FIG. 1.
FIG. 5 shows a process 500 for PHY 102 of FIG. 1 according to one embodiment. Although in the described embodiments, the elements of process 500 are presented in one arrangement, other embodiments may feature other arrangements, as will be apparent to one skilled in the relevant arts based on the disclosure and teachings provided herein. For example, in various embodiments, some or all of the steps of process 500 can be executed in a different order, concurrently, and the like.
Referring to FIG. 5, data rate module 116 selects a data rate divisor N (step 502). Data rate divisor N can be a positive integer or a real number greater than, or equal to, 1. Data rate divisor N can be selected manually. For example, data rate divisor can be set in a register in data communication system 100 and the like.
PHY 102 receives data words 130 from MAC 104 (step 504). PHY transmit module transmits signals 138 over cable 106 representing data words 130 at a data rate of M/N Gbps (step 506). For 1000BASE-T, M=1. For 10GBASE-T, M=10. The effect is to reduce the transmitted data rate from the 1000BASE-T or 10 GBASE-T data rate by a factor of N.
PHY receive module 112 receives signals 140 over cable 106 representing data words 146 at a data rate of M/N Gbps (step 508). For 1000BASE-T, M=1. For 10GBASE-T, M=10. PHY 102 generates data words 146 based on signals 140 (step 510), and provides data words 146 to MAC 104 (step 512). The effect is to accommodate a received data rate reduced from the 1000BASE-T or 10GBASE-T data rate by a factor of N.
In some embodiments, data rate module 116 selects data rate divisor N based on one or more characteristics of cable 106. FIG. 6 shows the data communications system 100 of FIG. 1 with the addition of a cable measurement module 602 to PHY 102.
FIG. 7 shows a process 700 for PHY 102 of FIG. 6 according to one embodiment. Referring to FIG. 7, cable measurement module 602 of PHY 102 measures one or more characteristics of cable 106 (step 702). The characteristics measured by cable measurement module 602 can include a length of cable 106, a signal transmission quality of cable 106, and the like. Techniques for measuring a length of cable 106 are disclosed in U.S. patent application Ser. No. 11/595,053 filed Nov. 10, 2006, the disclosure thereof incorporated by reference herein in its entirety. Measurements of a signal transmission quality of cable 106 can include measurements of the “eye” opening of signals received over cable 106 by cable receive module 128 and the like.
Based on the measured characteristics of cable 106, data rate module 116 of PHY 102 selects a data rate divisor N (step 704). Data rate divisor N can be a positive integer or a real number greater than, or equal to, 1. Data rate divisor N can be selected manually. For example, data rate divisor can be set in a register in data communication system 100 and the like.
Alternatively, data rate divisor N can be selected using an autonegotiation process. For example, the autonegotiation process can include IEEE nextPage autonegotiation, high-level software such as Link Layer Discovery Protocol (LLDP), and the like. One example autonegotiation process is described below.
PHY 102 receives data words 130 from MAC 104 (step 706). PHY transmit module transmits signals 138 over cable 106 representing data words 130 at a data rate of M/N Gbps (step 708). For 1000BASE-T, M=1. For 10GBASE-T, M=10. The effect is to reduce the transmitted data rate from the 1000BASE-T or 10GBASE-T data rate by a factor of N.
PHY receive module 112 receives signals 140 over cable 106 representing data words 146 at a data rate of M/N Gbps (step 710). For 1000BASE-T, M=1. For 10GBASE-T, M=10. PHY 102 generates data words 146 based on signals 140, and provides data words 146 to MAC 104 (step 712). The effect is to accommodate a received data rate reduced from the 1000BASE-T or 10GBASE-T data rate by a factor of N.
PHY 102 operates according to a local clock. In some embodiments, data rate divisor N is used to slow the local clock for PHY 102. In these embodiments, PHY core 108, including both analog and digital sections, is slowed by a factor of N. The effect is to reduce the transmitted data rate by a factor of N, and to accommodate a received data rate reduced by a factor of N. FIG. 8 shows the data communications system 100 of FIG. 1 with the addition of a clock reduction circuit 802 to PHY 102.
FIG. 9 shows a process 900 for PHY 102 of FIG. 8 according to one embodiment. Referring to FIG. 9, data rate module 116 selects a data rate divisor N (step 902). Data rate divisor N can be a positive integer or a real number greater than, or equal to, 1. Data rate divisor N can be selected manually. For example, data rate divisor can be set in a register in data communication system 100 and the like. Alternatively, data rate module 116 can select data rate divisor N based on one or more characteristics of cable 106, as described above with reference to FIGS. 6 and 7.
Clock reduction circuit 802 generates a local clock 804 based on a reference clock 806 and clock divisor N, where the ratio of the reference clock rate to the local clock rate is N (step 904). PHY 102 operates according to local clock 804. Reference clock 806 can be a 125 MHz GMII clock or the like.
PHY 102 receives data words 130 from MAC 104 (step 906). PHY transmit module transmits signals 138 over cable 106 representing data words 130 at a data rate of M/N Gbps (step 908). For 1000BASE-T, M=1. For 10GBASE-T, M=10. The effect is to reduce the transmitted data rate from the 1000BASE-T or 10GBASE-T data rate by a factor of N.
PHY receive module 112 receives signals 140 over cable 106 representing data words 146 at a data rate of M/N Gbps (step 910). For 1000BASE-T, M=1. For 10GBASE-T, M=10. PHY 102 generates data words 146 based on signals 140 (step 912), and provides data words 146 to MAC 104 (step 914). The effect is to accommodate a received data rate reduced from the 1000BASE-T or 10 GBASE-T data rate by a factor of N.
In some 1000BASE-T embodiments, digital mechanisms within PHY core 108 are employed to reduce the transmit and receive data rates. FIG. 10 depicts a 1000BASE-T data communications system 1000 according to one embodiment. Although in the described embodiments, the elements of data communications system 1000 are presented in one arrangement, other embodiments may feature other arrangements, as will be apparent to one skilled in the relevant arts based on the disclosure and teachings provided herein. For example, the elements of data communications system 1000 can be implemented in hardware, software, or combinations thereof. In some embodiments, data communications system 1000 is otherwise compliant with all or part of IEEE standard 802.3, including draft and approved amendments. Furthermore, while these embodiments are described with reference to 1000BASE-T Ethernet, they are easily extended to 10GBASE-T Ethernet
Referring to FIG. 10, data communications system 1000 includes physical-layer device (PHY) 102, media access controller (MAC) 104, and cable 106. PHY 102 includes PHY core 108, cable measurement module 114, and data rate module 116. PHY core 108 includes a physical coding sublayer (PCS) module 1008 in communication with MAC 104, a symbol module 1010 in communication with PCS module 1008, and a cable module 1012 in communication with symbol module 1010, and with a link partner (not shown) over cable 106.
PCS module 1008 includes a PCS transmit module 1018 and a PCS receive module 1020. Symbol module 1010 includes a symbol transmit module 1022 and a symbol receive module 1024. Cable module 1012 includes a cable transmit module 1026 and a cable receive module 1028. PCS transmit module 1018, symbol transmit module 1022, and cable transmit module 1026 are referred to collectively as PHY transmit module 110. PCS receive module 1020, symbol receive module 1024, and cable receive module 1028 are referred to collectively as PHY receive module 112.
FIG. 11 shows a process 1100 for PHY 102 of FIG. 10 according to one embodiment. Although in the described embodiments, the elements of process 1100 are presented in one arrangement, other embodiments may feature other arrangements, as will be apparent to one skilled in the relevant arts based on the disclosure and teachings provided herein. For example, in various embodiments, some or all of the steps of process 1100 can be executed in a different order, concurrently, and the like.
Referring to FIG. 11, cable measurement module 114 of PHY 102 measures one or more characteristics of cable 106 (step 1102). The characteristics measured by cable measurement module 114 can include a length of cable 106, a signal transmission quality of cable 106, and the like. Techniques for measuring a length of cable 106 are disclosed in U.S. patent application Ser. No. 11/595,053 filed Nov. 10, 2006, the disclosure thereof incorporated by reference herein in its entirety. Measurements of a signal transmission quality of cable 106 can include measurements of the “eye” opening of signals received over cable 106 by cable receive module 128 and the like.
Based on the measured characteristics of cable 106, data rate module 116 of PHY 102 selects a data rate divisor N (step 1104). In some embodiments, N is a positive integer. In some embodiments, N is a real number greater than, or equal to, 1. In one embodiment, data rate module 116 selects data rate divisor N based on a length of cable 106 measured by cable measurement module 114. For example, when the length of cable 106 does not exceed the maximum length of 100 meters specified by 1000BASE-T, data rate module 116 can select a data rate divisor of N=1, resulting in the 1000BASE-T data rate of 1 Gbps. When the length of cable 106 exceeds 100 meters, data rate module 116 can select a larger value for N. In one embodiment, the selectable data rate divisors include N=1, N=10, and N=100, resulting in data rates of 1 Gbps, 100 Mbps, and 10 Mbps, respectively. In other embodiments, any data rate can be selected. For example, for a cable length of 300 meters, a data rate of 500 Mbps can be selected.
In another embodiment, data rate module 116 selects data rate divisor N based on a signal transmission quality of cable 106 measured by cable measurement module 114. For example, when a measure of the signal transmission quality exceeds a first predetermined threshold, data rate module 116 can select a data rate divisor of N=1, resulting in the 1000BASE-T data rate of 1 Gbps. When the signal transmission quality is degraded, data rate module 116 can select a larger value for N.
On the transmit side, PCS module 1008 of PHY 102 receives eight-bit data words 130 from MAC 104 (step 1106). Based on each eight-bit data word 130, PCS transmit module 1018 generates four three-bit pulse-amplitude modulation (PAM-5) symbols 132 (step 1108). Based on PAM-5 symbols 132, and the selected data rate divisor N, symbol transmit module 1022 of symbol module 1010 provides PAM-5 line signals 134 (step 1110), where PAM-5 line signals 134 represent PAM-5 symbols 132 at 125/N Mbaud, as described in detail below. Cable transmit module 1026 of cable module 1012 transmits 1000BASE-T signals 138 over cable 106 (step 1112), where 1000BASE-T signals 138 represent PAM-5 line signals 134. The result is that PHY 102 conveys data 130 at a data rate of 1/N Gbps using 1000BASE-T signaling.
On the receive side, cable module 1012 receives 1000BASE-T signals 140 over cable 106 (step 1114). Based on 1000BASE-T signals 140, cable receive module 1028 of cable module 1012 provides PAM-5 line signals 142 (step 1116). Symbol receive module 1024 of symbol module 1010 provides PAM-5 symbols 144 based on PAM-5 line signals 142 (step 1118), where PAM-5 line signals 142 represent PAM-5 symbols 144 at 125/N Mbaud. PCS receive module 1020 of PCS module 1008 generates eight-bit data words 146 based on PAM-5 symbols 144 (step 1120), and provides data words 146 to MAC 104 (step 1122). The result is that PHY 102 receives data 146 at a data rate of 1/N Gbps using 100BASE-T signaling.
FIG. 12 depicts further detail of PHY 102 of FIG. 11 according to one embodiment. Although in the described embodiments, the elements of PHY 102 are presented in one arrangement, other embodiments may feature other arrangements, as will be apparent to one skilled in the relevant arts based on the disclosure and teachings provided herein. For example, the elements of PHY 102 can be implemented in hardware, software, or combinations thereof.
Referring to FIG. 12, symbol transmit module 1022 of symbol module 1010 includes four symbol transmitters 1202A-D, while symbol receive module 1024 of symbol module 1010 includes four symbol receivers 1204A-D. Cable transmit module 1026 of cable module 1012 includes four cable transmitters 1206A-D, while cable receive module 1028 of cable module 1012 includes four cable receivers 1208A-D. Cable 106 includes four twisted pairs 1210A-D of copper wire.
On the transmit side, based on each eight-bit data word 130 received from MAC 104, PCS transmit module 1018 provides four three-bit PAM-5 symbols 132A-D to symbol transmitters 1202A-D, respectively. The correspondence between PAM-5 symbols and PAM-5 line signal levels is shown in Table 1 below. Based on PAM-5 symbols 132, and the selected data rate divisor N, each symbol transmitter 1202A-D provides a respective PAM-5 line signal 134A-D to a respective cable transmitter 1206A-D. PAM-5 line signals 134A-D represent PAM-5 symbols 132A-D at 125/N Mbaud. Based on PAM-5 line signals 134, each cable transmitter 1206A-D provides a 1000BASE-T signal 138A-D over a twisted pair 1210A-D of cable 106, respectively.










TABLE 1







PAM-5 Symbol
PAM-5 Line Signal Level



















000
0



001
+1



010
+2



011
−1



100
0



101
+1



110
−2



111
−1










On the receive side, cable receivers 1208A-D receive 1000BASE-T signals 140A-D over twisted pairs 1210A-D of cable 106, respectively. Based on 1000BASE-T signals 140, cable receivers 1208A-D provide PAM-5 line signals 142A-D to symbol receivers 1204A-D, respectively. Based on PAM-5 line signals 142, symbol receivers 1204A-D generate PAM-5 symbols 144A-D, respectively. PAM-5 line signals 142 represent PAM-5 symbols 144 at 125/N Mbaud. Based on each group of four PAM-5 symbols 144A-D, PCS receive module 1020 provides an eight-bit data word 146 to MAC 104.
FIG. 13 shows detail of symbol transmitter 1202A of FIG. 12 according to one embodiment. Symbol transmitters 1202B-D can be implemented in a similar manner. Although in the described embodiments, the elements of symbol transmitter 1202A are presented in one arrangement, other embodiments may feature other arrangements, as will be apparent to one skilled in the relevant arts based on the disclosure and teachings provided herein. For example, the elements of symbol transmitter 1202A can be implemented in hardware, software, or combinations thereof.
Referring to FIG. 13, symbol transmitter 1202A includes a transmit filter 1302A. For each PAM-5 symbol 132A received from PCS transmit module 1018, transmit filter 1302A generates corresponding PAM-5 line signals 134A for N 1000BASE-T symbol periods, where N is the selected data rate divisor, and the 1000BASE-T symbol period is 8 ns. For full data rate operation of 1 Gbps, N=1. The value of N can be provided by data rate module 116, or can be implemented as clock reduction circuit 802 of FIG. 8.
In some embodiments, transmit filter 1302A includes a replicate module 1304. Replicate module 1304 generates the levels of PAM-5 line signals 134A to represent each PAM-5 symbol 132A for the corresponding N 1000BASE-T symbol periods. This technique effectively provides N consecutive replicas of each PAM-5 symbol 132A, thereby reducing the 1000BASE-T data rate by a factor of N.
In some embodiments, transmit filter 1302A includes an interpolate module 1306. Interpolate module 1306 generates the levels of PAM-5 line signals 134A to represent interpolations between consecutive PAM-5 symbols 132A for the corresponding N 1000BASE-T symbol periods. These interpolations also reduce the 1000BASE-T data rate by a factor of N, and produce a smoother curve for transmission.
FIG. 14 shows detail of symbol receiver 1204A of FIG. 12 according to one embodiment. Symbol receivers 1204B-D can be implemented in a similar manner. Although in the described embodiments, the elements of symbol receiver 1204A are presented in one arrangement, other embodiments may feature other arrangements, as will be apparent to one skilled in the relevant arts based on the disclosure and teachings provided herein. For example, the elements of symbol receiver 1204A can be implemented in hardware, software, or combinations thereof.
Referring to FIG. 14, symbol receiver 1204A includes a receive filter 1402A. Receive filter 1402A generates one PAM-5 symbol 144A for each N 1000BASE-T symbol periods of PAM-5 line signal 142A, wherein N is the selected data rate divisor N. For full data rate operation of 1 Gbps, N=1. The value of N can be provided by data rate module 116, or can be implemented as clock reduction circuit 802 of FIG. 8.
In some embodiments, receive filter 1402A includes a sample module 1412. Receive filter 1402A can generate an internal PAM-5 symbol for each 1000BASE-T symbol period based on PAM-5 line signals 142A, and then sample module 1412 can provide every Nth internal PAM-5 symbol to PCS module 1008 as PAM-5 symbol 144A.
In some embodiments, receive filter 1402A includes a function module 1414. Function module 1414 generates each PAM-5 symbol 144A as a function of the levels of PAM-5 line signals 142A over N 1000BASE-T symbol periods. For example, each PAM-5 symbol 144A can be generated based on the average of the levels of PAM-5 line signals 142A over N 1000BASE-T symbol periods. Other functions are contemplated.
Referring again to FIG. 1, various techniques can be used to allow MAC 104 to operate with PHY 102 while PHY 102 is operating at a reduced data rate. For example, MAC 104 can adjust its clock rate according to the selected data rate divisor N.
In a 1000BASE-T example, PHY 102 can operate at a selected data rate of 100 Mbps while MAC 104 operates at the 100 Mbps GMII data rate. The advantage of this approach over standard 100BASE-TX is that performance can exceed the performance of 100BASE-TX when the length of cable 106 exceeds 100 meters.
As another example, MAC 104 can employ data word replication to reduce the effective rate of data transfer to PHY 102. According to such embodiments, the link between MAC 104 and PHY 102 runs at full speed (that is, 1 Gbps for 1000BASE-T and 10 Gbps for 10GBASE-T), and MAC 104 transmits each data word to PHY 102 N times, resulting in an effective data rate of 1/N Gbps for 1000BASE-T and 10/N Gbps for 10GBASE-T.
As another example, PHY 102 and MAC 104 can employ flow control in order to operate at different data rates. This technique allows MAC 104 to receive data from a host at standard GMII data rates of 1000 Mbps, 100 Mbps, etc., while PHY 102 can operate at other data rates.
In some embodiments, MAC 104 and PHY 102 employ out-of-band flow control. For example, PHY 102 can provide flow control signals to MAC 104 using one or more dedicated pins. In other embodiments, MAC 104 and PHY 102 employ in-band flow control. FIG. 15 shows a simplified view of MAC 104 and PHY 102 of FIG. 1 according to an embodiment employing in-band flow control.
Referring to FIG. 15, PHY 102 includes a first first-in first-out buffer (FIFO) 1502 to store data 130 received from MAC 104, and a flow control circuit 1504 to transmit a pause signal 1506 to MAC 104 when an amount of data 130 stored in the FIFO 1502 exceeds a predetermined threshold. Further detail of such flow control techniques are disclosed in U.S. patent application Ser. No. 11/696,476 filed Apr. 4, 2007, the disclosure thereof incorporated by reference herein in its entirety.
In embodiments where cable length is used to select data rates, it can be expected that both link partners will obtain similar cable length measurements, and so will select the same data rate for communication. However, when signal transmission quality is used to select data rates, link partners might obtain different measurements of signal quality. In these embodiments, link partners can employ in-band signaling to ensure that both link partners select the same data rate.
FIG. 16 shows an in-band signaling process 1600 for PHY 102 of FIG. 1 according to one embodiment. The link partner of PHY 102 can employ a similar process. Although in the described embodiments, the elements of process 1600 are presented in one arrangement, other embodiments may feature other arrangements, as will be apparent to one skilled in the relevant arts based on the disclosure and teachings provided herein. For example, in various embodiments, some or all of the steps of process 1600 can be executed in a different order, concurrently, and the like.
Referring to FIG. 16, PHY 102 initially selects the full data rate of 1 Gbps (step 1602). If the signal quality is sufficient (step 1604), and the link partner reports sufficient signal quality (step 1606), process 1600 ends (step 1608). But if the signal quality is not sufficient (step 1604), PHY 102 informs the link partner (step 1610) and reduces the data rate by a predetermined amount (step 1612) before checking signal quality again (step 1604). In addition, if the link partner reports insufficient signal quality (step 1606), PHY 102 reduces the data rate (step 1612) and checks signal quality again (step 1604).
FIG. 17 shows an autonegotiation process 1600 for PHY 102 of FIG. 1 according to one embodiment. The link partner of PHY 102 can employ a similar process. Although in the described embodiments, the elements of process 1700 are presented in one arrangement, other embodiments may feature other arrangements, as will be apparent to one skilled in the relevant arts based on the disclosure and teachings provided herein. For example, in various embodiments, some or all of the steps of process 1700 can be executed in a different order, concurrently, and the like.
Referring to FIG. 17, PHY 102 and its link partner selects a minimum data rate divisor N1min (Step 1702), which represents the maximum speed PHY 102 can support. For example, PHY 102 can employ the techniques described above for selecting a data rate divisor N. The link partner also selects a minimum data rate divisor N2 min.
PHY 102 has a predetermined minimum supported speed represented by a maximum data rate divisor N1max. The link partner also has a predetermined minimum supported speed represented by a maximum data rate divisor N2max. During autonegotiation, PHY 102 and its link partner inform each other of their values of Nmin and Nmax (step 1704).
If (N1max<N2 min) or (N2max<N1min) (step 1706), then there is no common speed, and process 1700 ends (step 1708). Otherwise, PHY 102 and its link partner both select a common data rate divisor N as the greater of N1min and N2 min as (step 1710). The process 1700 ends (step 1708).
Various embodiments can be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. Apparatus can be implemented in a computer program product tangibly embodied in a machine-readable storage device for execution by a programmable processor; and method steps can be performed by a programmable processor executing a program of instructions to perform functions by operating on input data and generating output. Embodiments can be implemented in one or more computer programs that are executable on a programmable system including at least one programmable processor coupled to receive data and instructions from, and to transmit data and instructions to, a data storage system, at least one input device, and at least one output device. Each computer program can be implemented in a high-level procedural or object-oriented programming language, or in assembly or machine language if desired; and in any case, the language can be a compiled or interpreted language. Suitable processors include, by way of example, both general and special purpose microprocessors. Generally, a processor will receive instructions and data from a read-only memory and/or a random access memory. Generally, a computer will include one or more mass storage devices for storing data files; such devices include magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and optical disks. Storage devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM disks. Any of the foregoing can be supplemented by, or incorporated in, ASICs (application-specific integrated circuits).
A number of implementations have been described. Nevertheless, it will be understood that various modifications may be made without departing from the scope of the disclosure. Accordingly, other implementations are within the scope of the following claims.

## Claims

1. A physical-layer device comprising:
a cable measurement module configured to measure characteristics of a cable;
a data rate module configured to (i) select a data rate divisor N based on the measured characteristics of the cable, and (ii) reduce a rate of a first clock based on the data rate divisor N, where N is at least one of a positive integer greater than 1 or a real number greater than 1; and
a physical-layer device core comprising
a transmit module configured to transmit first signals over the cable at a data rate of M/N Gbps based on the rate of the first clock, where M is a positive integer, and
a receive module configured to receive second signals over the cable at the data rate of M/N Gbps based on the rate of the first clock,

wherein the first signals and the second signals conform to 1000BASE-T when M=1, and
wherein the first signals and the second signals conform to 10 GBASE-T when M=10.

2. The physical-layer device of claim 1, wherein the one more characteristics of the cable comprise at least one of:
a length of the cable; or
a signal transmission quality of the cable.

3. The physical-layer device of claim 1, further comprising a clock reduction circuit configured to generate a local clock rate based on a reference clock rate, wherein:
a ratio of the reference clock rate to the local clock rate is N; and
the physical-layer device core is configured to operate according to the local clock rate.

4. The physical-layer device of claim 1, further comprising:
a physical coding sublayer transmit module configured to generate five-level pulse amplitude module symbols at a symbol rate of 125 Mbaud; and
a symbol transmit module configured to generate a five-level pulse amplitude module line signal for N consecutive symbol periods for each of the five-level pulse amplitude module symbols.

5. The physical-layer device of claim 4, wherein levels of each generated five-level pulse amplitude module line signal represent the corresponding five-level pulse amplitude module symbol.

6. The physical-layer device of claim 4, wherein levels of each generated five-level pulse amplitude module line signal represent interpolations between consecutive ones of the five-level pulse amplitude module symbols.

7. The physical-layer device of claim 1, further comprising:
a cable receive module configured to generate five-level pulse amplitude module line signals based on the second signals; and
a symbol receive module configured to generate one five-level pulse amplitude module symbol for each N consecutive symbol periods of each of the five-level pulse amplitude module line signals.

8. A network interface module comprising:
a physical-layer device comprising
a cable measurement module configured to measure characteristics of a cable,
a data rate module configured to (i) select a data rate divisor N based on the measured characteristics of the cable, and (ii) reduce a rate of a first clock based on the data rate divisor N, where N is at least one of a positive integer greater than 1 or a real number greater than 1,
a physical-layer device core comprising
a transmit module configured to transmit first signals over the cable at a data rate of M/N Gbps based on the rate of the first clock, where M is a positive integer, and
a receive module configured to receive second signals over the cable at the data rate of M/N Gbps based on the rate of the first clock,

wherein the first signals and the second signals conform to 1000BASE-T when M=1, and
wherein the first signals and the second signals conform to 10 GBASE-T when M=10, and
a media access controller configured to (i) provide first data to the physical-layer device and (ii) receive second data from the physical-layer device.

9. The network interface module of claim 8, further comprising:
a first-in first-out buffer configured to store the first data received from the media access controller; and
a flow control circuit configured to transmit a pause signal to the media access controller when an amount of the first data stored in the first-in first-out buffer exceeds a predetermined threshold.

10. A network device comprising the network interface module of claim 8.

11. The network device of claim 10, wherein the network device is selected from a group consisting of a network switch;
a router; and
a network interface controller.

12. A method comprising:
performing an autonegotiation process to select a data rate divisor N, where N is at least one of a positive integer greater than 1 or a real number greater than 1;
data rate of M/N Gbps based on the rate of the first clock, where M is a positive integer, and
receiving second signals at the data rate of M/N Gbps,
wherein the first signals and the second signals conform to 1000BASE-T when M=1, and
wherein the first signals and the second signals conform to 10 GBASE-T when M=10.

13. The method of claim 12, further comprising:
measuring one or more characteristics of a cable transporting the first signals and the second signals; and
selecting the data rate divisor N based on the one or more characteristics of the cable.

14. The method of claim 13, wherein the one or more characteristics of the cable comprise at least one of
a length of the cable; or
a signal transmission quality of the cable.

15. The method of claim 12, further comprising:
generating a local clock rate based on a reference clock rate, wherein a ratio of the reference clock rate to the local clock rate is N;
wherein the first signals are transmitted according to the local clock rate; and
wherein the second signals are received according to the local clock rate.

16. The method of claim 12, further comprising:
generating five-level pulse amplitude module symbols at a symbol rate of 125 Mbaud; and
generating a five-level pulse amplitude module line signal for N consecutive symbol periods for each of the five-level pulse amplitude module symbols.

17. The method of claim 16, wherein levels of each generated five-level pulse amplitude module line signal represent the corresponding five-level pulse amplitude module symbol.

18. The method of claim 16, wherein levels of each generated five-level pulse amplitude module line signal represent interpolations between consecutive ones of the five-level pulse amplitude module symbols.

19. The method of claim 12, further comprising:
generating five-level pulse amplitude module line signals based on the second signals; and
generating one five-level pulse amplitude module symbol for each N consecutive symbol periods of each of the five-level pulse amplitude module line signals.

20. The method of claim 12, further comprising:
storing data represented by the first signals in a first-in first-out buffer; and
transmitting a pause signal when an amount of the data stored in the first-in first-out buffer exceeds a predetermined threshold.

21. The physical-layer device of claim 1, further comprising:
a physical coding sublayer transmit module configured to generate five-level pulse-amplitude modulation symbols based on first data; and
a symbol transmit module configured to generate a five-level pulse-amplitude modulation line signal based on i) the five-level pulse-amplitude modulation symbols and ii) the data rate divisor N,
wherein the transmit module of the physical-layer device core is configured to transmit the first signals representing the five-level pulse-amplitude modulation signals over a cable at the data rate of M/N Gbps, and
wherein the receiver module is configured to receive the second signals over the cable at the data rate of M/N Gps.

22. The physical-layer device of claim 1, further comprising a clock reduction circuit configured to generate a local clock rate based on a reference clock rate, wherein:
a ratio of the reference clock rate to the local clock rate is N;
the physical-layer device core is configured to operate according to the local clock rate;
a physical coding sublayer transmit module configured to generate five-level pulse amplitude module symbols at a symbol rate of 125 Mbaud; and
a symbol transmit module configured to generate a five-level pulse amplitude module line signal for N consecutive symbol periods for each of the five-level pulse amplitude module symbols.

23. The physical-layer device of claim 1, wherein:
the data rate divisor N is selected from a set of numbers;
the set of numbers includes numbers that are not divisible by 10; and
the data rate of M/N is not divisible by 10.

24. The physical-layer device of claim 1, wherein:
the physical-layer device core comprises
a physical coding sublayer transmit module configured to generate five-level pulse-amplitude modulation symbols based on first data, and
a symbol transmit module configured to generate a five-level pulse-amplitude modulation line signal based on i) the five-level pulse-amplitude modulation symbols and ii) the data rate divisor N;

the first signals represent the generated five-level pulse-amplitude modulation signals; and
the first signals and the second signals conform to
1000BASE-T when the data rate M/N is less than 1000 bps, and
10 GBASE-T when the data rate M/N is greater than or equal to 1000 bps and less than 10 Gbps.

25. The physical-layer device of claim 1, wherein:
the first signals and the second signals retain characteristics of
1000BASE-T when M=1, and
10 GBASE-T when M=10; and

the characteristics include aspects of a physical coding sublayer, error correction formats, and signaling formats.

26. The physical-layer device of claim 1, wherein the data rate divisor N is equal to a ratio of the rate of the first clock to a rate of a reference clock.

27. The physical-layer device of claim 1, wherein the transmit module is configured to:
transmit third signals over the cable at 1 Gps or 10 Gps using a first number of cable lines;
subsequent to transmitting over the cable at 1 Gps or 10 Gps, reduce the rate of the first clock based on N; and
subsequent to reducing the rate of the first clock, transmit the first signals over the cable at the data rate of M/N Gps using a second number of cable lines, wherein the second number of cable lines is equal to the first number of cable lines.

28. The physical-layer device of claim 1, wherein the measured characteristics of the cable comprise:
an eye opening of a signal transmitted on the cable;
a length of the cable; or
a signal quality level of a signal transmitted on the cable.

29. The method of claim 12, wherein the autonegotiation process comprises:
transmitting a first minimum data rate divisor to a link partner;
receiving a second minimum data rate divisor from the link partner; and
selecting the data rate divisor N to be the greater of the first minimum data rate divisor and the second minimum data rate divisor.

30. The method of claim 29, wherein the autonegotiation process further comprises:
transmitting a first maximum data rate divisor to a link partner;
receiving a second maximum data rate divisor from the link partner; and
refraining from selecting the data rate divisor N when the first maximum data rate divisor is less than the second minimum data rate divisor and the second maximum data rate divisor is less than the first minimum data rate divisor.