• 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. which command can set the ADE environment swith view list...

Stats

  • Locked Locked
  • Replies 13
  • Subscribers 127
  • Views 20493
  • 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

which command can set the ADE environment swith view list and stop view list?

imagesensor123
imagesensor123 over 14 years ago

 hi,

   these days, i'm writing the ocean script and i have a problem to add the verilog-a to the swith view list, can you help me

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

     envOption('switchViewList '("veriloga" "spectre" "cmos_sch" "cmos.sch" "schematic")

    You can also set 'stopViewList this way. Note that switchViewList would normally contain veriloga by default, but it's at the end usually.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • berndf
    berndf over 14 years ago

    This is an environment variable and can be sent in the .cdsenv file
    like:
    spectre.envOpts    switchViewList    string    "spectre cmos.sch schematic veriloga"
    spectre.envOpts    stopViewList    string    "spectre symbol"

    or with skill
    envSetVal(
    t_tool[.Partition]
    t_varName
    s_varType
    g_newVal
     )

    I don't know if this works embedded in your OCEAN script.

    Bernd

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • berndf
    berndf over 14 years ago

     An other way which would in my optinion be good for OCEAN

    could be the "asi" commands

     

    asiSetEnvOptionVal( asiGetCurrentSession( ) 'switchViewList '("spectre" "schematic" "veriloga") )

     

    Bernd

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

    Hi Bernd,

    Or you could use the envOption function (which is an OCEAN function) that I mentioned earlier (our replies crossed in the post) ;-)

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • imagesensor123
    imagesensor123 over 14 years ago

     Hi Andrew,

         thanks, i think you're right, but in my session the "verilog-a" is not included in the swith view list by default, how to change the default view list ?

    Regrads,

    zfeng

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • imagesensor123
    imagesensor123 over 14 years ago

     Hi Bernd,

        thanks for replying!

    Regards,

    zfeng

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago
    Hi Zfeng,

    If the view is called "verilog-a" (with a dash) then it wouldn't be in the list. You could add an entry in your ~/.cdsenv file with the default you want - I can't check the exact syntax because I'm now not online - Bernd may have mentioned it earlier.

    Or you could just call envOption in your script, as I suggested.

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • imagesensor123
    imagesensor123 over 14 years ago

    Hi,

     i have added this line " envSetVal("asimenv.startup" "switchViewList" 'string "spectre cmos.sch schematic veriloga") " in my .cdsinit (in my work directory), but it seems that the default value doesn't be changed at all. I think the syntax is ok, did i put it in a wrong place? as somebody says, the cdsenv file will be overwriten by the.cdsinit, so i did not put this command in .cdsenv file. welcome to any reply,thanks

    Regards,

    zfeng

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

    Zfeng,

    This would have given a message in the CIW (assuming you've not filtered away the warnings):

    *WARNING* envSetVal: Can't set the value of variable 'switchViewList',
            in tool[.partition] 'asimenv.startup' - it has not been registered.

    That's because it's incorrect. The first argument to the envSetVal() should have been "spectre.envOpts" not "asimenv.startup". The switchViewList is simulator specific.

    Always a good idea to check any warnings you get...

    Regards,

    Andrew.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • imagesensor123
    imagesensor123 over 14 years ago
    Hi,
       yes, you're always rigth. i have changed the command and typed it in CIW, it worked well, but when i exit the cadence, and login again, the added "veriloga" disappeared again, so I think i did not change the default configure, so what do you think about this problem,

    Regards,
    zfeng
    • 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