Forum Discussion

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

Error: (vcom-11)

Hi,

I am trying to get started with DSP Builder and I started with a demo (as per chapter 4 of DSP Builder User Guide).

I tried to verify the design by selecting "Verifying at subsystem level" but I am getting some errors.

Please guide me in resolving these errors.

Following is the output I got while verifying the design:

Verifying model demo_firi
dspba.verifyModel('demo_firi', 0, 1, 0, 0, 0, 1, 1, 0, 0, '', '', '', '', '')
Warning: The file containing block diagram 'demo_firi' is shadowed by a file of the same name higher on the MATLAB path. This can
cause unexpected behavior.  For more information see "Avoiding Problems with Shadowed Files" in the Simulink documentation 
> In C:\altera\12.0\quartus\dspba\Blocksets\BaseBlocks\getBlocksForModelIP.p>find_all_blocks at 45
  In C:\altera\12.0\quartus\dspba\Blocksets\BaseBlocks\getBlocksForModelIP.p>find_all_blocks_of_type at 49
  In C:\altera\12.0\quartus\dspba\Blocksets\BaseBlocks\getBlocksForModelIP.p>getBlocksForModelIP at 23
  In C:\altera\12.0\quartus\dspba\Blocksets\BaseBlocks\getBlocksWithATBs.p>getBlocksWithATBs at 34
  In C:\altera\12.0\quartus\dspba\Blocksets\BaseBlocks\+dspba\verifyModel.p>verifyModel at 22
  In C:\altera\12.0\quartus\dspba\Blocksets\BaseBlocks\+dspba\MatlabCommandCallback.p>MatlabCommandCallback at 26 
Startup: All testbenches: 'demo_firi/FilterSystem/InterpolatingFIR'
==============================================================
Running model check on demo_firi
--------------------------------------------------------------
 = dspba_quick_model_check('demo_firi')
demo_firi: Quick Model Check Passed
demo_firi: ATB Test Setting Check Passed
===========
Run All ATBS
===========
 = dspba.runSubsystemATBs('demo_firi', 0, 0)
Running 1 automatic subsystem-level test-benches for demo_firi
demo_firi/FilterSystem/InterpolatingFIR
Running ... (Summary output can be seen in the Matlab Command Window while tests are in progress)
Running automatic test-benches for: demo_firi
All testbenches: 'demo_firi/FilterSystem/InterpolatingFIR'
 
==============================================================
Testing demo_firi/FilterSystem/InterpolatingFIR:
--------------------------------------------------------------
executing automatic test-bench for: demo_firi/FilterSystem/InterpolatingFIR
vsim -c -wlfcachesize 1 -Gquit_at_end=true -do "do ../rtl/demo_firi/FilterSystem/InterpolatingFIR/demo_firi_FilterSystem_InterpolatingFIR_atb.do ../rtl" > "..\rtl\demo_firi\FilterSystem\InterpolatingFIR\demo_firi_FilterSystem_InterpolatingFIR_atb.1.out" < NUL
Reading log from '..\rtl\demo_firi\FilterSystem\InterpolatingFIR\demo_firi_FilterSystem_InterpolatingFIR_atb.1.out'.
failed to run vsim successfully, log:
Reading C:/altera/12.0/modelsim_ae/tcl/vsim/pref.tcl 
#  10.0d
#  do ../rtl/demo_firi/FilterSystem/InterpolatingFIR/demo_firi_FilterSystem_InterpolatingFIR_atb.do ../rtl #  0#  1#  C:/altera/12.0/quartus#  ../rtl#  H:/MATLAB/DSPBuilder/rtl#  Creating the project in H:/MATLAB/DSPBuilder/rtl/demo_firi #  ** Error: A project is not currently open.#  Executing ONERROR command at macro ./../rtl/demo_firi/FilterSystem/InterpolatingFIR/demo_firi_FilterSystem_InterpolatingFIR_atb.do line 26#  Loading project demo_firi_FilterSystem_InterpolatingFIR#  Modifying H:/MATLAB/DSPBuilder/rtl/demo_firi_FilterSystem_InterpolatingFIR.mpf#  0#  Modifying H:/MATLAB/DSPBuilder/rtl/demo_firi_FilterSystem_InterpolatingFIR.mpf#  0#  Modifying H:/MATLAB/DSPBuilder/rtl/demo_firi_FilterSystem_InterpolatingFIR.mpf#  0#  Modifying H:/MATLAB/DSPBuilder/rtl/demo_firi_FilterSystem_InterpolatingFIR.mpf#  0#  Modifying H:/MATLAB/DSPBuilder/rtl/demo_firi_FilterSystem_InterpolatingFIR.mpf#  0#  Modifying H:/MATLAB/DSPBuilder/rtl/demo_firi_FilterSystem_InterpolatingFIR.mpf#  0#  ** Error: (vcom-11) Could not find altera_mf.altera_mf_components.#  ** Error: H:/MATLAB/DSPBuilder/rtl/demo_firi/FilterSystem/InterpolatingFIR/demo_firi_FilterSystem_InterpolatingFIR.vhd(30): (vcom-1195) Cannot find expanded name "altera_mf.altera_mf_components".#  ** Error: H:/MATLAB/DSPBuilder/rtl/demo_firi/FilterSystem/InterpolatingFIR/demo_firi_FilterSystem_InterpolatingFIR.vhd(30): Unknown expanded name.#  ** Error: (vcom-11) Could not find lpm.lpm_components.#  ** Error: H:/MATLAB/DSPBuilder/rtl/demo_firi/FilterSystem/InterpolatingFIR/demo_firi_FilterSystem_InterpolatingFIR.vhd(32): (vcom-1195) Cannot find expanded name "lpm.lpm_components".#  ** Error: H:/MATLAB/DSPBuilder/rtl/demo_firi/FilterSystem/InterpolatingFIR/demo_firi_FilterSystem_InterpolatingFIR.vhd(32): Unknown expanded name.#  ** Error: H:/MATLAB/DSPBuilder/rtl/demo_firi/FilterSystem/InterpolatingFIR/demo_firi_FilterSystem_InterpolatingFIR.vhd(35): VHDL Compiler exiting#  ** Error: C:/altera/12.0/modelsim_ae/win32aloem/vcom failed.#  Executing ONERROR command at macro ./../rtl/demo_firi/FilterSystem/InterpolatingFIR/demo_firi_FilterSystem_InterpolatingFIR_atb.do line 107#  At least one module failed to compile, not starting simulation 

4 Replies

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

    Hi,

    Even I am facing the same problem.

    Since it is a demo, will it contain the Altera libraries already mapped? or Should we explicitly map them?

    Thanks,

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

    any installation of modelsim altera edition should have the libraries and the libraries should already be mapped. If not, they can be easily mapped either through the gui or via the vmap command.

  • bitstreamer's avatar
    bitstreamer
    Icon for Occasional Contributor rankOccasional Contributor

    These answers aren't sufficient - you can map altera_mf through the library compilation and still get this error.