You may see this error in the Quartus® II software version 12.0 or later when synthesizing your Qsys project that contains ports whose width is defined by complex arithmetic of parameter values.
Only simple arithmetic of parameter values is supported for port width expressions. and
bits2rep()
are examples of complex functions that are not supported in hw.tcl. Although previous version of the Quartus II software did not report this error, complex functions have never been supported.