[82] E. A. Lee and A. Sangiovanni-Vincentelli, “A Framework for Comparing Models of Computation,”, IEEE Transactions on CAD, Vol 17, No. 12, December 1998 (Revised from ERL Memorandum UCB/ERL M97/11, University of California, Berkeley, CA 94720, January 30, 1997). (http://ptolemy.eecs.berkeley.edu/publications/papers/97/denotational/) [83] E. A. Lee and D. G. Messerschmitt, “Static Scheduling of Synchronous Data Flow Programs for Digital Signal Processing,” IEEE Trans. on Computers, January, 1987. [84] M. A. Lemkin, Micro Accelerometer Design with Digital Feedback Control, Ph.D. dissertation, University of California, Berkeley, Fall 1997. [85] S. Y. Liao, S. Tjiang, and R. Gupta, “An efficient implementation of reactivity for modeling hardware in the Scenic design environment,” In Proceedings of the 34th Design Automation Conference (DAC’1997). SIGDA, ACM, 1997. [86] J. Liu, J. Eker, J. W. Janneck and E. A. Lee, “Realistic Simulations of Embedded Control Systems,” International Federation of Automatic Control, 15th IFAC World Congress, Barcelona, Spain, July 21-26, 2002. [87] J. Liu, X. Liu, and E. A. Lee, “Modeling Distributed Hybrid Systems in Ptolemy <strong>II</strong>,” invited embedded tutorial in American Control Conference, Arlington, VA, June 25-27, 2001. [88] J. Liu, S. Jefferson, and E. A. Lee, “Motivating Hierarchical Run-Time Models in Measurement and Control Systems,” American Control Conference, Arlington, VA, pp. 3457-3462, June 25-27, 2001. [89] J. Liu and E. A. Lee, “A Component-Based Approach to Modeling and Simulating Mixed-Signal and Hybrid Systems,” ACM Trans. on Modeling and Computer Simulation, special issue on computer automated multi-paradigm modeling, Volume 12, Issue 4, pp. 343-368, October 2002. [90] J. Liu and E. A. Lee, “On the Causality of Mixed-Signal and Hybrid Models,” 6th International Workshop on Hybrid Systems: Computation and Control (HSCC '03), April 3-5, Prague, Czech Republic, 2003. [91] J. Liu and E. A. Lee, “Timed Multitasking for Real-Time Embedded Software,” IEEE Control Systems Magazine: 65-75, February, 2003. [92] J. Liu, "Responsible Frameworks for Heterogeneous Modeling and Design of Embedded Systems," Ph.D. thesis, Technical Memorandum UCB/ERL M01/41, University of California, Berkeley, CA 94720, December 20th, 2001. (http://ptolemy.eecs.berkeley.edu/publications/papers/ 01/responsibleFrameworks/) [93] J. Liu, Continuous Time and Mixed-Signal Simulation in Ptolemy <strong>II</strong>, MS Report, UCB/ERL Memorandum M98/74, Dept. of EECS, University of California, Berkeley, CA 94720, December 1998. (http://ptolemy.eecs.berkeley.edu/publications/papers/98/MixedSignalinPt<strong>II</strong>/) [94] J. Liu and E. A. Lee, "Component-based Hierarchical Modeling of Systems with Continuous and Discrete Dynamics," Proc. of the 2000 IEEE International Conference on Control Applications and IEEE Symposium on Computer-Aided Control System Design (CCA/CACSD'00), Anchorage, AK, September 25-27, 2000. pp. 95-100 250 Ptolemy <strong>II</strong>
[95] J. Liu, X. Liu, T. J. Koo, B. Sinopoli, S. Sastry, and E. A. Lee, "A Hierarchical Hybrid System and Its Simulation", 1999 38th IEEE Conference on Decision and Control (CDC'99), Phoenix, Arizona. [96] X. Liu, J. Liu, J. Eker, and E. A. Lee, “Heterogeneous Modeling and Design of Control Systems,” in Software-Enabled Control: Information Technology for Dynamical Systems, T. Samad and G. Balas (eds.), New York City: IEEE Press, 2003. [97] D. C. Luckham and J. Vera, “An Event-Based Architecture Definition Language,” IEEE Transactions on Software Engineering, 21(9), pp. 717-734, September, 1995. [98] F. Maraninchi, “The Argos Language: Graphical Representation of Automata and Description of Reactive Systems,” in Proc. of the IEEE Workshop on Visual Languages, Kobe, Japan, Oct. 1991. [99] S. McConnell, Code Complete: A Practical Handbook of Software Construction, Microsoft Press, 1993. [100]K. Mehlhorn and Stefan Naher. LEDA: A Platform for Combinatorial and Geometric Computing. Cambridge University Press, 1997. [101]B. Meyer, Object Oriented Software Construction, 2nd ed., Prentice Hall, 1997. [102]R. Milner, Communication and Concurrency, Prentice-Hall, Englewood Cliffs, NJ, 1989. [103]R. Milner, “A Calculus of Communicating Systems”, Lecture Notes in Computer Science, Vol. 92, Springer-Verlag, 1980. [104]R. Milner, A Theory of Type Polymorphism in Programming, Journal of Computer and System Sciences 17, pp. 384-375, 1978. [105]J. Misra, “Distributed Discrete-Event Simulation,” Computing Surveys, vol. 18, no. 1, March 1986, pp. 39-65. [106]L. Muliadi, "Discrete Event Modeling in Ptolemy <strong>II</strong>," MS Report, Dept. of EECS, University of California, Berkeley, CA 94720, May 1999. (http://ptolemy.eecs.berkeley.edu/publications/ papers/99/deModeling/) [107]P. K. Murthy and E. A. Lee, “Multidimensional Synchronous Dataflow,” IEEE Transactions on Signal Processing, volume 50, no. 8, pp. 2064 -2079, August 2002. [108]L. W. Nagal, “SPICE2: A Computer Program to Simulate Semiconductor Circuits,” ERL Memo No. ERL-M520, Electronics Research Laboratory, University of California, Berkeley, CA 94720. [109]NASA Office of Safety and Mission Assurance, Software Formal Inspections Guidebook, August 1993 (http://satc.gsfc.nasa.gov/fi/gdb/fitext.txt). [110]S. Neuendorffer, “Automatic Specialization of Actor-Oriented Models in Ptolemy <strong>II</strong>,” Master's Report, Technical Memorandum UCB/ERL M02/41, University of California, Berkeley, CA 94720, December 25, 2002.(http://ptolemy.eecs.berkeley.edu/papers/02/actorSpecialization) [111]A. R. Newton and A. L. Sangiovanni-Vincentelli, “Relaxation-Based Electrical Simulation,” IEEE Tr. on Electronic Devices, Vol. ed-30, No. 9, Sept. 1983. [112]S. Oaks and H. Wong, Java Threads, O’Reilly, 1997. Heterogeneous Concurrent Modeling and Design 251
- Page 1 and 2:
PTOLEMY II HETEROGENEOUS CONCURRENT
- Page 3 and 4:
VOLUME 1 INTRODUCTION TO PTOLEMY II
- Page 5 and 6:
Volume 1 Contents Introduction to P
- Page 7 and 8:
2.10.3. Constructing Modal Models 8
- Page 9 and 10:
7. MoML 191 7.1. Introduction 191 7
- Page 11 and 12:
1 Introduction Author: Edward A. Le
- Page 13 and 14:
Introduction heterochronous dataflo
- Page 15 and 16:
Introduction A major emphasis in Pt
- Page 17 and 18:
Introduction determine when actors
- Page 19 and 20:
Introduction provides levels of vis
- Page 21 and 22:
Introduction is a guard, and the se
- Page 23 and 24:
Introduction well. All of these are
- Page 25 and 26:
Introduction clients to update thei
- Page 27 and 28:
Introduction will be supplied with
- Page 29 and 30:
Introduction 1.3.12 Synchronous Dat
- Page 31 and 32:
Introduction FIGURE 1.10. Refinemen
- Page 33 and 34:
Introduction occlusions due to terr
- Page 35 and 36:
Introduction tion. The overall arch
- Page 37 and 38:
Introduction kernel.attributes This
- Page 39 and 40:
Introduction 1.5.2 Overview of Key
- Page 41 and 42:
Introduction Actor interfaces are k
- Page 43 and 44:
Heterogeneous Concurrent Modeling a
- Page 45 and 46:
Introduction actor actor.gui data.e
- Page 47 and 48:
Introduction cient, scalable, and u
- Page 49 and 50:
Introduction 1.5.8 Future Capabilit
- Page 51 and 52:
Introduction Appendix A: UML — Un
- Page 53 and 54:
Introduction grams, the only constr
- Page 55 and 56:
2 Using Vergil Authors: Edward A. L
- Page 57 and 58:
Using Vergil 2.2.2 Executing a Pre-
- Page 59 and 60:
Using Vergil The Lorenz attractor m
- Page 61 and 62:
Using Vergil The Continuous-Time (C
- Page 63 and 64:
Using Vergil box in figure 2.11. En
- Page 65 and 66:
Using Vergil Don’t panic! Excepti
- Page 67 and 68:
Using Vergil tions are a normal par
- Page 69 and 70:
Using Vergil 2.4 Hierarchy Ptolemy
- Page 71 and 72:
Using Vergil Then using these ports
- Page 73 and 74:
Using Vergil the default 0.1 to 0.0
- Page 75 and 76:
Using Vergil pan window, it is easy
- Page 77 and 78:
Using Vergil FIGURE 2.33. The pan w
- Page 79 and 80:
Using Vergil we have modified the c
- Page 81 and 82:
Using Vergil model, simply copy (or
- Page 83 and 84:
Using Vergil A key issue is to deci
- Page 85 and 86:
Using Vergil instances. This proble
- Page 87 and 88:
Using Vergil quick tour for more de
- Page 89 and 90:
Using Vergil uses the index in the
- Page 91 and 92:
Using Vergil AddSubtract actor, and
- Page 93 and 94:
Using Vergil If you look inside the
- Page 95 and 96:
Using Vergil If you look inside the
- Page 97 and 98:
Using Vergil transition (or right c
- Page 99 and 100:
Using Vergil Once you have created
- Page 101 and 102:
Using Vergil The grid is turned off
- Page 103 and 104:
Authors: Edward A. Lee Xiaojun Liu
- Page 105 and 106:
Expressions classes to create a gen
- Page 107 and 108:
Expressions The % operation is a mo
- Page 109 and 110:
Expressions attribute, which includ
- Page 111 and 112:
Expressions 3.3.5 State Machines Ex
- Page 113 and 114:
Expressions whose value is an array
- Page 115 and 116:
Expressions from it. For instance,
- Page 117 and 118:
Expressions defined. For example, >
- Page 119 and 120:
Expressions length is given by the
- Page 121 and 122:
Expressions Thus, for example, you
- Page 123 and 124:
Expressions number. With one additi
- Page 125 and 126:
Expressions value. For example, fix
- Page 127 and 128:
Expressions In the example in figur
- Page 129 and 130:
Expressions A.2 Basic Mathematical
- Page 131 and 132:
Expressions A.3 Matrix, Array, and
- Page 133 and 134:
Expressions A.5 Signal Processing F
- Page 135 and 136:
Expressions TABLE 8: Functions perf
- Page 137 and 138:
4 Actor Libraries Authors: Elaine C
- Page 139 and 140:
Actor Libraries properly in the CT
- Page 141 and 142:
Actor Libraries ing that multiple c
- Page 143 and 144:
Actor Libraries TypedAtomicActor «
- Page 145 and 146:
Actor Libraries SequenceScope (exte
- Page 147 and 148:
Actor Libraries UnsignedByteArrayTo
- Page 149 and 150:
Actor Libraries MobileFunction (ext
- Page 151 and 152:
Actor Libraries LogicFunction (exte
- Page 153 and 154:
Actor Libraries Sleep (extends Tran
- Page 155 and 156:
Actor Libraries VariableFIR (extend
- Page 157 and 158:
Actor Libraries Integrator: Integra
- Page 159 and 160:
Actor Libraries Figure 4.4 shows th
- Page 161 and 162:
5 Designing Actors Authors: Christo
- Page 163 and 164:
Designing Actors /** Javadoc commen
- Page 165 and 166:
Designing Actors although with most
- Page 167 and 168:
Designing Actors import ptolemy.act
- Page 169 and 170:
Designing Actors makes such actors
- Page 171 and 172:
Designing Actors same parameter val
- Page 173 and 174:
Designing Actors morphic actor comp
- Page 175 and 176:
Designing Actors To get data polymo
- Page 177 and 178:
Designing Actors public class Seque
- Page 179 and 180:
Designing Actors be used in domains
- Page 181 and 182:
Designing Actors alComm actor. Beca
- Page 183 and 184:
Designing Actors attribute has valu
- Page 185 and 186:
Designing Actors import ptolemy.act
- Page 187 and 188:
6 Coding Style Authors: Christopher
- Page 189 and 190:
Coding Style /* One line descriptio
- Page 191 and 192:
Coding Style Copyright (c) 2004 The
- Page 193 and 194:
Coding Style @version $Id: NamedObj
- Page 195 and 196:
Coding Style } We use instead the i
- Page 197 and 198:
Coding Style * @exception MyExcepti
- Page 199 and 200:
Coding Style + "it does not impleme
- Page 201 and 202:
Authors: Edward A. Lee Steve Neuend
- Page 203 and 204:
MoML cutes it forever, until you hi
- Page 205 and 206:
MoML A second difference between ou
- Page 207 and 208:
MoML
- Page 209 and 210: MoML 7.3.3 Names and Classes Most M
- Page 211 and 212: MoML Here, the element named
- Page 213 and 214: MoML implement. 7.3.7 Doc Element S
- Page 215 and 216: MoML It is also sometimes necess
- Page 217 and 218: MoML then there will be a link t
- Page 219 and 220: MoML found. For example, if the cla
- Page 221 and 222: MoML it cannot collide with the nam
- Page 223 and 224: MoML The rendering of the icon is d
- Page 225 and 226: MoML 7.4.5 Deleting Entities, Relat
- Page 227 and 228: MoML This unlinks a port from the s
- Page 229 and 230: MoML model. The EntityLibrary class
- Page 231 and 232: MoML Suppose that using incremental
- Page 233 and 234: MoML Generate a sine wave.
- Page 235 and 236: MoML
- Page 237 and 238: MoML Number of iterations in
- Page 239 and 240: MoML -P- The f
- Page 241 and 242: MoML -P- The phase,
- Page 243 and 244: 8 Custom Applets Authors: Edward A.
- Page 245 and 246: Custom Applets html code, see the J
- Page 247 and 248: Custom Applets public class Tutoria
- Page 249 and 250: Custom Applets then the result of
- Page 251 and 252: Custom Applets 8.3.5 Using Model Pa
- Page 253 and 254: Custom Applets ptolemy/domains/doma
- Page 255 and 256: References [1] G. Agha, Actors: A M
- Page 257 and 258: [33] S. A. Edwards, “The Specific
- Page 259: [67] E. Kohler, The Click Modular R
- Page 263 and 264: [132]W. R. Sutherland, "The on-Line
- Page 265 and 266: Glossary abstract syntax ..........
- Page 267 and 268: Ptolemy II ........................
- Page 269 and 270: Index Symbols - in UML 41 # in UML
- Page 271 and 272: coin flips 142 Color class 173 colo
- Page 273 and 274: entity in XML 198 EntityLibrary cla
- Page 275 and 276: Director class 159 inverse FFT 124
- Page 277 and 278: CompositeEntity class 206 nextPower
- Page 279 and 280: safety 34 SampleDelay actor 78, 138
- Page 281 and 282: type constraint 155 type constraint