Article ID: 000077717 Content Type: Error Messages Last Reviewed: 04/30/2014

Error in 'mdm/HDLImport' while executing C MEX S-function 'sGeneric', (mdlStart), at time 0.0.

Description

You may receive the error message below when running a Simulink® simulation which includes the NCO Megacore® block using DSP Builder in an Arria® V design:

Error in 'mdm/HDLImport' while executing C MEX S-function 'sGeneric', (mdlStart), at time 0.0. 

Caused by: Unexpected (char*) exception from MEX file. String is:MLIB_UINTEGER::bit() called with illegal bit_position ..

Resolution

To workaround this issue in Quartus® II software version 13.0 SP1, please follow the steps below:

 1. Close DSP Builder (if there is one running)
 2. Copy the content of the appropriate attached compressed files to your DSP Builder bin64 directory
        (i.e. <13_0_sp1_install_dir>/quartus/dsp_builder/bin64)
 3. Re-start DSP Builder    

For Windows 64:
13_0sp1_windows64.zip
        - alt_dspbuilder_mAltr_PvoIp.mexw64
        - alt_dspbuilder_mAltr_Pvo.mexw64
        - alt_dspbuilder_ParseVo.mexw64
        - SimgenExport.dll
       
For Linux 64:
13.0sp1_linux64.tar.gz
        - alt_dspbuilder_mAltr_PvoIp.mexa64
        - alt_dspbuilder_mAltr_Pvo.mexa64
        - alt_dspbuilder_ParseVo.mexa64
        - libSimgenExport.so

This issue has been fixed in Quartus II software version 13.1 and later. 

Related Products

This article applies to 1 products

Show all

1