Filter löschen
Filter löschen

how to use exp funnction in hdl coder?

6 Ansichten (letzte 30 Tage)
Shubham Kapoor
Shubham Kapoor am 22 Apr. 2015
Beantwortet: Kiran Kintali am 22 Jun. 2020
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?

Antworten (2)

Raghav Mishra
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

Kiran Kintali
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

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by