makehdl like functionality for MATLAB Algorithm HDL generation
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Kiran Kintali
2017년 6월 14일
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
추가 답변 (1개)
Tim McBrayer
2017년 6월 14일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Native Floating Point에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!