ad9081_fmca_ebz: Fix for F=8

main
Laszlo Nagy 2021-05-12 07:56:03 +01:00 committed by Laszlo Nagy
parent 9b50e2baa5
commit cf7f45ffcc
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ set RX_JESD_F [expr ($RX_JESD_M*$RX_JESD_S*$RX_JESD_NP)/(8*$RX_JESD_L)]
if {$RX_JESD_F % 3 == 0} {
set RX_DATAPATH_WIDTH [expr max($RX_JESD_F,$NP12_DATAPATH_WIDTH)]
} else {
set RX_DATAPATH_WIDTH $DATAPATH_WIDTH
set RX_DATAPATH_WIDTH [expr max($RX_JESD_F,$DATAPATH_WIDTH)]
}
set RX_SAMPLES_PER_CHANNEL [expr $RX_NUM_OF_LANES * 8* $RX_DATAPATH_WIDTH / ($RX_NUM_OF_CONVERTERS * $RX_SAMPLE_WIDTH)]
@ -88,7 +88,7 @@ set TX_JESD_F [expr ($TX_JESD_M*$TX_JESD_S*$TX_JESD_NP)/(8*$TX_JESD_L)]
if {$TX_JESD_F % 3 == 0} {
set TX_DATAPATH_WIDTH [expr max($TX_JESD_F,$NP12_DATAPATH_WIDTH)]
} else {
set TX_DATAPATH_WIDTH $DATAPATH_WIDTH
set TX_DATAPATH_WIDTH [expr max($TX_JESD_F,$DATAPATH_WIDTH)]
}
set TX_SAMPLES_PER_CHANNEL [expr $TX_NUM_OF_LANES * 8* $TX_DATAPATH_WIDTH / ($TX_NUM_OF_CONVERTERS * $TX_SAMPLE_WIDTH)]