HDL Workflow Advisor Error

9 views (last 30 days)
erfan amini
erfan amini on 28 Apr 2023
Answered: Kiran Kintali on 28 Apr 2023
Hi,
I designed a Simulink model for the phase-locked loop using an adaptive scheme. I want to run this model on FPGA. I use the HDL coder of MATLAB to generate an HDL code. However, in the workflow advisor, I get an error mentioning that I cannot use the continuous sampling time. Nevertheless, I do not have any continuous block, and all sampling times are set to 1e-6s. It would be greatly appreciated if any could help me with the problem. I have attached a picture of my model and the error for more information.
Thanks!

Answers (1)

Kiran Kintali
Kiran Kintali on 28 Apr 2023
If you can share the model please add the attachment. If open the Sample time legend and do not see continuous sample time (0) feel free to reach out tech support and report an issue.
Continuous sample times are not supported for HDL Code Generation.
You need to discretize the model and use blocks in the DUT targeted for ASIC/FPGA.
It is a best practice to run the hdlsetup(<modelName>) command on the model.

Categories

Find more on Modeling in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!