Working with Giano Richard Neil Pittman Microsoft Research.

Slides:



Advertisements
Similar presentations
COP 3530 JDK Environment Variables. COP 3530 JDK Environment Variables Environment Variables Environment variables are a set of dynamic values that can.
Advertisements

Stored procedures and views You can see definitions for stored procedures and views in the demo databases but you can’t change them. For views, expand.
Presentation Heading – font Arial
1 CSCI N305 C Language Programming Welcome to CSCI N305! Compiling Your First Program Using Microsoft Visual Studio 2008.
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
E.1 Eclipse. e.2 Installing Eclipse Download the eclipse.installation.exe from the course web site to your computer and execute it. Keep the destination.
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Go to the link ( as shown, then choose downloads.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
Update the PATH variable Trying to run the command: “javac Ex1.java” you’ve may encountered the error: “javac is not recognized as internal or external.
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
Create A Visual Studio Template
Ch 9 Managing Active Directory User Accounts. Objectives Create Organizational Unit Creating User Accounts in Active Directory Disabling, Enabling, and.
® IBM Software Group © 2006 IBM Corporation The Eclipse Data Perspective and Database Explorer This section describes how to use the Eclipse Data Perspective,
By Andrew Noske My PowerPoint Macros.
Dzongkha Unicode Agenda System Requirements: Hardware & Software
Introduction to ArcGIS Add-Ins Exercises GIS/LIS Conference, 2014 Rochester, MN.
IS 426: Information Systems Construction in Modern Society Downloading and exploring oracle development environments.
September 2008 IT Software Development Guide.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
11 Getting Started with C# Chapter Objectives You will be able to: 1. Say in general terms how C# differs from C. 2. Create, compile, and run a.
Computing IV Visual C Introduction with OpenCV Example Xinwen Fu.
IT 211 Project Integration and Deployment Lab #11.
CS Tutorial 1 Getting Started with Visual Studio 2012 (Visual Studio 2010 are no longer available on MSDNAA, please choose Visual Studio 2012 which.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
Geo CE-XM ch 4 Edited 10/14/05 1 The XM is the newest of the rovers, and unlike other units, it comes with software installed on the unit as well as using.
Microsoft Visual Basic 2012 CHAPTER THREE Program Design and Coding.
Computer Science I How to Configure Visual Studio.NET 2003 for C++ Colin Goble.
Introduction It is developed to create software applications. It is a tool for developers of any program that uses both basic and expert settings. It.
Active-HDL Interfaces Debugging C Code Course 10.
Programming with Visual C++ A short review of the process.
Hidden Markov Toolkit (HTK) Installation Fang-Hui Chu Department of Computer Science & Information Engineering National Taiwan Normal University.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
Introduction to Web Services. Examples Using a Web Service Creating a new Web Service.
Copying Music From a CD Margaret S. Britt. Loading Media Player  Click Start  Select the Windows Media Player.
Configuring IQmol for Windows machines, use version!
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Lesson No: 6 Introduction to Windows XP CHBT-01 Basic Micro process & Computer Operation.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Lab 0 / Chapter 0 Windows XP Environment. 2 User Interfaces: A different perspective.
Using Visual Studio C++ Express Ron Gross A current copy of this can be found at or this direct linkhttp://tinyurl.com/2ucarothis.
Compiling a Native C++ Program on the Command Line #define #include.
PC Maintenance: Preparing for A+ Certification Chapter 28: Working with Applications.
Windows Installation Tutorial NASA ARSET For Python help, contact: Justin Roberts-Pierel
1 How to Install OpenGL u Software running under Microsoft Windows makes extensive use of "dynamic link libraries." A dynamic link library (DLL) is a set.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Open project in Microsoft Visual Studio → build program in “Release” mode.
Java On the ENB 116 Computers The JDK is now available on the ENB 116 computers. You can use a classroom computer rather than your own laptop or CIRCE.
Creating a Zip File with a Password. 1.Right Click on the File or Folder you want to Zip. 2.Choose “Add to Zip”
Windows Installation Tutorial NASA ARSET For Python help, contact: Justin Roberts-Pierel
Settings MySQL Database and JDBC configuration Instructor: Sergey Goldman.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Template Package  Presented by G.Nagaraju.  What is Template Package?  Why we use Template Package?  Where we use Template Package?  How we create.
Development Environment Setup
Presentation Heading – font Arial
PRU-ICSS Programming with CCS
Quick Start Guide for Visual Studio 2010
1. Open Visual Studio 2008.
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Download and Installation of code::blocks
Double click Microsoft Visual Studio 2010 on the Computer Desktop
These slides are for reference only. They are not "lecture notes"
Windows Installation Tutorial
Scripts In Matlab.
Hidden Markov Toolkit (HTK) Installation
Instructions for using the Miradi Companion Reporting Tool
Presentation transcript:

Working with Giano Richard Neil Pittman Microsoft Research

Procedures Installing Giano Running Simulations in Giano from Visio Running Simulations from the Command Line Connecting to Simulations using Serplexd Simulating EB63 with HostFS Creating/modifying a configuration Creating a new Giano module

Procedure #1 Installing Giano Running Simulations in Giano from Visio Running Simulations from the Command Line Connecting to Simulations using Serplexd Simulating EB63 with HostFS Creating/modifying a configuration Creating a new Giano module

Installing Giano 1.Extract Giano Files from archive, or copy from CD, or just run the MSI file (V2) 2.Rebuild Giano (if necessary) 3.Install Microsoft Visio Scripts (if Microsoft Visio 2003 installed, strongly recommended)

Rebuilding Giano 1.Have Microsoft Visual Studio installed on the Computer (VC6,7 and 8 are all ok) 2.Delete all *.manifest files from the subtree 3.Do not delete the following files from the ‘bin’ folder: 4.Open a MVS Command Prompt and call ‘nmake clean all’ 5.For Win64 do a “set AMD64=1” first. bbuniq.exe bbw.dll cbw32.dll mcc.dll msvcr71.dll np.dll vpi2g.dll vssver.scc vvp.dll bbcat.exe bbdump.exe bbfind.exe bbmatch.exe bbmerge.exe bbrewrite.exe bbs.dll bbselect.exe bbsort.exe

Install Microsoft Visio Templates Double click the ‘giano.msi’ file in the Visio\v2\ directory Follow the installation wizard and select the ‘Typical Install’ Copy the Giano binaries from the ‘bin’ directory to ‘C:\Program Files\Microsoft Giano\bin\’ Add the installation directory to your path: –set path=%path%;” C:\Program Files\Microsoft Giano\bin”

Visio and Macros You must enable Visio macros, set Tools::Macros::Security to Medium or Low

Procedure #2 Installing Giano Running Simulations in Giano from Visio Running Simulations from the Command Line Connecting to Simulations using Serplexd Simulating EB63 with HostFS Creating/modifying a configuration Creating a new Giano module

Running Simulations in Giano from Microsoft Visio 1. Open the *.vsd of the configuration you wish to run.

Running Simulations in Giano from Microsoft Visio 2. Right Click on CPU model and select ‘Create the Simulation Configuration File’. This creates the *.plx configuration file based on the model drawn in Microsoft Visio 3. Right Click on the CPU model and select ‘Start Simulation’. The simulation will start in a command window.

Running Simulations in Giano from Microsoft Visio

Procedure #3 Installing Giano Running Simulations in Giano from Visio Running Simulations from the Command Line Connecting to Simulations using Serplexd Simulating EB63 with HostFS Creating/modifying a configuration Creating a new Giano module

Running Simulations from the Command Line 1. Open a Command Prompt to the directory where your *.plx configuration file is located.

Running Simulations from the Command Line 2. Type “giano.exe –Platform ” and press ‘Enter’. The simulation will begin running in this Command Window.

Running Simulations from the Command Line

Procedure #4 Installing Giano Running Simulations in Giano from Visio Running Simulations from the Command Line Connecting to Simulations using Serplexd Simulating EB63 with HostFS Creating/modifying a configuration Creating a new Giano module

Connecting to Simulation using Serplexd 1. Open a Command Prompt to the directory where serplexd.exe is located.

Connecting to Simulation using Serplexd 2. Type ‘serplexd -n \\.\pipe\usart0’ and press ‘Enter’. Serplexd will begin running in this Command Window.

Connecting to Simulation using Serplexd

3. Type something, like “dir”

Procedure #5 Installing Giano Running Simulations in Giano from Visio Running Simulations from the Command Line Connecting to Simulations using Serplexd Simulating EB63 with HostFS Creating/modifying a configuration Creating a new Giano module

Simulating EB63 with HostFS 1. Build MMlite (compile source code) 2. Copy serplexd to MMlite build directory bin of the desired compiler (EX. C:\inv\build\arm_gnu\release\bin) 3. Copy the *.plx configuration file to the MMlite build directory

Simulating EB63 with HostFS 4. Run Microsoft Giano in the Command Line with the following in the location of the Eb63.plx file: giano.exe –Platform Eb63.plx FLASH::PermanentStorage eb63.bin

Simulating EB63 with HostFS

5. Run serplexd.exe from the MMlite build directory bin.

Simulating EB63 with HostFS 6.After a short time you should see the ‘Done Prompt’ to inform you that it has completed loading the first program from HostFS

Procedure #6 Installing Giano Running Simulations in Giano from Visio Running Simulations from the Command Line Connecting to Simulations using Serplexd Simulating EB63 with HostFS Creating/modifying a configuration Creating a new Giano module

Creating/modifying a Configuration 1- Start Visio and select File::New::Electrical Engineering::Giano Configurations or.. 1a- Open an existing.VSD configuration Note: the.plx file is just XML, you can edit it directly but Visio is much easier

Creating/modifying a Configuration

2- Drag&drop new objects from “Giano Shapes” to your configuration

Creating/modifying a Configuration

3- Connect objects with the “Connector Tool”:

Creating/modifying a Configuration

4- Edit an object properties by selecting it and working on the “Custom Properties” 5- Add/Remove properties by right-clicking on the Custom Properties and selecting “Define Properties”

Creating/modifying a Configuration

6- Save your new configuration with File::SaveAs 7- Create your.PLX file by right-clicking on a CPU module and selecting “Create the Simulation Configuration File” 8- Run your new configuration

Creating/modifying a Configuration

Procedure #7 Installing Giano Running Simulations in Giano from Visio Running Simulations from the Command Line Connecting to Simulations using Serplexd Simulating EB63 with HostFS Creating/modifying a configuration Creating a new Giano module

1- Create a suitable new object in your configuration and change the “Implementation” property to the name of your new device, such as “MyDevice” Note: We will create a new Device object. Busses, CPUs and memories are similar

Creating a new Giano module

2- Go to the Peripherals folder and copy the template file Unknown.cpp to MyDevice.cpp 3- Edit the file as needed to implement your functionality Note: To debug you should build Giano for debugging with “nmake clean debug”

Creating a new Giano module

4- Edit the Peripherals\makefile to build your module along with the others

Creating a new Giano module

5- Rebuild from the top with “nmake debug”

Creating a new Giano module

6- Copy your module in the installation directory 7- Add the “DebugFlags” property to your device and try out your configuration

Creating a new Giano module