Transcript DPTF

TM
November 2012
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire,
ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC,
Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of
Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack,
CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge,
QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink,
Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or
service names are the property of their respective owners. © 2012 Freescale
Semiconductor, Inc.

Programming paradigm:
 a.k.a. Flow-based programming or Diagrammatic programming
 Programming paradigm based on graphical program elements manipulation as a directed graph
 Based on usage of:
• Symbols – programming language elements
• Shapes – visual programming statements
• Links – relations between programming statements
 Considers flow of data as the primary concern / Focused on how things connect

Features:
 Intuitive and user friendly design and representation
 Ability to easily exploit parallelism in designed software architecture
 Suitable for applications focused on the flow of data

Usage:
 Design, simulation and offline analysis
 Optimization and calibration
TM
2
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC
Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor,
Inc. All other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Not Eclipse based
Simulink (MathWorks)
Unified Application Designer (Cisco)
Visual development environment that facilitates easy and rapid
creation of networking and telecommunication applications
targeting voice, video and data communication.
Graphical platform used for the purpose of modeling,
analysis and simulation of dynamic systems.
LabVIEW (National Instruments)
Simatic S7 (Siemens)
Graphical programming environment for
Programmable Logic Controllers (PLCs) used
to build automation systems for the purpose of
industrial equipments control and monitoring.
Graphical development platform that enables
engineers without advanced programming
expertise to build, setup, test and simulate
virtual representations of laboratory equipment.
TM
3
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC
Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor,
Inc. All other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Overview:
 PEx QCS is a powerful and easy to use
development platform intended to increase
productivity in software development for QorIQ
 DPAA (Data Path Acceleration Architecture) tool
is an embedded component inside PEx QCS which
is designed specifically to allow easy and rapid
creation of complex DPAA scenarios.
 Provides support for all DPAA features
Processor Expert Software QCS DPAA (Freescale)
Features:
 Bareboard/Linux support
 On the fly validation
 Automatic error notification
 Instant configuration summary
 Automatic code generation
 Port to Portal configuration
 Import NetPDL definition format
QorIQ SoC supported:
P1: P1017, P1023, SC1023
P2: P2040, P2041
P3: P3041, P3060, P308BSS
P4: P4040, P4080, SC4080
P5: P5010, P5020, P5021, P5040
T4: T4160, T4161, T4240
QorIQ Qonverge: B4860
TM
PEx QCS DPAA configuration view
4
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC
Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor,
Inc. All other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
CW MCU Clock Diagrams (Freescale)
Overview:
 CodeWarrior IDE for MCUs integrates
the development tools for a wide range
of microcontrollers: ColdFire, Kinetis,
Qorivva, PX, RS08 and S08.
 Integrates Processor Expert with
Clock Diagram visualization component
Features:
 Interactive clock diagram
 Automatic error notification
 Instant configuration summary
 Interactive human readable
expressions with editable operands
 Multiple clock source selection
 Interactive ON/OFF switch
 Import clock diagram from XML
CW MCU Clock Diagrams view
TM
5
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC
Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor,
Inc. All other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.

Overview:
 Framework used for creation of dataflow programming tools
 Provided as an Eclipse plug-in
 Implementation based on SWT toolkit
 Freescale proprietary technology

Characteristics:
 Modularity
 Reusability
 Usability (low barrier to entry)
 Flexibility
 Extensibility
 Reliability
 Maintainability
 Application data agnostic
 Robustness
 Fault tolerance
TM
6
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC
Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor,
Inc. All other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Horizontal
ruler
Mainframe view
Vertical
ruler
Scrollable view
Design Area
view
Application specific
dataflow symbols
Application
toolbar
DPTF
toolbar
Status bar
Example of tool created using DPTF
TM
7
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC
Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor,
Inc. All other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.

API separation
 Customization
 Interaction

MVC based architecture
 Clear separation of concerns

Layered architecture
 Internal multi layered design

Event driven architecture
 Different modules responsible for event:
• Production
• Detection
• Consumption
• Reaction

Inversion of Control
 Encapsulation of dataflow features and functionalities
 Broadcasting framework events to external entities
 External plugins notification and information extraction
system
Information
extraction
Notifications
reaction
event
Event
Event
Event
production
reaction
reaction
consumption
Event
detection
event
TM
8
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC
Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor,
Inc. All other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Application customization
DPTF specific settings
Custom symbols definition
Default configuration
Library of predefined symbols
(e.g.: Switch)
Multiple configurations
TM
9
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC
Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor,
Inc. All other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Copy/Paste/Remove options
Zooming capability
Multiple objects selection and grouping
Information display
TM
Print diagram
Interactive Action hints
Contextual menus
10
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC
Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor,
Inc. All other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Orthogonal links
Snap to grid
Shortcut keys
Interactive Expressions
Symbol decoration
On-the-fly validation
TM
11
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC
Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor,
Inc. All other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.

Internal State Machine:
 Driven by Internal State Machine model:
• Receive and process incoming event
• Determine the new state
• Perform current state actions
• Enter idle state

Analytic Geometry usage:
 Each symbol (shape or link) is described by a certain equation inside the Cartesian coordinates system
 DPTF automatically performs operations like transformations and intersections as response to GUI actions
 All operations are implemented as a set of formulas based on internal system of equations

Internal Expressions model:
 Expressions model as an operator and a list of operands with each operand being an inner expression
 Interactive expressions with editable operands (const, edit, drop down list)
 Visual expressions representation in standard mathematical format (e.g.: division as a fraction)
TM
12
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC
Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor,
Inc. All other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.

Steps required to use DPTF for application development:
Dataflow programming
tool complete.
8
7
Use DPTF at runtime
via interaction API
Initialize DPTF
6
Create and install DPTF
listeners and providers
Customize application
4
specific toolbar
Create all custom
3
symbols needed
Customize the overall
DPTF look and feel
Create all DPTF
instances
5
2
1
Create all required
Eclipse plugins
DPTF framework
available.
TM
13
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC
Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor,
Inc. All other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
TM