HDL Coder: Problems with saturation after a product block with divide
Mostrar comentarios más antiguos
Hi,
I'm trying to fix my model so that it works with the HDL coder, but there is one thing i just cannot get working. I have a product block (*/), which divides the first input by the second input and after this product block is a saturation block which saturates it between -1 and 1.
When I check whether the HDL code can be generated it gives the following error:
"Error: Product block with divide input (/) only supports Saturation 'On'".
Should I remove the saturation block and force it to saturate with a matlab function file? Or what would be the best way to get this working?
Thanks in advance!
Kind Regards,
Roland
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Discontinuities en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!