Info

This question is closed. Reopen it to edit or answer.

getting error while converting matlab code to verilog

9 views (last 30 days)
while converting matlab to verilog in hdl coder error getting testbench. ERROR : Error using eml_error (line 20) BIT must be integers between 1 and 9 for embedded.fi. i cannot even understand meaning of that error, can u figure it out

Answers (1)

Bharath Venkataraman
Bharath Venkataraman on 17 May 2017
Edited: Bharath Venkataraman on 17 May 2017
Do you have any bit manipulation code? In that case, one guess is that the index you are passing needs to be between 1 and 9, where as the value you are passing in is not between those values. Showing the code here may help debug it.

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!