writing a GUI (in Java/Tcl) to run SKILL commands
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
writing a GUI (in Java/Tcl) to run SKILL commands
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
jorobins
Guest





Posted: Sat Nov 12, 2005 9:10 am    Post subject: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

Frustrated by the archaic front-end of analog artist I'm seriously
considering making a GUI interface which will suit my specific
simulation needs. I've kind of made SKILL forms before and I consider
the GUI ability of SKILL to be archaic as well, so I would like to see
about the possiblity of using some other language like Java or Tcl for
this? Question is does anybody have any experience on how to do this?
How do I execute SKILL Functions and translate SKILL datatypes etc
between Java and SKILL? Any ideas? Any example code would also be
appreciated.

thanks,
Jose.

Back to top
Tracy Groller
Guest





Posted: Tue Nov 15, 2005 9:10 pm    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

Jose,

Here is what you need I've used this to create a K2 verification GUI

http://ic.net/~cflynt/realprog/realwrld/nelson/nelson1.htm


jorobins wrote:

Quote:
Frustrated by the archaic front-end of analog artist I'm seriously
considering making a GUI interface which will suit my specific
simulation needs. I've kind of made SKILL forms before and I consider
the GUI ability of SKILL to be archaic as well, so I would like to see
about the possiblity of using some other language like Java or Tcl for
this? Question is does anybody have any experience on how to do this?
How do I execute SKILL Functions and translate SKILL datatypes etc
between Java and SKILL? Any ideas? Any example code would also be
appreciated.

thanks,
Jose.





--


\ ~ ~ ///
---- ( @ @ )
| | ======oOOo==(_)==oOOo=======================================
| |__<*> ___ Tracy Groller | Texas Instruments, Inc.
| _|III|_ | ------------------| Wireless RFCMOS Design
_____| /_ III _/ \ TI MSGID: TAG2 | P.O. Box 660199, MS 8729
\_ /III/ | PC Drop: PFLL | Dallas, Texas 75266
\ _ /III/ _| -------------------------------------------------
\_/ \ \___> - Phone: (214) 480-2217 Text Pager
\ / Email: h-groller@ti.com 2144010964@sbc2way.com
\ \ =======================================================
\---\
Back to top
jorobins
Guest





Posted: Wed Nov 16, 2005 9:10 am    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

Thanks a lot, Tracy. Looks like the exact thing I was looking for.

Jose

Back to top
Svenn Are Bjerkem
Guest





Posted: Wed Nov 16, 2005 9:10 am    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

In article <1132117279.011629.278340@g44g2000cwa.googlegroups.com>,
wulf_homme@hotmail.com says...
Quote:
Thanks a lot, Tracy. Looks like the exact thing I was looking for.

Jose


Don't forget to look at groups.google.com

http://groups.google.com/group/comp.cad.cadence/browse_thread/thread/302
8fde59540881b/bd3587b3f1cb96aa?q=executing+skill+code&rnum=2
#bd3587b3f1cb96aa
for Andrew's solution to the problem.

You want to join efforts? It makes no sense that several people develops
"a better interface" separately.

Can anybody from Cadence say something if they are reworking the ADE
concept in the near or close future?

--
Svenn
Back to top
Bernd Fischer
Guest





Posted: Wed Nov 16, 2005 9:10 am    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

Maybe this helps you also, I've not been through it but
it seems promising.

Tcl/Tk and Skill by Andreas Kulik

www.cadence.com/community/allegro/resources/resources_PCB/SKILL/tp_tclskill_icu2003.pdf

Bernd

jorobins wrote:
Quote:
Frustrated by the archaic front-end of analog artist I'm seriously
considering making a GUI interface which will suit my specific
simulation needs. I've kind of made SKILL forms before and I consider
the GUI ability of SKILL to be archaic as well, so I would like to see
about the possiblity of using some other language like Java or Tcl for
this? Question is does anybody have any experience on how to do this?
How do I execute SKILL Functions and translate SKILL datatypes etc
between Java and SKILL? Any ideas? Any example code would also be
appreciated.

thanks,
Jose.
Back to top
Andrew Beckett
Guest





Posted: Wed Nov 16, 2005 9:10 pm    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

On Wed, 16 Nov 2005 09:00:39 +0100, Svenn Are Bjerkem <svenn.are@bjerkem.de>
wrote:

Quote:
In article <1132117279.011629.278340@g44g2000cwa.googlegroups.com>,
wulf_homme@hotmail.com says...
Thanks a lot, Tracy. Looks like the exact thing I was looking for.

Jose


