Forum Discussion
Altera_Forum
Honored Contributor
15 years agoWhen you have more than 1 version of DSP builder, things often goes wrong, and so your problem could be one of those issues.
If you instantiated FFT using 9.1 you can’t open the core again using 10.0 and vice versa. You need to make sure your environment and the core versions match. The command to check is (type it at the matlab prompt): getenv('QUARTUS_ROOTDIR') and you need to check if the folder matches the version of your FFT in your design. There are a few ways to set it correctly if it is wrong, but what I normally do is 1/ close Matlab 2/ open the Quartus II version that I intend to use for DSPB. 3/ Open matlab again, and type getenv('QUARTUS_ROOTDIR') This normally sets the environment to the right version. The design still fails after the version is set correctly correct, then what I would then do is to change the order of the path settings. 1/ from Matlab menu File->Set path, you will see lots of paths set here. For example if you had 9.1 and 10.0 versions, you would see folders like: - c:\altera\10.0\quartus\dspba\Blocksets, etc - c:\altera\9.1\quartus\dspba\Blocksets, etc 2/ highlight all the folders belonging to the particular version you want to use if they are below the other version folders, and then click on Move to Top. Save and close. To be doubly sure, I would close matlab and start up again although mathworks says the change will be effective immediately. Having said that, as mentioned earlier, having more than 2 versions of DSPB always is somehow troublesome, so you should bear it in mind…