• 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)

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 126
  • Views 15854
  • 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)

irenemmartin
irenemmartin over 7 years ago

Hi!

During simulations I have found these two errors in the log file (I'm trying to simulate a verilog-A component):

ERROR (VACOMP-1008): Cannot compile ahdlcmi module library. Check the log file input.ahdlSimDB//47c64761172b7ee38fd8b848ec102865.resistor_v1.ahdlcmi/Linux-64//..//ahdlcmi.out for details. 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 resistor_v1. Simulation should be terminated.

Also there are two warnings:

WARNING (VACOMP-2435): The environment variable CDS_AHDLCMI_ENABLE is no longer supported. Therefore, the simulator will use the default compiled C code flow.

(This one is because I have set CDS_AHDLCMI_ENABLE as "export CDS_AHDLCMI_ENABLE=NO"... I have read on Internet that maybe this sentence could solve the problem...Either way the simulation doesn't work)

WARNING (VACOMP-2397): Compilation failed when using pipe build. Bytecode flow will be used for encrypted VerilogA, and normal file compilation will be used for unencrypted VerilogA.

I attach the ahdlcmi.out file. In addition, I provide the following data:

  • Spectre -W: sub-version 15.1.0.627.isr12
  • Uname -a: Linux simulation-server 4.2.0-42-generic #49-Ubuntu SMP Tue Jun 28 21:26:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

The command cat /etc/redhat-release gives an error (No such file or directory)

Can anybody help me to solve this problem? Any idea? I would very much appreciate.

Best regards,

Irene

Fullscreen 6661.ahdlcmi.txt Download
ahdlcmicompile: Compiling ahdlcmi in input.ahdlSimDB//47c64761172b7ee38fd8b848ec102865.resistor_v1.ahdlcmi/Linux-64/ for Linux-64 with optimize using gcc on Wed Oct 18 14:59:31 CEST 2017 [5.0]
ahdlcmicompile: Generating makefile
PATH:  /opt/cadence/installs/MMSIM151/tools.lnx86/cdsgcc/gcc/4.1-x86_64/install/bin:/opt/cadence/installs/MMSIM151/bin:/opt/cadence/installs/MMSIM151/tools.lnx86/bin/64bit:/opt/cadence/installs/MMSIM151/tools.lnx86/bin:/usr/local/cadence/bin:/usr/local/cadence/tools/bin:/usr/local/cadence/tools.lnx86/bin/64bit:/usr/local/cadence/tools.lnx86/bin:/usr/local/cadence/share/oa/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/cadence/installs/INCISIVE152/bin:/opt/cadence/installs/INCISIVE152/tools.lnx86/bin:/opt/cadence/installs/MMSIM151/tools.lnx86/dfII/bin:/opt/cadence/installs/MMSIM151/tools.lnx86/spectre:/opt/cadence/installs/INCISIVE152/bin:/opt/cadence/installs/INCISIVE152/tools.lnx86:/opt/cadence/installs/INCISIVE152/tools.lnx86/bin:/opt/cadence/installs/INCISIVE152/bin:/opt/cadence/installs/INCISIVE152/tools.lnx86/systemc:/opt/cadence/installs/INCISIVE152/tools.lnx86/bin
LD_LIBRARY_PATH:  /opt/cadence/installs/MMSIM151/tools.lnx86/cdsgcc/gcc/4.1-x86_64/install/lib:/opt/cadence/installs/MMSIM151/tools.lnx86/giganta/lib/64bit:/opt/cadence/installs/MMSIM151/tools.lnx86/mdl/lib/64bit:/opt/cadence/installs/MMSIM151/tools.lnx86/mmsim/lib/64bit:/opt/cadence/installs/MMSIM151/tools.lnx86/tcltk-8.4.20/lib/64bit:/opt/cadence/installs/MMSIM151/tools.lnx86/inca/lib/64bit:/opt/cadence/installs/MMSIM151/tools.lnx86/spectre/lib/64bit:/opt/cadence/installs/MMSIM151/tools.lnx86/dfII/lib/64bit:/opt/cadence/installs/MMSIM151/tools.lnx86/lib/64bit:/opt/cadence/installs/MMSIM151/tools.lnx86/lib:/usr/local/cadence/tools/lib:/usr/local/cadence/tools/lib/64bit/Ubuntu:/usr/local/cadence/share/oa/lib/linux_rhel50_gcc48x_64/opt:/usr/local/cadence/tools.lnx86/Qt/64bit/lib:/usr/local/cadence/tools.lnx86/dfII/lib/64bit:/usr/local/cadence/tools.lnx86/sev/lib/64bit:/usr/local/cadence/tools.lnx86/lib/64bit:/usr/local/cadence/tools.lnx86/lib:/usr/local/cadence/tools.lnx86/hdf5/lib/64bit:/opt/cadence/installs/INCISIVE152/tools.lnx86/lib/64bit:/usr/local/cadence/tools.lnx86/lib/64bit/Ubuntu
/opt/cadence/installs/MMSIM151/tools.lnx86/spectre/ahdlcmi/bin/gnumake -j20 -f GNUmakefile
Cleaning ./obj/optimize/5.0
rm -f -rf ./obj/optimize/5.0
Compiling C file resistor_v1.c (optimize)
/opt/cadence/installs/MMSIM151/tools.lnx86/cdsgcc/gcc/4.8/bin/gcc  -march=k8 -ffast-math -O3 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/opt/cadence/installs/MMSIM151/tools.lnx86/spectre/ahdlcmi/include -c resistor_v1.c -o obj/optimize/5.0/resistor_v1.o || rm -f -f obj/optimize/5.0/resistor_v1.o
In file included from /usr/include/math.h:26:0,
                 from resistor_v1.c:20:
/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory
 #  include <sys/cdefs.h>
                         ^
compilation terminated.
rm -f -rf resistor_v1.c
/opt/cadence/installs/MMSIM151/tools.lnx86/cdsgcc/gcc/4.8/bin/gcc -shared -O3 -m64 -fPIC -o obj/optimize/5.0/libahdlcmi_resistor_v1.so ./obj/optimize/5.0/resistor_v1.o  -Wl,-rpath,/usr/lib -Wl,-rpath,/lib -s 
gcc: error: ./obj/optimize/5.0/resistor_v1.o: No such file or directory
gnumake: *** [obj/optimize/5.0/libahdlcmi_resistor_v1.so] Error 1
gnumake: *** No rule to make target `obj/optimize/5.0/resistor_v1.o', needed by `obj/optimize/5.0/libahdlcmi_resistor_v1.so'.  Stop.


  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Irene,

    I'm less familiar with Ubuntu (that appears to be what you're using from the uname output) - that explains why cat /etc/redhat-release doesn't work.

    We do support Ubuntu 14 for MMSIM15.1 (and SPECTRE16.1) - you might want to check what these two commands output:

    lsb_release -si
    lsb_release -sr

    (I'm assuming lsb_release works on Ubuntu)

    Anyway, this error (from the log file you uploaded) appears to be due to the /usr/include/sys/cdefs.h file being missing. On RedHat 6.5 this is in this rpm:

    UNIX> rpm -q -f /usr/include/sys/cdefs.h
    glibc-headers-2.12-1.149.el6_6.5.x86_64

    So I suspect you just need to install the glibc-headers package. From a little light googling, I think this is done using:

    sudo apt-get install build-essential

    on Ubuntu. If that doesn't work, you probably need to search how to install glibc header files - maybe there are other ways?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • myungha
    myungha over 5 years ago

    Hi Irene, did you solve this issue? I have the exactly same issue and need help to solve this issue.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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