Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12747 Discussions

an error when i use magacore function

Altera_Forum
Honored Contributor II
1,237 Views

I have installed the DSP Development Kit,and many blocks belonging to it 

(including £º Altera megacore FIR compiler v2.6.2¡¢Altera megacore IIR compiler v1.3.3 £¬ etc. )appear in Simulink Library Browser,but ever time I drag a block(such as FIR compiler ) to a new file and double click it,an error appears as follows:  

"Error evaluating 'Open Fcn'callback of Magacore Altera BlockSet block (mask)'FIR'. 

Undefined function or variable ' qmegawiz'. " 

 

why ?and how to solve it?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
543 Views

If I understood your question correctly, you have a megawizard symbol created and in a block of your design and now you want to copy that to another block of your design? 

 

The reason why I say that is that I've never had much luck with copy and paste jobs so I usually avoid using the megawizard (the GUI steps you take in creating the block) and do the lpm stuff directly from the parameters list. I haven't used the DSP builder before and I'm guessing you really don't want to be avoiding the GUI for that one. Chances are it created a bunch of files in the process and by copying the hardware to another block it doesn't point to the proper location to find those files (or an overlap of instance names but I doubt it). If you created another instance repeating all the steps that should get around the problem. 

 

If that wasn't the issue you had, could you go into more detail what steps you took in order to create this problem. 

 

Cheers.
0 Kudos
Reply