Hybrid Memory Cube Controller IP Core User Guide - Intel Stratix 10 Beta Version

ID 683854
Date 8/08/2016
Public
Document Table of Contents

2.3.1. RX Mapping and TX Mapping Parameters

The HMC Controller IP core provides the RX mapping and TX mapping parameters for flexibility in board design.

The default values of these parameters specify the correct IP core behavior when the HMC device LxTX[<i>] output signal connects to the HMC Controller IP core hmc_lxrx[<i>] input port, and the LxRX[<i>] input signal connects to the HMC Controller IP core hmc_lxtx[<i>] output port, for each <i>.

However, if your design constraints prevent you from connecting these signals as expected, you can instead modify one or both HMC Controller IP core mapping parameters to accommodate the non-standard connection.

Note: The Quartus® Prime Fitter prevents you from mapping the HMC Controller IP core lanes to device transceiver channels out of order. Therefore, these two parameters only compensate for out-of-order connections on the board between the device transceiver pins and the HMC device ports.
Figure 4. Default RX and TX Mapping Parameter Values


If the HMC device LxTX[<i>] output signal connects to the HMC Controller IP core hmc_lxrx[<k>] input port, you must set the value in bits [(4<i>+3):(4<i>)] (nibble <i>) of the RX mapping parameter to 4'h<k>. Therefore, the default value of the RX mapping parameter is 0xFEDCBA9876543210, indicating that LxTX[F] connects to hmc_lxrx[F], LxTX[E] connects to hmc_lxrx[E], and so on.

If the HMC device LxRX[<i>] input signal connects to the HMC Controller IP core hmc_lxtx[<k>] input port, you must set the value in bits [(4<i>+3):(4<i>)] (nibble <i>) of the TX mapping parameter to 4'h<k>. Therefore, the default value of the TX mapping parameter is 0xFEDCBA9876543210, indicating that LxRX[F] connects to hmc_lxtx[F], LxRX[E] connects to hmc_lxtx[E], and so on.

Example: Non-Default RX Mapping Parameter Value

Table 8.  Non-Default RX Connections
HMC Device Output Signal IP Core Input Signal
LxTX[2] hmc_lxrx[0]
LxTX[1] hmc_lxrx[2]
LxTX[0] hmc_lxrx[1]
Figure 5. Non-Default RX Mapping Parameter Value ExampleIf you connect the IP core hmc_lxrx[2:0] input signals according to the table, and connect all other IP core hmc_lxrx[<i>] input ports to the corresponding HMC device LxTX[<i>] output ports, you would set the value of the RX mapping parameter to 0xFEDCBA9876543021 to compensate for the non-standard connection.
Note: The RX mapping parameter specifies the HMC device lane by position and the IP core lane by value. The figure illustrates a mapping parameter value of 0xFED.......43021 and not a value of 0xFED....43102.


Example: Non-Default TX Mapping Parameter Value

Table 9.  Non-Default TX Connections
HMC Device Input Signal IP Core Output Signal
LxRX[2] hmc_lxtx[0]
LxRX[1] hmc_lxtx[2]
LxRX[0] hmc_lxtx[1]
Figure 6. Non-Default TX Mapping Parameter Value ExampleIf you connect the HMC Controller IP core hmc_lxtx[2:0] output signals according to the table, and connect all other IP core hmc_lxtx[<i>] output ports to the corresponding HMC device LxRX[<i>] input ports, you would set the value of the TX mapping parameter to 0xFEDCBA9876543021 to compensate for the non-standard connection.
Note: The TX mapping parameter specifies the HMC device lane by position and the IP core lane by value. The figure illustrates a mapping parameter value of 0xFED.......43021 and not a value of 0xFED....43102.


Use caution in modifying these parameters. In loopback configurations, you must ensure the RX mapping and TX mapping parameters specify reversed mappings. Otherwise, the IP core downstream of the RX lane swapper appears to receive data on the wrong lanes.