Don't forget to look at groups.google.com
http://groups.google.com/group/comp.cad.cadence/browse_thread/thread/302
8fde59540881b/bd3587b3f1cb96aa?q=executing+skill+code&rnum=2
#bd3587b3f1cb96aa
for Andrew's solution to the problem.

You want to join efforts? It makes no sense that several people develops
"a better interface" separately.

Can anybody from Cadence say something if they are reworking the ADE
concept in the near or close future?

There is some stuff going on in this area. Can't say more in an open forum.

Andrew.
Back to top
fogh
Guest





Posted: Thu Nov 17, 2005 9:10 pm    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

Tracy Groller wrote:
Quote:
Jose,

Here is what you need I've used this to create a K2 verification GUI

http://ic.net/~cflynt/realprog/realwrld/nelson/nelson1.htm

8-o

Quite impressive, Tracy.
Back to top
JoRobins
Guest





Posted: Fri Nov 18, 2005 9:10 pm    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

In case someone tries the above code out (
http://ic.net/~cflynt/realprog/realwrld/nelson/nelson1.htm )
Just one minor mistake (or did I miss something?) on the code in
"skill.tcl" seems to be the line...
regsub -all "%v" $response "\[skill::ilDecode %v\]" response

should be replaced with the following ...
regsub -all "%v" $response [skill::ilDecode %v] response

which I being a tcl novice took about an hour to figure out....
Back to top
fogh
Guest





Posted: Sat Nov 19, 2005 9:10 pm    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

Andrew Beckett wrote:
Quote:
On Wed, 16 Nov 2005 09:00:39 +0100, Svenn Are Bjerkem <svenn.are@bjerkem.de
wrote:


In article <1132117279.011629.278340@g44g2000cwa.googlegroups.com>,
wulf_homme@hotmail.com says...

Thanks a lot, Tracy. Looks like the exact thing I was looking for.

Jose



Don't forget to look at groups.google.com
http://groups.google.com/group/comp.cad.cadence/browse_thread/thread/302
8fde59540881b/bd3587b3f1cb96aa?q=executing+skill+code&rnum=2
#bd3587b3f1cb96aa
for Andrew's solution to the problem.

You want to join efforts? It makes no sense that several people develops
"a better interface" separately.

Can anybody from Cadence say something if they are reworking the ADE
concept in the near or close future?


There is some stuff going on in this area. Can't say more in an open forum.

Andrew.

Andrew,

If the developments that are not 100% certain/aproved can not be
announced here, where do we have to go ?
Are there "proper channels" for announcements on SL or on the
corporate site ?
Back to top
Andrew Beckett
Guest





Posted: Sun Nov 20, 2005 9:10 am    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

On Sat, 19 Nov 2005 18:42:22 -0500, fogh <adff@xs4all.nl> wrote:

Quote:
Andrew Beckett wrote:

Can anybody from Cadence say something if they are reworking the ADE
concept in the near or close future?


There is some stuff going on in this area. Can't say more in an open forum.

Andrew.

Andrew,

If the developments that are not 100% certain/aproved can not be
announced here, where do we have to go ?
Are there "proper channels" for announcements on SL or on the
corporate site ?

Announcements will be made nearer to release dates - like with any
product development, you don't start talking about it too early, especially if
some features don't make the final cut. So it's not on sourcelink or the
corporate site either yet. Have to be patient, I'm afraid!

Just because I work for Cadence, doesn't mean that I'm allow to disclose
internal things!

Andrew.
Back to top
Svenn Are Bjerkem
Guest





Posted: Mon Nov 21, 2005 9:10 am    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

In article <h000o11o2s37a7qq7ijs54fi1foa21d9mo@4ax.com>,
andrewb@DcEaLdEeTnEcTe.HcIoSm says...
Quote:
Announcements will be made nearer to release dates - like with any
product development, you don't start talking about it too early, especially if
some features don't make the final cut. So it's not on sourcelink or the
corporate site either yet. Have to be patient, I'm afraid!

Just because I work for Cadence, doesn't mean that I'm allow to disclose
internal things!

<smile on>
This is in great contradiction with the business model of Microsoft.
They announce new features years in advance and "leak" internals that
keep customers happily waiting forever, only to implement a reduced
version of their promises with the promise that it will be improved for
the _next_ release. What is the position of Microsoft vs. Cadence in
their respective market segments?
<smile still on>


--
Svenn
Back to top
JoRobins
Guest





Posted: Tue Nov 22, 2005 1:10 am    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

Still, I think there is a nice balance between "false hope" (Microsoft)
and "no hope" (Cadence) with regard to revealing the future direction
of products to customers. I'm not exactly sure how Cadence works with
Customer feedback on enhancements to its products. I see a whole bunch
of PCRs which seems to be going into this bottomless hole. I have no
idea how Cadence prioritizes them, on what basis they prioritize them
and so on.

When I'm sitting late nights in my cubicle churning out simulation data
in artist, the engineer in me is figuring out that design time can so
easily be cut by 30-to-40% if certain things can be changed in the
fundamental simulation/schematic methodology (which is only amenable to
a very serial sort of design algorithm). I could use OCEAN scripting
after a certain phase but even that is a bit painful. Anyway, there is
a whole chapter to be written on this. Just expressing my frustrations.
That is why I finally decided that I wanted to do my own GUI in tcl.
The enemy is of course TIME. But in the next few weeks or so, I hope to
have put on paper my basic ideas and have something basic to go on in
TCL (assuming frustration levels have not dipped into the subthreshold
region during the Christmas hols) :-) Once that happens maybe others
who are interested in addition to Svenn could colloborate with me on
this?

