- In the Apps tab, select HDL Coder. Then, in the HDL Code tab, select HDL Block Properties > Open HDL Block Library.
- Alternatively, you can enter `hdllib` at the command prompt. This command opens the Library Browser in standalone mode, showing blocks that are compatible with HDL code generation.
Does Simscape Specialized Power Systems blocks work with HDL Coder?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I'm getting errors generating HDL code using blocks from the SPS library. Want to know if this library is supported with HDL coder
0 comentarios
Respuestas (2)
R
el 19 de Jun. de 2024
Specialized Power Systems Library is designed for modeling electrical power systems using specialized components and blocks. However, many of these components are not supported for HDL code generation because the models in the SPS library typically operate at a higher level of abstraction. They are suitable for system-level simulation rather than direct implementation on hardware platforms such as FPGAs or ASICs, which are the primary targets of HDL code generation.
To display the blocks compatible with HDL code generation:
By constructing models using blocks from this Library Browser, you ensure that your models are compatible with HDL code generation.
Additionally, you can consult the Documentation page for blocks under Specialized Power Systems. Look under the Extended Capabilities to check whether HDL code generation is supported:
For instance, for a Boost converter, it is noted that you can only generate C/C++ code using Simulink Coder, indicating the absence of direct support for HDL code generation for this particular component.
0 comentarios
Kiran Kintali
el 19 de Jun. de 2024
Editada: Kiran Kintali
el 19 de Jun. de 2024
SPS blocks are not currently supported for HDL Code Generation. Please reach out to tech support and share your model of interest. We will reach out to you directly on the roadmap and the next steps in the Simscape Electrical area.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!