WO2022126893A1 - Bridging module for serdes interface - Google Patents

Bridging module for serdes interface Download PDF

Info

Publication number
WO2022126893A1
WO2022126893A1 PCT/CN2021/082547 CN2021082547W WO2022126893A1 WO 2022126893 A1 WO2022126893 A1 WO 2022126893A1 CN 2021082547 W CN2021082547 W CN 2021082547W WO 2022126893 A1 WO2022126893 A1 WO 2022126893A1
Authority
WO
WIPO (PCT)
Prior art keywords
selector
module
output
data
receive
Prior art date
Application number
PCT/CN2021/082547
Other languages
French (fr)
Chinese (zh)
Inventor
袁磊
宣学雷
李宁
Original Assignee
深圳市紫光同创电子有限公司
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 深圳市紫光同创电子有限公司 filed Critical 深圳市紫光同创电子有限公司
Priority to KR1020237016819A priority Critical patent/KR20230086788A/en
Publication of WO2022126893A1 publication Critical patent/WO2022126893A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4009Coupling between buses with data restructuring
    • G06F13/4018Coupling between buses with data restructuring with data-width conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the technical field of integrated circuit chips, and in particular, to a bridge module for a serdes interface.
  • the serdes interface on an FPGA Field Programmable Gate Array, programmable gate array
  • FPGA Field Programmable Gate Array, programmable gate array
  • the PCS rx part is responsible for receiving serial-to-parallel converted data, decoding the aligned data, and supporting multi-channel data alignment and frequency error compensation. Therefore, the quality of the data processing delay of the PCS rx part has a great impact on the data transmission performance of the entire serdes.
  • each module instantiates the afifo module. Since each module starts the data writing operation from the address of half the afifo depth, and starts the data reading from the '0' address, when multiple functions are enabled, the sequential processing of the data causes the delay to accumulate gradually, and the overall processing delay is over large, which is not conducive to the improvement of the overall serdes data processing performance.
  • the purpose of this application is to provide a bridge module for serdes interface.
  • the application provides a bridge module for serdes interface, including write control, read control and Be_fifo submodule;
  • the write control includes a cascaded channel control sub-module, a first selector, a compensation frequency difference deletion sub-module and a second selector;
  • the channel control sub-module is used to receive decoded data and afifo write enable, and output the processed write data and afifo write enable;
  • the first selector is used to receive the output of the channel control sub-module. Write data and afifo write enable and receive decoded data and afifo write enable, and select output;
  • the compensation frequency difference deletion sub-module is used to receive the signal output by the first selector, and output the processed write input data and afifo write enable;
  • the second selector is used to receive the signal output by the compensation frequency difference deletion sub-module and the signal output by the first selector, and select and output to afifo;
  • the readout control includes a channel readout control submodule, a third selector, a fourth selector, a frequency difference compensation submodule, a fifth selector and a sixth selector;
  • the channel read control submodule is used to receive the afifo read enable, the data water level status information in the current channel afifo, and the status information of the slave channel, and output the processed read enable signals of all channels;
  • the third selector Used to receive all channel read enable signals and received signals output by the channel read control sub-module, and select the output;
  • the fourth selector is used to receive the afifo read enable and receive the output of the third selector.
  • the compensation frequency difference complement sub-module is used to receive the signal output by the fourth selector, and output the processed signal, and receive the read data of afifo, and output the processed complement signal
  • the fifth selector is used to receive the signal output by the compensation frequency difference compensation sub-module and the signal output by the fourth selector, and select and output to afifo
  • the sixth selector is used for Receive the read data of the afifo and the complement signal output by the compensation frequency difference complement sub-module, and select the output.
  • control end of the first selector and the control end of the second selector receive the first mode configuration signal.
  • control end of the fourth selector, the control end of the fifth selector and the control end of the sixth selector receive the first mode configuration signal; the control end of the third selector, A second mode configuration signal is received.
  • the bridge module further includes a bypass control sub-module and a seventh selector;
  • the bypass control submodule is used to receive the decoded data and output the processed data
  • the seventh selector is configured to receive the data output by the bypass control sub-module and the signal output by the sixth selector, and select and output the configuration output data and the data indication signal.
  • control end of the seventh selector receives a mode configuration signal.
  • the bridge module further includes a state generating sub-module; the state generating sub-module is configured to receive the signal output by the sixth selector, and after processing, output the function control signal to the channel control sub-module.
  • the state generation submodule is used to generate data alignment state information.
  • a bridge module for a serdes interface is provided, which reduces the data processing delay and improves the transmission performance of the entire serdes port.
  • FIG. 1 is a structural diagram of a bridge module according to an embodiment of the present application.
  • an embodiment of the present application provides a bridge module rx_bridge_unit for a Serdes (SERializer/DESerializer, serializer/deserializer) interface.
  • the bridge module rx_bridge_unit includes a write control wr_ctrl, a read control rd_ctrl and a Be_fifo (afifo) submodule.
  • the Be_fifo (first in first out, first-in, first-out queue) sub-module includes afifo (memory module), and the Be_fifo sub-module is used to output the data water level status information fifo_state of afifo according to the data water level in the afifo.
  • the write control wr_ctrl includes a cascaded channel control submodule cb_ctrl, a first selector X1, a compensation frequency difference deletion submodule ctc_del_ctrl and a second selector X2;
  • the channel control sub-module cb_ctrl is used to receive the decoded data data_after_decoder and afifo write enable rxfifo_wr_en, and output the processed write data cb_wr_start, afifo write enable mcb_dout;
  • the first selector X1 is used to receive the write data cb_wr_start and afifo write enable mcb_dout and receive decoded data data_after_decoder and aFIFO write enable rxfifo_wr_en output by the channel control submodule cb_ctrl, and select the output;
  • the decoded data data_after_decoder and the afifo write enable rxfifo_wr_en received by the first selector X1 in the figure are represented by a line;
  • the input and output data and enable signal lines are represented by one line, and the data and enable signals on the same line are distinguished by ",".
  • the compensation frequency difference deletion sub-module ctc_del_ctrl is used to receive the write data ctc_din and afifo write enable ctc_wr_en output by the first selector X1, and output the processed write data ctc_dout and afifo write enable ctc_fifo_wr_start;
  • the second selector X2 is used to receive the signal output by the compensation frequency difference deletion sub-module ctc_del_ctrl and receive the signal write data ctc_din (Mcb-dout) and afifo write enable ctc_wr_en (Mcb fifo_wr_start) output by the first selector X1, and Select output write data wr_ctrl_dout and afifo write enable fifo_wr_start to afifo.
  • the readout control rd_ctrl includes a channel read control submodule cb_rden_ctrl, a third selector X3, a fourth selector X4, a frequency difference compensation submodule ctc_add_ctrl, a fifth selector X5 and a sixth selector X6.
  • the channel read control sub-module cb_rden_ctrl is used to receive the afifo read enable rx_fifo_rden, the data water level status information fifo_state in the current channel (main channel) afifo, the state information fifo_state_cin of the slave channel, and output the processed read enable signal master_cb_rden for all channels;
  • the third selector X3 is used to receive all channel read enable signals master_cb_rden output by the channel read control sub-module cb_rden_ctrl and receive the cascaded signal cb_rden_cin, and select the output; wherein, the cascaded signal cb_rden_cin is used to transmit the afifo output by the main channel Read enable signal to ensure that all channel data are read at the same time;
  • the fourth selector X4 is used to receive the afifo read enable rx_fifo_rden and receive the signal cb_rden output by the third selector X3, and select the output;
  • Compensation frequency difference compensation submodule ctc_add_ctrl for receiving the signal ctc_fifo_rden_in output by the fourth selector X4, and outputting the processed signal ctc_fifo_rden, and receiving the readout data of afifo, and outputting the processed complement signal ctc_add_dout;
  • the fifth selector X5 is used to receive the signal ctc_fifo_rden output by the compensation frequency difference compensation sub-module ctc_add_ctrl and receive the signal output by the fourth selector X4, and select and output the read enable signal fifo_rd_en to afifo; read enable signal fifo_rd_en;
  • the sixth selector X6 is used to receive the read data of afifo and the complement signal ctc_add_dout output by the compensation frequency difference complement sub-module ctc_add_ctrl, and select the output.
  • the third selector X3 according to the configuration of the master and slave channels, the master channel selects the afifo read enable signal master_cb_rden generated by this channel; the slave channel selects the cascaded signal cb_rden_cin.
  • cb_rden is the afifo read enable signal finally generated by the data alignment function to ensure that all channels start reading data from afifo at the same time.
  • the compensation frequency difference compensation sub-module ctc_add_ctrl inserts the special character skip pattern into the data read by afifo, and the signal ctc_fifo_rden is to pull down a cycle after a certain number of special character insertion operations to complete the frequency difference compensation of the data;
  • the difference complement sub-module ctc_add_ctrl inserts the special character skip pattern into the data read by afifo, and the complement signal ctc_add_dout is the data adjusted by the frequency difference compensation sub-module ctc_add_ctrl.
  • the channel read control sub-module cb_rden_ctrl of the main channel judges the received data water level status information fifo_state in the channel afifo and the data water level status information fifo_state_cin in the slave channel afifo.
  • the main channel channel read control sub-module cb_rden_ctrl transmits the externally received read enable rx_fifo_rden to the afifo of this channel, and starts the data read operation; at the same time, the cascade signal cb_rden_cout is transmitted to all slave channels, all slave channels
  • the afifo read enable uses the cascaded transmission signal of the master channel to ensure that the master channel and the slave channel start reading afifo data at the same time to ensure data alignment.
  • each channel lane uses its own bridge module rx_bridge_unit module; among them, the channel Lane 0 is set as the master channel, and the other channels are set as slave channels.
  • control terminal of the first selector X1 and the control terminal of the second selector X2 receive the first mode configuration signal cfg_rebridge_mode.
  • control terminal of the fourth selector X4, the control terminal of the fifth selector X5 and the control terminal of the sixth selector X6 receive the first mode configuration signal cfg_rebridge_mode. Further, the control end of the third selector X3 receives the second mode configuration signal cfg_rxbu_slave. The second mode configuration signal cfg_rxbu_slave is used to configure the state of the master and slave channels.
  • the bridge module (rx_bridge_unit) further includes a bypass control submodule by_pass_ctrl and a seventh selector X7.
  • the bypass control sub-module by_pass_ctrl is used to receive the decoded data data_after_decoder and output the processed data by_pass_dout;
  • the seventh selector X7 is configured to receive the data by_pass_dout output by the bypass control sub-module by_pass_ctrl and receive the frequency difference adjusted output data ctc_dout output by the sixth selector X6, and select and output the configuration output data data_after_rxbu and the data indication signal data_vld_after_rxbu. Further, the control terminal of the seventh selector X7 receives the first mode configuration signal cfg_rebridge_mode.
  • the bridge module also supports by_pass (bypass) selection, that is, by setting the bypass control submodule by_pass_ctrl, so that the internal Be_fifo submodule is not enabled, and the data is output only after the bypass control submodule by_pass_ctrl is sampled.
  • the bridge module (rx_bridge_unit) further includes a status generation submodule mcb_status_gen.
  • the status generation sub-module mcb_status_gen is used to receive the signal output by the sixth selector X6, and after processing, output the function control signal channel bonding to the channel control sub-module cb_ctrl; to enable all channel data adjustment and special character apattern detection.
  • the status generation submodule mcb_status_gen is used to generate data alignment status information bonding_status; specifically, the status generation submodule mcb_status_gen obtains the data alignment status information bonding_status and data alignment status information through the built-in state machine according to the results of the special character apattern detection in all channel data. bonding_status is pulled high to indicate that all channel data alignment is complete.
  • the first mode configuration signal cfg_rebridge_mode is used to configure the working mode of the bridge module rx_bridge_unit, and a plurality of sub-modules are enabled to complete the selected function.
  • the bridging module rx_bridge_unit When the bridging module rx_bridge_unit is configured to bridge fifo mode through the first mode configuration signal cfg_rebridge_mode, the bridging module rx_bridge_unit only enables the Be_fifo sub-module after receiving the decoded data data_after_decoder to complete the data bridging and compensate the phase difference.
  • the read and write start addresses of the Be_fifo submodule can be configured as 3 and 1, respectively, so as to reduce the overall processing delay.
  • the channel control sub-module cb_ctrl in each channel completes the data adjustment through the special character apattern in the data, and writes it to the Be_fifo sub-module for clock domain conversion.
  • the main channel channel read control sub-module cb_rden_ctrl outputs fifo read enable to all channels according to the data water level status in the Be_fifo sub-modules of all channels to ensure data alignment.
  • the alignment of multi-channel data is controlled by the state machine in the status generation sub-module mcb_status_gen of the main channel.
  • the optimal configuration of fifo read and write start addresses can greatly improve this problem.
  • the read and write start addresses are different. For example, after the ctc function is enabled and nominal empty mode is configured, the read and write start addresses are both configured as 0.
  • the bridging module rx_bridge_unit When the bridging module rx_bridge_unit is configured to the clock compensation frequency difference mode ctc mode through the first mode configuration signal cfg_rebridge_mode, in order to minimize the delay caused by the data processing of the Be_fifo sub-module, the bridging module rx_bridge_unit supports the nominal empty mode configuration. In this mode, the compensation frequency difference deletion sub-module ctc_del_ctrl directly deletes the special characters skip pattern in the data, and writes the processed data into the Be_fifo sub-module for temporary storage and clock domain conversion.
  • the ctc_add_ctrl submodule ctc_add_ctrl for the compensation frequency difference compensation of the read clock domain directly pulls down the read enable after the be_fifo submodule reads "empty", and indicates invalid data through the data indication signal data_vld_after_rxbu.
  • the read and write start addresses of the Be_fifo sub-module are both configured as 0.
  • the bridge module rx_bridge_unit configures the required sub-modules through the first mode configuration signal cfg_rebridge_mode, and supports the normal empty mode selection under the clock compensation frequency difference ctc processing.
  • the embodiment of the present application also provides a PCS rx architecture comprising the above-mentioned bridge module rx_bridge_unit, the bridge module rx_bridge_unit is located before the transmission module gear unit, and the eighth selector X8 is also included between the bridge module rx_bridge_unit and the transmission module gear unit.
  • the bridge module rx_bridge_unit integrates the functions implemented by all Be_fifo submodules, and only one afifo is instantiated in the bridge module rx_bridge_unit. Due to the reduction in the use of afifo, when multiple functions are enabled, the processing delay caused by data temporary storage and clock domain conversion is greatly reduced.
  • the read and write start addresses of afifo in the bridge module rx_bridge_unit can be configured; in the case of ensuring normal data processing, the time delay caused by clock domain conversion can be minimized by changing the read and write start addresses.
  • the bridge module rx_bridge_unit supports the nominal empty mode, that is, the afifo write and read data operations start from the '0' address, so as to ensure the lowest processing delay in the process.
  • the processing delay required by the PCS rx architecture of the prior art and the PCS rx architecture of the bridge module rx_bridge_unit used in the present application is 18rclks (read clock unit cycle); frequency difference compensation
  • the processing delay of the PCS rx architecture of the bridge module rx_bridge_unit in this application is 10rclks, which is lower than 22.5rclks in the prior art PCS rx architecture
  • the application uses the bridge module rx_bridge_unit.
  • the processing latency of the PCS rx architecture is 24rclks, which is lower than 39.5rclks in the prior art PCS rx architecture.
  • the PCS rx architecture of the bridge module rx_bridge_unit used in this application requires lower processing delay and better transmission performance of serdes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Communication Control (AREA)

