• 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 found by spectre during circuit read-in--can't find...

Stats

  • Locked Locked
  • Replies 24
  • Subscribers 131
  • Views 22793
  • 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 found by spectre during circuit read-in--can't find process.scs library

jdgriggs
jdgriggs over 16 years ago

 Hi everyone

 I've recently have come across an error that have not come across before and i'm hoping one of you may have an answer for me.  For some unapparent reason the input.scs cannot not seem to find my process.scs libs. This just occured but previously Cadence has been running fine.

 here is what the output files gives

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

Environment variable:
    SPECTRE_DEFAULTS=-E
Command line:
    /apps/ic/rel/tools.sun4v/spectre/bin/32bit/spectre -env artist5.1.0  \
        +escchars +log ../psf/spectre.out +inter=mpsc  \
        +mpssession=spectre0_19025_1 -format sst2 -raw ../psf  \
        +lqtimeout 900 input.scs
spectre pid = 19183

Loading /apps/ic/rel/tools.sun4v/cmi/lib/4.0/libinfineon_sh.so ...
Loading /apps/ic/rel/tools.sun4v/cmi/lib/4.0/libnortel_sh.so ...
Loading /apps/ic/rel/tools.sun4v/cmi/lib/4.0/libphilips_sh.so ...
Loading /apps/ic/rel/tools.sun4v/cmi/lib/4.0/libsparam_sh.so ...
Loading /apps/ic/rel/tools.sun4v/cmi/lib/4.0/libstmodels_sh.so ...
spectre (ver. 5.10.41_USR5.053107 -- 31 May 2007).
Includes RSA BSAFE(R) Cryptographic or Security Protocol Software from RSA
        Security, Inc.

Simulating `input.scs' on pearl at 12:48:43 PM, Wed Apr 8, 2009.

Error found by spectre during circuit read-in.
    "/libs/IBM_PDK/cmrf7sf/rel/Spectre/models/process.scs" 1501: Unknown
        parameter name `k_wafer' used to initialize parameter `n_spec'.
    "/libs/IBM_PDK/cmrf7sf/rel/Spectre/models/process.scs" 1501: Unknown
        parameter name `cor_rx_tt' used to initialize parameter `xcor_rx'.
    "/libs/IBM_PDK/cmrf7sf/rel/Spectre/models/process.scs" 1501: Unknown
        parameter name `cor_rx_ff' used to initialize parameter `xcor_rx'.
    "/libs/IBM_PDK/cmrf7sf/rel/Spectre/models/process.scs" 1501: Unknown
        parameter name `cor_rx_ss' used to initialize parameter `xcor_rx'.
.
.
.

Created directory ahdlcmi (770)
Created directory
        ahdlcmi/_libs_IBM_PDK_cmrf7sf_rel_Spectre_models_hacap.va.ahdlcmi/
        (770)
Opening directory ahdlcmi (770)
Created directory
        ahdlcmi/_libs_IBM_PDK_cmrf7sf_rel_Spectre_models_mvcap.va.ahdlcmi/
        (770)

Error found by spectre in `dindpw', during circuit read-in.
    "/libs/IBM_PDK/cmrf7sf/rel/Spectre/models/dindpw.scs" 151: Syntax error in
        specification of `prpw'.
    "/libs/IBM_PDK/cmrf7sf/rel/Spectre/models/dindpw.scs" 194: Unknown
        parameter name `mmatd' found in expression.
Error found by spectre in `divpnp', during circuit read-in.
    "/libs/IBM_PDK/cmrf7sf/rel/Spectre/models/divpnp.scs" 228: Syntax error in
        specification of `lbh'.
    "/libs/IBM_PDK/cmrf7sf/rel/Spectre/models/divpnp.scs" 279: Unknown
        parameter name `mmatd' found in expression.

.
.
.
.               then finally ends

.
.
.

