How to generate a fixed point HDL Code from a Simscape Electrical model ?
2 ビュー (過去 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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!