How to generate verilog code for thisbelow function using HDL coder?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Bharath Venkataraman
il 23 Mag 2022
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 Commenti
Vedere anche
Categorie
Scopri di più su HDL Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!