How to integrate with Verilog Code Generator with custome approach instead of Simulink?
2 views (last 30 days)
Show older comments
I want to make use of Matlab's Verilog Code Generator using a custom approach instead of simulink. Is this possible? If it is is there resource I can use to get started.
Answers (2)
Kiran Kintali
on 10 Sep 2020
Here are some links that can help in describing the workflow to translate MATLAB to Verilog. Please note you need to follow best practicses of coding for efficient hardware generation.
This example shows how to create a HDL Coder™ project and generate code from your MATLAB® design. In this example, you:
- Create a MATLAB HDL Coder project.
- Add the design and test bench files to the project.
- Start the HDL Workflow Advisor for the MATLAB design.
- Run fixed-point conversion and HDL code generation.
This example shows how to create a HDL Coder™ project, generate code for your MATLAB design, and synthesize the HDL code. In this example, you:
- Create a MATLAB HDL Coder project.
- Add the design and test bench files to the project.
- Start the HDL Workflow Advisor for the MATLAB design.
- Run fixed-point conversion and HDL code generation.
- Generate a HDL test bench from the MATLAB test bench.
- Verify the generated HDL code by using a HDL simulator. This example uses ModelSim® as the tool.
- Synthesize the generated HDL code by using a synthesis tool. This example uses Xilinx® Vivado® as the tool.
This example shows how to generate HDL code from a MATLAB® design that does image enhancement using histogram equalization.
Kiran Kintali
on 10 Sep 2020
web(fullfile(docroot, 'hdlcoder/gs/generate-hdl-code-from-matlab-code-using-the-command-line-interface.html'))
This product help page documents in detail how to use command line workflow to get from MATLAB to Verilog including fixed-point conversion if necessary.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!