Home > Community > Forums > Custom IC SKILL > Using SKILL to create symbol

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Using SKILL to create symbol 

Last post Fri, Aug 6 2010 7:13 AM by LoveC. 3 replies.
Started by LoveC 05 Aug 2010 03:51 AM. Topic has 3 replies and 1771 views
Page 1 of 1 (4 items)
Sort Posts:
  • Thu, Aug 5 2010 3:51 AM

    • LoveC
    • Not Ranked
    • Joined on Mon, Aug 2 2010
    • Posts 9
    • Points 220
    Using SKILL to create symbol Reply

    Hi!

    I am new to SKILL and I am trying to use it to create a symbol.

    What I want to do is reading stuff from a text file and translating that into a Virtuoso (IC6) schematicSymbol. But I got stuck at the first thing, creating the selection box of the symbol. When using the GUI I just do: Creat -> Selection Box ...

    The SKILL command for this is schHiCreateInstBox(), but this does not take any arguments, and using Hi commands requires a lot of open vvindows. What I would like is a db command:

    cellview =   dbOpenCellViewByType("my_playground" "my_component" "symbol_generated" "schematicSymbol" "w")

    dbCreateInstBox( cellview list( x1:y1 x2:y2 ) ) 

    I have tried using the command dbCreateRect(cellview tx_layer  list( x1:y1 x2:y2 )), without any luck, I do not even manage to draw a regular rectangle. The problem is that I do not know what the tx_layer should be. What layers are there in a schematicSymbol?

     

    Thank you for any help on this,

    Love Cederstroem

     

    • Post Points: 20
  • Thu, Aug 5 2010 7:14 AM

    • Quek
    • Top 10 Contributor
    • Joined on Wed, Oct 14 2009
    • Singapore, 00-SG
    • Posts 1,077
    • Points 16,375
    Re: Using SKILL to create symbol Reply

    Hi Love

    You can use schCreateInstBox cmd. If a cmd has a "Hi", it means that it is an interactive cmd and requires human input. Please refer to $CDSHOME/doc/skcompref/skcompref.pdf.

    Best regards
    Quek

    • Post Points: 20
  • Thu, Aug 5 2010 7:26 AM

    Re: Using SKILL to create symbol Reply

    You should also be able to use dbCreateRect() with "instance" or '("instance" "drawing") as the layer. The benefit of schCreateInstBox is that you then don't need to know the details of what layer is used.

    Regards,

    Andrew.

    • Post Points: 20
  • Fri, Aug 6 2010 7:13 AM

    • LoveC
    • Not Ranked
    • Joined on Mon, Aug 2 2010
    • Posts 9
    • Points 220
    Re: Using SKILL to create symbol Reply

    Thank you both for your replies, they helped a lot!

    Kind Regards,

    Love

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by LoveC at 05 Aug 2010 03:51 AM. Topic has 3 replies.