Abstract

Provided is a bridging module for a SerDes interface. The bridging module comprises write-in control, read-out control, and a Be_FIFO sub-module, wherein the write-in control comprises a channel control sub-module, a first selector, a compensation frequency difference deletion sub-module and a second selector which are cascaded; and the read-out control comprises a channel read control sub-module, a third selector, a fourth selector, a compensation frequency difference coverage sub-module, a fifth selector and a sixth selector. By means of the bridging module for a SerDes interface in the present application, the processing delay of data is reduced, and the transmission performance of the whole SerDes port is improved.

Description

用于serdes接口的桥接模块Bridge module for serdes interface 【技术领域】【Technical field】
本申请涉及集成电路芯片技术领域,尤其涉及一种用于serdes接口的桥接模块。The present application relates to the technical field of integrated circuit chips, and in particular, to a bridge module for a serdes interface.
【背景技术】【Background technique】
作为一种主流的时分多路复用、点对点的串行通信技术,FPGA(Field Programmable Gate Array,可编程门阵列)上的serdes接口可以通过较少的引脚实现较高的数据速率,满足了PCIE、SATA等多种协议场景下,数据吞吐量的需求。As a mainstream time-division multiplexing, point-to-point serial communication technology, the serdes interface on an FPGA (Field Programmable Gate Array, programmable gate array) can achieve a higher data rate through fewer pins, satisfying the Data throughput requirements in multiple protocol scenarios such as PCIE and SATA.
作为serdes的重要组成部分,PCS rx部分负责接收串并转换后的数据,并将对齐处理后的数据进行解码操作,同时支持多通道数据对齐、频差补偿功能。因此,PCS rx部分数据处理时延的好坏,对整个serdes数据传输性能有着极大的影响。As an important part of serdes, the PCS rx part is responsible for receiving serial-to-parallel converted data, decoding the aligned data, and supporting multi-channel data alignment and frequency error compensation. Therefore, the quality of the data processing delay of the PCS rx part has a great impact on the data transmission performance of the entire serdes.
现有技术中PCS rx部分,将多通道数据对齐等功能在各个单独模块实现,通过多个mux选择是否支持相关功能。为了完成数据的暂存、时钟域转换,各个模块均例化了afifo模块。由于各模块均从afifo深度一半的地址开始数据写入操作,从‘0’地址开始数据读取,当多个功能被使能,数据的顺序处理造成时延会逐步积累,总体处理时延过大,不利于整体serdes数据处理性能的提升。In the PCS rx part of the prior art, functions such as multi-channel data alignment are implemented in each individual module, and whether to support related functions is selected through multiple mux. In order to complete the temporary storage of data and clock domain conversion, each module instantiates the afifo module. Since each module starts the data writing operation from the address of half the afifo depth, and starts the data reading from the '0' address, when multiple functions are enabled, the sequential processing of the data causes the delay to accumulate gradually, and the overall processing delay is over large, which is not conducive to the improvement of the overall serdes data processing performance.
【申请内容】【Contents of application】
本申请的目的在于提供了一种用于serdes接口的桥接模块。The purpose of this application is to provide a bridge module for serdes interface.
为达到上述目的,本申请提供了一种用于serdes接口的桥接模块,包括写入控制、读出控制和Be_fifo子模块;In order to achieve the above object, the application provides a bridge module for serdes interface, including write control, read control and Be_fifo submodule;
所述写入控制包括级联的通道控制子模块、第一选择器、补偿频差删除子模块和第二选择器;The write control includes a cascaded channel control sub-module, a first selector, a compensation frequency difference deletion sub-module and a second selector;
所述通道控制子模块,用于接收解码数据和afifo写使能,并输出处理后的写入数据、afifo写使能;所述第一选择器,用于接收所述通道控制子模块输出的写入数据与afifo写使能和接收解码数据和afifo写使能,并选择输出;所述补偿频差删除子模块,用于接收所述第一选择器输出的信号,并输出处理后的写入数据和afifo写使能;所述第二选择器,用于接收所述补偿频差删除子模块输出的信号和接收所述第一选择器输出的信号,并选择输出至afifo;The channel control sub-module is used to receive decoded data and afifo write enable, and output the processed write data and afifo write enable; the first selector is used to receive the output of the channel control sub-module. Write data and afifo write enable and receive decoded data and afifo write enable, and select output; the compensation frequency difference deletion sub-module is used to receive the signal output by the first selector, and output the processed write input data and afifo write enable; the second selector is used to receive the signal output by the compensation frequency difference deletion sub-module and the signal output by the first selector, and select and output to afifo;
所述读出控制包括通道读控制子模块、第三选择器、第四选择器、补偿频差补位子模块、第五选择器和第六选择器;The readout control includes a channel readout control submodule, a third selector, a fourth selector, a frequency difference compensation submodule, a fifth selector and a sixth selector;
所述通道读控制子模块,用于接收afifo读使能、当前通道afifo内数据水位状态信息、从通道的状态信息,并输出处理后的所有通道读使能信号;所述第三选择器,用于接收所述通道读控制子模块输出的所有通道读使能信号和接收信号,并选择输出;所述第四选择器,用于接收afifo读使能和接收所述第三选择器输出的信号,并选择输出;所述补偿频差补位子模块,用于接收所述第四选择器输出的信号、并输出处理后的信号,以及接收afifo的读出数据、并输出处理后的补位信号;所述第五选择器,用于接收所述补偿频差补位子模块输出的信号和接收所述第四选择器输出的信号,并选择输出至afifo;所述第六选择器,用于接收afifo的读出数据和接收所述补偿频差补位子模块输出的补位信号,并选择输出。The channel read control submodule is used to receive the afifo read enable, the data water level status information in the current channel afifo, and the status information of the slave channel, and output the processed read enable signals of all channels; the third selector, Used to receive all channel read enable signals and received signals output by the channel read control sub-module, and select the output; the fourth selector is used to receive the afifo read enable and receive the output of the third selector. signal, and select the output; the compensation frequency difference complement sub-module is used to receive the signal output by the fourth selector, and output the processed signal, and receive the read data of afifo, and output the processed complement signal; the fifth selector is used to receive the signal output by the compensation frequency difference compensation sub-module and the signal output by the fourth selector, and select and output to afifo; the sixth selector is used for Receive the read data of the afifo and the complement signal output by the compensation frequency difference complement sub-module, and select the output.
优选的,所述第一选择器的控制端和所述第二选择器的控制端,接收第一模式配置信号。Preferably, the control end of the first selector and the control end of the second selector receive the first mode configuration signal.
优选的,所述第四选择器的控制端、所述第五选择器的控制端和所述第六选择器的控制端,接收第一模式配置信号;所述第三选择器的控制端,接收第二模式配置信号。Preferably, the control end of the fourth selector, the control end of the fifth selector and the control end of the sixth selector receive the first mode configuration signal; the control end of the third selector, A second mode configuration signal is received.
优选的,所述桥接模块还包括旁路控制子模块和第七选择器;Preferably, the bridge module further includes a bypass control sub-module and a seventh selector;
所述旁路控制子模块,用于接收解码数据,并输出处理后的数据;The bypass control submodule is used to receive the decoded data and output the processed data;
所述第七选择器,用于接收所述旁路控制子模块输出的数据和接收所述第六选择器输出的信号,并选择输出配置输出数据和数据指示信号。The seventh selector is configured to receive the data output by the bypass control sub-module and the signal output by the sixth selector, and select and output the configuration output data and the data indication signal.
优选的,所述第七选择器的控制端接收模式配置信号。Preferably, the control end of the seventh selector receives a mode configuration signal.
优选的,所述桥接模块还包括状态生成子模块;所述状态生成子模块,用于接收第六选择器输出的信号,并处理后输出功能控制信号至所述通道控制子模块。Preferably, the bridge module further includes a state generating sub-module; the state generating sub-module is configured to receive the signal output by the sixth selector, and after processing, output the function control signal to the channel control sub-module.
优选的,所述状态生成子模块,用于生成数据对齐状态信息。Preferably, the state generation submodule is used to generate data alignment state information.
本申请的有益效果在于:提供了一种用于serdes接口的桥接模块,降低了数据的处理时延,提升整个serdes端口传输性能。The beneficial effects of the present application are as follows: a bridge module for a serdes interface is provided, which reduces the data processing delay and improves the transmission performance of the entire serdes port.
【附图说明】【Description of drawings】
图1为本申请实施例桥接模块的结构图。FIG. 1 is a structural diagram of a bridge module according to an embodiment of the present application.
【具体实施方式】【Detailed ways】
为使本说明书的目的、技术方案和优点更加清楚,下面将结合本说明书具体实施例及相应的附图对本说明书技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本说明书保护的范围。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。In order to make the purpose, technical solutions and advantages of this specification clearer, the technical solutions of this specification will be clearly and completely described below in conjunction with specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only some of the embodiments of the present specification, but not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this specification. It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" in the description and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the term "comprising" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
如图1所示,本申请实施例提供一种桥接模块rx_bridge_unit,用于Serdes(SERializer/DESerializer,串行器/解串器)接口,桥接模块rx_bridge_unit包括写入控制wr_ctrl、读出控制rd_ctrl和Be_fifo(afifo)子模块。As shown in FIG. 1 , an embodiment of the present application provides a bridge module rx_bridge_unit for a Serdes (SERializer/DESerializer, serializer/deserializer) interface. The bridge module rx_bridge_unit includes a write control wr_ctrl, a read control rd_ctrl and a Be_fifo (afifo) submodule.
其中,Be_fifo(first in first out,先入先出队列)子模块包括afifo(存储器模块),Be_fifo子模块,用于根据afifo内的数据水位情况,输出afifo的数据水位状态信息fifo_state。Among them, the Be_fifo (first in first out, first-in, first-out queue) sub-module includes afifo (memory module), and the Be_fifo sub-module is used to output the data water level status information fifo_state of afifo according to the data water level in the afifo.
所述写入控制wr_ctrl包括级联的通道控制子模块cb_ctrl、第一选择器 X1、补偿频差删除子模块ctc_del_ctrl和第二选择器X2;The write control wr_ctrl includes a cascaded channel control submodule cb_ctrl, a first selector X1, a compensation frequency difference deletion submodule ctc_del_ctrl and a second selector X2;
通道控制子模块cb_ctrl,用于接收解码数据data_after_decoder和afifo写使能rxfifo_wr_en,并输出处理后的写入数据cb_wr_start、afifo写使能mcb_dout;The channel control sub-module cb_ctrl is used to receive the decoded data data_after_decoder and afifo write enable rxfifo_wr_en, and output the processed write data cb_wr_start, afifo write enable mcb_dout;
第一选择器X1,用于接收通道控制子模块cb_ctrl输出的写入数据cb_wr_start与afifo写使能mcb_dout和接收解码数据data_after_decoder和aFIFO写使能rxfifo_wr_en,并选择输出;The first selector X1 is used to receive the write data cb_wr_start and afifo write enable mcb_dout and receive decoded data data_after_decoder and aFIFO write enable rxfifo_wr_en output by the channel control submodule cb_ctrl, and select the output;
由于第一选择器X1的判断条件一致,故图中的第一选择器X1接收的解码数据data_after_decoder和afifo写使能rxfifo_wr_en采用一条线表示;类似的,图中基于选择器的判断条件相同,其输入和输出的数据和使能信号线均采用一条线表示,并对于同一条线上的数据和使能信号以“,”区分。Since the judgment conditions of the first selector X1 are the same, the decoded data data_after_decoder and the afifo write enable rxfifo_wr_en received by the first selector X1 in the figure are represented by a line; The input and output data and enable signal lines are represented by one line, and the data and enable signals on the same line are distinguished by ",".
补偿频差删除子模块ctc_del_ctrl,用于接收第一选择器X1输出的写入数据ctc_din和afifo写使能ctc_wr_en,并输出处理后的写入数据ctc_dout和afifo写使能ctc_fifo_wr_start;The compensation frequency difference deletion sub-module ctc_del_ctrl is used to receive the write data ctc_din and afifo write enable ctc_wr_en output by the first selector X1, and output the processed write data ctc_dout and afifo write enable ctc_fifo_wr_start;
第二选择器X2,用于接收补偿频差删除子模块ctc_del_ctrl输出的信号和接收第一选择器X1输出的信号写入数据ctc_din(Mcb-dout)和afifo写使能ctc_wr_en(Mcb fifo_wr_start),并选择输出写入数据wr_ctrl_dout和afifo写使能fifo_wr_start至afifo。The second selector X2 is used to receive the signal output by the compensation frequency difference deletion sub-module ctc_del_ctrl and receive the signal write data ctc_din (Mcb-dout) and afifo write enable ctc_wr_en (Mcb fifo_wr_start) output by the first selector X1, and Select output write data wr_ctrl_dout and afifo write enable fifo_wr_start to afifo.
所述读出控制rd_ctrl包括通道读控制子模块cb_rden_ctrl、第三选择器X3、第四选择器X4、补偿频差补位子模块ctc_add_ctrl、第五选择器X5和第六选择器X6。The readout control rd_ctrl includes a channel read control submodule cb_rden_ctrl, a third selector X3, a fourth selector X4, a frequency difference compensation submodule ctc_add_ctrl, a fifth selector X5 and a sixth selector X6.
通道读控制子模块cb_rden_ctrl,用于接收afifo读使能rx_fifo_rden、当前通道(主通道)afifo内数据水位状态信息fifo_state、从通道的状态信息fifo_state_cin,并输出处理后的所有通道读使能信号master_cb_rden;The channel read control sub-module cb_rden_ctrl is used to receive the afifo read enable rx_fifo_rden, the data water level status information fifo_state in the current channel (main channel) afifo, the state information fifo_state_cin of the slave channel, and output the processed read enable signal master_cb_rden for all channels;
第三选择器X3,用于接收通道读控制子模块cb_rden_ctrl输出的所有通道读使能信号master_cb_rden和接收级联信号cb_rden_cin,并选择输出;其中,级联信号cb_rden_cin,用于传输主通道输出的afifo读使能信号,保证所有通道数据同时被读取;The third selector X3 is used to receive all channel read enable signals master_cb_rden output by the channel read control sub-module cb_rden_ctrl and receive the cascaded signal cb_rden_cin, and select the output; wherein, the cascaded signal cb_rden_cin is used to transmit the afifo output by the main channel Read enable signal to ensure that all channel data are read at the same time;
第四选择器X4,用于接收afifo读使能rx_fifo_rden和接收第三选择器X3输出的信号cb_rden,并选择输出;The fourth selector X4 is used to receive the afifo read enable rx_fifo_rden and receive the signal cb_rden output by the third selector X3, and select the output;
补偿频差补位子模块ctc_add_ctrl,用于接收第四选择器X4输出的信号ctc_fifo_rden_in、并输出处理后的信号ctc_fifo_rden,以及接收afifo的读出数据、并输出处理后的补位信号ctc_add_dout;Compensation frequency difference compensation submodule ctc_add_ctrl, for receiving the signal ctc_fifo_rden_in output by the fourth selector X4, and outputting the processed signal ctc_fifo_rden, and receiving the readout data of afifo, and outputting the processed complement signal ctc_add_dout;
第五选择器X5,用于接收补偿频差补位子模块ctc_add_ctrl输出的信号ctc_fifo_rden和接收第四选择器X4输出的信号,并选择输出读使能信号fifo_rd_en至afifo;即最终输出到Be_fifo子模块的读使能信号fifo_rd_en;The fifth selector X5 is used to receive the signal ctc_fifo_rden output by the compensation frequency difference compensation sub-module ctc_add_ctrl and receive the signal output by the fourth selector X4, and select and output the read enable signal fifo_rd_en to afifo; read enable signal fifo_rd_en;
第六选择器X6,用于接收afifo的读出数据和接收补偿频差补位子模块ctc_add_ctrl输出的补位信号ctc_add_dout,并选择输出。The sixth selector X6 is used to receive the read data of afifo and the complement signal ctc_add_dout output by the compensation frequency difference complement sub-module ctc_add_ctrl, and select the output.
其中,第三选择器X3,根据主、从通道的配置,主通道选择本通道生成的afifo读使能信号master_cb_rden;从通道选择级联得到的信号cb_rden_cin。cb_rden为数据对齐功能最后生成的afifo读使能信号,以保证所有通道均是同时刻开始从afifo中开始数据的读取。Among them, the third selector X3, according to the configuration of the master and slave channels, the master channel selects the afifo read enable signal master_cb_rden generated by this channel; the slave channel selects the cascaded signal cb_rden_cin. cb_rden is the afifo read enable signal finally generated by the data alignment function to ensure that all channels start reading data from afifo at the same time.
其中,补偿频差补位子模块ctc_add_ctrl在afifo读出的数据中插入特殊字符skip pattern,信号ctc_fifo_rden为在一定次数的特殊字符插入操作后,拉低一个cycle,以完成数据的频差补偿;补偿频差补位子模块ctc_add_ctrl在afifo读出的数据中插入特殊字符skip pattern,补位信号ctc_add_dout为通过补偿频差补位子模块ctc_add_ctrl频差调整后的数据。Among them, the compensation frequency difference compensation sub-module ctc_add_ctrl inserts the special character skip pattern into the data read by afifo, and the signal ctc_fifo_rden is to pull down a cycle after a certain number of special character insertion operations to complete the frequency difference compensation of the data; The difference complement sub-module ctc_add_ctrl inserts the special character skip pattern into the data read by afifo, and the complement signal ctc_add_dout is the data adjusted by the frequency difference compensation sub-module ctc_add_ctrl.
其中,主通道的通道读控制子模块cb_rden_ctrl对接收到的本通道afifo内数据水位状态信息fifo_state、从通道afifo内数据水位状态信息fifo_state_cin进行判断,当所有通道的数据水位状态信息均显示通道内数据水位到规定状态,主通道通道读控制子模块cb_rden_ctrl将外部接收到的读使能rx_fifo_rden传输给本通道的afifo,开始读数据操作;同时,通过级联信号cb_rden_cout传输给所有从通道,所有从通道的afifo读使能均使用主通道级联传输的信号,以此保证主通道、从通道同时开始afifo数据的读取,保证数据对齐。Among them, the channel read control sub-module cb_rden_ctrl of the main channel judges the received data water level status information fifo_state in the channel afifo and the data water level status information fifo_state_cin in the slave channel afifo. When the data water level status information of all channels displays the data in the channel When the water level reaches the specified state, the main channel channel read control sub-module cb_rden_ctrl transmits the externally received read enable rx_fifo_rden to the afifo of this channel, and starts the data read operation; at the same time, the cascade signal cb_rden_cout is transmitted to all slave channels, all slave channels The afifo read enable uses the cascaded transmission signal of the master channel to ensure that the master channel and the slave channel start reading afifo data at the same time to ensure data alignment.
Serdes接口内规划四条通道lane(0-3),每个通道lane上使用各自的桥接 模块rx_bridge_unit模块;其中,通道Lane 0设置为主通道,其他通道设置为从通道。Four channel lanes (0-3) are planned in the Serdes interface, and each channel lane uses its own bridge module rx_bridge_unit module; among them, the channel Lane 0 is set as the master channel, and the other channels are set as slave channels.
进一步地,第一选择器X1的控制端和第二选择器X2的控制端,接收第一模式配置信号cfg_rebridge_mode。Further, the control terminal of the first selector X1 and the control terminal of the second selector X2 receive the first mode configuration signal cfg_rebridge_mode.
进一步地,第四选择器X4的控制端、第五选择器X5的控制端和第六选择器X6的控制端,接收第一模式配置信号cfg_rebridge_mode。进一步地,第三选择器X3的控制端,接收第二模式配置信号cfg_rxbu_slave。第二模式配置信号cfg_rxbu_slave,用于配置主、从通道的状态。Further, the control terminal of the fourth selector X4, the control terminal of the fifth selector X5 and the control terminal of the sixth selector X6 receive the first mode configuration signal cfg_rebridge_mode. Further, the control end of the third selector X3 receives the second mode configuration signal cfg_rxbu_slave. The second mode configuration signal cfg_rxbu_slave is used to configure the state of the master and slave channels.
在其中一个实施例中,如图1所示,所述桥接模块(rx_bridge_unit)还包括旁路控制子模块by_pass_ctrl和第七选择器X7。In one embodiment, as shown in FIG. 1 , the bridge module (rx_bridge_unit) further includes a bypass control submodule by_pass_ctrl and a seventh selector X7.
旁路控制子模块by_pass_ctrl,用于接收解码数据data_after_decoder,并输出处理后的数据by_pass_dout;The bypass control sub-module by_pass_ctrl is used to receive the decoded data data_after_decoder and output the processed data by_pass_dout;
第七选择器X7,用于接收旁路控制子模块by_pass_ctrl输出的数据by_pass_dout和接收第六选择器X6输出的频差调整后的输出数据ctc_dout,并选择输出配置输出数据data_after_rxbu和数据指示信号data_vld_after_rxbu。进一步地,第七选择器X7的控制端接收第一模式配置信号cfg_rebridge_mode。The seventh selector X7 is configured to receive the data by_pass_dout output by the bypass control sub-module by_pass_ctrl and receive the frequency difference adjusted output data ctc_dout output by the sixth selector X6, and select and output the configuration output data data_after_rxbu and the data indication signal data_vld_after_rxbu. Further, the control terminal of the seventh selector X7 receives the first mode configuration signal cfg_rebridge_mode.
桥接模块(rx_bridge_unit)还支持by_pass(旁路)选择,即通过设置旁路控制子模块by_pass_ctrl,从而控制内部Be_fifo子模块不被使能,数据仅在旁路控制子模块by_pass_ctrl采样后输出。The bridge module (rx_bridge_unit) also supports by_pass (bypass) selection, that is, by setting the bypass control submodule by_pass_ctrl, so that the internal Be_fifo submodule is not enabled, and the data is output only after the bypass control submodule by_pass_ctrl is sampled.
在其中一个实施例中,如图1所示,所述桥接模块(rx_bridge_unit)还包括状态生成子模块mcb_status_gen。In one embodiment, as shown in FIG. 1 , the bridge module (rx_bridge_unit) further includes a status generation submodule mcb_status_gen.
状态生成子模块mcb_status_gen,用于接收第六选择器X6输出的信号,并处理后输出功能控制信号channel bonding至通道控制子模块cb_ctrl;以开启所有通道数据调整和特殊字符apattern检测。The status generation sub-module mcb_status_gen is used to receive the signal output by the sixth selector X6, and after processing, output the function control signal channel bonding to the channel control sub-module cb_ctrl; to enable all channel data adjustment and special character apattern detection.
状态生成子模块mcb_status_gen,用于生成数据对齐状态信息bonding_status;具体的,状态生成子模块mcb_status_gen通过内置状态机根据所有通道数据中特殊字符apattern检测的结果判断得到数据对齐状态信息 bonding_status,数据对齐状态信息bonding_status拉高表示所有通道数据对齐已完成。The status generation submodule mcb_status_gen is used to generate data alignment status information bonding_status; specifically, the status generation submodule mcb_status_gen obtains the data alignment status information bonding_status and data alignment status information through the built-in state machine according to the results of the special character apattern detection in all channel data. bonding_status is pulled high to indicate that all channel data alignment is complete.
在其中一个实施例中,第一模式配置信号cfg_rebridge_mode,用于配置桥接模块rx_bridge_unit的工作模式,多个子模块被使能,以完成所选择的功能。In one embodiment, the first mode configuration signal cfg_rebridge_mode is used to configure the working mode of the bridge module rx_bridge_unit, and a plurality of sub-modules are enabled to complete the selected function.
当桥接模块rx_bridge_unit通过第一模式配置信号cfg_rebridge_mode配置为桥接模式bridge fifo mode,桥接模块rx_bridge_unit在接收到解码完成的解码数据data_after_decoder后,仅使能Be_fifo子模块,完成数据桥接、补偿相差。Be_fifo子模块的读、写起始地址可分别配置为3和1,以此降低总体的处理时延。When the bridging module rx_bridge_unit is configured to bridge fifo mode through the first mode configuration signal cfg_rebridge_mode, the bridging module rx_bridge_unit only enables the Be_fifo sub-module after receiving the decoded data data_after_decoder to complete the data bridging and compensate the phase difference. The read and write start addresses of the Be_fifo submodule can be configured as 3 and 1, respectively, so as to reduce the overall processing delay.
若serdes接口需要桥接模块rx_bridge_unit进行多通道数据间的对齐功能,各个通道内通道控制子模块cb_ctrl通过数据中特殊字符apattern完成数据的调整,并写入Be_fifo子模块进行时钟域的转换。主通道通道读控制子模块cb_rden_ctrl根据所有通道Be_fifo子模块内数据水位状态,向所有通道输出fifo读使能,以保证数据的对齐。多通道数据对齐均受主通道的状态生成子模块mcb_status_gen内状态机控制。时钟域转换往往消耗多通道对齐功能实现中多数时延,fifo读、写起始地址的最优配置可以极大的改善这个问题。在不同第一模式配置信号cfg_rxbridge_mode配置下,读、写起始地址不同,例如ctc功能使能后,nominal empty mode被配置后,读、写起始地址都被配置为0。If the serdes interface needs the bridge module rx_bridge_unit to perform the alignment function between multi-channel data, the channel control sub-module cb_ctrl in each channel completes the data adjustment through the special character apattern in the data, and writes it to the Be_fifo sub-module for clock domain conversion. The main channel channel read control sub-module cb_rden_ctrl outputs fifo read enable to all channels according to the data water level status in the Be_fifo sub-modules of all channels to ensure data alignment. The alignment of multi-channel data is controlled by the state machine in the status generation sub-module mcb_status_gen of the main channel. Clock domain conversion often consumes most of the delay in the implementation of multi-channel alignment functions. The optimal configuration of fifo read and write start addresses can greatly improve this problem. Under different configurations of the first mode configuration signal cfg_rxbridge_mode, the read and write start addresses are different. For example, after the ctc function is enabled and nominal empty mode is configured, the read and write start addresses are both configured as 0.
当桥接模块rx_bridge_unit通过第一模式配置信号cfg_rebridge_mode配置为时钟补偿频差模式ctc mode,为最大化降低Be_fifo子模块数据处理造成的时延,桥接模块rx_bridge_unit支持正常空值模式nominal empty mode配置。在该模式下,补偿频差删除子模块ctc_del_ctrl对数据中的特殊字符skip pattern,直接进行删除处理,并将处理后数据写入Be_fifo子模块进行暂存、时钟域转换。读时钟域的补偿频差补位子模块ctc_add_ctrl在be_fifo子模块读“空”后,直接拉低读使能,并通过数据指示信号data_vld_after_rxbu指示无效数据。为将数据时钟域转换造成的时延降到最小,Be_fifo子模块的读、写起始地址都配置为0。When the bridging module rx_bridge_unit is configured to the clock compensation frequency difference mode ctc mode through the first mode configuration signal cfg_rebridge_mode, in order to minimize the delay caused by the data processing of the Be_fifo sub-module, the bridging module rx_bridge_unit supports the nominal empty mode configuration. In this mode, the compensation frequency difference deletion sub-module ctc_del_ctrl directly deletes the special characters skip pattern in the data, and writes the processed data into the Be_fifo sub-module for temporary storage and clock domain conversion. The ctc_add_ctrl submodule ctc_add_ctrl for the compensation frequency difference compensation of the read clock domain directly pulls down the read enable after the be_fifo submodule reads "empty", and indicates invalid data through the data indication signal data_vld_after_rxbu. In order to minimize the delay caused by the data clock domain conversion, the read and write start addresses of the Be_fifo sub-module are both configured as 0.
若需要同时支持多通道数据对齐、频差补偿功能,桥接模块rx_bridge_unit通过第一模式配置信号cfg_rebridge_mode配置所需要的子模块,同时支持时钟补偿频差ctc处理下的正常空值模式nominal empty mode选择。If you need to support multi-channel data alignment and frequency difference compensation functions at the same time, the bridge module rx_bridge_unit configures the required sub-modules through the first mode configuration signal cfg_rebridge_mode, and supports the normal empty mode selection under the clock compensation frequency difference ctc processing.
本申请实施例还提供一种包括上述桥接模块rx_bridge_unit的PCS rx架构,桥接模块rx_bridge_unit位于传递模块gear unit之前,且桥接模块rx_bridge_unit和传递模块gear unit之间还包括第八选择器X8。The embodiment of the present application also provides a PCS rx architecture comprising the above-mentioned bridge module rx_bridge_unit, the bridge module rx_bridge_unit is located before the transmission module gear unit, and the eighth selector X8 is also included between the bridge module rx_bridge_unit and the transmission module gear unit.
桥接模块rx_bridge_unit集成所有Be_fifo子模块实现的功能,且桥接模块rx_bridge_unit内仅例化一个afifo。由于afifo使用的减少,在多个功能使能时,数据暂存、时钟域转换引起的处理时延得到极大的降低。The bridge module rx_bridge_unit integrates the functions implemented by all Be_fifo submodules, and only one afifo is instantiated in the bridge module rx_bridge_unit. Due to the reduction in the use of afifo, when multiple functions are enabled, the processing delay caused by data temporary storage and clock domain conversion is greatly reduced.
桥接模块rx_bridge_unit内afifo的读、写起始地址均可配置;在保证数据正常处理的情况下,可通过改变读、写起始地址的方式,最大化减小因时钟域转换引起的时延。针对频差补偿功能,桥接模块rx_bridge_unit支持正常空值模式nominal empty mode,即afifo写入、读取数据操作均从‘0’地址开始,以此保证过程中处理时延最低。The read and write start addresses of afifo in the bridge module rx_bridge_unit can be configured; in the case of ensuring normal data processing, the time delay caused by clock domain conversion can be minimized by changing the read and write start addresses. For the frequency difference compensation function, the bridge module rx_bridge_unit supports the nominal empty mode, that is, the afifo write and read data operations start from the '0' address, so as to ensure the lowest processing delay in the process.
以有效数据为20bit为例,以及相同数据特性下,现有技术PCS rx架构和本申请采用桥接模块rx_bridge_unit的PCS rx架构所需要的处理时延均为18rclks(读时钟单位周期);频差补偿功能下,本申请采用桥接模块rx_bridge_unit的PCS rx架构处理时延为10rclks,低于现有技术PCS rx架构中的22.5rclks;多通道数据对齐、频差补偿功能下,本申请采用桥接模块rx_bridge_unit的PCS rx架构处理时延为24rclks,低于现有技术PCS rx架构中的39.5rclks。Taking the valid data as 20bit as an example, and under the same data characteristics, the processing delay required by the PCS rx architecture of the prior art and the PCS rx architecture of the bridge module rx_bridge_unit used in the present application is 18rclks (read clock unit cycle); frequency difference compensation Under the function, the processing delay of the PCS rx architecture of the bridge module rx_bridge_unit in this application is 10rclks, which is lower than 22.5rclks in the prior art PCS rx architecture; under the functions of multi-channel data alignment and frequency difference compensation, the application uses the bridge module rx_bridge_unit. The processing latency of the PCS rx architecture is 24rclks, which is lower than 39.5rclks in the prior art PCS rx architecture.
本申请采用桥接模块rx_bridge_unit的PCS rx架构所需要的处理时延更低,serdes的传输性能更好。The PCS rx architecture of the bridge module rx_bridge_unit used in this application requires lower processing delay and better transmission performance of serdes.
以上所述的仅是本申请的实施方式,在此应当指出,对于本领域的普通技术人员来说,在不脱离本申请创造构思的前提下,还可以做出改进,但这些均属于本申请的保护范围。The above are only the embodiments of the present application. It should be pointed out that for those of ordinary skill in the art, improvements can be made without departing from the creative concept of the present application, but these belong to the present application. scope of protection.

