Home > Community > Forums > Custom IC Design > problem in spectre

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 problem in spectre 

Last post Tue, Feb 2 2010 9:31 PM by minci. 8 replies.
Started by minci 01 Feb 2010 09:05 PM. Topic has 8 replies and 4731 views
Page 1 of 1 (9 items)
Sort Posts:
  • Mon, Feb 1 2010 9:05 PM

    • minci
    • Top 500 Contributor
    • Joined on Mon, Feb 1 2010
    • Posts 25
    • Points 455
    problem in spectre Reply

     hi,there

    i'm using ic5141 usr6 to design. In our new project,we'll use the IBM PDK 

    cmrf8sf.but i found the spectre in ic5141 is not supporting the new bsim4 model.Then,i use +csfe option in the usrCmdLineOption of spectre environment options,and this will work.

    When i've re-installed my OS(RHEL4.8),however,i found this method doesn't work anymore.For example,if there is a nfet T1 in my circuit,the spectre will give the error message such as

    "input.scs"13: T1 is an instance of an undefined model subcircuit.

     

    Then,i have install the mmsim61.The first time,it works well.But,again,when i re-install the OS, the problem occurs again as the same with the first.i am sure i have set the right model library in the setup menu.

    It's so weird and i dont know how to fix it.

    And,there is also a problem when i use the command

    IBM_PDK-> Library->Add IBM_PDK Lib Properties

    the ciw shows the error message:

    *Error*eval:unbound variable - addibmPdkLibProperitesForm

    <<<<Stack Trace>>>>

    (....in ibmPdkaddibmPdkLibProperties....)

    ibmPdkaddibmPdkLibProperties()

    ERROR

     

     

    With this, i can not selecting the correct metals stack for the process.  For DM this is "3-2"  (three-thin, 2-thick);  for LM use "6-2" (six thin, two thick). just as ibm instruct how to do when you create a new library.

     

     

    anyone who can help me ? thanks a lot

     

    minci

     

     

    Filed under: ,
    • Post Points: 35
  • Tue, Feb 2 2010 2:33 AM

    Re: problem in spectre Reply
    First of all, using spectre from IC5141 is not a good idea. It is very old. MMSIM61 is also very old - there have been four major releases since then (MMSIM61 is no longer supported).

    The first problem sounds as if you need to do:

    setenv CDS_Netlisting_Mode Analog

    Before starting icfb. I doubt reinstalling the OS has anything to do with this.

    You may need to do a Netlist->Recreate to force it to renetlist any block which was netlisted without netlisting mode set to Analog.

    Not sure about the missing function. Maybe something is not being loaded from your .cdsinit (can't really be sure because I don't have the PDK). Perhaps you should ask IBM support?

    Regards,

    Andrew
    • Post Points: 20
  • Tue, Feb 2 2010 4:29 AM

    • tkhan
    • Top 50 Contributor
    • Joined on Sat, Aug 16 2008
    • Toronto, Ontario
    • Posts 159
    • Points 2,220
    Re: problem in spectre Reply

     Sounds like you're using IBM8RF. First of all, read CMRF8SF_ALL_USERS_MUST_READ.txt and all the release notes and update your tools accordingly. Secondly, make sure you are using models/cdsenv/cdsinit from /cdslib51 if you're sticking with IC5141. If you are a MOSIS customer, best to contact them if you're having PDK problems.

    • Post Points: 5
  • Tue, Feb 2 2010 8:42 AM

    • minci
    • Top 500 Contributor
    • Joined on Mon, Feb 1 2010
    • Posts 25
    • Points 455
    Re: problem in spectre Reply

     hi,Andrew and tkhan

    in my bashrc,i have written like this:

     

     

    CDSDIR=/usr/eda/cadence/ic5141
    export CDSDIR
    CDS_ROOT=/usr/eda/cadence/ic5141
    export CDS_ROOT
    CDS_INST_DIR=/usr/eda/cadence/ic5141
    export CDS_INST_DIR
    CDS_INSTALL_DIR=/usr/eda/cadence/ic5141/tools/dfII
    export CDS_INSTALL_DIR
    CDS_LIC_FILE=$CDS_ROOT/share/license/license.dat
    export CDS_LIC_FILE
    MMSIM_ROOT=/usr/eda/cadence/mmsim61
    export MMSIM_ROOT
    LM_LICENSE_FILE=$MMSIM_ROOT/share/license/license.dat
    export LM_LICENSE_FILE
    PATH=$MMSIM_ROOT/tools/bin:$MMSIM_ROOT/tools/spectre/bin:$CDS_ROOT/tools/bin:$CDS_ROOT/tools/dfII/bin:$CDS_INSTALL_DIR/bin:$CDS_ROOT/tools/spectre/bin:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$PATH
    export PATH
    export LD_ASSUME_KERNEL=2.4.0
    export CDS_Netlisting_Node=Analog

    export SPECTRE_DEFAULTS=-E
    export CDS_LOAD_ENV=CWDElseHome

    where the last 3 export term are required by the IBM manual,just like tkhan said,the CMRF8SF_ALL_USERS_MUST_READ.txt.and i followed the CMRF8SF_ALL_USERS_MUST_READ.txt completely.

    i dont know why they worked fine in the first time.

     

     so the CDS_Netlisting_Node i have set it to Analog,and the problem is still here.

    • Post Points: 20
  • Tue, Feb 2 2010 5:39 PM

    • tkhan
    • Top 50 Contributor
    • Joined on Sat, Aug 16 2008
    • Toronto, Ontario
    • Posts 159
    • Points 2,220
    Re: problem in spectre Reply

     export CDS_Netlisting_Mode=Analog

     Mode not Node.

    Edit: The minimum version of MMSIM is MMSIM.71. I think IC5141USR6 is okay, but you should be using IC613 by now, otherwise you may get a rude shock when IC5141 support is dropped by IBM...

    • Post Points: 20
  • Tue, Feb 2 2010 7:39 PM

    • minci
    • Top 500 Contributor
    • Joined on Mon, Feb 1 2010
    • Posts 25
    • Points 455
    Re: problem in spectre Reply

     Finally,it works!!!thx guys!!

    i have changed the  CDS_Netlisting_Node to CDS_Netlisting_Mode,but the problem is still here.

    then i followed Andrew's instruction to recreate the netlist,then it works!

    Even when i creating a new library and drawing a new schematic,i dont have to recreate it like above again.

    And in the first time before i reinstalling my OS, the spectre worked fine though i didn't do the "recreate" action. 

    So,i dont know why this occurs.And what the "recreate" function means?

    well,about ic5141,we'll still use it until the project is accomplished.

    in our next project,we may update it.

    • Post Points: 20
  • Tue, Feb 2 2010 7:53 PM

    • tkhan
    • Top 50 Contributor
    • Joined on Sat, Aug 16 2008
    • Toronto, Ontario
    • Posts 159
    • Points 2,220
    Re: problem in spectre Answer Reply

    minci:

    i have changed the  CDS_Netlisting_Node to CDS_Netlisting_Mode,but the problem is still here.

    then i followed Andrew's instruction to recreate the netlist,then it works!

    Even when i creating a new library and drawing a new schematic,i dont have to recreate it like above again.

     

    I think if you just do Simulation>Run you will get the error because it is using the netlist created with the wrong netlister, however Simulation>Netlist and Run should work. For the new cellviews, since you have set CDS_Netlisting_Mode correctly you won't have to recreate since it has already been created correctly. You would use Recreate if you've made changes to the schematic, or in your case, want to use a different netlister. 

    • Post Points: 20
  • Tue, Feb 2 2010 8:06 PM

    Re: problem in spectre Answer Reply
    Not quite. The netlisters in ADE are incremental; they renetlist each cellView if it thinks that cellView has changed. I think changing the netlisting mode is not something detected as a change (it's not something you would normally change during a design flow), so doing a recreate forces it to renetlist every cellview, even if the incremental netlister doesn't think it's necessary.

    For new cellViews you never had the "wrong" netlist so there's no need to force a recreate.

    Normal schematic changes are picked up by the incremental netlister and do not need recreate to be used.

    Regards,

    Andrew
    • Post Points: 20
  • Tue, Feb 2 2010 9:31 PM

    • minci
    • Top 500 Contributor
    • Joined on Mon, Feb 1 2010
    • Posts 25
    • Points 455
    Re: problem in spectre Reply

    now i've understood why.

    because i didnt set CDS_Netlisting_Mode to Analog before,the spectre used the wrong netlister to create netlist.After it creating the netlist incorrectly,it will not work even if i set the right CDS_Netlisting_Mode value.So i have to recreate with the right CDS_Netlisting_Mode value and work fine with my new library and cellview.

    Thank you very much,Andrew,tkhan!

    • Post Points: 5
Page 1 of 1 (9 items)
Sort Posts:
Started by minci at 01 Feb 2010 09:05 PM. Topic has 8 replies.