- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo
I am trying to use the FIR Interpolation Block from Simulink with 4096 coefficients and 256 upsampling. I using the hdl coder to generate the VHDL code and then Altera Quatrus 2 to synthesize the code. My HDL code generates perfectly. But when i try to synthesize it i run in to the following error VHDL syntax error at FIR_Interpolation.vhd(11060) near text "2495"parser stack overflow FIR_Interpolation.vhd Line: 11060 I am attaching the VHDL file that i am generating. Is it like i have too many filter coefficients? I am able to synthesize the filter with 512 coefficients set and 32 bit upsample. Then i tried the same filter with this setting and i get this error. Can anyone help me with the error?Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is a large file - and looks like a compiler crash
What version of Quartus is it? have you tried using a newer version? Otherwise, you'll need to raise a support request with altera via MySupport on their website. Have you tried simulating the design?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo
thanks for the quick reply This is MATLAB 2014b, Altera Quatras 2 (version 13.0 web edition). I tried using version 16.1 but it was not supported for my MATLAB version. If you think upgrading the version would help i can try upgrading my MATLAB and Altera version. Yes the design simulates in simulink perfectly. What did you exactly mean by simulating the design?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The version of quartus should not matter - all you are passing to Quartus is HDL code. So you should be able to try the new version without having to set anything in simulink.
Simulation is done in an HDL simulator like Modelsim (you get a free version from altera too). This simulates the HDL (and will be another compiler check) But the original error looks like a quartus crash. hence the suggestion to try a newer version of Quartus.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Such a large FIR Filter though is likely to run very very very slow on an FPGA - it's trying to mux between 4096 32 bit values - I suspect the FMax is not going to be more than a few MHz.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think that the free modelsim will work with such a large file.
Just curious, what needs a filter with such a huge number of coefficients?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page