フィルターのクリア

How to use multiword in Stateflow/RTW

1 回表示 (過去 30 日間)
Jim Johnson
Jim Johnson 2014 年 10 月 20 日
コメント済み: Jon Boerner 2014 年 10 月 22 日
I want to have a uint64 on a 32 bit processor. I would like to avoid using fixed point to do this if possible.
  1 件のコメント
Jon Boerner
Jon Boerner 2014 年 10 月 22 日
Hi Jim,
A couple clarifying questions:
  • When you say multiword, are you looking for an explicit structure/array construct in the generated code that represents a 64-bit number with two 32-bit entries?
  • Or are you looking for 64-bit numbers to just be used in the generated code because your compiler is able to accept 64-bit numbers?
  • Do you not have access to the Fixed-Point Designer product? Is that why you are trying to avoid the use of fixed-point?
A couple other points to keep in mind:
  • Stateflow does not support the uint64 and int64 data types, so to use 64-bit numbers in Stateflow, the only option is the double data type for a 64-bit data type, and there is no multi-word for that as best I can tell.
  • The Configuration Parameters Hardware Implentation pane is where you start introducing the multiword behavior
  • I do not believe any multi-word structures as mentioned above are generated without the Fixed-Point Designer
Let me know the answers to the first three questions and I can take another look.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStateflow についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by