Steps for converting hilbert transform matlab code to vhdl

5 views (last 30 days)
I need to convert hilbert transform .m file or .mdl file to vhdl code. can u Pl help me out.

Answers (1)

Tim McBrayer
Tim McBrayer on 23 May 2013
You will need the HDL Coder product to accomplish this. It can be done with either a MATLAB or Simulink design.
For Simulink: You will need to create your Hilbert transform algorithm as a Simulink model, using blocks supported by HDL Coder. You will want to use appropriately sized and scaled fixed point data types throughout if you want to synthesize the resulting HDL to hardware. An alternative approach is that you can write the kernel of your algorithm as MATLAB code and embed it within Simulink using a MATLAB Function Block.
For MATLAB: HDL Coder supports HDL code generation directly from untimed MATLAB code since HDL Coder 3.0. With this flow the entire algorithm can be implemented in MATLAB code. This flow can auto-convert your design from floating point to fixed-point data types as well. This does require a certain style and organization of MATLAB code.
For either approach, assuming you have access to HDL Coder, I recommend you read the relevant HDL Coder documentation and work through the provided examples to get an understanding of the design flow, design style, and basic tool usage.

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!