BTW, I have started on a emacs SKILL mode to replace the now defunct
old emacs SKILL mode. Right now it kind of does SKILL syntax
highlighting etc. Very rudimentary and basic - I hesitate to call it a
major mode - that I was reluctant to post it. If anyone is interested,
please let me know and I can send it to them or post it. Also I hacked
up some SKILL code that I found that allows some sort of history
mechanism in the CIW window. I can post it as well. It uses an
undocumented feature though, so I wasn't sure about that.

Svenn Are Bjerkem wrote:
Quote:
In article <h000o11o2s37a7qq7ijs54fi1foa21d9mo@4ax.com>,
andrewb@DcEaLdEeTnEcTe.HcIoSm says...
Announcements will be made nearer to release dates - like with any
product development, you don't start talking about it too early, especially if
some features don't make the final cut. So it's not on sourcelink or the
corporate site either yet. Have to be patient, I'm afraid!

Just because I work for Cadence, doesn't mean that I'm allow to disclose
internal things!

smile on
This is in great contradiction with the business model of Microsoft.
They announce new features years in advance and "leak" internals that
keep customers happily waiting forever, only to implement a reduced
version of their promises with the promise that it will be improved for
the _next_ release. What is the position of Microsoft vs. Cadence in
their respective market segments?
smile still on


--
Svenn
Back to top
fogh
Guest





Posted: Tue Nov 22, 2005 9:10 pm    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

JoRobins wrote:
Quote:
Still, I think there is a nice balance between "false hope" (Microsoft)
and "no hope" (Cadence) with regard to revealing the future direction
of products to customers. I'm not exactly sure how Cadence works with
Customer feedback on enhancements to its products. I see a whole bunch
of PCRs which seems to be going into this bottomless hole. I have no
idea how Cadence prioritizes them, on what basis they prioritize them
and so on.

When I'm sitting late nights in my cubicle churning out simulation data
in artist, the engineer in me is figuring out that design time can so
easily be cut by 30-to-40% if certain things can be changed in the
fundamental simulation/schematic methodology (which is only amenable to
a very serial sort of design algorithm). I could use OCEAN scripting
after a certain phase but even that is a bit painful. Anyway, there is
a whole chapter to be written on this. Just expressing my frustrations.
That is why I finally decided that I wanted to do my own GUI in tcl.
The enemy is of course TIME. But in the next few weeks or so, I hope to
have put on paper my basic ideas and have something basic to go on in
TCL (assuming frustration levels have not dipped into the subthreshold
region during the Christmas hols) :-) Once that happens maybe others
who are interested in addition to Svenn could colloborate with me on
this?

BTW, I have started on a emacs SKILL mode to replace the now defunct
old emacs SKILL mode. Right now it kind of does SKILL syntax
highlighting etc. Very rudimentary and basic - I hesitate to call it a
major mode - that I was reluctant to post it. If anyone is interested,
please let me know and I can send it to them or post it. Also I hacked
up some SKILL code that I found that allows some sort of history
mechanism in the CIW window. I can post it as well. It uses an
undocumented feature though, so I wasn't sure about that.

Svenn Are Bjerkem wrote:

In article <h000o11o2s37a7qq7ijs54fi1foa21d9mo@4ax.com>,
andrewb@DcEaLdEeTnEcTe.HcIoSm says...

Announcements will be made nearer to release dates - like with any
product development, you don't start talking about it too early, especially if
some features don't make the final cut. So it's not on sourcelink or the
corporate site either yet. Have to be patient, I'm afraid!

