how to use exp funnction in hdl coder?
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a program that uses exp function in it.While converting to hdl using hdl coder,o get the error that exp () function is not supported.Can anyone help me out?
0 Kommentare
Antworten (2)
Raghav Mishra
am 19 Jun. 2020
For HDL support, you can use exponential block from HDL coder(under HDL floating point operations) library.
You can refer to the following documentation link for more details
0 Kommentare
Kiran Kintali
am 22 Jun. 2020
Hi,
Can you add more details and share example files with projects and reproductions here so that we can give better guidance?
The answer is nuanced and depends on where the question is related to floating-point or fixed-point support and the specific use of exp() function in MATLAB function block in Simulink to HDL workflow versus standlone MATLAB to HDL workflow.
If the question is related to fixed-point the avaiable workflow choices are to use automated float2fixed conversion workflow versus manual conversion before you initiate the HDL code generation process.
Thanks
0 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!