Possible to generate HDL Code from Stepper Motor model?
Show older comments
Hi all,
I am trying to run a stepper motor model on an FPGA and I thought mathlab may help me with this. At the moment I am checking with the 'power_steppermotor' example. Is it possible to generate HDL Code using stepper models from the Simscape/SimPowerSystems library?
Thank you and kind regards, Kitz
Answers (2)
Tim McBrayer
on 27 Jan 2014
0 votes
No Simscape blocks are supported for HDL Code generation.
I am curious as to what sort of HDL Code you would expect to be generated for a model of a stepper motor. Modeling the control circuitry for a stepper makes sense; the motor itself does not really make sense. You may need to reconsider what portion of your design you wish to convert into HDL.
Matt Kitz
on 28 Jan 2014
0 votes
2 Comments
Tim McBrayer
on 29 Jan 2014
This does sound like an interesting project. You will need to build your model for the stepper motor by hand for this. If you run the hdllib command, it will create a library containing all the HDL-capable blocks that you have installed and licensed.
zulhilmi musa
on 14 Jan 2021
anyone can help me with hdl code?
Communities
More Answers in the Power Electronics Control
Categories
Find more on Code Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!