フィルターのクリア

How to generate a fixed point HDL Code from a Simscape Electrical model ?

2 ビュー (過去 30 日間)
Samuel Quiniou
Samuel Quiniou 2020 年 4 月 27 日
回答済み: Kiran Kintali 2020 年 4 月 27 日
Hello,
I want to generate the HDL Code from a Simscape Electrical model. Here is what I am doing:
  1. 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.
  2. 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.
  3. I adapted the generated Simulink implementation model from single to fixed point format.
  4. 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

回答 (1 件)

Kiran Kintali
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

カテゴリ

Help Center および File ExchangeHardware-in-the-Loop Simulation with Simulink Real-Time についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by