getting error while converting matlab code to verilog

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)

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

Asked:

on 5 May 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!