Skill Layout

Guest
Hello all,
I am new to this forum.
Can some one provide me a skill script which converts rectangle to
path.
I could do the same by using a built in function in cdba
(dbConvertRectToPath()) but that function doesnot work here.

Thanks,
Sesikala.
 
sesikala123@gmail.com wrote, on 12/31/08 07:48:
Hello all,
I am new to this forum.
Can some one provide me a skill script which converts rectangle to
path.
I could do the same by using a built in function in cdba
(dbConvertRectToPath()) but that function doesnot work here.

Thanks,
Sesikala.
There was never a built-in function dbConvertRectToPath. So not sure where you
got that from.

I recently posted some code, abConvertPolygonToPath.ils which should do what you
want.

Andrew.


--
Andrew Beckett
Senior Solution Architect - Cadence Design Systems Ltd (UK)
 
First of all thanks for ur help Andrew Beckett
It's a very lengthy program ,might it will take some time to
understand and learn things from it.
Andrew can u help me on how I can approach in learning skill.
Yes I learned many commands from docu , but still when I start writing
a script even though I have an idea of that command I cannot really
use it.
Still I could write some small skill scripts for my layout
automization. May be some inputs from your side can help me.
And sorry it was not dbConvertRectToPath() but dbConvertLineToPath()
a CDBA(C level Data base access) command
syntax
dbConvertLineToPath

dbPathId
dbConvertLineToPath(
dbLineId lineId, dbDistance width, dbPathStyle style
);

And more thing many of the commands which works on databaseid that is
commands satrting with db requires a database id.
I can find the database Id of a Cellview by using deGetCellView
In the same way how can I find the database ids of nets paths
instances etc.
 
sesikala123@gmail.com wrote, on 12/31/08 11:50:
First of all thanks for ur help Andrew Beckett
It's a very lengthy program ,might it will take some time to
understand and learn things from it.
Andrew can u help me on how I can approach in learning skill.
Yes I learned many commands from docu , but still when I start writing
a script even though I have an idea of that command I cannot really
use it.
Still I could write some small skill scripts for my layout
automization. May be some inputs from your side can help me.
And sorry it was not dbConvertRectToPath() but dbConvertLineToPath()
a CDBA(C level Data base access) command
syntax
dbConvertLineToPath

dbPathId
dbConvertLineToPath(
dbLineId lineId, dbDistance width, dbPathStyle style
);

And more thing many of the commands which works on databaseid that is
commands satrting with db requires a database id.
I can find the database Id of a Cellview by using deGetCellView
In the same way how can I find the database ids of nets paths
instances etc.
BTW, you've listed the C function there, from the ITK (Integrator's Toolkit)
manual - there is an equivalent SKILL function, dbConvertLineToPath(), which
exists in both CDB and OA versions. However, since that's not really what you
want, it's not relevant...

As for learning SKILL, as I (and others) have said before in this forum, the
best place to start is usually to read the SKILL Language User Guide
(<instdir>/doc/sklanguser/sklanguser.pdf ) which is written in the style of a
book on a programming language. This talks about the basic language itself.

Then it's a matter of immersing yourself in the particular tool/API that you
need - again, there are lots of documents on this. Help can come from looking at
other examples, and there are many on this forum (which you can search in google
groups) and also on sourcelink.cadence.com .

There's also an effective SKILL Training class that Cadence gives.

I occasionally hear objections such as "Cadence should change to a different
customisation language, such as C++ or Tcl" because SKILL may not be known by
people coming out of university who may know other programming languages. Well,
in my opinion, if you know how to program, picking up another language is
relatively easy. The bit that takes the time is not the syntax of the language,
but is the familiarity with the API, database, and applications themselves. So
in other words, even if there were a Tcl API, you'd still need to figure out how
to use the database and API to implement what you need to get done - that's the
hard part.


Regards,

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top