5G LDPC Intel® FPGA IP User Guide

ID 683107
Date 3/29/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.2.1. 5G LDPC Encoder Signals

Figure 14. Encoder Signals
Table 20.  Encoder Interface Signals

Signals names beginning with msg_ are in the input interface to the encoder IP; signal names beginning with cw_ are in the output interface from the encoder IP (except for msg_enc_ready). Both interfaces comply with the Avalon® -ST specification. The encoder can backpressure the design by deasserting a ready signal on the input interface, but the design cannot backpressure the encoder.

Name Direction Description
clk Input Clocks the 5G LDPC encoder IP signals and internal transitions.
rst_n Input Active low, asynchronous reset signal for 5G LDPC encoder IP. Asserting this signal for one full clock cycle is sufficient to ensure the reset process initiates.
Name Direction Description
msg_vld Input Qualifies the msg data signal. When msg_vld is not asserted, the encoder stops processing input until you reassert the msg_vld signal.

If the encoder deasserts the msg_enc_rdy signal, the upstream source must maintain the current value on msg_vld.

msg_sop Input Marks the start of an incoming packet.
msg_eop Input Marks the end of an incoming packet.
msg_enc_rdy Output Indicates that the encoder is ready to receive data on the current clock cycle. The encoder can backpressure incoming data by deasserting this signal.

The readyLatency for this signal is 0: the IP can read valid input data in the same clock cycle in which it raises this signal. Refer to the Avalon Interface Specifications for the description of this Avalon-ST interface property.

msg[383:0] Input Data input. The encoder processes this input only when the upstream source asserts the msg_vld signal and the IP asserts the msg_enc_rdy signal. If the encoder deasserts the msg_enc_rdy signal, the upstream source must maintain the current value on msg.
msg_mode[11:0] Input

This signal must be valid for the current information block when the upstream source asserts msg_sop.

  • [5:0] are Z
  • [8:6] are Code Rate
  • [9] is Base Graph [0=BG1, 1=BG2]
  • [11:10] are Kb
Name Direction Description
cw_vld Output The encoder asserts this signal when cw holds valid data.
cw_sop Output The encoder asserts this signal to mark the start of a packet.
cw_eop Output The encoder asserts this signal to mark the end of a packet.
cw[383:0] Output Data output. When the encoder sends valid data on this bus, it asserts the cw_vld signal.
cw_mode[11:0] Output The lifting size of the transmission block. The encoder drives this bus with the value it receives on the input bus msg_mode for the same information block.

This signal is valid when cw_sop is asserted.

Figure 15. Example 5G LDPC Encoder Input Timing DiagramThis timing diagram shows an example transaction on the encoder input interface. msg_mode[11:0] = {kb[1:0], bg[0], cr[2:0], z_ind[5:0]}. Refer to the Avalon Interface Specifications for information about the required behavior of the ready, valid, sop, eop, and data signals on this Avalon® -ST interface.
Figure 16.  5G LDPC Encoder Output Timing Diagram

The 5G LDPC encoder does not support backpressure on the output interface.