Why does the example "Getting Started with NI USRP Targeting Workflow" fail when trying to build the bitstream in MATLAB R2025b?

I am following the "Getting Started with NI USRP Targeting Workflow" example in MATLAB R2025b and I am trying to target the "X310" board. When I try running it, HDL Coder goes through its workflow and fails when it tries to build the bitstream. The error given is 
ERROR: [Runs 36-527] DCP does not exist: /home/user/Documents/MATLAB/SupportPackages/R2025b/3P.instrset/uhdbinary.instrset/glnxa64/fpga/usrp3/top/x300/build-ip/xc7k410tffg900-2/divide_int16_int32/divide_int16_int32.dcp
I confirmed that this file does not exist on my system. Why is the example failing to build the bitstream?

 Accepted Answer

As of MATLAB R2025b, this error happens when you prematurely close the external shell before the bitstream build completes, thus terminating the build. This error also indicates you are missing the required files to generate the bitstream, specifically the "divide_int16_int32.cdp" file. Uninstalling and reinstalling the FPGA support package will resolve the issue. 
To avoid having to uninstall and reinstall every time a build is interrupted, you can delete the fpga/usrp3/top/x300/build-ip folder before attempting to build. 

More Answers (0)

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Products

Release

R2025b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!