Info

此问题已关闭。 请重新打开它进行编辑或回答。

How can I use fixed point types with more than 2080 bits?

1 次查看(过去 30 天)
In our Simulink / Altera DSP Builder design we use a wide array of type ufix() to distribute information from configuration registers around the system. Now this array has grown to more than 2080 bits, which seems to be the limit for fixed point types. Is there a way to get wider data types than 2080 bits?
Of course one option would be to redesign our system to use e.g. a vector of fixed point data, which would fix this issue, but we would like to avoid this redesign at this time since it would affect many parts of the design.
  1 个评论
Nick Choi
Nick Choi 2017-10-6
It would be helpful to see what is going on within the model. Could you provide a reproduction model?
Also, how are you determining that the array is approaching 2080 bits? For simulation and code generation, there is a limit of 128 bits for fixed-point data types as described in the following documentation link:
In MATLAB, the 'fi' object has a 'WordLength' limit of 65535.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by