Re: Mixed signal simulation doubts

2003-02-26 Thread Edward A Lee
(I'm not sure whether this got through the first time, so I'm resending)

At 05:34 PM 2/25/2003 +0100, Jaime Aguilera wrote:
Hi,

Is it possible to make a mixed signal simulation, in this case a CT analog
circuit embeeded in a DE domain, but instead of using the ODE solver
provided in Ptolemy use another circuit simulator. Perhaps a C/C++ link?
Does anybody done something?

Best Regards

Jaime
This issue is discussed in some depth in the following paper:

http://ptolemy.eecs.berkeley.edu/publications/papers/99/toolinteraction/

In principle, this is possible if the external circuit simulator
has a sufficiently open architecture and appropriate semantics.
You need, for example, to be able to externally control the
advancement of time.  The paper above describes interfaces
between Ptolemy II and Saber, for example.
Java provides a fairly conveninent interface to native code
in the form of JNI.  Some researchers at Thales recently
contributed a fairly convenient mechanism to define components
in C/C++ using JNI.
One problem with heterogeneous tool chains is maintenance
as the tools independently evolve. You really have to be
actively involved in the development of both tools to achieve
successful intergration, or use fairly mature tools.
For example, the Ptolemy II interface to Matlab (provided
by RIM) is pretty stable, requiring only small changes with
new releases of Matlab.
Edward




Edward A. Lee, Professor
518 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0455, fax: 510-642-2739
[EMAIL PROTECTED], http://ptolemy.eecs.berkeley.edu/~eal

Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Edward A. Lee, Professor
518 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0455, fax: 510-642-2739
[EMAIL PROTECTED], http://ptolemy.eecs.berkeley.edu/~eal

Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]


Mixed signal simulation doubts

2003-02-25 Thread Jaime Aguilera
Hi,

Is it possible to make a mixed signal simulation, in this case a CT analog
circuit embeeded in a DE domain, but instead of using the ODE solver
provided in Ptolemy use another circuit simulator. Perhaps a C/C++ link?

Does anybody done something?

Best Regards

Jaime




Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]


Re: Mixed signal simulation doubts

2003-02-25 Thread Edward A Lee
At 05:34 PM 2/25/2003 +0100, Jaime Aguilera wrote:
Hi,

Is it possible to make a mixed signal simulation, in this case a CT analog
circuit embeeded in a DE domain, but instead of using the ODE solver
provided in Ptolemy use another circuit simulator. Perhaps a C/C++ link?
Does anybody done something?

Best Regards

Jaime
This issue is discussed in some depth in the following paper:

http://ptolemy.eecs.berkeley.edu/publications/papers/99/toolinteraction/

In principle, this is possible if the external circuit simulator
has a sufficiently open architecture and appropriate semantics.
You need, for example, to be able to externally control the
advancement of time.  The paper above describes interfaces
between Ptolemy II and Saber, for example.
Java provides a fairly conveninent interface to native code
in the form of JNI.  Some researchers at Thales recently
contributed a fairly convenient mechanism to define components
in C/C++ using JNI.
One problem with heterogeneous tool chains is maintenance
as the tools independently evolve. You really have to be
actively involved in the development of both tools to achieve
successful intergration, or use fairly mature tools.
For example, the Ptolemy II interface to Matlab (provided
by RIM) is pretty stable, requiring only small changes with
new releases of Matlab.
Edward




Edward A. Lee, Professor
518 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0455, fax: 510-642-2739
[EMAIL PROTECTED], http://ptolemy.eecs.berkeley.edu/~eal

Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]


Re: Mixed signal simulation doubts

2003-02-25 Thread David Bengtson
Agilent has, with ADS, if you have a couple of hundred grand to spare.
I've tried to run co-simulation on ADS V2001, and wasn't impressed.
That was several revisions ago, and it may have gotten better since
then. You would need the largest, fastest computer that you can find,
though. 


Dave



On Tue, 25 Feb 2003 08:57:49 -0800, you wrote:

I don't know of anyone who has done something like this.

You could in theory use the Java Native Interface to use a different
ODE solver.  This would be fairly tricky.  The class would need
to implement the methods in ptolemy.domains.ct.kernel.ODESolver

I've recently spent some time partially integrating a contribution of
some JNI code for actors from Vincent Arnould at Thales.  JNI
can be fairly tricky to use, the platform dependency issues are
complex.  The configure file in the devel tree now has better support
for JNI.

-Christopher



Hi,

Is it possible to make a mixed signal simulation, in this case a CT analog
circuit embeeded in a DE domain, but instead of using the ODE solver
provided in Ptolemy use another circuit simulator. Perhaps a C/C++ link?

Does anybody done something?

Best Regards

Jaime



---
   -
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]



Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]





Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]


RE: Mixed signal simulation doubts

2003-02-25 Thread Fulvio Spagna
Mentor has ADMS and Cadence has AMS which both integrate continuos time
simulation (spice engine) with event driven simulators (Verilog, VHDL),
switch level simulators and behavioral(VerilogA, VhdlA). I believe taht both
companies are planning to integrate SystemC capabilities in these platforms.

Fulvio

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
David Bengtson
Sent: Tuesday, February 25, 2003 3:55 PM
To: Christopher Hylands
Cc: Jaime Aguilera; [EMAIL PROTECTED]
Subject: Re: Mixed signal simulation doubts


Agilent has, with ADS, if you have a couple of hundred grand to spare.
I've tried to run co-simulation on ADS V2001, and wasn't impressed.
That was several revisions ago, and it may have gotten better since
then. You would need the largest, fastest computer that you can find,
though.


Dave



On Tue, 25 Feb 2003 08:57:49 -0800, you wrote:

I don't know of anyone who has done something like this.

You could in theory use the Java Native Interface to use a different
ODE solver.  This would be fairly tricky.  The class would need
to implement the methods in ptolemy.domains.ct.kernel.ODESolver

I've recently spent some time partially integrating a contribution of
some JNI code for actors from Vincent Arnould at Thales.  JNI
can be fairly tricky to use, the platform dependency issues are
complex.  The configure file in the devel tree now has better support
for JNI.

-Christopher



Hi,

Is it possible to make a mixed signal simulation, in this case a CT
analog
circuit embeeded in a DE domain, but instead of using the ODE solver
provided in Ptolemy use another circuit simulator. Perhaps a C/C++
link?

Does anybody done something?

Best Regards

Jaime



---

   -
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to:
[EMAIL PROTECTED]


---
-
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]





Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]




Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]