CN112543158A - Serdes architecture for 64B/66B conversion - Google Patents

Serdes architecture for 64B/66B conversion Download PDF

Info

Publication number
CN112543158A
CN112543158A CN202011504058.1A CN202011504058A CN112543158A CN 112543158 A CN112543158 A CN 112543158A CN 202011504058 A CN202011504058 A CN 202011504058A CN 112543158 A CN112543158 A CN 112543158A
Authority
CN
China
Prior art keywords
pcs
pma
module
data
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011504058.1A
Other languages
Chinese (zh)
Inventor
李宁
宣学雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ziguang Tongchuang Electronics Co ltd
Shenzhen Pango Microsystems Co Ltd
Original Assignee
Shenzhen Ziguang Tongchuang Electronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ziguang Tongchuang Electronics Co ltd filed Critical Shenzhen Ziguang Tongchuang Electronics Co ltd
Priority to CN202011504058.1A priority Critical patent/CN112543158A/en
Publication of CN112543158A publication Critical patent/CN112543158A/en
Priority to KR1020237017733A priority patent/KR20230093046A/en
Priority to PCT/CN2021/082551 priority patent/WO2022126895A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/49Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
    • H04L25/4906Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes
    • H04L25/4908Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes using mBnB codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M9/00Parallel/series conversion or vice versa
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/03Shaping networks in transmitter or receiver, e.g. adaptive shaping networks
    • H04L25/03828Arrangements for spectral shaping; Arrangements for providing signals with specified spectral properties
    • H04L25/03866Arrangements for spectral shaping; Arrangements for providing signals with specified spectral properties using scrambling

Abstract

The invention provides a serdes framework of 64B/66B conversion, which comprises an XLGMII, a PCS layer and a PMA layer, wherein the interface bit width of the PCS layer and the PMA layer is configured to be 66 bit. According to the serdes framework of 64B/66B conversion, the serdes framework of 64B/66B conversion reduces the number of clocks inside a PCS (personal communications System) by configuring the PCS and the interface data width of the PMA to be 66bit, effectively reduces the working frequency and logic complexity inside the PCS, reduces the time sequence requirement of digital design inside the PCS, can effectively reduce the chip design cost, and improves the chip performance and reliability.

Description

