外部组件接口
使用黑盒接口的 HDL 代码实例化
将自定义 HDL 代码集成到您的 MATLAB® 设计中。黑盒接口允许您为现有手动编写的 HDL 代码或第三方 IP 创建一个接口。
App
| HDL Coder | 从 MATLAB 代码生成 HDL 和高级综合 (HLS) 代码 |
函数
codegen | 从 MATLAB 代码生成 HDL 或高级综合 (HLS) 代码 |
coder.config | 创建 HDL Coder 代码生成配置对象 |
对象
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.
