Main Content

Vector To DAC

Convert vector inputs to concatenated 16-bit DAC output samples

Since R2020b

  • Vector To DAC block icon

Libraries:
SoC Blockset Support Package for Xilinx Devices / SDR / RFSoC

Description

The Vector To DAC block converts the vector input to concatenated 16-bit digital-to-analog converter (DAC) output samples.

The block accepts a vector of N samples through the vectorData input port and outputs 16-bit samples packed into N x 16 bits through the dacData output port based on the N value. N is the length of the input word.

Ports

Input

expand all

DAC data samples, specified as a column vector. This input must be an N-element column vector of N samples, where the first sample is the lower significant bit (LSB), and the last sample is the most significant bit (MSB). N is the length of the input word set by the Shortened input word length parameter.

Data Types: int16 | uint16

Output

expand all

DAC data samples, returned as a scalar. The block returns N x 16 bit output samples, where N is the length of the input word set by the Shortened input word length parameter.

Data Types: int16 | int32 | int64 | uint16 | uint32 | uint64 | fixed point

Parameters

expand all

Specify the input word length as an integer from 1 to 16. This parameter sets the required input vector size and the bit width of the output samples.

Extended Capabilities

Version History

Introduced in R2020b