Updated 01 Feb 2021
This example design shows a complete workflow from a MATLAB floating point reference design to a HDL capable Simulink model.
Primary documentation: https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/matlab_bsp_modem
The main example, which integrates the generated PHY from HDL-Coder and a TUN/TAP interface, can be deployed on the PackRF prototype development kit based on the ADRV9361-Z7035
To build the BOOT.BIN for deployment on the PackRF perform the following:
1. Download the linked repository
2. Launch MATLAB
3. Navigate to the repo in MATLAB: cd(<MathWorks_tools directory>)
4. Add ADI BSP to path: addpath(genpath('hdl_wa_bsp'))
5. Install BSP: AnalogDevices.install
6. Navigate to examples: cd('targeting_models/modem-qpsk');
7. Add necessary libraries to path: startup
8. Configure HDL compiler: setupHDL
9. Navigate to demo: cd('FixedPoint/demos/ADI_DMA_TT')
10. Build HDL design: hdlworkflow
Once the workflow has completed a BOOT.BIN file will be created which will be located in 'hdl_prj/vivado_ip_prj/boot/'. Copy this file to your SD cards root BOOT folder (https://wiki.analog.com/resources/tools-software/linux-software/zynq_images#preparing_the_image).
On the PackRF make sure you are fully updated. To do so first make sure the PackRF has an internet connection, then from the board run: adi_update_tools.sh
Analog Devices, Inc. Systems Development Group (2021). ADI PackRF QPSK Modem (https://github.com/analogdevicesinc/MathWorks_tools), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!