• 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. oa2verilog using skill

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 14864
  • 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

oa2verilog using skill

Myskill
Myskill over 12 years ago

Hi All,

              I am going to executing following code for generation of oa file to verilog file automatically present editing oa file (schematic or layout). But I am getting the error "Cannot read library libname in cds.lib because it is not open or it does not exist" could you please help on this

SKILL CODE:-

procedure(verilog()
cv = geGetWindowCellView()
libname = cv~>libName
cellnmae = cv~>cellName
viewname = cv~>viewName
s1 = ipcBeginProcess("oa2verilog -lib libname -cell cellname -view viewname -verilog viewname -recursive"
 "" nil nil nil "/remote2/test_proj/analog_project/tsmc/users/rambabu/oa2verilog1.log")
)

 ERROR:-

*****************************************************************************
Tool:           oa2verilog          22.04.071
*****************************************************************************
Running: oa2verilog -lib libname -cell cellname -view viewname -verilog viewname -recursive
Started: Mon Jan 16 15:52:35 2012 (Hostname: orange)
ERROR: (OAVLG-10009): Cannot read library libname in cds.lib because it is not open or it does not exist
Finished:       oa2verilog
Time elapsed:   0.24 seconds
CPU Time:       0.068989 seconds
System Time:    0.036994 seconds
Peak VM:        2158592 bytes
Messages:       1 error, 0 warnings

 

Thanks,

Rambabu

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Hi Rambabu,

    Variables do not get magically evaluated in literal strings, so "libname" etc are treated literally in the string passed to ipcBeginProcess.

    You'd need something like:

     s1 = ipcBeginProcess(sprintf(nil "oa2verilog -lib %s -cell %s -view %s -verilog %s -recursive" libname cellname viewname viewname)
     "" nil nil nil "/remote2/test_proj/analog_project/tsmc/users/rambabu/oa2verilog1.log")

    You'll also have to correct your code so that cellnmae is actually spelt as cellname (I decided not to repeat your typo in the code above).

    The sprintf builds the string inserting the values of the variables into the appropriate places.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Hi Rambabu,

    Variables do not get magically evaluated in literal strings, so "libname" etc are treated literally in the string passed to ipcBeginProcess.

    You'd need something like:

     s1 = ipcBeginProcess(sprintf(nil "oa2verilog -lib %s -cell %s -view %s -verilog %s -recursive" libname cellname viewname viewname)
     "" nil nil nil "/remote2/test_proj/analog_project/tsmc/users/rambabu/oa2verilog1.log")

    You'll also have to correct your code so that cellnmae is actually spelt as cellname (I decided not to repeat your typo in the code above).

    The sprintf builds the string inserting the values of the variables into the appropriate places.

    Andrew.

    • 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