Claims (7)

  1. 一种用于serdes接口的桥接模块,其特征在于,包括写入控制、读出控制和Be_fifo子模块;A bridge module for serdes interface, characterized in that it comprises write control, read control and Be_fifo submodule;
    所述写入控制包括级联的通道控制子模块、第一选择器、补偿频差删除子模块和第二选择器;The write control includes a cascaded channel control sub-module, a first selector, a compensation frequency difference deletion sub-module and a second selector;
    所述通道控制子模块,用于接收解码数据和afifo写使能,并输出处理后的写入数据、afifo写使能;所述第一选择器,用于接收所述通道控制子模块输出的写入数据与afifo写使能和接收解码数据和afifo写使能,并选择输出;所述补偿频差删除子模块,用于接收所述第一选择器输出的信号,并输出处理后的写入数据和afifo写使能;所述第二选择器,用于接收所述补偿频差删除子模块输出的信号和接收所述第一选择器输出的信号,并选择输出至afifo;The channel control sub-module is used to receive decoded data and afifo write enable, and output the processed write data and afifo write enable; the first selector is used to receive the output of the channel control sub-module. Write data and afifo write enable and receive decoded data and afifo write enable, and select output; the compensation frequency difference deletion sub-module is used to receive the signal output by the first selector, and output the processed write input data and afifo write enable; the second selector is used to receive the signal output by the compensation frequency difference deletion sub-module and the signal output by the first selector, and select and output to afifo;
    所述读出控制包括通道读控制子模块、第三选择器、第四选择器、补偿频差补位子模块、第五选择器和第六选择器;The readout control includes a channel readout control submodule, a third selector, a fourth selector, a frequency difference compensation submodule, a fifth selector and a sixth selector;
    所述通道读控制子模块,用于接收afifo读使能、当前通道afifo内数据水位状态信息、从通道的状态信息,并输出处理后的所有通道读使能信号;所述第三选择器,用于接收所述通道读控制子模块输出的所有通道读使能信号和接收信号,并选择输出;所述第四选择器,用于接收afifo读使能和接收所述第三选择器输出的信号,并选择输出;所述补偿频差补位子模块,用于接收所述第四选择器输出的信号、并输出处理后的信号,以及接收afifo的读出数据、并输出处理后的补位信号;所述第五选择器,用于接收所述补偿频差补位子模块输出的信号和接收所述第四选择器输出的信号,并选择输出至afifo;所述第六选择器,用于接收afifo的读出数据和接收所述补偿频差补位子模块输出的补位信号,并选择输出。The channel read control submodule is used to receive the afifo read enable, the data water level status information in the current channel afifo, and the status information of the slave channel, and output the processed read enable signals of all channels; the third selector, Used to receive all channel read enable signals and received signals output by the channel read control sub-module, and select the output; the fourth selector is used to receive the afifo read enable and receive the output of the third selector. signal, and select the output; the compensation frequency difference complement sub-module is used to receive the signal output by the fourth selector, and output the processed signal, and receive the read data of afifo, and output the processed complement signal; the fifth selector is used to receive the signal output by the compensation frequency difference compensation sub-module and the signal output by the fourth selector, and select and output to afifo; the sixth selector is used for Receive the read data of the afifo and the complement signal output by the compensation frequency difference complement sub-module, and select the output.
  2. 根据权利要求1所述的桥接模块,其特征在于,所述第一选择器的控制端和所述第二选择器的控制端,接收第一模式配置信号。The bridge module according to claim 1, wherein the control terminal of the first selector and the control terminal of the second selector receive a first mode configuration signal.
  3. 根据权利要求1所述的桥接模块,其特征在于,所述第四选择器的控制端、所述第五选择器的控制端和所述第六选择器的控制端,接收第一模式配置 信号;所述第三选择器的控制端,接收第二模式配置信号。The bridge module according to claim 1, wherein the control end of the fourth selector, the control end of the fifth selector and the control end of the sixth selector receive a first mode configuration signal ; The control end of the third selector receives the second mode configuration signal.
  4. 根据权利要求1所述的桥接模块,其特征在于,所述桥接模块还包括旁路控制子模块和第七选择器;The bridge module according to claim 1, wherein the bridge module further comprises a bypass control sub-module and a seventh selector;
    所述旁路控制子模块,用于接收解码数据,并输出处理后的数据;The bypass control submodule is used to receive the decoded data and output the processed data;
    所述第七选择器,用于接收所述旁路控制子模块输出的数据和接收所述第六选择器输出的信号,并选择输出配置输出数据和数据指示信号。The seventh selector is configured to receive the data output by the bypass control sub-module and the signal output by the sixth selector, and select and output the configuration output data and the data indication signal.
  5. 根据权利要求4所述的桥接模块,其特征在于,所述第七选择器的控制端接收模式配置信号。The bridge module according to claim 4, wherein the control terminal of the seventh selector receives a mode configuration signal.
  6. 根据权利要求1所述的桥接模块,其特征在于,所述桥接模块还包括状态生成子模块;所述状态生成子模块,用于接收第六选择器输出的信号,并处理后输出功能控制信号至所述通道控制子模块。The bridging module according to claim 1, wherein the bridging module further comprises a state generating sub-module; the state generating sub-module is configured to receive the signal output by the sixth selector, and output the function control signal after processing to the channel control submodule.
  7. 根据权利要求6所述的桥接模块,其特征在于,所述状态生成子模块,用于生成数据对齐状态信息。The bridge module according to claim 6, wherein the state generation sub-module is configured to generate data alignment state information.
