Hi I have been trying to generate VERILOG code for Automotive Adaptive Cruise control model. I am converting matlab code into verilog code so that I can implement it on FPGA. But the conversion is not possible.
I have some error like this: "Expected R to be one of these types: double. Instead it is of type Embedded.fi"
I do not understand this error completely. Some one please help me out in solving this.
Please contact technical support with the MATLAB code.
Most likely you are running into an operation or function which is not supported and needs to be replaced with a LUT or other approximation.
The error message seems to indicate variable 'R' cannot be fi type since it is not supported by Fixed-Point Designer.
Thank you Mr. Kiran. What surprises me is I have not declared any variable R. Now is it a system generated Intermediate variable? I'll anyways post code snippet.
Play games and win prizes!Learn more