HDL Coder Error while converting AWGN function code to Fixed-Point code. Any suggestion to solve it?

I am using HDL Coder to convert AWGN function to Fixed-Point code as part of VHDL code conversion. but it produces an rrror while converting AWGN function code to Fixed-Point code. Any suggestion to solve it?
Can anyone help me how can I fix and solve the error? It very important.
Thank you for your help. Best Regards, Ghazanfar Latif

4 Kommentare

Thanks for reply. Here is the error message:
"The function 'awgn' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation."
I want to test the code in Xilinx. So can I still use the "coder.extrinsic" ? Can you please guide or give a hint to resolve this? Thank you so much for your kind help
coder.extrinsic cannot be used for code that is to be deployed.
Thanks for the answer.
So any possible way to solve this function issue? A small hint from your side might help to get the solution. Thanks

Melden Sie sich an, um zu kommentieren.

Antworten (1)

HDL Coder does not support any of the random number generators.
Fortunately I researched this earlier this year and found some suggestions on how to implement random numbers in HDL:

Kategorien

Mehr zu FPGA, ASIC, and SoC Development finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 21 Dez. 2016

Kommentiert:

am 22 Dez. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by