PCT/CN2021/082547 2020-12-16 2021-03-24 Bridging module for serdes interface WO2022126893A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020237016819A KR20230086788A (en) 2020-12-16 2021-03-24 Bridge unit for serdes interface

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011491396.6A CN112765066B (en) 2020-12-16 2020-12-16 Bridge module for serdes interface
CN202011491396.6 2020-12-16

Publications (1)

Publication Number Publication Date
WO2022126893A1 true WO2022126893A1 (en) 2022-06-23

Family

ID=75695428

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/082547 WO2022126893A1 (en) 2020-12-16 2021-03-24 Bridging module for serdes interface

Country Status (3)

Country Link
KR (1) KR20230086788A (en)
CN (1) CN112765066B (en)
WO (1) WO2022126893A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080260049A1 (en) * 2005-09-12 2008-10-23 Multigig, Inc. Serializer and deserializer
CN108345555A (en) * 2018-03-13 2018-07-31 算丰科技(北京)有限公司 Interface bridgt circuit based on high-speed serial communication and its method
CN108388532A (en) * 2018-03-13 2018-08-10 算丰科技(北京)有限公司 The AI operations that configurable hardware calculates power accelerate board and its processing method, server
CN210515149U (en) * 2019-10-28 2020-05-12 成都爱斯顿科技有限公司 CPCI computer main controller based on Shenwei processor and ICH2 bridge chip
CN211087065U (en) * 2019-12-24 2020-07-24 龙芯中科(西安)科技有限公司 Mainboard and computer equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1357709B1 (en) * 2002-03-21 2007-01-17 Broadcom Corporation A physical layer device having a serdes pass through mode
US7334068B2 (en) * 2002-07-26 2008-02-19 Broadcom Corporation Physical layer device having a SERDES pass through mode
JP2007036869A (en) * 2005-07-28 2007-02-08 Nec Electronics Corp Serial/parallel conversion, parallel/serial conversion, and fifo integrated circuit
US7817191B2 (en) * 2007-06-21 2010-10-19 The United States Of America As Represented By The Secretary Of The Navy Clock serializer/deserializer transmission method and appartus
US8938578B2 (en) * 2012-07-27 2015-01-20 Rambus Inc. Memory device with multi-mode deserializer
JP5775101B2 (en) * 2013-01-18 2015-09-09 日本電信電話株式会社 Signal receiving circuit
CN105516288B (en) * 2015-12-01 2019-05-21 盛科网络(苏州)有限公司 Using device, its control method and the control system of single Serdes extension physical interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080260049A1 (en) * 2005-09-12 2008-10-23 Multigig, Inc. Serializer and deserializer
CN108345555A (en) * 2018-03-13 2018-07-31 算丰科技(北京)有限公司 Interface bridgt circuit based on high-speed serial communication and its method
CN108388532A (en) * 2018-03-13 2018-08-10 算丰科技(北京)有限公司 The AI operations that configurable hardware calculates power accelerate board and its processing method, server
CN210515149U (en) * 2019-10-28 2020-05-12 成都爱斯顿科技有限公司 CPCI computer main controller based on Shenwei processor and ICH2 bridge chip
CN211087065U (en) * 2019-12-24 2020-07-24 龙芯中科(西安)科技有限公司 Mainboard and computer equipment

