N310 qDAC Class Worker (n310_qdac_csts)
OpenCPI qDAC Class Worker for the n310 platform.
Design
Interface
<ComponentSpec>
<Property Name="DAC_WIDTH_BITS"
Type="UChar"
Parameter="True"
Default="16"
Description="Number of bits in each of the real and imaginary values delivered to the DAC device"/>
<Property Name="DAC_OUTPUT_IS_LSB_OF_IN_PORT"
Type="Bool"
Parameter="True"
Default="false"
Description="Indicates whether DAC data is extracted from the most
significant or least significant DAC_WIDTH_BITS of the in port."/>
<Property Name="underrun_sticky_error"
Type="Bool"
Volatile="true"
Description="Sticky bit indication of samples underrun."/>
<Property Name="clr_underrun_sticky_error"
Type="Bool"
Writable="true"
Description="Writing true clears underrun_sticky_error."/>
<Property name='samp_count_before_first_underrun'
type='ulong'
volatile='true'
description='Number of samples before the first sample underrun.'/>
<Property name='num_underruns'
type='ulong'
volatile='true'
description='Number of sample underruns.'/>
</ComponentSpec>
Properties
DAC_WIDTH_BITS: Number of bits in each of the real and imaginary values delivered to the DAC device.Type:
ucharAccess:
Parameter:
TrueWritable:
FalseInitial:
FalseVolatile:
False
Default value:
16
DAC_OUTPUT_IS_LSB_OF_IN_PORT: Indicates whether DAC data is extracted from the most significant or least significant DAC_WIDTH_BITS of the in port.Type:
boolAccess:
Parameter:
TrueWritable:
FalseInitial:
FalseVolatile:
False
Default value:
false
underrun_sticky_error: Sticky bit indication of samples underrun.Type:
boolAccess:
Parameter:
FalseWritable:
FalseInitial:
FalseVolatile:
True
Default value:
None
clr_underrun_sticky_error: Writing true clears underrun_sticky_error.Type:
boolAccess:
Parameter:
FalseWritable:
TrueInitial:
FalseVolatile:
False
Default value:
None
samp_count_before_first_underrun: Number of samples before the first sample underrun.Type:
ulongAccess:
Parameter:
FalseWritable:
FalseInitial:
FalseVolatile:
True
Default value:
None
num_underruns: Number of sample underruns.Type:
ulongAccess:
Parameter:
FalseWritable:
FalseInitial:
FalseVolatile:
True
Default value:
None
Ports
Inputs:
in: Input Data Port.Protocol:
complex_short_timed_sample-protOptional:
False
Outputs:
on_off: Tx Event Port.Protocol:
tx_event-protOptional:
True
Implementations
n310_qdac_csts(HDL)
Dependencies
The dependencies to other elements in OpenCPI are:
ocpi.platforms.dac_cstsprimitive
ocpi.core.timed_sample_protprimitive
There is also a dependency on:
ieee.std_logic_1164
ieee.numeric_std
Limitations
Limitations of n310_qdac_csts are:
NONE