Home > Community > Forums > Custom IC Design > How to override parameters in the same block - ADEXL Global Variables

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: *

 How to override parameters in the same block - ADEXL Global Variables 

Last post Fri, Apr 18 2014 12:36 PM by WMACH. 3 replies.
Started by WMACH 17 Apr 2014 01:21 PM. Topic has 3 replies and 256 views
Page 1 of 1 (4 items)
Sort Posts:
  • Thu, Apr 17 2014 1:21 PM

    • WMACH
    • Not Ranked
    • Joined on Thu, Oct 14 2010
    • Posts 6
    • Points 75
    How to override parameters in the same block - ADEXL Global Variables Reply

    Hello, I was wondering if you could help with the following issue:

    The vendor's provided model file has a definition for a parameter (param1) which I would like to override. Both definitions would happen in the same "block" (same level). The way I'm trying to do this, with no success, is as follows:

    A. Define a Global Variable in ADEXL as param1 = 0

    B. The netlist (input.scs) generated is:

    ....

    parameters param1 = 0

    include "vendor's model file"  (In this model file a definition of param1 = 1 exists)

    .....

    C. A warning in "spectre.out" is created:

     WARNING (SFE-2297): "vendor's model file": Parameter `param1' is already defined in the same block, previous definition is ignored.

    It seems to me that I would need to revert the order of declaration as described in B.,but I don't know how to do it.

    Would there another way to do what I'm trying to do?

    Thanks,

    Wil 

    • Post Points: 20
  • Thu, Apr 17 2014 2:13 PM

    • Tom Volden
    • Top 500 Contributor
    • Joined on Fri, Mar 27 2009
    • Eagan, MN
    • Posts 30
    • Points 540
    Re: How to override parameters in the same block - ADEXL Global Variables Reply

    Hi Wil,

    You could try having the model file definitions appear before the parameters statement using the following .cdsenv variable:

    spectre.envOpts    netlistModelFileFirst   boolean  t

    or the equivalent in the .cdsinit file:

    envSetVal("spectre.envOpts" "netlistModelFileFirst" 'boolean t)

    Since netlisting happens in the ICRP process in ADE XL you will need to have this in the .cdsenv or .cdsinit file rather than entering it in the CIW.

    Regards,

    TOM

    • Post Points: 20
  • Thu, Apr 17 2014 2:20 PM

    • WMACH
    • Not Ranked
    • Joined on Thu, Oct 14 2010
    • Posts 6
    • Points 75
    Re: How to override parameters in the same block - ADEXL Global Variables Reply
    Thanks TOM, I will give it a try. -- Wil
    • Post Points: 5
  • Fri, Apr 18 2014 12:36 PM

    • WMACH
    • Not Ranked
    • Joined on Thu, Oct 14 2010
    • Posts 6
    • Points 75
    Re: How to override parameters in the same block - ADEXL Global Variables Reply

    Hi TOM,

    Just a follow-up, I did confirm that what you suggested above works nicely.

    Thanks,

    Wil 

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by WMACH at 17 Apr 2014 01:21 PM. Topic has 3 replies.