Also Published As

Publication number Publication date
KR20230086788A (en) 2023-06-15
CN112765066A (en) 2021-05-07
CN112765066B (en) 2022-07-08

Similar Documents

Publication Publication Date Title
CN109271335B (en) FPGA implementation method for DDR cache of multi-channel data source
US7133991B2 (en) Method and system for capturing and bypassing memory transactions in a hub-based memory system
US7013359B1 (en) High speed memory interface system and method
KR100695437B1 (en) Multi port memory device
US8165120B2 (en) Buffering architecture for packet injection and extraction in on-chip networks
US6920510B2 (en) Time sharing a single port memory among a plurality of ports
US7779194B2 (en) Data modification module
US7558285B2 (en) Data processing system and data interfacing method thereof
JP2006127653A (en) Memory element
WO2022126892A1 (en) Serdes interface circuit
WO2022126893A1 (en) Bridging module for serdes interface
EP2122472A1 (en) Microcontroller with memory trace module
JPH07321820A (en) Interconnection memory
CN110008162B (en) Buffer interface circuit, and method and application for transmitting data based on buffer interface circuit
US6874043B2 (en) Data buffer
US11169947B2 (en) Data transmission system capable of transmitting a great amount of data
KR100903382B1 (en) Multi-port memory device having serial i/o interface
US20020046307A1 (en) A data buffer
US7206242B2 (en) Semiconductor memory
JP4060270B2 (en) Apparatus and method for delaying video line data between transmitter and receiver
CN110825684A (en) Serial port interface integrated output system
WO2024020860A1 (en) Audio format conversion apparatus
US8139615B2 (en) Data processing apparatus
US7269681B1 (en) Arrangement for receiving and transmitting PCI-X data according to selected data modes
JP2971006B2 (en) Serial communication method and serial communication controller

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21904833

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20237016819

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21904833

Country of ref document: EP

Kind code of ref document: A1