|
|
 | | From: | Xavier Warzee | | Subject: | Re: [ptII] VHDL / JHDL | | Date: | Fri, 03 Dec 2004 22:37:45 +0100 |
|
|
 | Hi all,
I am currently using Ptolemy II to compose Web services, but I remember I did a Ptolemy Classic/Cadence VHDL simulator integration during April 1997 at Berkeley with the help of Christopher Hylands.
If I remember well, I just needed to call Cadence scripts from Ptolemy. Maybe with Ptolemy II, it is possible to call under Java similar scripts.
Xavier
Edward A. Lee a écrit : > > We integrated a VHDL simulator with Ptolemy Classic at one point... > It worked through a demo, then was never maintained... It was a bit > of a pain to get working, mostly because the VHDL simulator was not > an open architecture (I don't recall which one we used...). A search > for VHDL on the Ptolemy website publications page gives quite a few > pertinent hits... > > Edward > > At 08:44 AM 10/15/2004 -0600, Mike Wirthlin wrote: > >> It looks like you need to integrate an existing VHDL simulator into >> the continuous system domain of Ptolemy. I am not aware of anyone who >> has done this but it should be possible to do. >> >> You would need to create a Ptolemy actor (probably in the DE domain) >> that talks directly to your commercial VHDL simulator. Many simulators >> have a simulation API that would allow you to communicate with >> external tools (Ptolemy in this case) and custom IP models. This is >> the approach we took for JHDL. In our case, we created a new domain >> for JHDL and were able to interface our simulator (a statically >> scheduled logic simulator) to other domains in Ptolemy. >> >> I hope this helps . . . >> >> - Mike >> >> arnould wrote: >> >>> Hello, >>> Thaksn for your help and sorry for the delay of my answer but I had >>> to meet the >>> people who requests this to know better what that excatly is their need. >>> They are currently rewriting the VHDL code into Matlab or C. They >>> have tried to >>> use Simulink to execute a analogic environnment to test the code, >>> but the simulink engine is quickly over memory as far as the time >>> step of the >>> continuous system drives the whole simulation timestep. >>> So there is no code generation issue here, what they want being to >>> co-simulate >>> some VHDL and a continuous time model in Ptolemy. >>> They are going first to compare the performance of Ptolemy and >>> Simulink on a >>> simple model by rewriting the simulink model under Ptolemy and by >>> using the Matlab >>> Actor. >>> The next question is : Is there any tool that simulate the execution >>> of some VHDL >>> code that would accept a connection to Java or Ptolemy or C .. >>> ..so they would ba able to test directly there VHDL code without >>> having to rewrite >>> it in Matlab.... >>> Regards, >>> Vincent >>> >>> Mike Wirthlin a écrit : >>> >>>> As Christopher mentions, we are not actively working on the >>>> JHDL/Ptolemy II interface (although we might put some more work into >>>> it if there was some interest). >>>> >>>> Can you tell me more about what you want to do with VHDL? Do you want >>>> to co-simulate a VHDL model with Ptolemy-II? Or, do you want to >>>> generate VHDL code from a model (I believe this has some support in >>>> Ptolemy Classic)? >>>> >>>> We developed two different JHDL/Ptolemy II interfaces. First, we >>>> created a JHDL "domain" that allowed you to simulate a JHDL circuit >>>> within Ptolemy II. We also created a few actors based on our module >>>> generator library. Second, we investigated code generation for JHDL. >>>> The idea here was to generate a structural circuit in JHDL from a SDF >>>> model. >>>> >>>> Hope this helps >>>> >>>> - Mike >>>> >>>> Christopher Brooks wrote: >>>> >>>>> Ptolemy Classic had an interface to VHDL, Ptolemy II does not. >>>>> >>>>> http://www.jhdl.org/ says: >>>>> "JHDL is a set of FPGA CAD tools developed at Brigham Young >>>>> University's Configurable Computing Laboratory that allows the user >>>>> to design the structure and layout of a circuit, debug the circuit in >>>>> simulation, netlist and interface for bit-stream synthesis, and so >>>>> forth. It is an exploratory attempt to identify the key features and >>>>> functionality of good FPGA tools." >>>>> >>>>> The JHDL/Ptolemy II interface has not had much work done on it >>>>> lately. >>>>> >>>>> The JHDL/Ptolemy II interface is not currently shipping as part of >>>>> Ptolemy II, though it is available in the CVS devel tree. >>>>> >>>>> I'm not sure if the JHDL/Ptolemy II interface would be much help or >>>>> not in getting to VHDL. Seems like it would take quite a bit of >>>>> effort. >>>>> >>>>> >>>>> _Christopher >>>>> >>>>> >>>>> -------- >>>>> >>>>> Hi all, >>>>> >>>>> Is there any experience of interfacing existing VHDL code within >>>>> Ptolemy >>>>> ? >>>>> >>>>> Can JDHL help in doing this ? >>>>> >>>>> Regards, >>>>> >>>>> Vincent >>>>> >>>>> -------- >>>>> >>>>> ---------------------------------------------------------------------------- >>>>> >>>>> Posted to the ptolemy-hackers mailing list. Please send >>>>> administrative >>>>> mail for this list to: >>>>> ptolemy-hackers-request@ptolemy.eecs.berkeley.edu >>>> >>>> >>>> -- >>>> Michael J. Wirthlin >>>> Assistant Professor >>>> Electrical and Computer Engineering Voice: (801) 422-7601 >>>> Brigham Young University Fax: (801) 422-0201 >>>> 459 Clyde Building Email: wirthlin@ee.byu.edu >>>> Provo, UT 84602 www.ee.byu.edu/faculty/wirthlin >> >> >> >> -- >> Michael J. Wirthlin >> Assistant Professor >> Electrical and Computer Engineering Voice: (801) 422-7601 >> Brigham Young University Fax: (801) 422-0201 >> 459 Clyde Building Email: wirthlin@ee.byu.edu >> Provo, UT 84602 www.ee.byu.edu/faculty/wirthlin >> >> ---------------------------------------------------------------------------- >> >> Posted to the ptolemy-hackers mailing list. Please send administrative >> mail for this list to: ptolemy-hackers-request@ptolemy.eecs.berkeley.edu > > > ------------ > Edward A. Lee, Professor > 518 Cory Hall, UC Berkeley, Berkeley, CA 94720 > phone: 510-642-0455, fax: 510-642-2739 > eal@eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal > > > > ---------------------------------------------------------------------------- > > Posted to the ptolemy-hackers mailing list. Please send administrative > mail for this list to: ptolemy-hackers-request@ptolemy.eecs.berkeley.edu
|
|
|