- 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 (최근 30일)
이전 댓글 표시
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
답변 (2개)
R
2024년 6월 19일
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
Kiran Kintali
2024년 6월 19일
편집: Kiran Kintali
2024년 6월 19일
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!