• 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. Mixed-Signal Design
  3. mixed-signal AMS simulation error

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 66
  • Views 23009
  • 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

mixed-signal AMS simulation error

apple419
apple419 over 11 years ago

Hi,

   I was trying to do a simple mixed-signal simulation with AMS in Cadence ADE environment (6.15).

   In the setup there are two inverters. One inverter A has schematic view and the other inverter B has Verilog view. The Config view is created.

   In the hierarchy editor form, correct views are set (A has schematic view and B has verilog view).

In ADE, the ams is selected as the simulator. The ConnRules_3V_full_fast is selected as the connect rule. The OSS-based netlister with irun is slected.

   When I started a transient simulation, the simulation log shows the following error and the simulation stopped.

   irun: *E,BDOPT: Unknown option -rnm_partinfo

   Anyone have any idea what this error is about?  Is there anything I missed in the setup?

 

Thank you for the help!

Regards 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Which version of INCISIVE are you using? I saw one report of this with a customer using IC616 and INCISIV12.1 - and the problem did not occur if they used INCISIV12.2. Also if they did a Netlist->Recreate it went away too (using INCISIV12.1).

    And which subversion of IC6.1.5 (Help->About in the CIW will tell you)?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • apple419
    apple419 over 11 years ago

    Andrew,

        I am using inciciv-12.10.006. The Cadence version is ic6.1.5-64b.500.17.

        I tried this: in ADE, Simulation -> Netlist -> Recreate, then Run. The error still exisits.

     Following is the irun.log:

    irun: 12.10-s006: (c) Copyright 1995-2012 Cadence Design Systems, Inc.

    TOOL: irun 12.10-s006: Started on Oct 08, 2013 at 07:02:02 MST

    irun

    -f irunArgs

    -clean

    -UNBUFFERED

    -errormax 50

    -status

    -nowarn DLNOHV

    -nowarn DLCLAP

    -v93

    -incdir /home/users/wangx/rechips/

    -timescale 1ns/1ns

    -discipline logic

    -delay_mode None

    -novitalaccl

    -access r

    -noparamerr

    -amspartinfo ../psf/partition.info

    -rnm_partinfo

    -modelincdir /home/users/wangx/rechips/

    ./spiceModels.scs

    ./amsControlSpectre.scs

    -input ./probe.tcl

    -run

    -exit

    -ncsimargs "+amsrawdir ../psf"

    -simcompatible_ams spectre

    -name test02:config

    -amsconnrules ConnRules_3V_full_fast

    +define+CDS_SELECT_CRS

    +define+CONNRULES_3V_FULL_FAST

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/ConnRules_3V_basic/connect/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/L2E_2/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/E2L_2/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/Bidir_2/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/E2R/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/R2E_2/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/ER_bidir/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/R2L/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/L2R/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/RL_bidir/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/L2E_2_CPF/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/Bidir_2_CPF/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/E2L_2_CPF/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/R2L_CPF/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/L2R_CPF/module/verilog.vams

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/connect_lib/connectLib/RL_Bidir_CPF/module/verilog.vams

    ./netlist.vams

    -f ./textInputs

    /home/users/wangx/rechips/verilog_test/inv_vlog/verilog/verilog.v

    ./cds_globals.vams

    -l ../psf/irun.log

    irun: *E,BDOPT: Unknown option -rnm_partinfo.

    TOOL: irun 12.10-s006: Exiting on Oct 08, 2013 at 07:02:02 MST  (total: 00:00:00)

     Thanks

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

    In the CIW, can you enter:

    _amsUISimFeatures->ncelab_rnmpartinfo

    and see what it returns? Also can you do:

    getShellEnvVar("AMS_FEATURE_FILE")

    and see if that returns anything (I'm wondering if the AMS_FEATURE_FILE UNIX env var has been set and is pointing to an INCISIV12.2 installation hierarchy).

    Finally, if the first returns t, and the AMS_FEATURE_FILE isn't set, can you take a look in:

    /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/files/amssim.dat

    if you do "grep rnm  /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/files/amssim.dat" and see if it returns a line with "rnmpartinfo".

    Thanks,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • apple419
    apple419 over 11 years ago

    Andrew,

        In the CIW, I entered:

         _amsUISimFeatures->ncelab_rnmpartinfo

        then it returned: nil

        Then I entered:

         getShellEnvVar("AMS_FEATURE_FILE")

        It returned: nil 

         Then I entered  following in a terminal window:

         rep rnm /pkg/incisiv-12.10.006/tools.lnx86/affirma_ams/etc/files/amssim.dat

         It retured nothing. 

         Does this mean I have some fundamental setup issue?

     

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

    That's odd. Your setup looks normal - the above tells me that you've not pointed it to an erroneous feature file (you should not set $AMS_FEATURE_FILE except if told to by Cadence for some reason), and it wasn't something wrong with the feature file (that's the amssim.dat) in the specific subversion you're using.

    I can't see how it would netlist -rnm_partinfo without this though. Having netlisted in ADE, can you enter this in the CIW?:

    _amsOSSIrunObj->feature_ncelab_rnmpartinfo

    Anyway, the solution is probably just to switch to using INCISIV12.2 - since that version does support the -rnm_partinfo option on irun.

    Kind Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • apple419
    apple419 over 11 years ago

    yes, it looks not normal.

    When I do simulation->netlist->recreate, the CIW window shows AMS netlisting has completed successfully.

    As you mentioned, after entered 

    _amsOSSIrunObj->feature_ncelab_rnmpartinfo 

    it retured t 

    By the way how to switch to incisiv 12.2? How do i tell if incisiv 12.2 is installed?

    When I start the virtuoso I use: virt +incisiv xh035, where xh035 is the process I use. 

     Following is the netlist it created:

    ////////////////////////////////////////////////////////////////////////

    // PLEASE DO NOT EDIT OR COMPILE THIS FILE.                             

    // IT IS MEANT FOR VIEWING PURPOSE ONLY.                                

    // 

    // All files for configuration: (re353 test02 config)

    ////////////////////////////////////////////////////////////////////////

     

    // AMS netlist generated by the OSS based AMS netlister

    // IC subversion:  IC6.1.5-64b.500.17 

    // IUS version: 12.10-s006

    // Copyright(C) 2005-2009, Cadence Design Systems, Inc

    // User: wangx Pid: 18069

    // Design library name: re353

    // Design cell name: test02

    // Design view name: config

    // Solver: Spectre

     

    `include "disciplines.vams"

    `include "userDisciplines.vams"

    // Library - xh035_std_v01, Cell - ginva, View - schematic

    // LAST TIME SAVED: Oct  1 08:44:01 2013

    // NETLIST TIME: Oct  8 13:05:29 2013

    `timescale 1ns / 1ps 

     

    (* cds_ams_schematic *) 

    module ginva (O, I);

     

    parameter Wp=7e-07;

    parameter Lp=3.5e-07;

    parameter Wn=7e-07;

    parameter Ln=3.5e-07;

     

    output  O;

     

    input  I;

     

    wire (*

    integer inh_conn_prop_name = "ggnd";

    integer inh_conn_def_value = "cds_globals.\\vss! ";*)

    cdsNet0;

     

    wire (*

    integer inh_conn_prop_name = "gpwr";

    integer inh_conn_def_value = "cds_globals.\\vdd! ";*)

    cdsNet1;

     

     

    \pmos #(.m("(1)*(1)"), .w(Wp), .l(Lp), .ad(0.85u*(Wp)), .as(0.85u*(Wp))

        , .pd(0.85u*2+(Wp)), .ps(0.85u*2+(Wp)), .nrd(0.3u/(Wp)), 

        .nrs(0.3u/(Wp)), .par1("(1)")) 

    (* integer passed_mfactor = "m"; *)

    M0 (O, I, cdsNet1, cdsNet1);

     

    \nmos #(.m("(1)*(1)"), .w(Wn), .l(Ln), .ad(0.85u*(Wn)), .as(0.85u*(Wn))

        , .pd(0.85u*2+(Wn)), .ps(0.85u*2+(Wn)), .nrd(0.3u/(Wn)), 

        .nrs(0.3u/(Wn)), .par1("(1)")) 

    (* integer passed_mfactor = "m"; *)

    M1 (O, I, cdsNet0, cdsNet0);

     

    endmodule

    // Library - re353, Cell - test02, View - schematic

    // LAST TIME SAVED: Oct  8 12:40:35 2013

    // NETLIST TIME: Oct  8 13:05:29 2013

    `timescale 1ns / 1ps 

     

    (* cds_ams_schematic *) 

    module test02 ();

     

     

    ginva #( .Wn(7e-07), .Lp(3.5e-07), .Ln(3.5e-07), .Wp(7e-07) ) I0 ( 

        .O(ginva_o), .I(net1));

     

    myinv I6 ( .o(dinv_o), .in(ginva_o));

     

    vsource #(.type("pulse"), .val0(0), .val1(3), .period(1u), .delay(0), 

        .rise(100n), .fall(100n), .width(500.0n)) V0 (net1, 

        cds_globals.\gnd! );

     

    vsource #(.dc(3), .type("dc")) V2 (cds_globals.\vdd! , 

        cds_globals.\gnd! );

     

    vsource #(.dc(0), .type("dc")) V1 (cds_globals.\vss! , 

        cds_globals.\gnd! );

     

    endmodule

    // Verilog-AMS cds_globals module for top-level cell:

    //    re353/test02.

    // Generated by ADE.

    // Cadence Design Systems, Inc.

     

    // This is an autoGenerated file, any changes done to this file may get lost.

     

    `include "disciplines.vams"

    `include "userDisciplines.vams"

     

    module cds_globals;

     

    // Global Signals

       wire \vdd! ;

       wire \vss! ;

       electrical \gnd! ;

       ground \gnd! ;

     

    // Design Variables

     

    endmodule

     

    // This is the Cadence AMS Designer(R) analog simulation control file. 

    // It specifies the options and analyses for the Spectre analog solver. 

     

    simulator lang=spectre 

     

    simulatorOptions options temp=25.0 tnom=27 scale=1.0 scalem=1.0 \

    reltol=1e-3 vabstol=1e-6 iabstol=1e-12 gmin=1e-12 rforce=1 maxnotes=5 \

    maxwarns=5 digits=5 pivrel=1e-3 checklimitdest=psf 

     

    tran tran stop=5u save=none write="spectre.ic" writefinal="spectre.fc" \

    annotate=status maxiters=5 

     

    finalTimeOP info what=oppoint where=rawfile

     

    modelParameter info what=models where=rawfile 

    element info what=inst where=rawfile 

    outputParameter info what=output where=rawfile 

     

    # This is the NC-SIM(R) probe command file

    # used in the AMS-ADE integration.

     

     

    #

    # Database settings

    #

    if { [info exists ::env(AMS_RESULTS_DIR) ] } { set AMS_RESULTS_DIR $env(AMS_RESULTS_DIR)} else {set AMS_RESULTS_DIR "../psf"}

    database -open ams_database -into ${AMS_RESULTS_DIR} -default

     

    #

    # Probe settings

    #

    probe -create -emptyok -database ams_database {test02.ginva_o}

    probe -create -emptyok -database ams_database {test02.dinv_o}

     

     

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

    I can't see how this could be being set if it's not in the feature file. Very odd....

    The "virt +incisiv" is some wrapper scripts in your environment. Best to ask whoever is reponsible for installing software at your site.

    Kind Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Asako
    Asako over 8 years ago
    how did you resolve this in the end ? I'm getting the same error...
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Clearly the simplest way to solve it is to use a newer version of INCISIVE. Which version are you using?

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Asako
    Asako over 8 years ago
    INCISIV11. so, it's purely tool version issue ? I'll ask IT to upgrade it. Thanks a lot !
    • 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