HDL conversion from Simulink

6 Ansichten (letzte 30 Tage)
ANN RIY
ANN RIY am 19 Jun. 2015
Beantwortet: ANN RIY am 3 Jul. 2015
I am interested since what version of Simulink (Matlab) I could use HDL coder? Is the Filter Design HDL Coder for Matlab2009 the same as later HDL coder? Can I simulate the generated code in HDL Verifier? What size are this two apps and could I use them just with Simulink? as the whole MAtlab, f.e. 2012a is about 5Gb. Can I get the same or almost the same code from HDL conveter by Xilinx System generator and DSPBlockset?

Antworten (3)

Bharath Venkataraman
Bharath Venkataraman am 20 Jun. 2015
Filter Design HDL Coder generates HDL code for filters. HDL Coder allows you to generate for a larger set of functionality including filters, from MATLAB and Simulink.
HDL Coder was released in R2006b. HDL Coder also allows you to verify the HDL code in three ways:
  • A generated HDL test bench that you can run in an HDL simulator
  • A generated HDL cosimulation model that allows you to run the HDL in an HDL simulator and keep the source and checker in Simulink
  • An FPGA in the Loop model that runs your HDL code on the FPGA and keep the source and checker in Simulink

ANN RIY
ANN RIY am 20 Jun. 2015
I do not very clear about filters. But the Filter designer created the verilog code and after opening this file (.v), the ModelSim automatically was launched. I do not know is it possible to check it there correctly. SO if you wroted that since Matlab2006 HDL coder, can I launch it on Matlab2009a, despite I read that since 2012a the HDL coder is available. So as I understand the HDL verifier do not need such external tools as DSP Blockset, Model Sim or Xilix System Generator? And if I want to convert continous time circuit to HDL what should I change--just Integrator to discrete time?
  1 Kommentar
Tim McBrayer
Tim McBrayer am 22 Jun. 2015
HDL Coder introduced the capability to generate HDL code from MATLAB in R2012a; perhaps this is what you are referencing. The tool was renamed from Simulink HDL Coder to HDL Coder at that time. As Bharath mentioned, Simulink HDL Coder has existed since R2006b.
You are asking a lot of very basic questions that can be answered by reading the documentation or even the mathworks.com marketing material. I suggest that you do some reading to get a better grasp on what the available tools are, and what they can and cannot do. When you have some more specific questions come on back and ask clarifying questions then.

Melden Sie sich an, um zu kommentieren.


ANN RIY
ANN RIY am 3 Jul. 2015
So how I use HDL Coder with just Simulink 2006 that I need. Where to find?

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by