ad_fmclidar1_ebz: Set bits per sample towards the DMA interface
parent
dafdd1c1e9
commit
3f2f88ebbc
|
@ -33,7 +33,12 @@ ad_ip_instance axi_adxcvr axi_ad9694_xcvr [list \
|
|||
]
|
||||
|
||||
adi_axi_jesd204_rx_create ad9694_jesd $NUM_OF_LANES
|
||||
adi_tpl_jesd204_rx_create ad9694_tpl_core $NUM_OF_LANES $NUM_OF_CHANNELS $SAMPLES_PER_FRAME $SAMPLE_WIDTH
|
||||
adi_tpl_jesd204_rx_create ad9694_tpl_core $NUM_OF_LANES \
|
||||
$NUM_OF_CHANNELS \
|
||||
$SAMPLES_PER_FRAME \
|
||||
$SAMPLE_WIDTH \
|
||||
4 \
|
||||
$SAMPLE_WIDTH
|
||||
|
||||
ad_ip_instance util_cpack2 util_ad9694_cpack [list \
|
||||
NUM_OF_CHANNELS [expr $NUM_OF_CHANNELS + 1] \
|
||||
|
|
|
@ -95,6 +95,7 @@ add_instance axi_ad9694 ad_ip_jesd204_tpl_adc
|
|||
set_instance_parameter_value axi_ad9694 {NUM_LANES} $NUM_OF_LANES
|
||||
set_instance_parameter_value axi_ad9694 {NUM_CHANNELS} $NUM_OF_CHANNELS
|
||||
set_instance_parameter_value axi_ad9694 {BITS_PER_SAMPLE} $ADC_RESOLUTION
|
||||
set_instance_parameter_value axi_ad9694 {DMA_BITS_PER_SAMPLE} $ADC_RESOLUTION
|
||||
set_instance_parameter_value axi_ad9694 {CONVERTER_RESOLUTION} $ADC_RESOLUTION
|
||||
set_instance_parameter_value axi_ad9694 {SAMPLES_PER_FRAME} {1}
|
||||
set_instance_parameter_value axi_ad9694 {OCTETS_PER_FRAME} {1}
|
||||
|
|
Loading…
Reference in New Issue