What does 'coder.internal.indexShapeCheck>>errORWarnIF .... code generation assumption about size violated' mean?
6 views (last 30 days)
I am attempting to convert a floating point model into fixed point code. I am recieving the error message presented below:
‘ Error using coder.internal.indexShapeCheck>>errOrWarnIF
Code Generation assumption about size violated. Run-time indexing is vector(vector) with different orientations, but compile-time assumption was matrix(vector) indexing.’
This message is from me using the dsp.FFT system object on a [1 2048] variable. The variable is bounded by coder.varsize in order for the system object to work. This code works within the MATLAB environment but in the HDL Coder and produces the above error.
(Unfortunatley due to security I am unable to attach code)
Kiran Kintali on 22 May 2022
This error is unexpected. Please share a sample project file that reproduces the error or reach out to technical support. HDL Coder in general does not supprt variable dimensions.