makehdl like functionality for MATLAB Algorithm HDL generation
이전 댓글 표시
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'
채택된 답변
추가 답변 (1개)
Tim McBrayer
2017년 6월 14일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Guided Code Generation에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!