Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. VWorks Virtual Platforms for Renesas Processors © 2012 Renesas Electronics America Inc. All rights reserved.2 Renesas Technology & Solution Portfolio © 2012 Renesas Electronics America Inc. All rights reserved.3 Overview of VLAB Virtual Platforms Why Use Virtual Platforms? Getting Started With VLAB Lab 1: VLAB Lab 2: FX4/V850E2 Simulation Lab 3: Debugging Lab 4: Working with Virtual Platform Netlists. Summary Agenda © 2012 Renesas Electronics America Inc. All rights reserved.4 Overview of VLAB Virtual Platforms For embedded software and system developers who use Renesas processors… VLAB virtual prototyping solutions can accelerate development! Develop and debug software on the VWorks VLAB virtual platform for Renesas processors: Learn advanced techniques using software-based virtual platforms for hardware, embedded software and system simulation Build a simple virtual ECU, and experience the capability of virtual platform technology for development, test and debug with hands- on use of SystemC based, timed processor models Use VWorks virtual prototype models for Renesas Fx4/V850E2 Leverage capabilities and advanced techniques: Rapidly and interactively prototype different on- and off-chip architectures and system configurations Debug and analyze embedded software: deeply embedded software, driver software, base software and other ECU software Benefit from observability, controllability, repeatability, and programmability Applications: Automotive Mobile And more…. © 2012 Renesas Electronics America Inc. All rights reserved.5 Why Use Virtual Platforms? © 2012 Renesas Electronics America Inc. All rights reserved.6 Before Hardware Availability Design capture, executable specification Architecture exploration, “what if” Performance analysis Early verification and validation, test creation Early start to software development Pre-Spec Spec RTL and Physical Design FPG A Si Samples Initial VP Developed VP updates to support Hw design and verification and Sw development © 2012 Renesas Electronics America Inc. All rights reserved.7 After Hardware Availability Instantaneous deployment and updates No hardware test-bench devices and real estate Easy to modify and re-configure © 2012 Renesas Electronics America Inc. All rights reserved.8 Killer Feature: System-Level Debug Non-intrusiveness Controllability Repeatability Visibility Programmability © 2012 Renesas Electronics America Inc. All rights reserved.9 What is VLAB? VLAB is an interactive and programmable environment for: Rich Electronic System Simulation applications Virtual Hardware Platforms © 2012 Renesas Electronics America Inc. All rights reserved.10 VLAB Simulation Applications Seamless integration of VLAB Simulation models and objects User scripts and customizations Test scenarios and test infrastructure Target software [...]... SystemC models Load a pre-assembled Virtual Platform, e.g Fx4 Develop, assemble and configure your own new Virtual Platform Modify and re-configure at run time an existing Virtual Platform Create a new derivative SoC platform: extend an existing Virtual Platform Run (simulate) a Virtual Platform Debug and analyze target software running on a VP 13 © 2012 Renesas Electronics America Inc All...Benefits for Virtual Platform Creators Ease of Adoption Native standard SystemC support No model code changes No vendor lock in Maximize Productivity No rebuilds Write less, do more Detailed instrumentation 11 © 2012 Renesas Electronics America Inc All rights reserved VP as a Model of a Hardware Board Benefits of using a virtual platform May be available prior... connections for c in conn: print c However, there is a more direct and user friendly way to inspect connections on the console: 34 show_connections(inst) © 2012 Renesas Electronics America Inc All rights reserved Lab 1: VLAB Quick Overview 35 © 2012 Renesas Electronics America Inc All rights reserved ASTC Virtual Platform Technology and Solutions: Fx4 Toolbox - Introduction 36 © 2012 Renesas Electronics... disk space for VLAB and toolbox installation At least 5GB of free disk space for advanced instrumentation log files 16 © 2012 Renesas Electronics America Inc All rights reserved Documentation VLAB user documentation is available in $VLAB_HOME/doc: VLAB User Manual (PDF) OCE User Manual (PDF) On Windows, the above is accessible via – Start->Programs- >VWorks- >VLAB->doc Documentation for ASTC... real-time performance: good for regressions May offer a lower cost solution However, a VP does not behave the same as hardware board Not all peripherals may be modeled Some aspects of hardware behavior may be simplified The timing behavior of a VP may be different 12 © 2012 Renesas Electronics America Inc All rights reserved What can VLAB do? Import and integrate into a platform ASTC supplied,... is possible to automate the manual steps performed via the GUI by using scripts (sequences of commands) The GUI is the preferred mode of learning VLAB Presents information in a logical manner Familiarize yourself with the available menus, panes, and toolbars Discover new functionality Learn new commands by merely interacting with the GUI 25 © 2012 Renesas Electronics America Inc All rights... breakpoint will be provided later in the training 29 © 2012 Renesas Electronics America Inc All rights reserved The Dashboard: History Pane History pane contains previously executed commands Separate entry for each session Can select one or many commands Commands can be executed through the console, making repetitive tasks easier to manage 30 © 2012 Renesas Electronics America Inc All rights reserved... simulation – VLAB> pause() Add a hardware, software or time even breakpoint – VLAB> add_break(…) Log simulation data in either Text, ODA, or VCD formats – VLAB> add_trace("FX4”) © 2012 Renesas Electronics America Inc All rights reserved The VLAB GUI Window 24 © 2012 Renesas Electronics America Inc All rights reserved Graphical Mode in VLAB The VLAB "graphical mode" (GUI) is designed to complement the... show_ports() Show all bus ports (TLM sockets) in the simulator – VLAB> show_ports(kind=‘bus’) 22 © 2012 Renesas Electronics America Inc All rights reserved Running a Simulator Let’s see what registers exist in “FX4.FCNA0" 23 – VLAB> show_registers("FX4.FCNA0") We can now run the simulator for a short while (10 ns) – VLAB> run(10) We can query the simulation time to check the progress of the... Any VLAB model can be built and used in another SystemC simulation e.g OSCI VLAB provides Python scripting interfaces for ease of use and simplicity Complete SystemC API is accessible from Python Value-added features not present in other SystemC-based simulation tools 14 © 2012 Renesas Electronics America Inc All rights reserved Do I need to know Python? VLAB embeds a complete Python interpreter . Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. VWorks Virtual Platforms for Renesas Processors © 2012 Renesas Electronics America. developers who use Renesas processors VLAB virtual prototyping solutions can accelerate development! Develop and debug software on the VWorks VLAB virtual platform for Renesas processors: Learn. rights reserved.2 Renesas Technology & Solution Portfolio © 2012 Renesas Electronics America Inc. All rights reserved.3 Overview of VLAB Virtual Platforms Why Use Virtual Platforms? Getting