The datapath has the ability to detect an
over-range condition and record the event in the OVR_STATUS register.
The OVR_STATUS register has a bit for
each DSP channel and DAC channel. If any bit of OVR_STATUS is set, then the OVR_ALM
bit is also set, and if OVR_MASK=0, then the alarm output is asserted. The user can
choose to clear the alarm by writing a ‘1’ to the OVR_ALM bit, which also clears all
bits of the OVR_STATUS register. The user can also choose to clear all the bits of
the OVR_STATUS register directly by writing a ‘1’ to the register.
For some components of the datapath, an over-range condition is defined as a
full-scale sample. For other components, saturation must occur. The distinction is
minor and does not impact the usefulness of this feature. The location of the
detectors is depicted in Figure 7-10.
An OVR_DSPn bit is set if any of the following events occur in
DSPn:
- In DUC mode, the interpolation filter produced an interpolated sample that is
equal to full scale. This can occur even if all the DUC input samples are below
full-scale.
- The user inputs a full-scale sample to the DUC via the JESD204C interface
(attenuation by the PFIR when enabled before the DUC can prevent this
detection).
- The PFIR is enabled before the DUC and the PFIR produced a full-scale sample due
to PFIR gain greater than unity.
- Saturation occurred in the mixer. This can occur if the mixer rotated the I/Q
sample and saturation was the result. This can occur if the absolute value of
the I/Q input samples is greater than full scale and the DSP_GAINn is
large enough.
An OVR_DACn bit is set if any of the following events occur on DAC channel
n:
- Saturation occurred in the channel bonder.
- This can be the result of summing multiple DSP channels together, or
the result of one DSP channel producing a 20-bit output sample that is
slightly saturated to the 16-bit full scale output of the channel
bonder.
- Saturation in the channel bonder can be detected even if the PFIR
subsequently attenuates the sample before the sample reaches the
DAC.
- The DES2X filter for DACn produced a full-scale sample (even if the DES2X filter
has no full-scale input samples).
- The PFIR is configured to filter the channel bonder output, and the PFIR applied
gain to produce a full-scale sample.
Any datapath component that is disabled shall never detect an over-range condition
(full-scale sample and/or saturation). For example:
- If DSP0 was configured in DUC mode, filled with full-scale samples, and then
SYS_EN is cleared to reconfigure DSP0 into a non-DUC mode (or disabled), the
full scale sample inside the disabled DUC shall not be detected anymore (even
after setting SYS_EN=1 again).
- If a PFIR or DES2X filter was
filled with full-scale samples, but then SYS_EN is cleared and the part is
reconfigured to not use the PFIR or DES2X filter, then the full-scale samples
inside the PFIR or DES2X filter are not detected when the datapath is re-enabled
with SYS_EN.