• 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. Issue in coping the schematic using ocean script

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 13362
  • 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

Issue in coping the schematic using ocean script

conrel
conrel over 8 years ago
Hello,

i have written two scripts in skill, one is trying to make the multiple copies of symbol in new schematic design and 2nd one that will call the layout (of same design whose symbol we are using) multiple times to form the layout of our new design.
 
Then I passed my design for DRC and LVS check, there is no any error coming but while passing through PEX check, i am facing some problems.
1. In PEX window, if i choose "Use names from:Schematic" then in PEX error is coming(Names in schematic and layout both are same). and If i choose "Use names from:Layout" . Then error is not coming,a warning is coming which i am not able to understand.


I am scratching my head from last two days but didn't get any solution of this. I would really appreciate if you could Help. Attaching my commands and screenshot of output window.


For layout copying, using commands:
for(i 0 row-1
for(j 0 col-1
loc_x = 2*ring_wd + 2*ring_sp + cell_width*j
loc_y = 2*ring_wd + 2*ring_sp + cell_height*i
sprintf(cellInst "cellinst_%d_%d" i j)

sprintf(cell_Name "cell_Name_%d_%d" i j)
cell_Name = dbOpenCellViewByType(sramLib_

Name cellCV_Name "layout" "maskLayout" "r")

cellInst = dbCreateInst(SRAM_cv cell_Name cellInst list(loc_x, loc_y) orientation)
)
)







For Schematic copying, i am using these commands:


for(i 0 col-1
for(j 0 row-1

sprintf(cellInst "cellinst_%d_%d" i j)
sprintf(cellCV_Name "cell_CV_Name_%d_%d" i j)
cellCV_Name =  dbOpenCellViewByType(design_Lib_Name cell_Name "symbol" "schematicSymbol" "r")
cellInstId= dbCreateInst(new_design cellCV_Name cellInst list(3.5*i, 3.5*j) orientation)
)
)
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Given that the error (or warning) is coming from a Mentor tool rather than a Cadence tool, you might be better off asking the question in a Mentor forum or via your Mentor support channel.

    The code you've used to copy seems reasonable (it's hard to tell because I'm presuming there must be something else to connect things up?). There's a line in both pieces of code which is redundant (the second sprintf doesn't seem to be necessary) but that wouldn't affect what you're doing here, I'd have thought.

    Oh, and a bit of terminology - this isn't an "ocean" script. OCEAN is the set of functions related to controlling analog simulation and processing the results; it's not a language in itself (SKILL is the language) - and what you're doing here is nothing to do with setting up an analog simulation or post-processing. So it's just SKILL... (sorry to be pedantic!)

    Regards,

    Andrew.

    • 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