HDL Coder reset control
Mostrar comentarios más antiguos
Hi, Simulink HDL Coder: is it possible to control the generation of the vhdl reset clause on a block by block basis?
In general, most flops in a datapath design dont require reset. we just reset the input of datapath, and wait long enough for the known input to propagate through the datapath and put the design in a well defined state. Anything with feedback requires a reset. By using reset only when required like this, we save fpga routing resource, and produce more efficient, higher performance designs.
However,HDL coder produces vhdl with a reset on every flop. (we use sychronous reset). Is there a way for us to prevent hdl coder adding resets on all flops? can we control it?
cheers andrew
Respuesta aceptada
Más respuestas (1)
xiaodong yu
el 20 de Jun. de 2024
0 votos
Hi Androw
I want to find out all the delay module with "default reset". I use following command, but it is failed. do you have any suggestions?
find_system('modelname', 'BlockType', 'Delay','ResetType','default')
Apreciate your help.
Regards
XD
1 comentario
Casey
el 21 de Abr. de 2025
This is a combination of two commands, where the result of
find_system('modelname', 'BlockType', 'Delay')
is being used as the first argument to the hdlset_param() function
hdlset_param( find_system('modelname', 'BlockType', 'Delay'), 'ResetType', 'none' )
Categorías
Más información sobre AMD FPGA and SoC Devices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!