How to generate verilog code for thisbelow function using HDL coder?
1 回表示 (過去 30 日間)
古いコメントを表示
I want to know ,how to generate the verilog code for the below function(divide) using hdl coder.?
T = numerictype('Signed', false,...
'WordLength', 80,...
'FractionLength', 83);
a = fi(20);
b = fi(2);
c = divide(T, a, b);
Thank you.
0 件のコメント
回答 (1 件)
Bharath Venkataraman
2022 年 5 月 23 日
You can use the real divide hdl optimized block. Other options include the reciprocal block followed by a multiply or the divide block in Simulink.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!