Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Hardware > Help on auto conversion from Matlab to vhdl on filter design

Reply
Thread Tools

Help on auto conversion from Matlab to vhdl on filter design

 
 
hardheart hardheart is offline
Junior Member
Join Date: Dec 2007
Posts: 1
 
      12-07-2007
Hi All,

Anybody familiar with matlab code auto-conversion to vhdl?

I want to implement a prototype of CIC filter in FPGA, so am using the FDA tool to generate vhdl code.

I am just following one demo from matlab, which is "Implementing the Filter Chain of Digital Down Convert in HDL" at Matlab Help/Demos/Toolboxes/Filter Design/Application Demos.

In this demo there are 3 stages. but I am only testing the 1st stage which is a CIC filter. After generating the CIC filter object by following the demo, I directly call the Generatehdl function (can be found at the bottom of the matlab demo file) to generate vhdl code. My matlab simulation on this CIC filter is correct but the vhdl code is wrong when simulated in ModelSim(the filter output from vhdl simulation is all 0s).

Just want to know, is the matlab hdl-conversion functionality trustable and reliable? what is the possible reason causing my vhdl code simulation wrong?

thank you
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to import data from matlab in to VHDL design mailmekaran VHDL 3 07-11-2009 02:36 PM
vectorized computation in C++ such as those in Matlab (Matlab toC++)? Luna Moon C++ 16 08-08-2008 04:27 PM
Eclipse RCP and MATLAB (calling MATLAB from JAVA) siki Java 0 01-16-2007 04:19 AM
Help! FIR Filter - MATLAB fdatool - VHDL Emel VHDL 0 01-08-2006 03:14 PM
Help! FIR Filter - MATLAB fdatool - VHDL Emel VHDL 0 01-08-2006 03:00 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57