MATLAB Answers

Error while generating HDL code from Matlab: MATLAB for code generation only supports SumModes 'SpecifyPrecision' and 'KeepLSB' for 'MTIMES' when the size of the inputs can vary at run-time.

5 views (last 30 days)
While trying to generate Verilog file using HDL coder, I got the above error in the 'fixed-point' file in the Validation Results sections. Kindly help me resolve the issue.

  0 Comments

Sign in to comment.

Accepted Answer

Anish Mitra
Anish Mitra on 24 Feb 2016
As the error suggests, try changing the 'Sum mode' under the advanced settings. The image shows where to set this while using the Workflow Advisor.

  0 Comments

Sign in to comment.

More Answers (0)