How to generate a fixed point HDL Code from a Simscape Electrical model ?
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello,
I want to generate the HDL Code from a Simscape Electrical model. Here is what I am doing:
- I run the sschdladvisor tool to generate the Simulink implementation model. This generated Simulink implementation model is in single format. The matrices of the state-space model are 3D matrices.
- I run the HDL Workflow Advisor on the generated Simulink implementation model. The generated HDL Code is too big to fit into a Xilinx Kintex ultrascale+ XCKU15P.
- I adapted the generated Simulink implementation model from single to fixed point format.
- I run the HDL Workflow Advisor on the fixed point Simulink implementation model, but it returns the error that the 3D matrices are not allowed:
Could you please help me to adapt the generated Simulink implementation model into a fixed point format that is compatible with the HDL Code generation ?
Thank you for you help

댓글 수: 0
답변 (1개)
Kiran Kintali
2020년 4월 27일
Typically fixed-point conversion leads significant numerical challenges on this model due to large dynamic ranges of the state-space matrices involved during Simscape to HDL FPGA translation. Hence only floating-point workflow is currently enabled.
Can you share your usecase simscape model and manually converted fixed-point model? we would like to evaluate the validation strategy and provide further guidance on potential options.
Thanks
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Real-Time Deployment and Code Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!