hdlcoder.sdr
Create transmitter and receiver for AD936x-based software-defined radio hardware
Since R2024a
Add-On Required: This feature requires the HDL Coder™ Support Package for Xilinx® FPGA and SoC Devices add-on.
Description
The hdlcoder.sdr
System object™ is a signal source that transmits and receives data from an AD936x-based
software-defined radio (SDR) hardware device. Use this object to simulate and develop various
SDR applications.
To use this object, when setting up the hardware in Guided Hardware Setup, select Xilinx Zynq® ZC706 Evaluation Kit with Analog Devices® FMCOMMS2/3/4 RF card.
To transmit and receive data from the radio hardware:
Create the
hdlcoder.sdr
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Description
creates a
transmitter and receiver System object with default properties for the specified hardware device. sdrTxRx
= hdlcoder.sdr("Device")
Example: sdrTxRx = hdlcoder.sdr('AD936x');
creates a transmitter and receiver object using one or more name-value arguments. You can
specify additional name-value arguments in any order as
sdrTxRx
= hdlcoder.sdr('Device',Name=Value
)(Name1,Value1,...,NameN,ValueN)
. If you do not specify a property, it
uses the default value.
Example: sdrTxRx =
hdlcoder.sdr('AD936x',CenterFrequency=2.4e9,BasebandSampleRate=3.8e6);
Properties
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
Version History
Introduced in R2024a