Post Go back to editing

Error due to Decimation setting in High-Speed Converter Toolbox

Category: Software
Product Number: AD9081
Software Version: 22.2.1

About the Analog Devices, Inc. High-Speed Converter Toolbox.
I'm getting an error when trying to simulate the AD9081 DDC function using this tool.
Reducing ChannelizerPathDecimation from 8 to 4 eliminates the error.
How can I prevent the error from occurring when setting ChannelizerPathDecimation = 8?
■Settings that cause the error
rx = adi.sim.AD9081.Rx;
rx.MainDataPathDecimation = 2;
rx.ChannelizerPathDecimation = 8;
■Settings that do not cause the error
rx = adi.sim.AD9081.Rx;
rx.MainDataPathDecimation = 2;
rx.ChannelizerPathDecimation = 4;

Best regards

Parents
  • What error are you getting? Your post does not include it.

    -Travis

  • Thank you for your reply.
    The error and simulation settings are as follows:

    ■Error
    The accumulator word length must be 128 bits or shorter.

    error: dsp.FilterCascade/stepImpl (line 433)
    y = step(stage, y);
    ^^^^^^^^^^^^^^^^^^^
    error: adi.sim.common.FDDC/stepImpl (line 127)
    u = obj.FilterPath(u);
    ^^^^^^^^^^^^^^^^^^^^^^
    error: adi.sim.AD9081.Rx/stepImpl (line 434)
    channelizerPathOut1 = obj.FDDC1(uMux2out(:,1));
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    error: AD9081Simtest_20250714>AD9081Simtest (line 121)
    [o1,o2,o3,o4,o5,o6,o7,o8] = rx(data_x_i,data_x_q,data_y_i,data_y_q);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    error: AD9081Simtest_20250714 (line 23)
    [o1,o2,o3,o4,o5,o6,o7,o8] = AD9081Simtest(data_x_i,data_x_q,data_y_i,data_y_q);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    View stack trace:
    • dsp.FilterCascade>FilterCascade.stepImpl (line 433)
    • dsp.FilterCascade>FilterCascade.stepImpl (line 433)
    • adi.sim.common.FDDC>FDDC.stepImpl (line 127)
    • adi.sim.AD9081.Rx>Rx.stepImpl (line 434)
    • AD9081Simtest_20250714>AD9081Simtest (line 121)
    • AD9081Simtest_20250714 (line 23)

    ■simulation settings
    function [o1,o2,o3,o4,o5,o6,o7,o8] =AD9081Simtest(data_x_i,data_x_q,data_y_i,data_y_q)

    rx = adi.sim.AD9081.Rx;

    rx.MainDataPathDecimation = 2;

    rx.Crossbar4x4Mux0 = [1,2,3,4];

    rx.ModeSelectMux1 = true;

    rx.SampleRate = 1.6e9;

    rx.Crossbar4x8Mux2 = [1,1,1,1,3,3,3,3];

    rx.CDDCNCOEnable = [false,false,false,false];

    rx.FDDCNCOEnable = [true,true,true,true,true,true,true,true];

    rx.CDDCNCOFrequencies = [100e6, 200e6, 300e6, 400e6];

    rx.ChannelizerPathDecimation = 8;

    rx.FDDCNCOFrequencies = [100e6, 200e6, 300e6, 101e6, 100e6, 200e6, 300e6, 101e6];

    rx.PFIREnable = false;

    [o1,o2,o3,o4,o5,o6,o7,o8] = rx(data_x_i,data_x_q,data_y_i,data_y_q);

    rx.delete

    end

  • After adjusting the sampling rate settings, etc., I was able to confirm the DDC function in the AD9081 simulation. However, I encountered the following problems.
    Could you please tell me the cause and solution?
    1. When I checked the AD9081's DDC function using input data normalized to an amplitude of 1, the output data was in the hundreds. I was expecting data normalized to 1 to be output, so could you please tell me the cause?
    2. The initial phase of the NCO in the simulation is not 0.
    How do I set the initial phase of the NCO in the simulation?
    3. If I don't set the initial phase of the NCO in the simulation, what value will the initial phase of the NCO be?

Reply
  • After adjusting the sampling rate settings, etc., I was able to confirm the DDC function in the AD9081 simulation. However, I encountered the following problems.
    Could you please tell me the cause and solution?
    1. When I checked the AD9081's DDC function using input data normalized to an amplitude of 1, the output data was in the hundreds. I was expecting data normalized to 1 to be output, so could you please tell me the cause?
    2. The initial phase of the NCO in the simulation is not 0.
    How do I set the initial phase of the NCO in the simulation?
    3. If I don't set the initial phase of the NCO in the simulation, what value will the initial phase of the NCO be?

Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.