• 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. Digital Implementation
  3. rda_Input(ui_captbl_file) array variable

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 91
  • Views 1252
  • 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

rda_Input(ui_captbl_file) array variable

tiEngr
tiEngr over 15 years ago

Hi All,

Im writing a script to save encounter DB for export. The directory will contain all the lefs, libs, sdc, and cap table files. 

In order to do this I  have to update "rda_Input" array elements and save using saveDesign or saveConfig. Which was no problem updated except for rda_Input(ui_captbl_file)  element.  Seems like what ever is in the gui form that will be saved using saveDesign or saveConfig. Even if I update this variable.  For example:

 

encounter 6> set rda_Input(ui_captbl_file) "someFileName"
someFileName
encounter 7>  puts $rda_Input(ui_captbl_file)
someFileName
encounter 8> saveConfig some.conf
encounter 9> grep ui_captbl_file some.conf
set rda_Input(ui_captbl_file) ""

 

 encounter 14> set rda_Input(ui_leffile) "./lef/msl200_50hpa07_tech_4layer.lef"
./lef/msl200_50hpa07_tech_4layer.lef
encounter 15> saveConfig some.conf
encounter 16> grep ui_leffile some.conf
set rda_Input(ui_leffile) "./lef/msl200_50hpa07_tech_4layer.lef"

 In this case, Im using empty encounter shell. No design/lib loaded. 

 

Thanks

Irfan

  • Cancel
  • BobD
    BobD over 15 years ago

    HI Irfan,

    You might want to consult the public "saveTestcase" command that manages creating a self-contained testcase.  More here:

    /blogs/di/archive/2009/07/16/how-to-create-a-self-contained-testcase-in-encounter.aspx

    Would you have a look and let us know whether this meets your needs?  I'll have a look at whether I can reproduce what you're saying with ui_captbl_file.

    Thanks,
    Bob

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • tiEngr
    tiEngr over 15 years ago

    Thanks Bob,

    Thats exactly what I needed. saveTestcase does a complete archiving of  DB.  Very useful command.  Have a look at the captbl variable. Its just strange that even after update it keeps value from gui form. I guess once we update, gui form should get updated too.

    Thanks again for a quick reply,

     Irfan

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • BobD
    BobD over 15 years ago

    I did some testing in this area and see what you're saying.

    I agree it's strange that the captbl variable behaves differently than the lef variable.  I noticed that if you "commitConfig" before "saveConfig" that the values are retained. It appears there's some synchronization between the TCL variables and what's displayed in the GUI that's inconsistent depending on the variable.  That being the case I filed a CCR to see if we could improve the variable and make them behave consistently.

    Thanks for pointing this out- appreciate it.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • tiEngr
    tiEngr over 15 years ago

    Thanks Bob, for checking into it.  Just wanted to point out odd behavior of TCL variable inside the shell. I do have one core dump scenerio.  I will post in a different thread. 

     

    Irfan

     

     

    • 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