makehdl like functionality for MATLAB Algorithm HDL generation
Mostra commenti meno recenti
How can we generate Native floating point hdl for generic target ( for ASIC/FPGA without locking to a particular vendor ), for a matlab function. We tried to generate this and it failed on function like 'floor'
Risposta accettata
Più risposte (1)
Tim McBrayer
il 14 Giu 2017
0 voti
Native Floating Point code generation support was introduced in HDL Coder in R2017a for Simulink models. To instantiate a floor function, simply use the core Simulink Rounding Function block, with its rounding mode set to floor.
Categorie
Scopri di più su Guided Code Generation in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!