When trying to ramp a DDS to zero amplitude (in this case using an exponential ramp), I often find that the compilation fails saying that the device cannot accept values between 0 and 1. My current workaround for this is to change the final value of the ramp to be a small non-zero number below the quantisation limit of the device so that it will be rounded to zero anyway.
There must be some rounding issues involved in the evaluation of ramp functions. The error message does not tell me what value it is tying to program, but I suspect that it will be an extremely small negative number.
Original report (archived issue) by Shaun Johnstone (Bitbucket: shjohnst, GitHub: shjohnst).
When trying to ramp a DDS to zero amplitude (in this case using an exponential ramp), I often find that the compilation fails saying that the device cannot accept values between 0 and 1. My current workaround for this is to change the final value of the ramp to be a small non-zero number below the quantisation limit of the device so that it will be rounded to zero anyway. There must be some rounding issues involved in the evaluation of ramp functions. The error message does not tell me what value it is tying to program, but I suspect that it will be an extremely small negative number.