Error found by spectre in `sbdnw', during circuit read-in.
    "/libs/IBM_PDK/cmrf7sf/rel/Spectre/models/sbdnw.scs" 156: Name mismatch in
        closing cell definition (sbdnw!=sbd).

spectre terminated prematurely due to fatal error.

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

I don't understand what could be causing this error all of a sudden any insight you can offer would be appreciated.

 Regards
JG

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    A CCR is a "Cadence Change Request". I can't locate the CCR I was referring to before (I had a quick search but didn't find it). The way I install my releases locally is done using a script that adds in the tools link anyway for historical reasons - but I believe with MMSIM12.1 and later releases (possibly earlier too) you can just put:

    <MMSIMinstDir>/bin

    in your UNIX path - there's no need for the tools link. 

    There is no "etc" directory inside the MMSIM directory, so not sure what you're looking for there...

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ImanKian
    ImanKian over 9 years ago

    Thanks indeed Andrew,

    1) I set the path <MMSIMinstDir>/bin but still I receive the same error as follows:

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

    \e *Error* Errors encountered during simulation. The simulator run log has not been generated.
    \e Possible cause could be an invalid command line option for the version of the simulator
    \e you are running. Choose Setup->Environment and verify that the command line options
    \e specified in the userCmdLineOption field are supported for the simulator.
    \e Alternatively, run the simulator standalone using the runSimulation file in the netlist
    \e directory to know the exact cause of the error.

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

    2) In terminal I went to /home/<USER>/simulation/<my_project>/spectre/schematic/netlist

    Then I tried to run the simulation using ./runSimulation however I got the following error:

    ./runSimulation: line 1: spectre: command not found

    I checked inside runSimulation and the following lines were there:
    spectre -env artist5.1.0 +escchars +log ../psf/spectre.out +inter=mpsc +mpssession=spectre0_29565_1 -format sst2 -raw ../psf  +lqtimeout 900 -maxw 5 -maxn 5 input.scs

    I even tried without the ADE terms but it cannot see spectre itself.

    3) If I remove <MMSIMinstDir>/bin, spectre works but possibly with an old version which I do not know what is that. I tried to find it with 'spectre -W' in terminal and I got the following message:

    spectre: Command not found.

     

    Could you please help me up to get of a swamp of errors. I would appreciate that a lot.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Do you have /bin/ksh installed on your machine? (what does "ls -l /bin/ksh" show?)

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Also, what does "which spectre" show, and "spectre -W" ?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ImanKian
    ImanKian over 9 years ago

    1) ls -l /bin/ksh
    It shows:
    lrwxrwxrwx. 1 root root 21 Mar 22 14:20 /bin/ksh -> /etc/alternatives/ksh

    2) ls -l /home/<USER>/
    I checked it for the Cad directory as well,
    drwxrwxr-x.  4 <USER> <USER> 4096 Mar 25 12:29 Cad


    3) For both 'spectre -W' and 'which spectre' I get the following error:
    spectre: Command not found.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    If you just type "ksh" does that work?

    Not sure why you checked the "Cad" directory - what did "which spectre" show (which is what I asked)?

    Also, can you give the output of "uname -a" and "cat /etc/redhat-release" please.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ImanKian
    ImanKian over 9 years ago

    Thanks indeed Andrew, I really appreciate your help, also I learn thru your comments.

    [ Today I was checking the Monte-Calro analysis and it crashed, So I updated the previous post with the item No (5) at the end of the post]

    0) Actually I replied to your question regarding 'which spectre' in previous post. If I type any of 'which spectre' and 'spectre -W' in the terminal I get the following error:

    spectre: Command not found.

    Interestingly, in CDS.log file I see that it starts with the following lines:

    \o Program:        @(#)$CDS: icfb.exe version 5.1.0 11/22/2011 01:38 (cicln04) $
    \o Hierarchy:        <CadenceInstDir>/tools.lnx86/dfII/
    \o Sub version:        sub-version 5.10.41.500.6.151 (32-bit addresses)

    1) If I just type "ksh" it shows the following:
    [<USER>@<Hostname> ~]$ ksh
    $
    $
    $
    $

    2) Here is the output of the uname -a

    Linux <Hostname>.<Domain> 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

    3) Here is the result for: cat /etc/redhat-release

    CentOS release 6.7 (Final)

    4) Also here is what I have in my Unix code, it might help:
    set path=(<MMSIMinstDir>/bin ${path})
    #Variables and paths for IC51
    setenv CDS_INST_DIR <CadenceInstDir>
    setenv CDSDIR <CadenceInstDir>
    setenv CDS_INSTALL_DIR ${CDS_INST_DIR}/tools/dfII
    set path=( $CDS_INST_DIR/tools/bin $CDS_INST_DIR/tools/dfII/bin ${path})

    I checked the <MMSIMinstDir> path after IC path as well, but it did not help. Only if I remove it, simulator can work, probably using an old version.

    5) USEFUL point is , I tries to simulate Monte Carlo analysis for my circuit using the old MMSIM version. However, monte carlo crashed and gave me a lot of errors similar to the one below:

    ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

    Error found by spectre in `n_12_hsl130e', during circuit read-in.
        "<LibraryPath>/Models/Spectre/l130e_hs12_v241_mc.mdl.scs" 22:
            Syntax error in specification of `avtn'.

    '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

    I checked the /home/<USER>/simulation/<My_Project>/spectre/schematic/psf/spectre.out to see what was the errors and messages. Interestingly I found the the spectre.out starts with the following lines and it says I am using Spectre version 5.10.41 (old base-version) :

    Command line:
         \
           <CadenceInstDir>/tools.lnx86/spectre/bin/32bit/spectre  \
            -env artist5.1.0 +escchars +log ../psf/spectre.out -format sst2  \
            -raw ../psf +lqtimeout 900 input.scs

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ImanKian
    ImanKian over 9 years ago

    Hi Andrew,

    I have updated previous post today with more clues.

    1) Also I found a solution in a post entitled illogical outputs from cadence (IC5141) ADE, which says remove the contents of maxwarns and maxnotes from ADE->Simulation->option->analog->simulator options. I did the same and spectre worked. However, I have the <MMSIMinstDir> path before <CDSinstDir> path.

    2) but still the big problem is spectre -W does not work for me. I always receive the error: spectre: Command not found.
     Looks like the spectre is not recognized by IC5.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    I was rather busy the last few days and so couldn't answer.

    If "which spectre" is not finding the executable, then it must be either that your UNIX path is wrong, or the permissions are wrong. Running the executable "spectre -W" could fail with command not found if /bin/ksh wasn't working, but "which" should just search for an executable in your path - so  I think your issue is going to be something simple (well it will be once we've figured it out!)

    First of all, the MMSIM path must be before the IC path - because otherwise you'll get the old spectre that came in IC5141 (which is really old) which is why various simulations fail, including monte carlo. Your models are probably incompatible with the old parser (MMSIM has been a separate release stream since late 2004).

    Please post what you get when you type "echo $path" (don't edit anything - just post it as is because you may hide some of the evidence by doing that).

    Check your MMSIM121 installation - does it have a "bin" dir? Is there a "spectre" within? Is it executable?

    This is really something that is very hard to debug over a forum - I'm sure it's something messed up in either your environment or your installation, but trying to work that out this way is very hard. What you're seeing seems very odd, and I'm positive it's a usage problem not a tool bug.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ImanKian
    ImanKian over 9 years ago

    Thanks indeed Andrew,

    1) For "echo $path" I got the following:

    /usr/lib64/qt-3.3/bin /usr/local/bin /usr/bin /bin

    Among them /usr/lib64/qt-3.3/bin and /usr/local/bin are totally empty: I am saying this because I am a bit new in Linux and I don't know if it's a symptom or not.

    2) In the path <MMSIMinstDir>/bin/ there is spectre file and its type is as follows:

    Link to shell script (application/x-shellscript)

    and its link target is: .cdnWrapperIndep

    Regards,

    • 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