• 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 SKILL
  3. soft_bin option

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 143
  • Views 16723
  • 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

soft_bin option

Eshar
Eshar over 13 years ago

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. 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago
    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
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Eshar
    Eshar over 13 years ago

    Thanks for the help.

     

    I am getting a different kind of error now:

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

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago
    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
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Eshar
    Eshar over 13 years ago
    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?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Eshar
    Eshar over 13 years ago

    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

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

     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.

    • 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