• 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. Assura Directory Creation

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 144
  • Views 15053
  • 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

Assura Directory Creation

Patrick1982
Patrick1982 over 14 years ago

Hello,

I'm new to Assura (in the past I used Hercules) and I have found the form quite annoying, so what I would like to is automatically load the Run Directory, while also create the Run Directory from cadence using the Library name and Cell Name.  So what I was think is creating a bindKey that would take the library and cell name of the current layout and create the verification directories required i.e. ~/verification/libName/cellName/lvs. What is the Cadence command to create a directory in UNIX? OR even better does anyone have something simillar already wrintten?

Secondly, I would like the assura form automatically open with the current layout Run Directories already loaded?  I have a bindkey to open the form and load the new Run Name (which is the cellName) but I am having trouble trying to automatically load the libName and cellName into the Run Directory path. Does anyone have the command to do this?

 I hope this is clear but please if you have any questions please let me know.

Thanks very much.

  • Cancel
Parents
  • Patrick1982
    Patrick1982 over 14 years ago

    Thanks for your help Quek, however, I am getting the following error:

    *Error* def: function is write protected and cannot be redefined - vuiUserDefinedSetupCB

     And I've edited your code a bit, can you see anything wrong with this?

    procedure( vuiUserDefinedSetupCB(vuiLVSForm)
       let( (newDir libName cellName runType)
          if(vuiLVSForm->layoutSource->value == "DFII" then
             libName = vuiLVSForm->layLibrary->value
             cellName = vuiLVSForm->layCell->value
          ) ;if
          case( vuiLVSForm->runsetField
             (vuiLVSForm runType = "LVS")
          ) ;case
          unless( isDir("/projects/Endeavour/poriorda/Cadence/verification")
        csh("mkdir /projects/Endeavour/poriorda/Cadence/verification")
          ) ;unless
          unless( isDir(strcat("/projects/Endeavour/poriorda/Cadence/verification" libName))
        csh(strcat("mkdir /projects/Endeavour/poriorda/Cadence/verification" libName))
          ) ;unless
          unless( isDir(strcat("/projects/Endeavour/poriorda/Cadence/verification" libName "/" cellName))
        csh(strcat("mkdir /projects/Endeavour/poriorda/Cadence/verification" libName "/" cellName))
          ) ;unless

          newDir = strcat("/projects/Endeavour/poriorda/Cadence/verification" libName "/" cellName "/" runType)
          vuiLVSForm->runsetField->value = newDir
       ) ;let
    ) ;procedure

    Thanks again,

    Patrick.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Patrick1982
    Patrick1982 over 14 years ago

    Thanks for your help Quek, however, I am getting the following error:

    *Error* def: function is write protected and cannot be redefined - vuiUserDefinedSetupCB

     And I've edited your code a bit, can you see anything wrong with this?

    procedure( vuiUserDefinedSetupCB(vuiLVSForm)
       let( (newDir libName cellName runType)
          if(vuiLVSForm->layoutSource->value == "DFII" then
             libName = vuiLVSForm->layLibrary->value
             cellName = vuiLVSForm->layCell->value
          ) ;if
          case( vuiLVSForm->runsetField
             (vuiLVSForm runType = "LVS")
          ) ;case
          unless( isDir("/projects/Endeavour/poriorda/Cadence/verification")
        csh("mkdir /projects/Endeavour/poriorda/Cadence/verification")
          ) ;unless
          unless( isDir(strcat("/projects/Endeavour/poriorda/Cadence/verification" libName))
        csh(strcat("mkdir /projects/Endeavour/poriorda/Cadence/verification" libName))
          ) ;unless
          unless( isDir(strcat("/projects/Endeavour/poriorda/Cadence/verification" libName "/" cellName))
        csh(strcat("mkdir /projects/Endeavour/poriorda/Cadence/verification" libName "/" cellName))
          ) ;unless

          newDir = strcat("/projects/Endeavour/poriorda/Cadence/verification" libName "/" cellName "/" runType)
          vuiLVSForm->runsetField->value = newDir
       ) ;let
    ) ;procedure

    Thanks again,

    Patrick.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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