1739 - LatticeECP3 : What are the functions of register bits tdrv_drvcur_set and tdrv_amp_boost?
The register bits of LatticeECP3 tdrv_drvcur_set and tdrv_amp_boost are used to control SERDES differential output voltage. The register bit tdrv_drvcur_set sets the reference current of SERDES transmit driver. The register bit tdrv_amp_boost is used to boost transmit swing amplitude of SERDES transmit driver. When you use LatticeECP3 SERDES/PCS, you don't need to directly set these two register bits to achieve output swing amplitude. These register bits are controlled by the value assigned to the CHx_TDRV attribute in the Lattice IPExpress flow.
Refer to Table 8-13 of LatticeECP3 SERDES/PCS Usage Guide (tn1176.pdf) to obtain the relationship of output swing amplitude of SERDES/PCS with respect to the value of CHx_TDRV. The CHx_TDRV attribute supports nine values which define various differential output voltages between -4(640mV) and 4(1440mV). The value of attribute CHx_TDRV is assigned in the Differential Output Voltage of IPExpress as shown in Figure 8-22 of LatticeECP3 SERDES/PCS Usage Guide (tn1176.pdf).