adi_board.tcl:ad_xcvrcon: do not reorder common control

When channels are not swapped in groups of four but are completely out of order
the common control channel can't be reordered based on the index of the
channel.
main
Laszlo Nagy 2019-11-29 09:35:55 +00:00 committed by István Csomortáni
parent e6d63ec50d
commit 82021edffe
1 changed files with 2 additions and 2 deletions

View File

@ -280,8 +280,8 @@ proc ad_xcvrcon {u_xcvr a_xcvr a_jesd {lane_map {}} {device_clk {}}} {
}
}
if {(($phys_lane%4) == 0) && ($qpll_enable == 1)} {
ad_connect ${a_xcvr}/up_cm_${n} ${u_xcvr}/up_cm_${phys_lane}
if {(($n%4) == 0) && ($qpll_enable == 1)} {
ad_connect ${a_xcvr}/up_cm_${n} ${u_xcvr}/up_cm_${n}
}
ad_connect ${a_xcvr}/up_ch_${n} ${u_xcvr}/up_${txrx}_${phys_lane}
ad_connect ${device_clk} ${u_xcvr}/${txrx}_clk_${phys_lane}