Forum Discussion

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

Megacore functions in DSP Builder not working

Hello, I'm having problems using the MegaCore functions with Matlab's Simulink. All the other blocksets work but when I try to use MegaCore functions under the Altera DSP Builder Blockset the block appears grayed out and it gives me an error when I double-click it:

error evaluating 'openfcn' callback of megacore alterablockset block (mask)'untitled/fir_compiler_v3_3_0'

error using ==> textscan

first input can not be empty.

The software that's availiable to me is Quartus II 7.2 and Matlab R2007a (7.4.0)

Also if I try to use a Video and Image Processing block I get a different error:

unable to locate scaler v7.2 in the ip librarian.

please ensure the entity is available on the quartus global search path

Is this the reason why my MegaCore functions are not working correctly either? How can edit the Quartus Search Path and what path would I need to include? Any help would be appreciated it.

4 Replies

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

    Yes. You would have to install MegaCore IP Libraries first. After that install DSP Builder. Only then will DSP Builder pick up all the megacores.

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

    OK, so this is the full story for future readers of this thread.

    For versions prior to version 8.0 of the Quartus tools design suite.

    To be able to install DSP Builder you need to install the following first.

    Quartus II Tools.

    MegaCore IP Libraires.

    ModelSim-AE (if you wish to use ModelSim from within the DSP Builder environment).

    MathWorks Matlab tool (compatible release version of tools)

    Simulink Tools

    then you can install the DSP Builder tools.

    For version 8.0 Altera tools and moving forward through ?? unknown version;

    Quartus II and the MegaWizard IP libraires are installed at the same time.

    All the rest of the above info remainds valid.

    I hope this helps.

    You also need to have a valid License extension for the DSP Builder tools.

    Avatar