Timeiq to iqstream (timeiq_to_iqstream)

timeiq_to_iqstream is an asset in the ocpi.assets.misc_comps component library. Implementations include timeiq_to_iqstream HDL Worker (timeiq_to_iqstream.hdl). Tested platforms include e310, xsim, zed.

Design

The TimeIQ to IQstream component adapts the TimeStamped_IQ protocol to the iqstream protocol.

A block diagram representation of the implementation is given in Figure 155:

timeiq_to_iqstream block diagram.

Figure 155: timeiq_to_iqstream block diagram.

Interface

<ComponentSpec>
  <Port Name='in'  Protocol='TimeStamped_IQ-prot'/>
  <Port Name='out' Producer='true'  Protocol='iqstream_protocol'/>
</ComponentSpec>

Properties

None.

Ports

Inputs:

  • in

    • Protocol: TimeStamped_IQ-prot

    • Optional: False

Outputs:

  • out

    • Protocol: iqstream_protocol

    • Optional: False

Implementations

Dependencies

The dependencies to other elements in OpenCPI are:

  • bsp_picoflexor/components/timeiq_to_iqstream.hdl/timeiq_to_iqstream.vhd

Limitations

Limitations of timeiq_to_iqstream are:

  • None.

Testing

The input file contains message metadata and uses three different opcodes from the TimeStamped_IQ protocol, and is formatted in the following manner:

  1. 8 byte time operation

  2. 8 byte interval operation

  3. 2880 byte samples operation

  4. 8 byte time operation

  5. 2880 byte samples operation

The data in the samples operation is a ramp from 0 to 2087.

The expected output waveform is the identical ramp with all other operations removed. For verification, the output file is compared to a golden input file.