• 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. Problem in coping symbols through skill code in other new...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 13868
  • 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

Problem in coping symbols through skill code in other new schematic window

conrel
conrel over 8 years ago

Hello Cadence,

I was trying to make the multiple copy of symbol in a new schematic design through skill code. But when trying to do that, it is copying only dummy symbol (only the outline of the symbol without any function of circuitry) . Please let me know if there is any mistake in code? . I am sharing the code here. please help me.

If there is any other reference material available to make automatic schematic through code(or the commands use to make schematic through skill), please provide that too.


First i am opening the new cellview in cadence and then running the command to run this file.


procedure(ishu(Design_Lib_Name cell_Name row col)

new_design = geGetEditCellView()
cellCV_Name = dbOpenCellViewByType(Design_Lib_Name cell_Name "symbol")
orientation="R0"
for(i 0 row-1
for(j 0 col-1
cellInst = dbCreateInst(new_design cellCV_Name "cellInst" list(8*i, 8*j) orientation)
dbFlattenInst(cellInst 1 t)
)
)
for(j 0 col-1
wireId=schCreateWire(new_design "draw" "full" list(-0.5+8*j:-2 -0.5+8*j:2+7*row) 0.05 0.05 0.0)
)

)
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 8 years ago
    I'd have thought that the warning was pretty clear - you're calling dbCreateInst multiple times with the same instance name ("cellInst").

    Instead, change the second argument of dbCreateInst to either be "" (which means they will be auto-named) or pass an expression which creates a unique instance name, such as sprintf(nil "cellInst_%d_%d" i j) .

    Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 8 years ago
    I'd have thought that the warning was pretty clear - you're calling dbCreateInst multiple times with the same instance name ("cellInst").

    Instead, change the second argument of dbCreateInst to either be "" (which means they will be auto-named) or pass an expression which creates a unique instance name, such as sprintf(nil "cellInst_%d_%d" i j) .

    Regards,

    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