• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. ERROR (VACOMP-1008): Cannot compile ahdlcmi module library...

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 125
  • Views 19615
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ERROR (VACOMP-1008): Cannot compile ahdlcmi module library.

VoTuanMinh
VoTuanMinh over 11 years ago

Hi all,

I am a new commer to Cadence, when I tried to simulate with Veriloga, I got the Error as follow:

---------------------------------

ERROR (VACOMP-1008): Cannot compile ahdlcmi module library. Check the log file input.ahdlSimDB/1085_Minh_SAR_12bit_BST_Switch_veriloga_veriloga.va.BST_Switch.ahdlcmi/Linux/../ahdlcmi.out for details. If the compiler ran out of memory, use 'setenv CDS_CMI_COMPLEVEL 0', and try again. If the reason for the failure was a syntax error, contact your Cadence Customer Support representative with the netlist, log files, behavioral model files, and any other information that can help identify the problem.

ERROR (SFE-91): Error when elaborating the instance BST_Switch. Simulation should be terminated.

 -----------------------------------------------------------------

And here is the content of the "ahdlcmi.out"

ahdlcmicompile: Compiling ahdlcmi in input.ahdlSimDB/1085_Minh_SAR_12bit_BST_Switch_veriloga_veriloga.va.BST_Switch.ahdlcmi/Linux/ for Linux with optimize using gcc on Mon Jun  2 17:22:04 ICT 2014 [5.0]
ahdlcmicompile: Generating makefile
PATH:  /usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/cdsgcc/gcc/4.1/install/bin:/usr/bin/Cadence/IC614-500-13/bin:/usr/bin/Cadence/IC614-500-13/tools/bin:/usr/bin/Cadence/IC614-500-13/oa_v22.04.073/bin:/usr/bin/Cadence/MMSIM11-10-228/tools/bin:/usr/bin/Cadence/IC614-500-13/share/cdsdoc/bin:/usr/bin/Cadence/IC614-500-13/share/bin:/usr/bin/Cadence/IC614-500-13/tools/spectre/bin:/usr/bin/Cadence/IC614-500-13/tools/dfII/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
LD_LIBRARY_PATH:  /usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/cdsgcc/gcc/4.1/install/lib:/usr/bin/Cadence/MMSIM11-10-228/tools/lib:/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/mdl/lib:/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/mmsim/lib:/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/inca/lib:/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/spectre/lib:/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/lib/SuSE:/usr/bin/Cadence/IC614-500-13/tools/lib:/usr/bin/Cadence/IC614-500-13/tools/lib/SuSE/SLES11:/usr/bin/Cadence/IC614-500-13/oa_v22.04.073/lib/linux_rhel40_32/opt:/usr/bin/Cadence/IC614-500-13/tools/QT/lib:/usr/bin/Cadence/IC614-500-13/tools/dfII/lib:/usr/bin/Cadence/IC614-500-13/tools/sev/lib:/usr/bin/Cadence/IC614-500-13/tools/inca/lib
Can't exec "mpstat": No such file or directory at /usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/spectre/ahdlcmi/bin/getCPUnum.pl line 41.
/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/spectre/ahdlcmi/bin/gnumake -j2 -f GNUmakefile
Can't exec "mpstat": No such file or directory at /usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/spectre/ahdlcmi/bin/getCPUnum.pl line 41.
Compiling C file BST_Switch_func.c (optimize) with -O0
/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=i686 -m32 -ffast-math -O0 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/spectre/ahdlcmi/include -c BST_Switch_func.c -o obj/optimize/5.0/BST_Switch_func.o || rm -f -f obj/optimize/5.0/BST_Switch_func.o
Compiling C file BST_Switch_DcFuncDerLoad.c (optimize)
/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=i686 -m32 -ffast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/spectre/ahdlcmi/include -c BST_Switch_DcFuncDerLoad.c -o obj/optimize/5.0/BST_Switch_DcFuncDerLoad.o || rm -f -f obj/optimize/5.0/BST_Switch_DcFuncDerLoad.o
/bin/sh: Illegal option -h
/bin/sh: Illegal option -h
rm -f -rf BST_Switch_func.c
rm -f -rf BST_Switch_DcFuncDerLoad.c
Compiling C file BST_Switch_DcFuncLoad.c (optimize)
/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=i686 -m32 -ffast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/spectre/ahdlcmi/include -c BST_Switch_DcFuncLoad.c -o obj/optimize/5.0/BST_Switch_DcFuncLoad.o || rm -f -f obj/optimize/5.0/BST_Switch_DcFuncLoad.o
Compiling C file BST_Switch_TranFuncDerLoad.c (optimize)
/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=i686 -m32 -ffast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/spectre/ahdlcmi/include -c BST_Switch_TranFuncDerLoad.c -o obj/optimize/5.0/BST_Switch_TranFuncDerLoad.o || rm -f -f obj/optimize/5.0/BST_Switch_TranFuncDerLoad.o
/bin/sh: Illegal option -h
/bin/sh: Illegal option -h
rm -f -rf BST_Switch_DcFuncLoad.c
rm -f -rf BST_Switch_TranFuncDerLoad.c
Compiling C file BST_Switch_TranFuncLoad.c (optimize)
/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=i686 -m32 -ffast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/spectre/ahdlcmi/include -c BST_Switch_TranFuncLoad.c -o obj/optimize/5.0/BST_Switch_TranFuncLoad.o || rm -f -f obj/optimize/5.0/BST_Switch_TranFuncLoad.o
Compiling C file BST_Switch_cmi_c.c (optimize)
/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=i686 -m32 -ffast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/spectre/ahdlcmi/include -I/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/cmi/include -c BST_Switch_cmi_c.c -o obj/optimize/5.0/BST_Switch_cmi_c.o || rm -f -f obj/optimize/5.0/BST_Switch_cmi_c.o
/bin/sh: Illegal option -h
/bin/sh: Illegal option -h
rm -f -rf BST_Switch_TranFuncLoad.c
rm -f -rf BST_Switch_cmi_c.c
/usr/bin/Cadence/MMSIM11-10-228/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc -shared -O3 -fPIC -o obj/optimize/5.0/libahdlcmi.so ./obj/optimize/5.0/BST_Switch_func.o ./obj/optimize/5.0/BST_Switch_DcFuncDerLoad.o ./obj/optimize/5.0/BST_Switch_DcFuncLoad.o ./obj/optimize/5.0/BST_Switch_TranFuncDerLoad.o ./obj/optimize/5.0/BST_Switch_TranFuncLoad.o ./obj/optimize/5.0/BST_Switch_cmi_c.o  -m32 -Wl,-rpath,/usr/lib -Wl,-rpath,/lib -s
/bin/sh: Illegal option -h
gnumake: *** [obj/optimize/5.0/libahdlcmi.so] Error 2

 

-----------------------------

I read some Solved threads in this forum and tried to solve but I couldn't. (For e.x add "-64" in UsrOptionField)

Could anyone here please help me to solve this problem?

Thank you so much in advance.

 

Minh

  • Cancel
Parents
  • VoTuanMinh
    VoTuanMinh over 11 years ago

    Hi Andrew,

    You are really genuis as usual :), thanks a lot. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • VoTuanMinh
    VoTuanMinh over 11 years ago

    Hi Andrew,

    You are really genuis as usual :), thanks a lot. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information