Download Opal-RT RT-XSG User Guide.book

Transcript
RMSAvgGain: This can be used to provide a gain to apply to both input signals to enhance
their dynamic range / resolution to fill optimally the [-1, +1] range.
Sync: This synchronization signal triggers the measurement of new values for the meansquare and average outputs. Seven clock cycles are necessary to output the new values. The
new values arrival is notified by the 33rd bit of the outputs being active for a one-cycle
pulse.
Outputs
MeanSquare_Ch1_Ch0: The output gives the average square value of both input signals.
RMS value can be obtained by applying the square-root of these values. Bit assignations are
the following:
Positions
Description
Bit 32
Data ready flag
Bits 16-31
Mean-square of input Ain_1, in the
Bits 0-15
Mean-square of input Ain_0, in the
Fix16_15 format
Fix16_15 format
Average_Ch1_Ch0: The output gives the average value of both input signals. Bit
assignations are the following:
Positions
Description
Bit 32
Data ready flag
Bits 16-31
Average of input Ain_1, in the
Bits 0-15
Average of input Ain_0, in the
Fix16_15 format
Fix16_15 format
Characteristics and Limitations
This block has no special characteristics.
Appendix A
Direct Feedthrough
N/A
Discrete sample time
N/A
XHP support
N/A
Work offline
YES
Opal-RT XSG BLOCKS
93