Home > Community > Forums > Custom IC SKILL > soft_bin option

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

 soft_bin option 

Last post Thu, Sep 20 2012 5:48 AM by Andrew Beckett. 7 replies.
Started by Eshar 14 Sep 2012 10:24 AM. Topic has 7 replies and 2289 views
Page 1 of 1 (8 items)
Sort Posts:
  • Fri, Sep 14 2012 10:24 AM

    • Eshar
    • Not Ranked
    • Joined on Sun, May 13 2012
    • Posts 14
    • Points 205
    soft_bin option Reply

    I am trying to use the soft_bin option.

    1) I created a stimulus file containing the line: soft_bin=allmodels

    2) I included the file using the stimulusFile command in Ocean 

     However, I received the following runtime error:

     soft_bin: Too few terminals given (0 < 2)

     

    What are "terminals" that this message refers to?

    I couldn't find much information regarding this simulation option so I would appreciate any guidance. 

    Filed under:
    • Post Points: 20
  • Fri, Sep 14 2012 10:49 AM

    Re: soft_bin option Reply
    Assuming you're talking about spectre, it would be:

    MyOpts options soft_bin=allmodels

    I've not checked the documentation to ensure that this is the correct option name or value (use "spectre -h options" from the command line).

    Andrew
    • Post Points: 20
  • Fri, Sep 14 2012 11:04 AM

    • Eshar
    • Not Ranked
    • Joined on Sun, May 13 2012
    • Posts 14
    • Points 205
    Re: soft_bin option Reply

    Thanks for the help.

     

    I am getting a different kind of error now:

    The instance `myOpts' does not have a valid master.

    • Post Points: 20
  • Fri, Sep 14 2012 12:14 PM

    Re: soft_bin option Reply
    Does the stimulus file name have a ".scs" suffix? You can either do that or add a line before the MyOpts line saying:

    simulator lang=spectre

    Regards,

    Andrew
    • Post Points: 20
  • Fri, Sep 14 2012 12:28 PM

    • Eshar
    • Not Ranked
    • Joined on Sun, May 13 2012
    • Posts 14
    • Points 205
    Re: soft_bin option Reply
    Thanks. That works. I am not yet fluent in spectrese, so the details fail me. By the way, is there a way to ascertain the bin which was chosen?
    • Post Points: 20
  • Mon, Sep 17 2012 2:02 AM

    Re: soft_bin option Reply

    Add this  in your stimulus file:

    instanceInfo info what=inst where=logfile

    and it will output information on each instance, including the name of the model (including the bin number) that was used, into the log file (spectre.out if run from OCEAN). You can use where=file if you want it to go to an ASCII file.

    It's also stored in the binary results database (from selectData('instance), but currently requires a private SKILL function to access it - there's a CCR to make a public function available - if you want that, please log a service request with customer support to add yourself to the customers requesting this.

    Andrew.

    • Post Points: 20
  • Wed, Sep 19 2012 1:38 PM

    • Eshar
    • Not Ranked
    • Joined on Sun, May 13 2012
    • Posts 14
    • Points 205
    Re: soft_bin option Reply

    In a related matter, is it possible to use a stimulus file in ocean?

    When I include a stimulus file using stimulusFile, I get error that I must use the command design("lib" "cell" "view") instead of design("netlistfile"). However, once I run the script with the command design("lib" "cell" "view") I receive an error stating that ocean cannot be run using this format of the design command. Ocean can only be run using a specified netlist file.

    Is there a workaround to this which will allow me to include a stimulus file and run the script in cadence? 

    I am using IC 5.10.41.500.6.151

    • Post Points: 20
  • Thu, Sep 20 2012 5:48 AM

    Re: soft_bin option Reply

     This is because stimulus files can use "schematic names" (with a special syntax) and these are then mapped into the netlist names. To do that, it needs to know the design hierarchy.

    If you don't need that capability, you can use:

    stimulusFile("myfile.scs" ?xlate nil)

    and this is supported even when the design is specified as a netlist. Note that design(lib cell view) can be used, but you'd have to run it from icfb (in IC615 it also is supported in the "ocean" executable). This is because in IC5141 the "ocean" executable doesn't support netlisting.

    Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (8 items)
Sort Posts:
Started by Eshar at 14 Sep 2012 10:24 AM. Topic has 7 replies.