Reset in FilterHDL RTL code
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello, I would like, when generating RTL code from Filter HDL coder toolbox, to create code with both asynchronous and synchronous resets. Is it possible ? How ? Many thanks in advance
0 comentarios
Respuestas (1)
Gaurav Phatnani
el 2 de Feb. de 2018
Hi Davide,
Unfortunately there is no way to generate code for both Asynchronous and Synchronous Reset Types by calling code generation once. In order to do this you will have to run code generation two times.
You can write a MATLAB script to automate this process. This link has some documentation on the Command Line Interface for HDL code generation.
To change the 'ResetType' from a MATLAB script you can use the following function:
>> hdlset_param(gcs,'ResetType','sync') %change the Reset Type to Synchronous
>> hdlset_param(gcs,'ResetType','async') %change the Reset Type to Asynchronous
Ver también
Categorías
Más información sobre Optimization en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!