• 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 OA version DRC form

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 144
  • Views 13291
  • 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 OA version DRC form

sandeepc
sandeepc over 13 years ago

Hi,

We use assura for DRC verification in Cadence 6.1.5. I am using the following code(Source : Cadence) below to create the directories for run.

when I open the LVS and ERC forms from the Assura menu the direcotory information is filled. But when I open the DRC form it prints an error.

*Error* strcat: argument #4 should be either a string or a symbol (type template = "S") - nil

Here is the code I am using.

procedure( vuiUserDefinedSetupCB(formHandle)
   let( (newDir libName cellName runType)
      if(formHandle->layoutSource->value=="DFII" then
         libName=formHandle->layLibrary->value
         cellName=formHandle->layCell->value
      else
         libName="streamFiles"
         cellName=formHandle->layCellName->value
      ) ;if
      case( formHandle->hiFormSym
          (vuiDRCForm runType="DRC")
          (vuiLVSForm runType="LVS")
         (vuiERCForm runType="ERC")
      ) ;case
      unless( isDir("./VERIFICATION")
 csh("mkdir ./VERIFICATION")
      ) ;unless
      unless( isDir(strcat("./VERIFICATION/" runType))
 csh(strcat("mkdir ./VERIFICATION/" runType))
      ) ;unless
      unless( isDir(strcat("./VERIFICATION/" runType "/" cellName))
 csh(strcat("mkdir ./VERIFICATION/" runType "/" cellName))
      ) ;unless
     
     
      newDir=strcat("./VERIFICATION/" runType "/" cellName "/" libName)
      formHandle->runDir->value=newDir
   ) ;let
  
)

 

Any clues?

 

Thanks

Sandeep.

  • Cancel
Parents
  • Quek
    Quek over 13 years ago

    Hi Sandeep

    Assura DRC form uses "formHandle->format->value" instead of "formHandle->layoutSource->value". You can use the following script:

    procedure( vuiUserDefinedSetupCB(formHandle)
       let( (newDir cellName runType inputSym cellSym)
          case( formHandle~>hiFormSym
             (vuiDRCForm runType="drc" inputSym="format" cellSym="cell")
             (vuiLVSForm runType="lvs" inputSym="layoutSource" cellSym="layCell")
             (vuiERCForm runType="erc" inputSym="layoutSource" cellSym="layCell")
             (t runType="svs")
          ) ;case
          unless( evalstring(strcat("formHandle~>" inputSym "~>value"))=="DFII"
             case( runType
                ("drc" cellSym="cellName")
                (("erc" "lvs") cellSym="layCellName")
             ) ; case
          ) ;unless

          cellName=evalstring(strcat("formHandle~>" cellSym "~>value"))
          newDir=strcat("./av" upperCase(runType))
          unless( isDir(newDir)
        csh(strcat("mkdir " newDir))
          ) ;unless
          newDir=strcat(newDir "/" cellName)
          unless( isDir(newDir)
        csh(strcat("mkdir " newDir))
          ) ;unless
         
          formHandle~>runDir~>value=newDir
       ) ;let
    ) ;procedure


    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Quek
    Quek over 13 years ago

    Hi Sandeep

    Assura DRC form uses "formHandle->format->value" instead of "formHandle->layoutSource->value". You can use the following script:

    procedure( vuiUserDefinedSetupCB(formHandle)
       let( (newDir cellName runType inputSym cellSym)
          case( formHandle~>hiFormSym
             (vuiDRCForm runType="drc" inputSym="format" cellSym="cell")
             (vuiLVSForm runType="lvs" inputSym="layoutSource" cellSym="layCell")
             (vuiERCForm runType="erc" inputSym="layoutSource" cellSym="layCell")
             (t runType="svs")
          ) ;case
          unless( evalstring(strcat("formHandle~>" inputSym "~>value"))=="DFII"
             case( runType
                ("drc" cellSym="cellName")
                (("erc" "lvs") cellSym="layCellName")
             ) ; case
          ) ;unless

          cellName=evalstring(strcat("formHandle~>" cellSym "~>value"))
          newDir=strcat("./av" upperCase(runType))
          unless( isDir(newDir)
        csh(strcat("mkdir " newDir))
          ) ;unless
          newDir=strcat(newDir "/" cellName)
          unless( isDir(newDir)
        csh(strcat("mkdir " newDir))
          ) ;unless
         
          formHandle~>runDir~>value=newDir
       ) ;let
    ) ;procedure


    Best regards
    Quek

    • 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