Ptolemy II 6.0.2
Note:
This is not the most recent version of Ptolemy II. The most recent version can be found at http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIlatest/. Note:
Ptolemy II 6.0.2 will not compile with Java 1.6, you must use Java 1.4 or 1.5, see 07-Apr-2008 Re: Error installing Ptolemy on ubuntu.

February 4, 2007 - Ptolemy II 6.0.2 is available for download

Ptolemy II 6.0.2 Common Downloads

  • Windows Installer Includes sources and JRE
  • Sources Only: Unix Line Endings - Windows Line Endings
  • Web copy, includes Applets.
  • Web Start
  • Ptolemy II 6.0.2 includes

    • Ptolemy II C Code Generation

      Primary Developers: Jackie Leung, Gang Zhou, Ye Zhou, Edward A. Lee, Christopher Brooks
      Ptolemy II can now generate C code for SDF, FSM and HDF models. This new code generator consists of actor templates (called helpers) that contain C code stubs that are stitched together. Only a subset of actors have helpers, so only a subset of models can be converted to C. Creating new helpers is fairly easy though. The code generator has been written to be easily extensible to languages other than C.

    • The Rendezvous domain:
      Primary Authors: Thomas Huining Feng, Edward A. Lee
      In the Rendezvous domain in Ptolemy II, each actor executes in its own thread of control, and communication between actors is by rendezvous. If an actor is ready to send a message, it blocks until the receiving actor is ready to receive it. Similarly if an actor is ready to receive a message, it blocks until the sending actor is ready to send it.

      This domain supports both conditional and multi-way rendezvous. In conditional rendezvous, an actor is willing to rendezvous with any one of several other actors. In multiway rendezvous, an actor requires rendezvous with multiple other actors at the same time. When using conditional rendezvous, the choice of which rendezvous occurs is nondeterministic, in general.

      The model of computation is based on the Communicating Sequential Processesmodel first proposed by Hoare in 1978. Rendezvous-based communication is also known as synchronous message passing, but we avoid this term to avoid confusion with the SR (synchronous/reactive) domain.

      Demonstration Applets - Javadoc: kernel, lib

    • Viptos Visual editor, code generator, and simulator for TinyOS programs.
      Primary Author: Elaine Cheong
      Viptos is an interface between TinyOS and Ptolemy II that provides a graphical user interface for TinyOS developers. Users can create TinyOS programs as block diagrams and use Viptos to generate code for any TinyOS-supported target hardware. Users can also simulate heterogenous networks of TinyOS-based nodes within Viptos. Viptos includes a tool to make existing libraries of TinyOS/nesC components available as graphical blocks (nc2moml), and another tool to transform existing TinyOS/nesC applications into Viptos models (ncapp2moml).
      Note: Viptos is not available in the Windows installer, Viptos must be built from source. (Viptos Installation Notes)

    • Distributed SDF Domain using Jini
      Authors: Daniel Lazaro Cuadrado (Aalborg University).
      The Distributed-SDF domain is an extended version of the existing SDF Domain that performs the simulation in a distributed manner using Jini. Javadoc: actor, client, common, domains.sdf.kernel, rmi, util
    The Ptolemy II 6.0.2 Release Notes include a list of new features and actors.

    Quick Start Instructions

    Ptolemy II is available in several formats:

    Applets
    You can browse Ptolemy II and run demonstration applets without downloading the distribution by accessing the web copy.
    The web copy is merely a set of web pages that were created when we untar'd the distribution on the Ptolemy web site.
    To access Ptolemy II via the applets, you can either go directly to the web copy, or go to the Ptolemy II 6.0.2 Applets page for more information.
    Web Start
    Web Start is a tool from Sun that makes installation and updates particularly simple.
    The Web Start installation works best with Windows, but has also been tried under Solaris, Linux and Mac OSX.
    The Web Start installation does not include source, but behaves almost exactly like a standalone installation: you can save models locally, and you need not be connected to the net after the initial installation.
    Note that the Applet web copy and the Web Start installations are different, the web copy is a set of web pages where some of the pages contain applets, and Web Start is a set of jar files that get downloaded to your machine so that you can run Ptolemy II at a later time, even if you are not connected to the network. For details, see the Installation Summary
    To download using Web Start, see the Ptolemy II 6.0.2 Web Start page.
    Windows Installer
    To download a Windows Installer, see the Ptolemy II 6.0.2 Windows Installer page.
    Source
    The source distribution requires either the Cygwin tools, Eclipse or some other way of running commands like make.
    After building Ptolemy II from source, start vergil from the command line and follow the tour.
    The source distribution has been compiled and run under Windows, Solaris and Linux.
    If you intend to develop your own actors in Java, then you should download the source distribution.
    To download source, see the Ptolemy II 6.0.2 Source Download page and then follow the installation instructions.

    Summary

    The table below is a summary that compares and contrasts the various installers.
    Download Format Requirement Platform Size Create your own models? Require net connection at runtime? Custom Actor creation? (download includes sources) Code generator?
    Applets The applets work best with the Java 1.4.2_13 JRE, but the Java 1.5 JRE will also work. See also Java plugin Windows, Linux, MacOS X, Solaris Initially ~5 Mb No Yes No No
    Web Start Java Web Start Windows, Linux, MacOS X, Solaris ~57 Mb Yes Not required, but can get updates if connected No No
    Windows Installer Windows only. 1.5.0_11 Java Runtime Environment with support packages like Java 3D Windows only 121 Mb Yes No Yes No
    Source Download JDK 1.5.0 or JDK 1.4.2, Devel. tools like make Windows, Linux, MacOS X, Solaris 33 Mb - 39.6 Mb Yes No Yes Yes

    Places to go

  • The "Using Vergil" chapter from the Ptolemy II Design Document
  • Limitations