Azzera filtri
Azzera filtri

RAM Mapping failed in HDL Coder

2 visualizzazioni (ultimi 30 giorni)
nauman
nauman il 30 Ago 2014
Risposto: Tim McBrayer il 2 Set 2014
Hello all
I am using MATLAB 2013a HDL Coder along with Xilinx ISE 13.2. I am trying to implement MATLAB given HDL Example "Timing Offset Estimation", however,i am getting following warning during HDL Code generation:
"Warning: RAM mapping failed for variable, 'rBuf', because it has a non-scalar sub-matrix access"
Same type of problem also occurs for Example "LMS Filter: Noise Cancellation".
Kindly help me to solve this problem
Best Regards kalia

Risposte (1)

Tim McBrayer
Tim McBrayer il 2 Set 2014
The warning is just that; a warning. The generated code should be perfectly fine. The design will use distinct registers for each element of the MATLAB array instead of block RAMs. The examples you refer to are making array accesses to a non-scalar portion of a variable, according to the warning message. This access pattern prevents the array variable in MATLAB (rBuf, in the one case) from being mapped to a RAM construct in the HDL.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by