• 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. VerilogA Problem in MMSIM-7.1

Stats

  • Locked Locked
  • Replies 36
  • Subscribers 130
  • Views 29710
  • 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

VerilogA Problem in MMSIM-7.1

gokce
gokce over 16 years ago

Hi,

 I am having a problem to simulate my verilogA files under MMSIM 7.1. They work fine under MMSIM-6.0. In spectreout, I get:

ERROR (VACOMP-1008): Cannot compile ahdlcmi module library. Check the log file input.ahdlSimDB/3821_soi12so_Test_Tapeout_Sept09_BinarySearch_veriloga_veriloga.va.BinSearch.ahdlcmi/Linux2.6.11.4-21.9-smp+gcc/ 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.

 In  ahdlcmi.out, I get:

/usr/cds/mmsim-7.1/tools.lnx86/systemc/gcc/4.1/bin/gcc  -march=i486 -ffast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/usr/cds/mmsim-7.1/tools.lnx86/spectre/ahdlcmi/include -c BinSearch_DcFuncDerLoad.c -o obj/optimize/5.0/BinSearch_DcFuncDerLoad.o || rm -f -f obj/optimize/5.0/BinSearch_DcFuncDerLoad.o;
gcc: error trying to exec 'cc1': execvp: No such file or directory

I attached the log files. Does anyone have an idea?

 

Thanks,

Gokce

netlist.zip
  • Cancel
Parents
  • Winglet
    Winglet over 15 years ago

    Hi !!


    I'm having a problem when trying to simulate a verilogA block. Gcc seems to be correctly installed and detected by MMSIM.

    We're using MMSIM 7.11 and IC5.1.41 (Cadence 2009-2010 IC package -  icfb 5.1.0 subversion: 5.10.41.500.6.137) within Linux Fedora 11 and with TSMC 0.18um Design Kit loaded.

    This error is displayed in Virtuoso Analog Design Env. output log:

    Error found by spectre during AHDL read-in.
        ERROR (VACOMP-1008): Cannot compile ahdlcmi module library. Check the log file input.ahdlSimDB/2284_proyecto_TOP_ADCULP_JUNE10_fw1b_veriloga_veriloga.va.fw1b.ahdlcmi/Linux2.6.32.11-99.fc12.x86_64-64+gcc/ 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.

     

    ... and this is the content of that log file (ahdlcmi.out)

    ==========================================================================
    ==========================================================================

    ahdlcmicompile: Compiling ahdlcmi in input.ahdlSimDB/2284_proyecto_TOP_ADCULP_JUNE10_fw1b_veriloga_veriloga.va.fw1b.ahdlcmi/Linux2.6.32.11-99.fc12.x86_64-64+gcc/ for Linux2.6.32.11-99.fc12.x86_64-64+gcc with optimize using gcc on Fri May 14 11:29:08 CEST 2010 [5.0]
    ahdlcmicompile: Generating makefile

    PATH:  /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/install/bin:/home/cadence/cadence_software/IC_5.1.41/install/bin.lnx86:/home/cadence/cadence_software/IC_5.1.41/tools/bin:/home/cadence/cadence_software/IC_5.1.41/tools/dfII/bin:/home/cadence/cadence_software/SOC/install/bin.lnx86:/home/cadence/cadence_software/SOC/tools/bin:/home/cadence/cadence_software/SOC/tools/dfII/bin:/home/cadence/cadence_software/MMSIM/install/bin.lnx86:/home/cadence/cadence_software/MMSIM/tools/bin:/home/cadence/cadence_software/MMSIM/tools/dfII/bin:/home/cadence/cadence_software/IUS/install/bin.lnx86:/home/cadence/cadence_software/IUS/tools/bin:/home/cadence/cadence_software/IUS/tools/dfII/bin:/home/cadence/cadence_software/ASSURA_CDB/install/bin.lnx86:/home/cadence/cadence_software/ASSURA_CDB/tools/bin:/home/cadence/cadence_software/ASSURA_CDB/tools/dfII/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cadence_BIOASICULP/bin

    LD_LIBRARY_PATH:  /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/install/lib:/home/cadence/cadence_software/MMSIM/tools/lib/64bit:/home/cadence/cadence_software/MMSIM/tools.lnx86/mdl/lib/64bit:/home/cadence/cadence_software/MMSIM/tools.lnx86/mmsim/lib/64bit:/home/cadence/cadence_software/MMSIM/tools.lnx86/inca/lib/64bit:/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/lib/64bit:/home/cadence/cadence_software/IC_5.1.41/tools/lib/64bit:/home/cadence/cadence_software/MMSIM/tools/lib:/home/cadence/cadence_software/MMSIM/tools.lnx86/mdl/lib:/home/cadence/cadence_software/MMSIM/tools.lnx86/mmsim/lib:/home/cadence/cadence_software/MMSIM/tools.lnx86/inca/lib:/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/lib:/home/cadence/cadence_software/MMSIM/tools.lnx86/lib/64bit/SuSE:/home/cadence/cadence_software/MMSIM/tools.lnx86/lib/SuSE:/home/cadence/cadence_software/IC_5.1.41/tools/lib:/usr/lib

    /home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/bin/gnumake -j9 -f GNUmakefile

    Compiling C file fw1b_func.c (optimize) with -O0

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/include -c fw1b_func.c -o obj/optimize/5.0/fw1b_func.o || rm -f -f obj/optimize/5.0/fw1b_func.o;
    Compiling C file fw1b_DcFuncDerLoad.c (optimize)
    Compiling C file fw1b_DcFuncLoad.c (optimize)

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -
    D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/include -c fw1b_DcFuncDerLoad.c -o obj/optimize/5.0/fw1b_DcFuncDerLoad.o || rm -f -f obj/optimize/5.0/fw1b_DcFuncDerLoad.o;

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/include -c fw1b_DcFuncLoad.c -o obj/optimize/5.0/fw1b_DcFuncLoad.o || rm -f -f obj/optimize/5.0/fw1b_DcFuncLoad.o;
    Compiling C file fw1b_TranFuncDerLoad.c (optimize)

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/include -c fw1b_TranFuncDerLoad.c -o obj/optimize/5.0/fw1b_TranFuncDerLoad.o || rm -f -f obj/optimize/5.0/fw1b_TranFuncDerLoad.o;
    Compiling C file fw1b_CreateDevice.c (optimize)

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/include -c fw1b_CreateDevice.c -o obj/optimize/5.0/fw1b_CreateDevice.o || rm -f -f obj/optimize/5.0/fw1b_CreateDevice.o;
    Compiling C file fw1b_TranFuncLoad.c (optimize)

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/include -c

    fw1b_TranFuncLoad.c -o obj/optimize/5.0/fw1b_TranFuncLoad.o || rm -f -f obj/optimize/5.0/fw1b_TranFuncLoad.o;
    fw1b_DcFuncDerLoad.c: In function 'fw1b_DcFuncDerLoad':
    fw1b_DcFuncDerLoad.c:38: error: '__tmpStkVar_1' undeclared (first use in this function)
    fw1b_DcFuncDerLoad.c:38: error: (Each undeclared identifier is reported only once
    fw1b_DcFuncDerLoad.c:38: error: for each function it appears in.)
    fw1b_TranFuncDerLoad.c: In function 'fw1b_TranFuncDerLoad':
    fw1b_TranFuncDerLoad.c:43: error: '__tmpStkVar_1' undeclared (first use in this function)
    fw1b_TranFuncDerLoad.c:43: error: (Each undeclared identifier is reported only once
    fw1b_TranFuncDerLoad.c:43: error: for each function it appears in.)
    fw1b_func.c: In function 'fw1b_AcLoad':
    fw1b_func.c:42: error: '__tmpStkVar_1' undeclared (first use in this function)
    fw1b_func.c:42: error: (Each undeclared identifier is reported only once
    fw1b_func.c:42: error: for each function it appears in.)

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc -shared -O0 -m64 -fPIC -o obj/optimize/5.0/libahdlcmi.so ./obj/optimize/5.0/fw1b_func.o ./obj/optimize/5.0/fw1b_DcFuncDerLoad.o ./obj/optimize/5.0/fw1b_DcFuncLoad.o ./obj/optimize/5.0/fw1b_TranFuncDerLoad.o ./obj/optimize/5.0/fw1b_TranFuncLoad.o ./obj/optimize/5.0/fw1b_CreateDevice.o  -Wl,-rpath,/usr/lib -Wl,-rpath,/lib -s

    gcc: ./obj/optimize/5.0/fw1b_func.o: No such file or directory
    gcc: ./obj/optimize/5.0/fw1b_DcFuncDerLoad.o: No such file or directory
    gcc: ./obj/optimize/5.0/fw1b_TranFuncDerLoad.o: No such file or directory

    gnumake: *** [obj/optimize/5.0/libahdlcmi.so] Error 1

    ==========================================================================
    ==========================================================================

     

    As I said, It seems that gcc is working, but it fails when compiling "fw1b_CreateDevice.c". Our code seems to be right, and we could simulate another object from the DK library...

    Hope someone can help!! THANKS!!

    Regards,
    Marcos.

     

    Edited: Information about version added.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Winglet
    Winglet over 15 years ago

    Hi !!


    I'm having a problem when trying to simulate a verilogA block. Gcc seems to be correctly installed and detected by MMSIM.

    We're using MMSIM 7.11 and IC5.1.41 (Cadence 2009-2010 IC package -  icfb 5.1.0 subversion: 5.10.41.500.6.137) within Linux Fedora 11 and with TSMC 0.18um Design Kit loaded.

    This error is displayed in Virtuoso Analog Design Env. output log:

    Error found by spectre during AHDL read-in.
        ERROR (VACOMP-1008): Cannot compile ahdlcmi module library. Check the log file input.ahdlSimDB/2284_proyecto_TOP_ADCULP_JUNE10_fw1b_veriloga_veriloga.va.fw1b.ahdlcmi/Linux2.6.32.11-99.fc12.x86_64-64+gcc/ 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.

     

    ... and this is the content of that log file (ahdlcmi.out)

    ==========================================================================
    ==========================================================================

    ahdlcmicompile: Compiling ahdlcmi in input.ahdlSimDB/2284_proyecto_TOP_ADCULP_JUNE10_fw1b_veriloga_veriloga.va.fw1b.ahdlcmi/Linux2.6.32.11-99.fc12.x86_64-64+gcc/ for Linux2.6.32.11-99.fc12.x86_64-64+gcc with optimize using gcc on Fri May 14 11:29:08 CEST 2010 [5.0]
    ahdlcmicompile: Generating makefile

    PATH:  /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/install/bin:/home/cadence/cadence_software/IC_5.1.41/install/bin.lnx86:/home/cadence/cadence_software/IC_5.1.41/tools/bin:/home/cadence/cadence_software/IC_5.1.41/tools/dfII/bin:/home/cadence/cadence_software/SOC/install/bin.lnx86:/home/cadence/cadence_software/SOC/tools/bin:/home/cadence/cadence_software/SOC/tools/dfII/bin:/home/cadence/cadence_software/MMSIM/install/bin.lnx86:/home/cadence/cadence_software/MMSIM/tools/bin:/home/cadence/cadence_software/MMSIM/tools/dfII/bin:/home/cadence/cadence_software/IUS/install/bin.lnx86:/home/cadence/cadence_software/IUS/tools/bin:/home/cadence/cadence_software/IUS/tools/dfII/bin:/home/cadence/cadence_software/ASSURA_CDB/install/bin.lnx86:/home/cadence/cadence_software/ASSURA_CDB/tools/bin:/home/cadence/cadence_software/ASSURA_CDB/tools/dfII/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cadence_BIOASICULP/bin

    LD_LIBRARY_PATH:  /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/install/lib:/home/cadence/cadence_software/MMSIM/tools/lib/64bit:/home/cadence/cadence_software/MMSIM/tools.lnx86/mdl/lib/64bit:/home/cadence/cadence_software/MMSIM/tools.lnx86/mmsim/lib/64bit:/home/cadence/cadence_software/MMSIM/tools.lnx86/inca/lib/64bit:/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/lib/64bit:/home/cadence/cadence_software/IC_5.1.41/tools/lib/64bit:/home/cadence/cadence_software/MMSIM/tools/lib:/home/cadence/cadence_software/MMSIM/tools.lnx86/mdl/lib:/home/cadence/cadence_software/MMSIM/tools.lnx86/mmsim/lib:/home/cadence/cadence_software/MMSIM/tools.lnx86/inca/lib:/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/lib:/home/cadence/cadence_software/MMSIM/tools.lnx86/lib/64bit/SuSE:/home/cadence/cadence_software/MMSIM/tools.lnx86/lib/SuSE:/home/cadence/cadence_software/IC_5.1.41/tools/lib:/usr/lib

    /home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/bin/gnumake -j9 -f GNUmakefile

    Compiling C file fw1b_func.c (optimize) with -O0

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/include -c fw1b_func.c -o obj/optimize/5.0/fw1b_func.o || rm -f -f obj/optimize/5.0/fw1b_func.o;
    Compiling C file fw1b_DcFuncDerLoad.c (optimize)
    Compiling C file fw1b_DcFuncLoad.c (optimize)

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -
    D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/include -c fw1b_DcFuncDerLoad.c -o obj/optimize/5.0/fw1b_DcFuncDerLoad.o || rm -f -f obj/optimize/5.0/fw1b_DcFuncDerLoad.o;

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/include -c fw1b_DcFuncLoad.c -o obj/optimize/5.0/fw1b_DcFuncLoad.o || rm -f -f obj/optimize/5.0/fw1b_DcFuncLoad.o;
    Compiling C file fw1b_TranFuncDerLoad.c (optimize)

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/include -c fw1b_TranFuncDerLoad.c -o obj/optimize/5.0/fw1b_TranFuncDerLoad.o || rm -f -f obj/optimize/5.0/fw1b_TranFuncDerLoad.o;
    Compiling C file fw1b_CreateDevice.c (optimize)

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/include -c fw1b_CreateDevice.c -o obj/optimize/5.0/fw1b_CreateDevice.o || rm -f -f obj/optimize/5.0/fw1b_CreateDevice.o;
    Compiling C file fw1b_TranFuncLoad.c (optimize)

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/home/cadence/cadence_software/MMSIM/tools.lnx86/spectre/ahdlcmi/include -c

    fw1b_TranFuncLoad.c -o obj/optimize/5.0/fw1b_TranFuncLoad.o || rm -f -f obj/optimize/5.0/fw1b_TranFuncLoad.o;
    fw1b_DcFuncDerLoad.c: In function 'fw1b_DcFuncDerLoad':
    fw1b_DcFuncDerLoad.c:38: error: '__tmpStkVar_1' undeclared (first use in this function)
    fw1b_DcFuncDerLoad.c:38: error: (Each undeclared identifier is reported only once
    fw1b_DcFuncDerLoad.c:38: error: for each function it appears in.)
    fw1b_TranFuncDerLoad.c: In function 'fw1b_TranFuncDerLoad':
    fw1b_TranFuncDerLoad.c:43: error: '__tmpStkVar_1' undeclared (first use in this function)
    fw1b_TranFuncDerLoad.c:43: error: (Each undeclared identifier is reported only once
    fw1b_TranFuncDerLoad.c:43: error: for each function it appears in.)
    fw1b_func.c: In function 'fw1b_AcLoad':
    fw1b_func.c:42: error: '__tmpStkVar_1' undeclared (first use in this function)
    fw1b_func.c:42: error: (Each undeclared identifier is reported only once
    fw1b_func.c:42: error: for each function it appears in.)

    /home/cadence/cadence_software/MMSIM/tools.lnx86/systemc/gcc/4.1-x86_64/bin/gcc -shared -O0 -m64 -fPIC -o obj/optimize/5.0/libahdlcmi.so ./obj/optimize/5.0/fw1b_func.o ./obj/optimize/5.0/fw1b_DcFuncDerLoad.o ./obj/optimize/5.0/fw1b_DcFuncLoad.o ./obj/optimize/5.0/fw1b_TranFuncDerLoad.o ./obj/optimize/5.0/fw1b_TranFuncLoad.o ./obj/optimize/5.0/fw1b_CreateDevice.o  -Wl,-rpath,/usr/lib -Wl,-rpath,/lib -s

    gcc: ./obj/optimize/5.0/fw1b_func.o: No such file or directory
    gcc: ./obj/optimize/5.0/fw1b_DcFuncDerLoad.o: No such file or directory
    gcc: ./obj/optimize/5.0/fw1b_TranFuncDerLoad.o: No such file or directory

    gnumake: *** [obj/optimize/5.0/libahdlcmi.so] Error 1

    ==========================================================================
    ==========================================================================

     

    As I said, It seems that gcc is working, but it fails when compiling "fw1b_CreateDevice.c". Our code seems to be right, and we could simulate another object from the DK library...

    Hope someone can help!! THANKS!!

    Regards,
    Marcos.

     

    Edited: Information about version added.

    • 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