adi_board: Connnect phy_en_char_align only for 8B10B encoding

In ad_xcvrcon procedure from adi_board, phy_en_char_align must be connected only when 8B10B encoding is used,
otherwise this signal does not exists in the JESD ip and will cause an error.

Signed-off-by: Filip Gherman <Filip.Gherman@analog.com>
main
Filip Gherman 2022-10-04 17:16:44 +03:00 committed by Filip Gherman
parent a07cec4a84
commit 4e8c816d3f
1 changed files with 5 additions and 1 deletions

View File

@ -528,7 +528,11 @@ proc ad_xcvrcon {u_xcvr a_xcvr a_jesd {lane_map {}} {link_clk {}} {device_clk {}
ad_connect ${link_clk} ${u_xcvr}/${txrx}_clk_${phys_lane} ad_connect ${link_clk} ${u_xcvr}/${txrx}_clk_${phys_lane}
if {$tx_or_rx_n == 0} { if {$tx_or_rx_n == 0} {
ad_connect ${a_jesd}/phy_en_char_align ${u_xcvr}/${txrx}_calign_${phys_lane} if {$jesd204_type == 0} {
if {$link_mode == 1} {
ad_connect ${a_jesd}/phy_en_char_align ${u_xcvr}/${txrx}_calign_${phys_lane}
}
}
} }
} }
} }