필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Are there enough resources in a Kintex7 160T for my Simscape Electrical model ?

조회 수: 1 (최근 30일)
Samuel Quiniou
Samuel Quiniou 2019년 11월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello,
I am working on generating the HDL code from a Simulink Electrical model to run it on a Kintex7 160T FPGA. In the Simscape HDL Workflow Advisor, the "Get state-space parameters" step gives me the following results:
Summary of the state-space representation:
Number of states: 115
Number of inputs: 21
Number of outputs: 17
Number of modes: 9934
Discrete sample time: 2e-07
Parameter Parameter size
A 115 x 115 x 9934
B 115 x 21 x 9934
F0 115 x 1 x 9934
C 17 x 115 x 9934
D 17 x 21 x 9934
Y0 17 x 1 x 9934
Do you know if there will be enough resources in a Kintex7 160T to hold this model in a fixed-point format ?

답변 (1개)

Kiran Kintali
Kiran Kintali 2020년 8월 10일
Can you share a mat file with A,B,C,D,F0,Y0 values shown above? It depends if the matrix is largely sparse or has all non-zero values.
Kintex7 160T is one of the smaller parts in terms of available DSP resources.
Considering all the elements of the state space parameters to be non-zero elements the number of adders and multipliers required would be
  • A Adders:13110,Muls:13225
  • B Adders:2300,Muls:2415
  • C Adders:1938,Muls:1955
  • D Adders:340,Muls:357
This adds up to 17688 Adders and 17952 Muls. With maximum sharing factor sharing all the resources it may be tough to fit this model.
To accurately answer this question we would need sparsity information of the matrix and allowable latency in the system to maximal sharing necessary to finish the compuation. Also share expected switching frequency and throughput and other higher level design goals.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by