ad_ip_jesd204_tpl: Fix chanmax reporting for both ADC and DAC

main
Adrian Costina 2019-01-16 08:58:11 +00:00
parent e864786d3a
commit b052e40637
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ module ad_ip_jesd204_tpl_adc_regmap #(
.up_drp_ready (1'd0),
.up_drp_locked (1'd1),
.up_usr_chanmax_out (),
.up_usr_chanmax_in (8'd1),
.up_usr_chanmax_in (NUM_CHANNELS),
.up_adc_gpio_in (32'd0),
.up_adc_gpio_out (),
.up_adc_ce (),

View File

@ -190,7 +190,7 @@ module ad_ip_jesd204_tpl_dac_regmap #(
.up_drp_ready (1'd0),
.up_drp_locked (1'd1),
.up_usr_chanmax (),
.dac_usr_chanmax (8'd3),
.dac_usr_chanmax (NUM_CHANNELS),
.up_dac_gpio_in (32'd0),
.up_dac_gpio_out (),
.up_dac_ce (),