Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,107 Views

A problem with runing the alt_dspbuilder_createComponentLibrary

>> alt_dspbuilder_createComponentLibrary 

Error in block : Arria_II_GX_EP2AGX125_alteradspbuilder2/4-Bit DIP Switch 

Java exception occurred:  

com.altera.dspbuilder.simulation.MaskInitialisationException: Exception in block 'Arria_II_GX_EP2AGX125_alteradspbuilder2/4-Bit DIP Switch' 

 

 

at com.altera.dspbuilder.simulation.Mask.init(Unknown Source) 

 

 

Caused by: java.lang.NullPointerException 

 

 

at com.altera.dspbuilder.simulation.Model.getAbsoluteTestbenchPath(Unknown Source) 

 

 

at com.altera.dspbuilder.simulation.Model.getValidIOFile(Unknown Source) 

 

 

at com.altera.dspbuilder.simulation.Model.getSaltFileForBlock(Unknown Source) 

 

 

at com.altera.dspbuilder.simulation.blocks.IOBlock.getIOFile(Unknown Source) 

 

 

at com.altera.dspbuilder.simulation.blocks.IOBlock.getIOFileNames(Unknown Source) 

 

 

at com.altera.dspbuilder.simulation.blocks.IOBlock.access$000(Unknown Source) 

 

 

at com.altera.dspbuilder.simulation.blocks.IOBlock$IOBlockLibrary$1.eval(Unknown Source) 

 

 

at com.altera.etc.minieval.MiniEvalImpl.call(Unknown Source) 

 

 

at com.altera.etc.minieval.MiniEvalImpl._factor(Unknown Source) 

 

 

at com.altera.etc.minieval.MiniEvalImpl._term(Unknown Source) 

 

 

at com.altera.etc.minieval.MiniEvalImpl._expr3(Unknown Source) 

 

 

at com.altera.etc.minieval.MiniEvalImpl._expr2(Unknown Source) 

 

 

at com.altera.etc.minieval.MiniEvalImpl._expr(Unknown Source) 

 

 

at com.altera.etc.minieval.MiniEvalImpl._cond(Unknown Source) 

 

 

at com.altera.etc.minieval.MiniEvalImpl._root(Unknown Source) 

 

 

at com.altera.etc.minieval.MiniEvalImpl._top(Unknown Source) 

 

 

at com.altera.etc.minieval.MiniEvalImpl.evaluate(Unknown Source) 

 

 

at com.altera.dspbuilder.simulation.Block.calculateExpressionParameters(Unknown Source) 

 

 

... 1 more 

 

 

 

Error executing : save_system('Arria_II_GX_EP2AGX125_alteradspbuilder2', 'Arria_II_GX_EP2AGX125_alteradspbuilder2'); 

Previous command was : set_param('Arria_II_GX_EP2AGX125_alteradspbuilder2/PB1', 'Position', [160 312 200 358]); 

Error using save_system (line 38) 

An error occurred during a callback while saving 

'C:\altera\12.1sp1\quartus\dsp_builder\bin\mdllibrary\Arria_II_GX_EP2AGX125_alteradspbuilder2.slx'. 

The previously saved version of this file (if any) has not been changed. 

 

 

Error in save_system (line 38) 

throw(e); 

 

 

Error in 

C:\altera\12.1sp1\quartus\dsp_builder\bin\matlab\alt_dspbuilder_createComponentLibrary.p>alt_dspbuilder_createComponentLibrary 

(line 28) 

 

 

thanks very much ,it may be the problem when save as the .slx file.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
45 Views

DSP Builder 12.1 doesn't support slx files. You could change your MATLAB preferences to make mdl files the default until that issue is fixed.

Reply