• 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. extracted view simulation in OCEAN

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 13673
  • 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

extracted view simulation in OCEAN

Alex Vasjanov
Alex Vasjanov over 11 years ago

 Hello, Cadence community,

A short question: has anyone tried to simulate extracted views and change them from the ocean environment?


I have, but didn't succeed (I'm not new to OCEAN or SKILL, so if anyone has any solutions, the level of complexity doesn't matter)... If I understand correctly, one can do this in several ways:
1) create a config file and bind the schematic to the extracted view;
2) bind the extracted view directrly from ADE using setup->environment options-> first two textboxes from the top...

I've tried to implement this in ocean and declare these lines in my script:

envOption('switchViewList '( "spectre" "cmos_sch" "cmos.sch" "schematicExtract" "veriloga" "ahdl"))
envOption('stopViewList '("spectre"))


The schematicExtract is my extracted schematic :)

The lines above do not change the extracts, OCEAN still uses the simple schematic (not extract) during simulations... I understand, that the hierarchy should be created (updated) for the software to bind extracts with schematics, but is there any way of doing that in OCEAN? May be OCEAN scripts are not capable of changing between extracted views?

By the by, the scripts DO calculate extracts when I first configure the config file (or through ADE) and then load the script. But as I mentioned earlyer - the calculations are conducted with only the present extract and if I try to change it to another one (now using the OCEAN lines and not from ADE or config file), nothing happens...

By the way, I do not generate the netlist after setting envOption in the script - maybe that's the case? (though I doubt it)


Regards,
Aleksandr

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Hi Aleksandr,

    This should work fine - but I suspect it's related to how you've specified the design via the design() function in your OCEAN script.

    1. If you have specified design("/path/to/netlist") then it won't work, because it doesn't re-netlist the design then - it's only using the netlist you've given it (it adds the variables and analyses etc to form the input.scs, but the design part doesn't change).
    2. If you've specified design("libName" "cellName" "config") - i.e. you're pointing at a config produced by the hierarchy editor, then the switchViewList/stopViewList have no effect, because the view switching is entirely controlled by the config. In this case you could have two different config views and pick the right one in the design() function, or you could (if feeling adventurous) use the hdb.* functions to modify the config. Or you could just do design("libName" "cellName" "schematic") instead and then you can use the switchViewList etc.

    Note that you don't have to renetlist for this to work - the run() function does a netlist and run (and does an incremental re-netlist as needed).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Alex Vasjanov
    Alex Vasjanov over 11 years ago

     Hello, Andrew,

    Thanks for the fast reply.

    I've declared my design through design("/path/to/netlist") and as You said, it doesn't work.

    After declaring the schematic with:

    design("libName" "cellName" "schematic")

    the lines with envOption now seem to work properly.

    Thanks again.

    Regards,

    Aleksandr.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Alex Vasjanov
    Alex Vasjanov over 11 years ago

     Another question arose: say I have a schematic with only a block that has an extracted view and I need to change it's extracts within OCEAN. I assume that the envOption way isn't suitable for this. (didn't work for me) I can solve this with creating different config files every single of which binds the desired extract to that particular block and then change them (the configs) in the script.

     

    Maybe there's another way, a smarter one?

     

    Regards,

    Aleksandr.

    • 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