Post Go back to editing

Possibe bugs in axi_ad9963 and axi_ad9122 with DDS

Category: Software
Product Number: ad9963
Software Version: hdl-2023_R2

Hi,

When I tried to activate DDS modules in the M2k HDL source disabled by default, I found that the ad_dds has been successfully instantiated and connected with the tx path of the axi_ad9963.
However, a stragne behavior in the output signal has been observed; the output frequency changes when I vary the initial phase.

I found that in the line 219 of axi_ad9963_tx_channel.v,

    .tone_1_freq_word (dac_dds_init_2_s),

the initial phase of tone_2 has been wrongly passed to the frequency of tone_1. The correct code would be,

    .tone_1_freq_word (dac_dds_incr_1_s),

After this modefication, the DDSs in M2k work correctly as I expected.

Please check it. A similar possible bug has also been found in axi_ad9122.