N310 qADC Class Worker (n310_qadc_csts)
OpenCPI qDAC Class Worker for the n310 platform.
Design
Interface
<ComponentSpec>
<Property name='ADC_WIDTH_BITS'
type='ushort'
parameter='true'
default='16'
description='Number of bits in each of the real and imaginary values received
from the ADC device.'/>
<Property name='ADC_INPUT_IS_LSB_OF_OUT_PORT'
type='bool'
parameter='true'
default='false'
description='Indicates whether ADC data is justified to most
significant or least significant ADC_WIDTH_BITS of the out port.
When value is false, sign extension occurs.'/>
<Property name='clr_overrun_sticky_error'
type='bool'
writable='true'
default='false'
description='Writing true clears overrun_sticky_error.'/>
<Property name='overrun_sticky_error'
type='bool'
volatile='true'
description='Sticky bit indication of samples overrun.'/>
<Property name='samp_count_before_first_samp_drop'
type='ulong'
volatile='true'
description='Number of samples before the first dropped sample.'/>
<Property name='num_dropped_samps'
type='ulong'
volatile='true'
description='Number of samples dropped.'/>
<Property name='suppress_discontinuity_opcode'
type='bool'
writable='true'
default='false'
description='Writing true suppresses the worker from sending sync opcodes'/>
</ComponentSpec>
Properties
ADC_WIDTH_BITS: Number of bits in each of the real and imaginary values received from the ADC device.Type:
ushortAccess:
Parameter:
TrueWritable:
FalseInitial:
FalseVolatile:
False
Default value:
16
ADC_INPUT_IS_LSB_OF_OUT_PORT: Indicates whether ADC data is justified to most significant or least significant ADC_WIDTH_BITS of the out port. When value is false, sign extension occurs.Type:
boolAccess:
Parameter:
TrueWritable:
FalseInitial:
FalseVolatile:
False
Default value:
false
clr_overrun_sticky_error: Writing true clears overrun_sticky_error.Type:
boolAccess:
Parameter:
FalseWritable:
TrueInitial:
FalseVolatile:
False
Default value:
false
overrun_sticky_error: Sticky bit indication of samples overrun.Type:
boolAccess:
Parameter:
FalseWritable:
FalseInitial:
FalseVolatile:
True
Default value:
None
samp_count_before_first_samp_drop: Number of samples before the first dropped sample.Type:
ulongAccess:
Parameter:
FalseWritable:
FalseInitial:
FalseVolatile:
True
Default value:
None
num_dropped_samps: Number of samples dropped.Type:
ulongAccess:
Parameter:
FalseWritable:
FalseInitial:
FalseVolatile:
True
Default value:
None
suppress_discontinuity_opcode: Writing true suppresses the worker from sending sync opcodes.Type:
boolAccess:
Parameter:
FalseWritable:
TrueInitial:
FalseVolatile:
False
Default value:
false
Ports
Inputs:
None.
Outputs:
out: Output Data Port.Protocol:
complex_short_timed_sample-protOptional:
False
Implementations
n310_qadc_csts(HDL)
Dependencies
The dependencies to other elements in OpenCPI are:
ocpi.platforms.adc_cstsprimitive
ocpi.core.util,ocpi.core.bsv,ocpi.core.timed_sample_protprimitives
There is also a dependency on:
ieee.std_logic_1164
ieee.numeric_std
Limitations
Limitations of n310_qadc_csts are:
NONE