Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

DSPbuilder 7.2 and Matlab 2007b

Hi folks,

I am running Quartus 7.2, Megacore Library 7.2 and DSP Builder 7.2. Matlab is 2007b.

I'm trying to walk through the "singen" example. Everything works fine unitl I try to generate HDL. The model simulates in simulink and I get the expected waveforms. But when I bring up the DSP Builder dialog and hit "compile" I get:

Info: Generating HDL

Info: Analyzing Simulink model

Info: Analysis was successful

Info: *******************************************************************

Info: Running Quartus II Analysis & Synthesis

Info: Version 7.2 Build 151 09/26/2007 SJ Full Version

... BLAH BLAH BLAH ...

Info: Processing started: Thu Nov 29 18:29:25 2007

Info: Command: quartus_map singen

Error: IP Generator Error: Entity 'alt_dspbuilder_clock' (Version latest) not found in librarian.

Info: Found 1 design units, including 1 entities, in source file ../singen.mdl

Info: Found entity 1: singen_Interface

Error: Top-level design entity "singen" is undefined

Error: Quartus II Analysis & Synthesis was unsuccessful. 2 errors, 0 warnings

Info: Allocated 802 megabytes of memory during processing

Error: Processing ended: Thu Nov 29 18:29:29 2007

Error: Elapsed time: 00:00:04

Error: Error during compilation: Synthesis failed

So what gives? Is this due to Matlab R2007b? The DSP Builder manual only shows up to R2007a for compatibility. I'd hate to go back to R2007a just for this.

Any help will be greatly appreciated!

13 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi all,

    In the meantime I could solve the problem on my PC with help from Altera support.

    The ".altera.quartus" directory with the including "ip_cache" folder is not only located in "C:\Documents and Settings\<username>" but also in "%HOME%\" when the HOME environment variable is set. This was the case on my computer then I'm using Cygwin which is also used by Quartus internally. So there are two possible locations for the "ip_cache" folder which you need to check to be sure that there are no files left from other versions.

    Best Regards,

    schmalisch
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi all, I'm working with Vista sp1, matlab r2007b, Quartus 8.0 sp1 DSPbuilder 8.1 the problem has been fixed by deleting ip_cache directory.

    Thanks a lot for this great trick!!!