makehdl like functionality for MATLAB Algorithm HDL generation
1 view (last 30 days)
Show older comments
Nitinkumar Barot
on 13 Jun 2017
Answered: Kiran Kintali
on 14 Jun 2017
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'
0 Comments
Accepted Answer
Kiran Kintali
on 14 Jun 2017
Native Floating Point generation for MATLAB code is on our roadmap. Code generation for all math functions with single precision types is only available in Simulink to HDL code generation workflow.
0 Comments
More Answers (1)
Tim McBrayer
on 14 Jun 2017
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.
0 Comments
See Also
Categories
Find more on Native Floating Point in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!