Serdes architecture for 64B/66B conversion
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of IP design of FPGA chips, in particular to a serdes framework for 64B/66B conversion.
[ background of the invention ]
A High-Speed Serial Transceiver (High Speed Serial Transceiver) is an important functional component in a High-Speed chip including a Field Programmable Gate Array (FPGA), and is composed of an IP such as a Physical Media Adaptation (PMA) layer and a Physical Coding Sub-layer (PCS). The PCS supports a flexible Word Alignment function; channel Bonding: channel alignment, ctc (clock Tolerance compensation): the common functions of compensating the tiny frequency difference of the sending clock and the receiving clock and the like are realized.
In serdes IP, 64B _66B codec is a common function that needs to be supported. In the architecture in the prior art, a sending side needs to switch clock frequencies through tx buffer in a tx _ gear _ box, and since the clock frequencies become faster, a read operation is suspended every 33 clock cycles, and an idle byte is inserted to ensure bandwidth matching. Then the 66bit data is integrated into 64bit data, and the idle byte is deleted to adapt to the requirements of the PCS/PMA interface.
The receiving side is opposite to the transmitting side, in the receiving speed changing box rx _ gear _ box, the 64-bit data is spliced into 66-bit data, and the 66-bit data is written into the rx buffer for clock domain switching, and as the clock domain is switched to a clock domain with lower clock frequency, one beat writing operation is suspended every 33 clock cycles, so that the receiving channel bandwidth matching is ensured.
In the structure, the PCS and PMA interfaces are 64bit (16bit, 20bit, 32bit and 40bit) bit wide, the interface rate is the ratio of the high-speed differential line rate to the bit wide, the PCS internal processing comprises two clock domains, a gear module is required to perform clock domain switching, data is reintegrated, the bit wide is converted, and the complexity of chip design is relatively high.
[ summary of the invention ]
The invention aims to provide a serdes framework of 64B/66B conversion.
In order to achieve the above purpose, the present invention provides a serdes architecture for 64B/66B conversion, which includes an XLGMII, a PCS layer and a PMA layer, and the interface bit width of the PCS layer and the PMA layer is configured to be 66 bits.
Preferably, the PCS layer comprises a PCS transmitting device, the PCS transmitting device comprises a coding module and a scrambling module,
the encoding module is used for encoding the interface data of the XLGMII into 64B _66B block data;
the scrambling module is used for scrambling the 64B _66B block data.
Preferably, the PMA layer comprises a PMA transmitting device.
Preferably, the PCS transmitting device and the PMA transmitting device are in the same clock domain.
Preferably, the PCS layer comprises a PCS receiving device, the PCS receiving device comprises a block synchronization module, a descrambling module and a decoding module,
the block synchronization module is used for synchronously defining the received 64B _66B block data according to the block synchronization header information;
the descrambling module is used for descrambling the 64B _66B block data;
the decoding module is configured to decode the 64B _66B block data after descrambling and send the decoded 64B _66B block data to the XLGMII.
Preferably, the PMA layer comprises a PMA receiving device.
Preferably, the PCS receiving device and the PMA receiving device are in the same clock domain.
The invention has the beneficial effects that: the serdes architecture of 64B/66B conversion is provided, the serdes architecture of 64B/66B conversion reduces the number of clocks inside a PCS (physical control System) by configuring the PCS and the interface data width of PMA to be 66bit, effectively reduces the working frequency and logic complexity inside the PCS, reduces the time sequence requirement of digital design inside the PCS, can effectively reduce the chip design cost, and improves the chip performance and reliability.
[ description of the drawings ]
FIG. 1 is a schematic structural diagram of a serdes architecture for 64B/66B conversion according to an embodiment of the present invention;
fig. 2 is a schematic diagram of frequency generation of a sending direction clock according to an embodiment of the present invention;
fig. 3 is a schematic diagram of frequency generation of a receive direction clock according to an embodiment of the present invention.
[ detailed description ] embodiments
The invention is further described with reference to the following figures and embodiments.
It should be noted that all directional indicators (such as upper, lower, left, right, front, back, inner, outer, top, bottom … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components in a specific posture (as shown in the figure), and if the specific posture is changed, the directional indicator is changed accordingly.
The embodiment of the invention provides a 64B/66B converted servers architecture, which comprises an XLGMII (Media Independent Interface), a PCS (personal communications System) layer and a PMA (physical attachment management) layer, wherein the Interface bit width of the PCS layer and the PMA layer is configured to be 66 bit.
The serdes framework of 64B/66B conversion of the invention reduces the number of PCS internal clocks, effectively reduces the working frequency and logic complexity in PCS, reduces the time sequence requirement of digital design in PCS, can effectively reduce the chip design cost and improve the chip performance and reliability by configuring PCS and the interface data width with PMA to be 66 bit.
Further, a line rate of 1/66 in frequency between the PCS layer and the PMA layer is configured.
In the embodiment, the PCS layer comprises a PCS transmitting device which comprises a coding module and a scrambling module,
the encoding module is used for encoding the XLGMII data into 64B _66B block data;
the scrambling module is used for scrambling the 64B _66B block data.
In this embodiment, the PCS layer comprises a PCS receiving device, the PCS receiving device comprises a block synchronization module, a descrambling module and a decoding module,
the block synchronization module is used for synchronously defining the received 64B _66B block data according to the block synchronization information;
the descrambling module is used for descrambling the 64B _66B block data;
the decoding module is configured to decode the 64B _66B block data after descrambling and send the decoded 64B _66B block data to the XLGMII.
Preferably, the PMA layer comprises a PMA transmitting device. Wherein, the PCS transmitting device and the PMA transmitting device are in the same clock domain.
Preferably, the PMA layer comprises a PMA receiving device. Wherein, the PCS receiving device and the PMA receiving device are in the same clock domain.
As shown in fig. 1, a 64B/66B converted serdes architecture provided in the embodiment of the present invention includes an XLGMII (Media Independent Interface), a PCS layer and a PMA layer, where Interface bit width of the PCS layer and the PMA layer is configured to be 66bit, and a line rate between the PCS layer and the PMA layer is 1/66.
The PCS layer comprises a PCS Transmit device and a PCS Receive device.
The PCS Transmit device comprises an encoding module encode and a scrambling module scrambler.
The encoding module encode is used for encoding the interface data of the XLGMII into 64B _66B block data; 8 data bytes or control words, and a 2-bit sync header (sync _ header) constitute one block of data.
The interface data in the sending direction XLGMII comprises TXD [127:0 ]: data transmission channel, 128 bits parallel data; TXC [15:0 ]: transmitting a channel control signal, wherein when the TXC is 0, the channel control signal indicates that data is transmitted on the TXD, and when the TXC is 1, the channel control signal indicates that control characters are transmitted on the TXD; TX _ CLK: the reference clocks of TXD and TXC sample data on both the rising and falling edges of the clock signal.
The scrambling module scrambles the 64B _66B block data to reduce the number of data connection of '1' to '0' in the 64B _66B block data, and a synchronous head (sync _ header) does not scramble.
The PCS receiving device PCS Receive comprises a block synchronization module block _ sync, a descrambling module descramble and a decoding module decode.
The block synchronization module block _ sync is used for synchronously defining the received 64B _66B block data according to the information of a block synchronization header (sync _ header);
the descrambling module is used for descrambling the 64B _66B block data;
the decoding module is configured to decode the 64B _66B block data after descrambling and send the decoded 64B _66B block data to the XLGMII.
The interface data in the receiving direction XLGMII comprises RXD [127:0 ]: data receive channel, 128 bits parallel data; RXC [15:0 ]: receiving a channel control signal, wherein when RXC is 0, data is transmitted on RXD, and when RXC is 1, control characters are transmitted on RXD; RX _ CLK: the reference clocks for RXD and RXC sample data on both the rising and falling edges of the clock signal.
Preferably, the PMA layer includes a PMA Transmitter apparatus PMA Transmitter and a PMA Receiver apparatus PMA Receiver.
The PCS transmitting device PCS Transmit and the PMA transmitting device PMA Transmit are in the same clock domain, namely, all modules in the transmitting direction work in the same clock domain, and the clock frequency is the transmitting serial data tx _ serial _ data rate/66, so that frequency switching is not needed, resources are saved, and the design complexity is reduced. The PCS receiving device PCS Receive and the PMA receiving device PMA Receive are in the same clock domain, namely, all modules in the receiving direction work in the same clock domain, and the clock frequency is the receiving serial data rx _ serial _ data rate/66, so that frequency switching is not needed, resources are saved, and the design complexity is reduced.
Further, when the PCS layer is generated by the PMA layer by using a clock and has a bit width of 66bit, the frequency of the transmitting side to the parallel clock PMA _ tclk is the transmitting serial data tx _ serial _ data rate/66, and the receiving side receives the serial data rx _ serial _ data rate/66 to the frequency of the parallel clock PMA _ rclk.
The data width of the interface inside the PCS layer and with the PMA layer is 66bit, so that the number of clocks inside the PCS layer is reduced, the working frequency and logic complexity inside the PCS layer are effectively reduced, the time sequence requirement of digital design inside the PCS layer is reduced, the design cost of a chip can be effectively reduced, and the performance and reliability of the chip are improved.
As shown in fig. 2, for generating a schematic diagram of the frequency of the sending-direction parallel clock pma _ tclk, a first initial frequency divider D10 is used for setting a proportional relationship between the sending serial data tx _ serial _ data (txp/n) and the phase-locked loop clock pll clock, and generating a high-speed serial clock s _ clk to the parallel-serial output PISO; and after frequency division is carried out by a first frequency divider D11 and a first frequency divider D12, a sending direction parallel clock pma _ tclk providing a PCS layer is obtained; and the transmission data tx _ data [65:0] outputs the transmission serial data tx _ serial _ data (txp/n) via the parallel serial output PISO. When the interface bit width is 66bit, set D11 to 11 and D12 to 3, i.e., generate the transmit direction parallel clock pma _ tclk at the frequency of the transmit serial data tx _ serial _ data rate/66.
As shown in fig. 3, for the frequency generation schematic diagram of the receiving direction clock pma _ rclk, a second initial divider D20 is used for setting the proportional relationship between the received serial data rx _ serial _ data (rxd) and the CDR recovery clock rec _ clk, and generating a high-speed serial clock rec _ sclk to the serial parallel output SIPO; and after frequency division is carried out by a second frequency divider D21 and a second frequency divider D22, a receiving direction parallel clock pma _ rclk providing a PCS layer is obtained; and receiving serial data rx _ serial _ data (rxd) outputting the received data rx _ data [65:0] via serial-to-parallel output SIPO. When the interface bit width is 66bit, set D21 to 11 and D22 to 3, i.e., generate the receive direction parallel clock pma _ rclk at the frequency of the receive serial data rx _ serial _ data rate/66.
The serdes framework of 64B/66B conversion provided by the embodiment of the invention configures the bit width of the interface data between the PCS layer and the PMA layer into 66bit, and the corresponding interface clock frequency is the tx _ serial _ data transmission rate/66, so that the internal clock frequency of the PCS layer is reduced, and the PCS/XLGIII interface rate is the same as the PCS/PMA interface rate due to the bit width of the PCS/XLGIII interface. The structure has the advantages that only one clock domain is arranged inside the whole PCS layer, a gear box module is omitted, resources are saved, and design complexity is reduced.
While the foregoing is directed to embodiments of the present invention, it will be understood by those skilled in the art that various changes may be made without departing from the spirit and scope of the invention.

Claims (7)

1. A serdes architecture for 64B/66B conversion is characterized by comprising an XLGMII, a PCS layer and a PMA layer, and interface bit widths of the PCS layer and the PMA layer are configured to be 66 bits.
2. The serdes architecture for 64B/66B conversion, as set forth in claim 1, wherein said PCS layer comprises PCS transmitting means, said PCS transmitting means comprising a coding module and a scrambling module,
the encoding module is used for encoding the interface data of the XLGMII into 64B _66B block data;
the scrambling module is used for scrambling the 64B _66B block data.
3. The 64B/66B converted serdes architecture of claim 2, wherein the PMA layer comprises a PMA sending device.
4. A 64B/66B converted serdes architecture as claimed in claim 3, wherein said PCS transmit means and PMA transmit means are in the same clock domain.
5. The serdes architecture for 64B/66B conversion, as recited in claim 1, wherein the PCS layer comprises a PCS receiving device comprising a block synchronization module, a descrambling module, and a decoding module,
the block synchronization module is used for synchronously defining the received 64B _66B block data according to the block synchronization header information;
the descrambling module is used for descrambling the 64B _66B block data;
the decoding module is configured to decode the 64B _66B block data after descrambling and send the decoded 64B _66B block data to the XLGMII.
6. The 64B/66B converted serdes architecture of claim 5, wherein the PMA layer comprises a PMA receiving device.
7. A64B/66B converted serdes architecture as claimed in claim 6, wherein the PCS and PMA receiving devices are in the same clock domain.
CN202011504058.1A 2020-12-18 2020-12-18 Serdes architecture for 64B/66B conversion Pending CN112543158A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202011504058.1A CN112543158A (en) 2020-12-18 2020-12-18 Serdes architecture for 64B/66B conversion
KR1020237017733A KR20230093046A (en) 2020-12-18 2021-03-24 serdes architecture of 64B/66B conversion
PCT/CN2021/082551 WO2022126895A1 (en) 2020-12-18 2021-03-24 Serdes architecture for 64b/66b conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011504058.1A CN112543158A (en) 2020-12-18 2020-12-18 Serdes architecture for 64B/66B conversion

Publications (1)

Publication Number Publication Date
CN112543158A true CN112543158A (en) 2021-03-23

Family

ID=75019055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011504058.1A Pending CN112543158A (en) 2020-12-18 2020-12-18 Serdes architecture for 64B/66B conversion

Country Status (3)

Country Link
KR (1) KR20230093046A (en)
CN (1) CN112543158A (en)
WO (1) WO2022126895A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113904756A (en) * 2021-10-15 2022-01-07 深圳市紫光同创电子有限公司 Ethernet system based on 10Gbase-R protocol
WO2022126895A1 (en) * 2020-12-18 2022-06-23 深圳市紫光同创电子有限公司 Serdes architecture for 64b/66b conversion

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6650638B1 (en) * 2000-03-06 2003-11-18 Agilent Technologies, Inc. Decoding method and decoder for 64b/66b coded packetized serial data
CN101610134A (en) * 2009-07-10 2009-12-23 中兴通讯股份有限公司 The method of 64B/66B coding and decoding device and realization 64B/66B encoding and decoding
US20150381338A1 (en) * 2014-06-30 2015-12-31 International Business Machines Corporation Latency-optimized physical coding sublayer
CN109962754A (en) * 2019-02-15 2019-07-02 深圳市紫光同创电子有限公司 It is adapted to PCS sending device, the reception device of 64B/66B coding

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9736086B1 (en) * 2011-04-29 2017-08-15 Altera Corporation Multi-function, multi-protocol FIFO for high-speed communication
CN105681018B (en) * 2016-01-14 2019-01-15 深圳市紫光同创电子有限公司 Data sending, receiving method and device and PCS transmitting and receiving device
US10742782B2 (en) * 2017-05-26 2020-08-11 Xilinx, Inc. Time stamping network device
CN109002409A (en) * 2017-06-07 2018-12-14 深圳市中兴微电子技术有限公司 A kind of bit wide converting means and method
CN112543158A (en) * 2020-12-18 2021-03-23 深圳市紫光同创电子有限公司 Serdes architecture for 64B/66B conversion

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6650638B1 (en) * 2000-03-06 2003-11-18 Agilent Technologies, Inc. Decoding method and decoder for 64b/66b coded packetized serial data
CN101610134A (en) * 2009-07-10 2009-12-23 中兴通讯股份有限公司 The method of 64B/66B coding and decoding device and realization 64B/66B encoding and decoding
US20150381338A1 (en) * 2014-06-30 2015-12-31 International Business Machines Corporation Latency-optimized physical coding sublayer
CN109962754A (en) * 2019-02-15 2019-07-02 深圳市紫光同创电子有限公司 It is adapted to PCS sending device, the reception device of 64B/66B coding

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
十二点过九分: "10G以太网接口(二):接口的基本结构", 《知乎HTTPS://ZHUANLAN.ZHIHU.COM/P/97792312》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022126895A1 (en) * 2020-12-18 2022-06-23 深圳市紫光同创电子有限公司 Serdes architecture for 64b/66b conversion
CN113904756A (en) * 2021-10-15 2022-01-07 深圳市紫光同创电子有限公司 Ethernet system based on 10Gbase-R protocol
CN113904756B (en) * 2021-10-15 2023-11-07 深圳市紫光同创电子有限公司 Ethernet system based on 10Gbase-R protocol

Also Published As

Publication number Publication date
WO2022126895A1 (en) 2022-06-23
KR20230093046A (en) 2023-06-26

Similar Documents

Publication Publication Date Title
US8886840B2 (en) System and method for implementing a single chip having a multiple sub-layer PHY
EP1388975B1 (en) System and method for data transition control in a multirate communication system
CA2536624C (en) Programmable logic device including programmable multi-gigabit transceivers
WO2020124566A1 (en) Clock domain crossing processing circuit
US10572416B1 (en) Efficient signaling scheme for high-speed ultra short reach interfaces
CN102710240B (en) Signal processing apparatus, method, SERDES and processor
US6101567A (en) Parallel backplane physical layer interface with scalable data bandwidth
US20100257293A1 (en) Route Lookup System, Ternary Content Addressable Memory, and Network Processor
CN112543158A (en) Serdes architecture for 64B/66B conversion
CN111193891A (en) FPGA-based Camera Link data receiving system and transmission method
CN112241384A (en) Universal high-speed serial differential signal shunt circuit and method
EP1388939B1 (en) System and method for performing on-chip synchronization of system signals utilizing off-chip harmonic signal
CN113904756B (en) Ethernet system based on 10Gbase-R protocol
US10404627B2 (en) Multi-function, multi-protocol FIFO for high-speed communication
CN112286853B (en) FPGA system supporting multiple protocols and data processing method
CN103078667A (en) Low voltage differential signaling (LVDS) high-speed data transmission method based on cat-5
US7728625B1 (en) Serial interface for programmable logic devices
CN106209292B (en) Method and device for realizing SDH optical interface of STM-1 by utilizing oversampling method
CN201910048U (en) LVDS (Low Voltage Differential Signaling) node module
WO2022266959A1 (en) Chip test circuit and method
CN210804154U (en) Dual-channel large-bandwidth waveform generation system
CN113676310B (en) Data transmission device for radar system
Zhang et al. ADC, DAC Data Transmission Based on JESD204 Protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210323

RJ01 Rejection of invention patent application after publication