外部组件接口
使用黑盒接口的 HDL 代码实例化
将自定义 HDL 代码集成到您的 MATLAB® 设计中。黑盒接口允许您为现有手动编写的 HDL 代码或第三方 IP 创建一个接口。
App
| HDL Coder | Generate HDL and High-Level Synthesis (HLS) code from MATLAB code |
函数
codegen | Generate HDL or High-Level Synthesis (HLS) code from MATLAB code |
coder.config | Create HDL Coder code generation configuration objects |
对象
hdl.BlackBox | Black box for including custom HDL code |
主题
- Integrate Custom HDL Code Into MATLAB Design
Include pre-existing HDL code in your MATLAB design.
- Specify the Clock Enable Rate
Configure clock enable to run at design base rate or input data rate.
- Minimize Clock Enables
Generate code for registers without clock enables.
- Enable MATLAB Function Block Generation
During HDL code generation, your MATLAB algorithm must go through the floating-point to fixed-point conversion process, even if it is already a fixed-point algorithm.