Just because I work for Cadence, doesn't mean that I'm allow to disclose
internal things!

smile on
This is in great contradiction with the business model of Microsoft.
They announce new features years in advance and "leak" internals that
keep customers happily waiting forever, only to implement a reduced
version of their promises with the promise that it will be improved for
the _next_ release. What is the position of Microsoft vs. Cadence in
their respective market segments?
smile still on

Yup. I can t honestly believe that there are no openings from CDS for
feedback from their customers on possible future directions. That is a
more proactive way than trying to make sense of all PCRs.

About the tickle GUI, best of luck but that is too far for me. I have
no fluency in TCL. I am also not hooking well with emacs. If I would
work on better SKILL coding gui, that would be either nedit, scite, or
eclipse. The later seem a good framework. But having the syntax
higlighter right is already too much for my own courage. The TCL
reference above showed that is is not too hard to have an IDE interact
with the dfII workbench. But then again, all this could be handled by
CDS themselves: ADE is the most urgent one, but the skilldev is so far
behind IDE standards and needs attention too.
Back to top
Svenn Are Bjerkem
Guest





Posted: Wed Nov 23, 2005 9:10 am    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

In article <43836f44$0$11073$e4fe514c@news.xs4all.nl>, adff@xs4all.nl
says...
Quote:
Yup. I can t honestly believe that there are no openings from CDS for
feedback from their customers on possible future directions. That is a
more proactive way than trying to make sense of all PCRs.

About the tickle GUI, best of luck but that is too far for me. I have
no fluency in TCL. I am also not hooking well with emacs. If I would
work on better SKILL coding gui, that would be either nedit, scite, or
eclipse. The later seem a good framework. But having the syntax
higlighter right is already too much for my own courage. The TCL
reference above showed that is is not too hard to have an IDE interact
with the dfII workbench. But then again, all this could be handled by
CDS themselves: ADE is the most urgent one, but the skilldev is so far
behind IDE standards and needs attention too.



It is CDS' responsibility to provide their users with working tools. I
think the license and maintenance is expencive enough for CDS to take
front-end a bit more serious. So far I have the feeling that back-end
and bit-bangers are taken more seriously than the analog guys when it
comes to improving the environment. But, cadence is just reacting to
what is happening in the foundry world. They can't think years ahead as
things change on a daily base and bugs in back-end is crucial for chips
to work.

In my opinion the OpenAccess initiative is good, and I hope that _every_
part of the infrastructure in OA can be replaced by _any_ tool from
_any_ vendor. Then CDS can concentrate on their back-end business and
let specialised guys take care of schematic capture and simulator
control environments, without needing dfii to start them. The single
threaded nature of dfii is a drag when processing large data. You are
stuck with that ball-in-a-wastebucket mousepointer until the data has
been evaluated or fetched from disk somewhere in the matrix.

The "Skill and back again" is a concept which can be used with any
programming language. Instead of having dfii launch the entire script,
it would also be possible to write a little daemon that dfii can start,
and then the controlling applications can communicate with that daemon.
Then everything will be like a client-server thing and the daemon can
protect the dfii session from violent code from the controlling client,
and it is also possible for the daemon to give the client a hint that
the master is playing balls and doesn't want to be disturbed.

What I am most afraid of is that CDS goes on and implement something
like when wavescan replaced awd. The concept of awd fit analog design
very well in my opinion. The changes needed to the interface to make the
program better were probably less effort than bringing the codebase to
qt or gtk toolkit and thus they reimplemented it in java.

--
Svenn
Back to top
Svenn Are Bjerkem
Guest





Posted: Fri Nov 25, 2005 1:10 pm    Post subject: Re: writing a GUI (in Java/Tcl) to run SKILL commands Reply with quote

In article <h000o11o2s37a7qq7ijs54fi1foa21d9mo@4ax.com>,
andrewb@DcEaLdEeTnEcTe.HcIoSm says...
Quote:
On Sat, 19 Nov 2005 18:42:22 -0500, fogh <adff@xs4all.nl> wrote:

Andrew Beckett wrote:

Can anybody from Cadence say something if they are reworking the ADE
concept in the near or close future?


There is some stuff going on in this area. Can't say more in an open forum.

Andrew,
I am investing some time into creating a utility with SKILL which use
some GUI components in IC5.1. I am a bit concerned that this effort may
be wasted if the GUI is changed in the future. Could you comment on the
probablity that existing SKILL calls will stay close to what they are
today, or will I have to totally rewrite any SKILL code incorporating
GUI items.
--
Svenn
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB