T
Teeeravis
Guest
Hi all
I am having a hard time running a simulation that includes a mimcap
that has an ahdl description.
I can just replace the cap with one from analog lib but it would be
nice to run simulations on schematics that are lvs clean.
I am using mmsim7.2 and running on ubuntu 10 (i know, not supported).
It cant compile an ahdlcmi module library
When i check the ahdl.out file, i see it is choking on a -h option.
Is it choking on the -h option? What library am i missing? I am just
assuming that i am missing a library.
it could be any number of things
has anyone had this problem before?
it is pretty similar to this issue, but no solution was posted here. I
tried downloading glibc-dev but apt doesnt recognize it.
Any help would be greatly appreciated.
I've attached the spectre simulation output and the ahdlcmi.out
Error from spectre
Error found by spectre during AHDL read-in.
ERROR (VACOMP-1008): Cannot compile ahdlcmi module library. Check
the log file input.ahdlSimDB/bsource_1.input.ahdlcmi/Linux2.6.32-25-
generic+gcc/../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.
Warning from spectre in `mimcap_2p0':`C0', during hierarchy
flattening.
WARNING (SFE-30): "/home/tklee/IC/tsmc18rf/tsmc18rf/../models/
spectre/rf018.scs" 19585: C0.cmim: `temp' is not a valid parameter for
an instance of `bsource_1'. Ignored.
WARNING (SFE-30): "/home/tklee/IC/tsmc18rf/tsmc18rf/../models/
spectre/rf018.scs" 19585: C0.cmim: `tnom' is not a valid parameter for
an instance of `bsource_1'. Ignored.
WARNING (SFE-30): "/home/tklee/IC/tsmc18rf/tsmc18rf/../models/
spectre/rf018.scs" 19585: C0.cmim: `bs_par_0' is not a valid parameter
for an instance of `bsource_1'. Ignored.
WARNING (SFE-30): "/home/tklee/IC/tsmc18rf/tsmc18rf/../models/
spectre/rf018.scs" 19585: C0.cmim: `bs_par_1' is not a valid parameter
for an instance of `bsource_1'. Ignored.
WARNING (SFE-30): "/home/tklee/IC/tsmc18rf/tsmc18rf/../models/
spectre/rf018.scs" 19585: C0.cmim: `bs_par_2' is not a valid parameter
for an instance of `bsource_1'. Ignored.
Further occurrences of this warning will be suppressed.
ahdlcmi.out
ahdlcmicompile: Compiling ahdlcmi in input.ahdlSimDB/
bsource_1.input.ahdlcmi/Linux2.6.32-
25-generic+gcc/ for Linux2.6.32-25-generic+gcc with optimize using gcc
on Thu Dec 2 22:0
5:10 PST 2010 [5.0]
ahdlcmicompile: Generating makefile
PATH: /home/tklee/cadence/installs/MMSIM72/tools.lnx86/systemc/gcc/
4.1/install/bin:/home
/tklee/calibre/ixl_cal_2010.3_37.26/bin:/home/tklee/cadence/installs/
MMSIM72/tools/bin:/h
ome/tklee/cadence/installs/IC5141/tools/bin:/home/tklee/cadence/
installs/IC5141/tools/dfI
I/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
usr/games
LD_LIBRARY_PATH: /home/tklee/cadence/installs/MMSIM72/tools.lnx86/
systemc/gcc/4.1/instal
l/lib:/home/tklee/cadence/installs/MMSIM72/tools/lib:/home/tklee/
cadence/installs/MMSIM72
/tools.lnx86/mdl/lib:/home/tklee/cadence/installs/MMSIM72/tools.lnx86/
mmsim/lib:/home/tkl
ee/cadence/installs/MMSIM72/tools.lnx86/inca/lib:/home/tklee/cadence/
installs/MMSIM72/too
ls.lnx86/spectre/lib:/home/tklee/cadence/installs/MMSIM72/tools.lnx86/
lib/SuSE:/home/tkle
e/cadence/installs/IC5141/tools/lib:.:/lib/i686
/home/tklee/cadence/installs/MMSIM72/tools.lnx86/spectre/ahdlcmi/bin/
gnumake -j3 -f GNUma
kefile
Compiling C file bsource_1_func.c (optimize) with -O0
/home/tklee/cadence/installs/MMSIM72/tools.lnx86/systemc/gcc/4.1/bin/
gcc -march=i686 -ff
ast-math -O0 -DSYSV -DSVR4 -D_REENTRANT -fPIC -DconfigSPECTRE -I. -I/
home/tklee/cadence
/installs/MMSIM72/tools.lnx86/spectre/ahdlcmi/include -c
bsource_1_func.c -o obj/optimize
/5.0/bsource_1_func.o || rm -f -f obj/optimize/5.0/bsource_1_func.o;
Compiling C file bsource_1_DcFuncDerLoad.c (optimize)
/home/tklee/cadence/installs/MMSIM72/tools.lnx86/systemc/gcc/4.1/bin/
gcc -march=i686 -ff
ast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC -DconfigSPECTRE -I. -I/
home/tklee/cadence
/installs/MMSIM72/tools.lnx86/spectre/ahdlcmi/include -c
bsource_1_DcFuncDerLoad.c -o obj/optimize/5.0/
bsource_1_DcFuncDerLoad.o || rm -f -f obj/optimize/5.0/
bsource_1_DcFuncDerLoad.o;
/bin/sh: Illegal option -h
Compiling C file bsource_1_DcFuncLoad.c (optimize)
/home/tklee/cadence/installs/MMSIM72/tools.lnx86/systemc/gcc/4.1/bin/
gcc -march=i686 -ffast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC -
DconfigSPECTRE -I. -I/home/tklee/cadence/installs/MMSIM72/tools.lnx86/
spectre/ahdlcmi/include -c bsource_1_DcFuncLoad.c -o obj/optimize/5.0/
bsource_1_DcFuncLoad.o || rm -f -f obj/optimize/5.0/
bsource_1_DcFuncLoad.o;
Compiling C file bsource_1_TranFuncDerLoad.c (optimize)
/bin/sh: Illegal option -h
/home/tklee/cadence/installs/MMSIM72/tools.lnx86/systemc/gcc/4.1/bin/
gcc -march=i686 -ffast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC -
DconfigSPECTRE -I. -I/home/tklee/cadence/installs/MMSIM72/tools.lnx86/
spectre/ahdlcmi/include -c bsource_1_TranFuncDerLoad.c -o obj/optimize/
5.0/bsource_1_TranFuncDerLoad.o || rm -f -f obj/optimize/5.0/
bsource_1_TranFuncDerLoad.o;
Compiling C file bsource_1_TranFuncLoad.c (optimize)
/bin/sh: Illegal option -h
/home/tklee/cadence/installs/MMSIM72/tools.lnx86/systemc/gcc/4.1/bin/
gcc -march=i686 -ffast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC -
DconfigSPECTRE -I. -I/home/tklee/cadence/installs/MMSIM72/tools.lnx86/
spectre/ahdlcmi/include -c bsource_1_TranFuncLoad.c -o obj/
.... + a lot more
gnumake: *** [obj/optimize/5.0/libahdlcmi.so] Error 2
I am having a hard time running a simulation that includes a mimcap
that has an ahdl description.
I can just replace the cap with one from analog lib but it would be
nice to run simulations on schematics that are lvs clean.
I am using mmsim7.2 and running on ubuntu 10 (i know, not supported).
It cant compile an ahdlcmi module library
When i check the ahdl.out file, i see it is choking on a -h option.
Is it choking on the -h option? What library am i missing? I am just
assuming that i am missing a library.
it could be any number of things
has anyone had this problem before?
it is pretty similar to this issue, but no solution was posted here. I
tried downloading glibc-dev but apt doesnt recognize it.
Any help would be greatly appreciated.
I've attached the spectre simulation output and the ahdlcmi.out
Error from spectre
Error found by spectre during AHDL read-in.
ERROR (VACOMP-1008): Cannot compile ahdlcmi module library. Check
the log file input.ahdlSimDB/bsource_1.input.ahdlcmi/Linux2.6.32-25-
generic+gcc/../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.
Warning from spectre in `mimcap_2p0':`C0', during hierarchy
flattening.
WARNING (SFE-30): "/home/tklee/IC/tsmc18rf/tsmc18rf/../models/
spectre/rf018.scs" 19585: C0.cmim: `temp' is not a valid parameter for
an instance of `bsource_1'. Ignored.
WARNING (SFE-30): "/home/tklee/IC/tsmc18rf/tsmc18rf/../models/
spectre/rf018.scs" 19585: C0.cmim: `tnom' is not a valid parameter for
an instance of `bsource_1'. Ignored.
WARNING (SFE-30): "/home/tklee/IC/tsmc18rf/tsmc18rf/../models/
spectre/rf018.scs" 19585: C0.cmim: `bs_par_0' is not a valid parameter
for an instance of `bsource_1'. Ignored.
WARNING (SFE-30): "/home/tklee/IC/tsmc18rf/tsmc18rf/../models/
spectre/rf018.scs" 19585: C0.cmim: `bs_par_1' is not a valid parameter
for an instance of `bsource_1'. Ignored.
WARNING (SFE-30): "/home/tklee/IC/tsmc18rf/tsmc18rf/../models/
spectre/rf018.scs" 19585: C0.cmim: `bs_par_2' is not a valid parameter
for an instance of `bsource_1'. Ignored.
Further occurrences of this warning will be suppressed.
ahdlcmi.out
ahdlcmicompile: Compiling ahdlcmi in input.ahdlSimDB/
bsource_1.input.ahdlcmi/Linux2.6.32-
25-generic+gcc/ for Linux2.6.32-25-generic+gcc with optimize using gcc
on Thu Dec 2 22:0
5:10 PST 2010 [5.0]
ahdlcmicompile: Generating makefile
PATH: /home/tklee/cadence/installs/MMSIM72/tools.lnx86/systemc/gcc/
4.1/install/bin:/home
/tklee/calibre/ixl_cal_2010.3_37.26/bin:/home/tklee/cadence/installs/
MMSIM72/tools/bin:/h
ome/tklee/cadence/installs/IC5141/tools/bin:/home/tklee/cadence/
installs/IC5141/tools/dfI
I/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
usr/games
LD_LIBRARY_PATH: /home/tklee/cadence/installs/MMSIM72/tools.lnx86/
systemc/gcc/4.1/instal
l/lib:/home/tklee/cadence/installs/MMSIM72/tools/lib:/home/tklee/
cadence/installs/MMSIM72
/tools.lnx86/mdl/lib:/home/tklee/cadence/installs/MMSIM72/tools.lnx86/
mmsim/lib:/home/tkl
ee/cadence/installs/MMSIM72/tools.lnx86/inca/lib:/home/tklee/cadence/
installs/MMSIM72/too
ls.lnx86/spectre/lib:/home/tklee/cadence/installs/MMSIM72/tools.lnx86/
lib/SuSE:/home/tkle
e/cadence/installs/IC5141/tools/lib:.:/lib/i686
/home/tklee/cadence/installs/MMSIM72/tools.lnx86/spectre/ahdlcmi/bin/
gnumake -j3 -f GNUma
kefile
Compiling C file bsource_1_func.c (optimize) with -O0
/home/tklee/cadence/installs/MMSIM72/tools.lnx86/systemc/gcc/4.1/bin/
gcc -march=i686 -ff
ast-math -O0 -DSYSV -DSVR4 -D_REENTRANT -fPIC -DconfigSPECTRE -I. -I/
home/tklee/cadence
/installs/MMSIM72/tools.lnx86/spectre/ahdlcmi/include -c
bsource_1_func.c -o obj/optimize
/5.0/bsource_1_func.o || rm -f -f obj/optimize/5.0/bsource_1_func.o;
Compiling C file bsource_1_DcFuncDerLoad.c (optimize)
/home/tklee/cadence/installs/MMSIM72/tools.lnx86/systemc/gcc/4.1/bin/
gcc -march=i686 -ff
ast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC -DconfigSPECTRE -I. -I/
home/tklee/cadence
/installs/MMSIM72/tools.lnx86/spectre/ahdlcmi/include -c
bsource_1_DcFuncDerLoad.c -o obj/optimize/5.0/
bsource_1_DcFuncDerLoad.o || rm -f -f obj/optimize/5.0/
bsource_1_DcFuncDerLoad.o;
/bin/sh: Illegal option -h
Compiling C file bsource_1_DcFuncLoad.c (optimize)
/home/tklee/cadence/installs/MMSIM72/tools.lnx86/systemc/gcc/4.1/bin/
gcc -march=i686 -ffast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC -
DconfigSPECTRE -I. -I/home/tklee/cadence/installs/MMSIM72/tools.lnx86/
spectre/ahdlcmi/include -c bsource_1_DcFuncLoad.c -o obj/optimize/5.0/
bsource_1_DcFuncLoad.o || rm -f -f obj/optimize/5.0/
bsource_1_DcFuncLoad.o;
Compiling C file bsource_1_TranFuncDerLoad.c (optimize)
/bin/sh: Illegal option -h
/home/tklee/cadence/installs/MMSIM72/tools.lnx86/systemc/gcc/4.1/bin/
gcc -march=i686 -ffast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC -
DconfigSPECTRE -I. -I/home/tklee/cadence/installs/MMSIM72/tools.lnx86/
spectre/ahdlcmi/include -c bsource_1_TranFuncDerLoad.c -o obj/optimize/
5.0/bsource_1_TranFuncDerLoad.o || rm -f -f obj/optimize/5.0/
bsource_1_TranFuncDerLoad.o;
Compiling C file bsource_1_TranFuncLoad.c (optimize)
/bin/sh: Illegal option -h
/home/tklee/cadence/installs/MMSIM72/tools.lnx86/systemc/gcc/4.1/bin/
gcc -march=i686 -ffast-math -O3 -DSYSV -DSVR4 -D_REENTRANT -fPIC -
DconfigSPECTRE -I. -I/home/tklee/cadence/installs/MMSIM72/tools.lnx86/
spectre/ahdlcmi/include -c bsource_1_TranFuncLoad.c -o obj/
.... + a lot more
gnumake: *** [obj/optimize/5.0/libahdlcmi.so] Error 2