HDL Coder reset control
古いコメントを表示
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
採用された回答
その他の回答 (1 件)
xiaodong yu
2024 年 6 月 20 日
0 投票
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 件のコメント
Casey
2025 年 4 月 21 日
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' )
カテゴリ
ヘルプ センター および File Exchange で AMD FPGA and SoC Devices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!