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,
Hi LoveYou 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 regardsQuek
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.
Thank you both for your replies, they helped a lot!