HDL Workflow Advisor Configuration Issues for PWM Generation on Speedgoat IO334-21
Show older comments
I have a toy model of PWM generation on Speedgoat P3 (IO334-21) using blocks from Speedgoat Motion Control HDL I/O Blockset library.The model is based on pwm_example_hdlc.slx. However, I am using only one instance of PWM Generation (CPU) and Abstraction PWM Generation Block (FPGA), which is in "FPGA" subsystem (green block).

I started from blank model, added Real-Time app into the model and selected appropriate Target platform. If I run HDL advisor on green block FPGA, step 1 is OK.
Step "2.1 Check Model Settings" of HDL Workflow advisor fails, due to "Incorrect model configuration settings for HDL code generation. To fix the problem, click the Modify All button, or click the hyperlink to launch the Configuration Parameter(s) dialog and manually apply the recommended setting."
The HDL advisor suggests 3 changes:
- to change System Target File from speedgoat.tlc to grt.tlc,
- to change Device type from Intel->x86-64 (Linux 64) to ASIC/FPGA->ASIC/FPGA
- to change Default parameter behaviour from Tunable to Inlined.
Why does the HDL coder want to change those settings?
(I have run into similar issues on some other examples as well, so the issue may not be specifically related to Motion Control blockset)

Accepted Answer
More Answers (0)
Categories
Find more on Get Started with HDL Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!