edge™ developer’s suite evaluation getting started...

32
EDGE™ Developer’s Suite Evaluation Getting Started Guide Version 1.0 Part Number 0001985-002 December 2009 Document Revision 300 © 2009 Mentor Graphics Corporation All rights reserved. This document contains information that is proprietary to Mentor Graphics Corporation. The original recipient of this document may duplicate this document in whole or in part for internal business purposes only, provided that this entire notice appears in all copies. In duplicating any part of this document, the recipient agrees to make every reasonable effort to prevent the unauthorized use and distribution of the proprietary information.

Upload: others

Post on 26-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE™ Developer’s Suite Evaluation Getting Started Guide

Version 1.0

Part Number 0001985-002

December 2009

Document Revision 300

© 2009 Mentor Graphics CorporationAll rights reserved.

This document contains information that is proprietary to Mentor Graphics Corporation. The original recipient of thisdocument may duplicate this document in whole or in part for internal business purposes only, provided that this entirenotice appears in all copies. In duplicating any part of this document, the recipient agrees to make every reasonableeffort to prevent the unauthorized use and distribution of the proprietary information.

Page 2: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

This document is for information and instruction purposes. Mentor Graphics reserves the right to make changes in specifications and other information contained in this publication without prior notice, and the reader should, in all cases, consult Mentor Graphics to determine whether any changes have been made.

The terms and conditions governing the sale and licensing of Mentor Graphics products are set forth in written agreements between Mentor Graphics and its customers. No representation or other affirmation of fact contained in this publication shall be deemed to be a warranty or give rise to any liability of Mentor Graphics whatsoever.

MENTOR GRAPHICS MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

MENTOR GRAPHICS SHALL NOT BE LIABLE FOR ANY INCIDENTAL, INDIRECT, SPECIAL, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING BUT NOT LIMITED TO LOST PROFITS) ARISING OUT OF OR RELATED TO THIS PUBLICATION OR THE INFORMATION CONTAINED IN IT, EVEN IF MENTOR GRAPHICS CORPORATION HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

RESTRICTED RIGHTS LEGEND 03/97

U.S. Government Restricted Rights. The SOFTWARE and documentation have been developed entirely at private expense and are commercial computer software provided with restricted rights. Use, duplication or disclosure by the U.S. Government or a U.S. Government subcontractor is subject to the restrictions set forth in the license agreement provided with the software pursuant to DFARS 227.7202-3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer Software - Restricted Rights clause at FAR 52.227-19, as applicable.

Contractor/manufacturer is:Mentor Graphics Corporation

8005 S.W. Boeckman Road, Wilsonville, Oregon 97070-7777.Telephone: 503.685.7000

Toll-Free Telephone: 800.592.2210Website: www.mentor.com

SupportNet: supportnet.mentor.com/Send Feedback on Documentation: supportnet.mentor.com/user/feedback_form.cfm

TRADEMARKS: The trademarks, logos and service marks ("Marks") used herein are the property of Mentor Graphics Corporation or other third parties. No one is permitted to use these Marks without the prior written consent of Mentor Graphics or the respective third-party owner. The use herein of a third-party Mark is not an attempt to indicate Mentor Graphics as a source of a product, but is intended to indicate a product from, or associated with, a particular third party. A current list of Mentor Graphics’ trademarks may be viewed at: www.mentor.com/terms_conditions/trademarks.cfm.

Page 3: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 3December 2009

Table of Contents

Chapter 1Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5EDGE Developer Suite System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Additional Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Installing the Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Installing Your License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Configuring the Nucleus NET Pcap Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Chapter 2Evaluating Nucleus OS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Using the Nucleus PLUS Demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Building the Nucleus PLUS Demonstration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Debugging the Nucleus PLUS Demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Running the Nucleus PLUS Demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Using the Server Demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Building the Server Demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Debugging the Server Demonstration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Running the Server Demonstration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Chapter 3Evaluating EDGE Developer Suite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Using the EDGE SimTest Cell Phone Demonstration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Building the Cell Phone Demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Debugging the Cell Phone Demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Running the Cell Phone Demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Using the EDGE Profiler Demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Building the Profiler Demonstration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Debugging the Profiler Demonstration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Running the Profiler Demonstration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Creating the Profiler Demonstration Launch Configuration . . . . . . . . . . . . . . . . . . . . . . . 27

End-User License Agreement

Page 4: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 4December 2009

List of Figures

Figure 1-1. Select Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Figure 2-1. Opening plus_demo.c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Figure 2-2. Setting a BreakPoint - Step One . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Figure 2-3. Setting a BreakPoint - Step Two. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Figure 2-4. Setting a BreakPoint - Step Three. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Figure 2-5. OS Kernel View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Figure 2-6. DOS Window with Demo Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Figure 3-1. Initial demo.hmi View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Figure 3-2. Start and terminate Buttons in demo.hmi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Figure 3-3. Cell Phones Displayed in demo.hmi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Figure 3-4. Cell Phones Placing and Receiving a Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Figure 3-5. DOS Window with Demo Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Figure 3-6. EDGE Profile Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Figure 3-7. EDGE System Profiler Perspective Showing Data Flow . . . . . . . . . . . . . . . . . . 26Figure 3-8. Selecting profile_demo in Control Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

Page 5: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 5December 2009

Chapter 1Installation

CautionFor existing EDGE users: Do not use this evaluation if you currently have EDGE installed. Contact [email protected] to obtain an evaluation to use in your environment.

OverviewThe Mentor Graphics’ EDGE Developer’s Suite Evaluation lets you explore the capability of the Nucleus OS products (Nucleus Kernel, Nucleus Storage & Database, and Nucleus Networking) and the EDGE Developer Suite (EDGE IDE, EDGE Compiler, EDGE Debugger, EDGE SimTest (virtual software development environment), and EDGE Profiler). EDGE Debugger is used in all of the demonstrations in this evaluation. To help facilitate the evaluation, four application demonstrations have been provided:

Nucleus PLUS Demonstration

The Nucleus PLUS demonstration helps you evaluate the capabilities of the Nucleus Kernel. Nucleus PLUS is a real-time, preemptive, multitasking kernel designed for time-critical embedded applications.

Server Demonstration

The Server demonstration helps you evaluate the features and functionality of the Nucleus IP-based Networking products and how they interact with the Nucleus Kernel and Nucleus Storage & Database products. This demonstration uses Nucleus PLUS (Nucleus Kernel), Nucleus FILE (a Nucleus Storage & Database product) and the following Nucleus Networking products: Nucleus NET, Nucleus WebServ, and Nucleus Extended Protocol Package.

EDGE SimTest Cell Phone Demonstration

The EDGE SimTest Cell Phone demonstration helps you evaluate the simulation capabilities of EDGE SimTest by illustrating two cell phones communicating with each other via a simulated GSM network. This demonstration is also an example of multi-target execution. It provides you with a way to build a system where a process can have many running instances at the same time.

EDGE Profiler Demonstration

The EDGE Profiler demonstration helps you evaluate the capabilities of the Profiler by simulating some of the characteristics of a camcorder. This demonstration

Page 6: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.06

InstallationEDGE Developer Suite System Requirements

December 2009

simulates a video recorder that is built using the Nucleus OS and provides data to analyze the resolution, frames recorded, frame compression, and system behavior over time. It uses Nucleus PLUS (Nucleus Kernel), Nucleus NET (Nucleus Networking product), and Nucleus FILE (a Nucleus Storage & Database product).

This manual provides you with instructions for building, running, and debugging all four demonstrations. Once you have completed the installation and configuration in this chapter, you can complete any of the four demonstrations described in this document to perform your evaluation of these products.

EDGE Developer Suite System RequirementsYour system must meet the following requirements:

Windows XP

Ethernet Networking Interface Card (NIC) - wireless not supported

Network connection

Minimum Intel Pentium 4 Processor @ 1.50GHz (or equivalent), recommended Intel Pentium 4 Dual-Core Processor @ 2.00GHz (or equivalent)

Minimum 2 GB free disk space, recommended 4 GB

Minimum 1 GB RAM, recommended 2 GB

Additional DocumentationAfter installation, the EDGE Developer’s Suite Evaluation package will include documentation for each of the Nucleus products in the default installation location: c:/mgc/embedded/simtest/nucleus_bundle/docs. You can also use the EDGE Developer Suite online help. To access this, in EDGE, click Help > Help Contents.

NoteBe sure to complete the following sections in the order they appear in this document.

Installing the EvaluationTo install the EDGE Developer’s Suite Tools Evaluation, perform the following steps:

1. Click the EDGE Developer’s Suite Trial Software link in the email you received when you signed up for the trial.

Page 7: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

InstallationInstalling Your License

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 7December 2009

NoteBe sure to copy the activation key that is provided in this email. You will need it to complete the installation process.

2. Save the resulting .zip file to your local directory.

3. Unzip the downloaded file, then, double-click the executable (.exe) file.

4. Click Next in the Introduction screen.

5. Enter the activation key from the EDGE Developer’s Suite Trial email you received and click Next.

6. Ensure all products are selected, then, click Next.

7. In the Release Notes screen, click Next.

8. Accept the three license agreements and click Next for each one.

9. Accept the default installation location and click Next.

10. Click Install.

11. When the WinPcap 3.1 installation wizard screen appears, click Next.

12. Click I Agree.

13. Click Finish.

NoteA redistributable file installer is also run during the EDGE installation, but no interaction is required with it.

14. A message appears stating you must reboot your PC to complete the installation. Click OK.

15. Click Finish in the EDGE installation wizard.

16. Reboot your PC.

Tip: To avoid performance delays, disable your computer’s security software before you run these demonstrations.

Installing Your LicenseTo install your EDGE license file, copy the license.dat file attached to your confirmation email and paste it into c:/mgc/embedded/license. A warning message appears that states you are about to overwrite an existing license file. Click Yes to continue.

Page 8: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.08

InstallationConfiguring the Nucleus NET Pcap Driver

December 2009

Configuring the Nucleus NET Pcap DriverNoteThis configuration is only required for the Server demonstration and the EDGE Profiler demonstration.

Before debugging the project, you must configure the Nucleus NET Pcap driver. The WinPcap Nucleus NET driver for EDGE SimTest enables embedded applications that are run under the simulation environment to access Ethernet (IEEE 802.3) Local Area Networks using the standard Ethernet Network Interface Cards (NIC) of your workstation.

To configure the Nucleus NET Pcap driver, perform the following steps:

1. Click Start > Programs > Mentor Graphics > EDGE SimTest > WinPcap Configuration. The NETSIM Pcap Driver Configurator dialog box appears.

2. Under Ethernet interface 1, click Change. The Select Interface dialog box appears.

3. Select the appropriate interface for your system (for example, Broadcom NetXtreme Gigabit Ethernet Driver) as shown in Figure 1-1. Wireless is not supported.

Figure 1-1. Select Interface

4. Click OK. The NETSIM Pcap Driver Configurator dialog box is now populated with the correct Ethernet information.

5. Click OK again to complete the configuration. You are now ready to build a demonstration project.

To evaluate Nucleus OS products, see Chapter 2, Evaluating Nucleus OS.

To evaluate EDGE Developer Suite, see Chapter 3, Evaluating EDGE Developer Suite.

Page 9: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 9December 2009

Chapter 2Evaluating Nucleus OS

To evaluate the Nucleus OS products, you can complete the Server demonstration and/or the Nucleus PLUS demonstration. Each demonstration highlights different features of the Nucleus OS.

To evaluate the EDGE Developer Suite, see Chapter 3, Evaluating EDGE Developer Suite.

Using the Nucleus PLUS DemonstrationThe Nucleus PLUS demonstration helps you evaluate the capabilities of the Nucleus Kernel. Nucleus PLUS is a real-time, preemptive, multitasking kernel designed for time-critical embedded applications.

This section describes how to debug and run the Nucleus PLUS demonstration.

NoteBe sure to complete the following sections in the order they appear in this document.

Building the Nucleus PLUS DemonstrationTo build a demonstration project, perform the following steps:

1. Launch EDGE from the Start menu by clicking Programs > Mentor Graphics > EDGE > EDGE. If EDGE is already open, you can skip to step 4.

2. When you launch EDGE for the first time, a dialog box appears that states Nucleus was recently installed and asks if you would like to import the Nucleus projects. Click Yes.

3. If the Welcome screen appears, click Workbench. The EDGE Projects perspective is now displayed.

4. In the Navigator view, right-click the plus_demo project and select Build Project.

EDGE compiles all the source files in the project when a build command is issued. The Build Console view displays the build results. Use this view to confirm that no build errors are present in the build. Error messages are displayed in red text.

Page 10: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.010

Evaluating Nucleus OSUsing the Nucleus PLUS Demonstration

December 2009

Debugging the Nucleus PLUS DemonstrationTo set up the debug environment for the Nucleus PLUS demonstration, perform the following steps.

1. In the Navigator view, right-click plus_demo.

2. In the dropdown menu, select Debug As > 1 EDGE Application.

3. Minimize the DOS window that appears.

Now, you are ready to run the Nucleus PLUS demonstration.

Running the Nucleus PLUS DemonstrationTo run the Nucleus PLUS demonstration, perform the following steps:

1. Set a breakpoint. To do this, in the Navigator view, expand plus_demo and double-click plus_demo.c to open it as shown in Figure 2-1.

NoteThe arrangement of your views may look different than the examples used in this guide.

Figure 2-1. Opening plus_demo.c

Page 11: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

Evaluating Nucleus OSUsing the Nucleus PLUS Demonstration

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 11December 2009

2. In plus_demo.c, scroll down to the first while loop on line 324 under the function Task_0_Entry. Note the line number is located in the bottom right-hand portion of the EDGE workspace window.

3. Right-click the circle to the left of the following line:

NU_Sleep (NU_PLUS_TICKS_PER_SEC);

Figure 2-2. Setting a BreakPoint - Step One

Page 12: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.012

Evaluating Nucleus OSUsing the Nucleus PLUS Demonstration

December 2009

4. Select Add BreakPoint as shown in Figure 2-3.

Figure 2-3. Setting a BreakPoint - Step Two

Page 13: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

Evaluating Nucleus OSUsing the Nucleus PLUS Demonstration

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 13December 2009

5. A breakpoint is now set as shown in Figure 2-4.

Figure 2-4. Setting a BreakPoint - Step Three

6. In the Debug view, click the Resume button ( ).

7. When the breakpoint is hit, debugging is suspended. Now, you can view kernel information in the OS Kernel view. To do this, click Window > Show View > Other. Expand EDGE Debugger and select OS Kernel.

8. Click OK.

9. Expand Tasks as shown in Figure 2-5.

Figure 2-5. OS Kernel View

Now, you can see all of the details for each task. You can also view other kernel object information, such as semaphores and queues, in the OS Kernel view. To do this, simply expand the object you want to display.

Page 14: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.014

Evaluating Nucleus OSUsing the Nucleus PLUS Demonstration

December 2009

If you would like more information on the OS Kernel view or breakpoints, see the EDGE help documentation. To do this, click Help > Help Contents. Then, under the Contents pane of the Help window, expand EDGE and expand EDGE User’s Manual. You can search for the OS Kernel view and breakpoint information under EDGE Debugger.

When you have finished evaluating this demonstration, in the Debug view, click the Terminate button . Also, close the OS Kernel view by right-clicking the tab and selecting Close in the dropdown menu.

To evaluate additional features of the Nucleus OS products, see Using the Server Demonstration.

Page 15: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

Evaluating Nucleus OSUsing the Server Demonstration

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 15December 2009

Using the Server DemonstrationThe Server demonstration helps you evaluate the features and functionality of the Nucleus IP-based Networking products and how they interact with the Nucleus Kernel and Nucleus Storage & Database products.

This section describes how to debug and run the server demonstration.

NoteBe sure to complete the following sections in the order they appear in this document.

Building the Server DemonstrationNow, you are ready to build a demonstration project. To do this perform the following steps:

1. Launch EDGE from the Start menu by clicking Programs > Mentor Graphics > EDGE > EDGE. If EDGE is already open, you can skip to step 4.

2. When you launch EDGE for the first time, a dialog box appears that states Nucleus was recently installed and asks if you would like to import the Nucleus projects. Click Yes.

3. If the Welcome screen appears, click Workbench. The EDGE Projects perspective is now displayed.

4. In the Navigator view, expand the server_demo project.

5. Double-click net_dev_defs.h to open it.

6. Locate the DEV_NET_MAC_ADDRESS macro.

7. In the macro definition, change the code “0x41” to “0x##” where ## is any double-digit hexadecimal number, 00-FF, and save the file.

8. In the Navigator view, right-click the server_demo project and select Build Project.

EDGE compiles all the source files in the project when a build command is issued. The Build Console view displays the build results. Use this view to confirm that no build errors are present in the build. Error messages are displayed in red text.

Debugging the Server Demonstration

CautionBefore you continue, you must complete the steps in Configuring the Nucleus NET Pcap Driver in Chapter 1 Installation if you have not already done so.

To set up the debug environment for the Server demonstration, perform the following steps:

Page 16: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.016

Evaluating Nucleus OSUsing the Server Demonstration

December 2009

1. In the Navigator view, right-click server_demo.

2. In the dropdown menu, select Debug As > 1 EDGE Application.

3. Minimize the DOS window that appears.

Now, you are ready to run the Server demonstration.

Running the Server DemonstrationTo run the Server demonstration, perform the following steps.

NoteIf during application start-up, you receive an EXCEPTION_ACCESS_VIOLATION error, disable your computer’s security software to proceed.

1. In the Debug view, click the Resume ( ) button to run the Server demonstration. Also, maximize the DOS window. This demonstration uses DHCP to acquire an IP address. After a few seconds, once the address is acquired, the DOS window is populated with information including the IP address you will use to view the demo output in a Web browser (Figure 2-6).

Tip: Be sure to copy or write down this IP address. You will use it in the next step.

Figure 2-6. DOS Window with Demo Information

Page 17: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

Evaluating Nucleus OSUsing the Server Demonstration

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 17December 2009

2. Open a Web browser and enter the IP address preceded by “http://” (for example, http://192.168.30.40) provided in your DOS window into the URL address field, then press Enter. The Server demonstration appears in the Web browser.

3. There are other tests you can execute, but here we are using POST as an example. Click the arrow in the Web page next to POST to execute a test.

4. Select the CREATE_DUMMY_TASK radio button, then click Submit.

5. Enter the following login information:

Username: john

Password: doe

You can select the other tasks to execute additional tests.

When you have finished evaluating this demonstration close the Web browser and, in the Debug view, click the Terminate button .

To evaluate additional features of the Nucleus OS products, see Using the Nucleus PLUS Demonstration.

Page 18: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.018

Evaluating Nucleus OSUsing the Server Demonstration

December 2009

Page 19: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 19December 2009

Chapter 3Evaluating EDGE Developer Suite

To evaluate EDGE Developer Suite, you can complete the EDGE Profiler demonstration or the EDGE SimTest Cell Phone demonstration. Each demonstration highlights different features of EDGE.

Using the EDGE SimTest Cell Phone Demonstration

EDGE SimTest is a hardware simulation and test automation tool with an advanced human machine interface for embedded development tools. It lets you use a workstation to test embedded software even when the hardware is not available.

This section describes how to debug and run the EDGE SimTest Cell Phone demonstration.

NoteBe sure to complete the following sections in the order they appear in this document.

Building the Cell Phone DemonstrationTo build the EDGE SimTest Cell Phone demonstration, perform the following steps:

1. Launch EDGE from the Start menu by clicking Programs > Mentor Graphics > EDGE > EDGE. If EDGE is already open, you can skip to step 4.

2. When you launch EDGE for the first time, a dialog box appears that states Nucleus was recently installed and asks if you would like to import the Nucleus projects. Click Yes.

3. If the Welcome screen appears, click Workbench. The EDGE Projects perspective is now displayed.

4. In the Navigator view, right-click Cellphone_Demo_SimTest and click Build Project.

Debugging the Cell Phone DemonstrationTo set up the debug environment for the EDGE SimTest Cell Phone demonstration, perform the following steps:

1. In the Navigator view, expand Cellphone_Demo_SimTest and double-click demo.hmi to open it. A demo.hmi view opens as shown in Figure 3-1.

Page 20: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.020

Evaluating EDGE Developer SuiteUsing the EDGE SimTest Cell Phone Demonstration

December 2009

Figure 3-1. Initial demo.hmi View

2. Scroll to the bottom right-hand side of the demo.hmi view and click the red Terminate button first, then click the green Start button (see Figure 3-2).

Figure 3-2. Start and terminate Buttons in demo.hmi

CautionIf a debug error dialog box appears while you are debugging, click Abort and return to step 1.

3. In the Navigator view, right-click Cellphone_Demo_SimTest.

Page 21: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

Evaluating EDGE Developer SuiteUsing the EDGE SimTest Cell Phone Demonstration

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 21December 2009

4. In the dropdown menu, select Debug As > 1 EDGE Application.

5. Minimize the DOS window that appears.

Now, you are ready to run the EDGE SimTest Cell Phone demonstration.

Running the Cell Phone DemonstrationTo run the EDGE SimTest Cell Phone demonstration, perform the following steps.

CautionIf a debug error dialog box appears while you are running the demonstration, click Abort and return to step 1 in Debugging the Cell Phone Demonstration.

1. In the Debug view of the EDGE Debug perspective, click the Resume ( ) button.

2. In the Navigator view, expand Cellphone_Demo_SimTest, if it is not already expanded. Then, double-click demo.hmi to display the demo.hmi view containing two cell phones as shown in Figure 3-3.

Figure 3-3. Cell Phones Displayed in demo.hmi

3. Click the power button (see Figure 3-3) on each phone to power them up.

4. Enter a PIN code for each phone. This code can be any number from one to four digits.

5. Click the Enter button (See Figure 3-3) on both phones. Now, the phones are ready to communicate with each other.

Page 22: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.022

Evaluating EDGE Developer SuiteUsing the EDGE SimTest Cell Phone Demonstration

December 2009

NoteYou can use the brightness slider (see Figure 3-3) on the side of each phone to adjust the display’s brightness. Scroll up to decrease the brightness and scroll down to increase it.

6. Click the Enter button on a phone to display a menu. This demonstration currently has one menu item called Read SMS.

7. Click Enter again to select this menu item. The cell phone displays “No Messages.”

8. Click the Clear ( ) button to clear the screen and return to the main display.

9. To place a call, enter 5002 (the number for the other cell phone) using the keypad of phone 5001.

10. Click the Enter button. Phone 5002 receives the call from 5001 as shown in Figure 3-4.

Figure 3-4. Cell Phones Placing and Receiving a Call

11. On phone 5002, click Enter to answer the call. Both the phones are now connected.

12. To end the call, click Enter on each phone to hang up.

Once you have completed your evaluation of the Cell Phone demonstration, you can end the debugging session by clicking the red Terminate button (See Figure 3-2) in the demo.hmi view.

To evaluate additional features of EDGE Developer Suite, see Using the EDGE Profiler Demonstration.

Page 23: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

Evaluating EDGE Developer SuiteUsing the EDGE Profiler Demonstration

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 23December 2009

Using the EDGE Profiler DemonstrationThe EDGE Profiler allows you to capture, store, and analyze data about kernel objects and system events for applications built on Nucleus kernels. It improves performance, detects flaws in real-time logic, and maximizes system understanding by running on the target hardware and capturing real-time behavior. The EDGE profiler demonstration analyzes some of the events that occur on a camcorder. This shows how you can analyze the frames that are recorded over time.

This section describes how to debug and run the EDGE Profiler demonstration.

NoteBe sure to complete the following sections in the order they appear in this document.

Building the Profiler DemonstrationTo build the EDGE Profiler demonstration, perform the following steps:

1. Launch EDGE from the Start menu by clicking Programs > Mentor Graphics > EDGE > EDGE. If EDGE is already open, you can skip to step 4.

2. When you launch EDGE for the first time, a dialog box appears that states Nucleus was recently installed and asks if you would like to import the Nucleus projects. Click Yes.

3. If the Welcome screen appears, click Workbench. The EDGE Projects perspective is now displayed.

4. In the Navigator view, expand the profile_demo project.

5. Double-click demoi.c to open it.

6. Locate the DEMOI_MAC_ADDR macro.

7. In the macro definition, change the code “0x40” to “0x##” where ## is any double-digit hexadecimal number, 00-FF, and save the file.

8. In the Navigator view, right-click profile_demo and click Build Project.

Debugging the Profiler Demonstration

CautionBefore you continue, you must complete the steps in Configuring the Nucleus NET Pcap Driver in Chapter 1 if you have not already done so.

To set up the debug environment for the EDGE Profiler demonstration, perform the following steps:

Page 24: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.024

Evaluating EDGE Developer SuiteUsing the EDGE Profiler Demonstration

December 2009

1. In the Navigator view, right-click profile_demo.

2. In the dropdown menu, select Debug As > 1 EDGE Application.

3. Minimize the DOS window that appears.

Now, you are ready to run the EDGE Profiler demonstration.

Running the Profiler Demonstration

NoteBe sure to turn off Google™ Desktop search before running this demonstration.

To run the Profiler demonstration, perform these steps:

1. In the Debug view of the EDGE Debug perspective, click the Resume ( ) button. Also, maximize the DOS window. After a few seconds, the DOS window is populated with information including the IP address you will use to view the demo output in the profiler. You may need to maximize the DOS window. (See Figure 3-5)

Tip: Be sure to copy or write down this IP address. You will use it in subsequent steps.

Figure 3-5. DOS Window with Demo Information

At this point the Profiler demonstration (and the Nucleus Agent) is running and is waiting for a connection from the EDGE System Profiler.

2. Open the EDGE Profiler perspective. To do this, click Window > Open Perspective > EDGE System Profiler .

Page 25: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

Evaluating EDGE Developer SuiteUsing the EDGE Profiler Demonstration

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 25December 2009

3. In the Profiling Monitor view, be sure the Link with Viewer ( ) button is selected.

4. Click the Command tab to display the Command view.

5. At the EDGE prompt, type the following ETS command where <IP address> is the IP address you copied from your DOS window, for example, “ets /connect=udp,192.168.30.40:8627”:

EDGE>ets /connect=udp,<IP address>:8627

6. Press Enter.

7. Click Run > Profile.

If you did not install this evaluation to the default directory, see Creating the Profiler Demonstration Launch Configuration to create the Profiler demonstration launch configuration. Once you have created the launch configuration, proceed to step 9.

If you did install to the default location, proceed to step 8.

8. In the Profile dialog, expand EDGE Profiler and click profile_demo as shown in Figure 3-6.

Figure 3-6. EDGE Profile Configuration

9. Click Apply, then Profile.

10. Now that you have successfully connected to the Agent, you can start monitoring the EDGE transport for profiler events. To do this, in the Profiling Monitor view, click the Start Monitoring ( ) button.

Page 26: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.026

Evaluating EDGE Developer SuiteUsing the EDGE Profiler Demonstration

December 2009

The EDGE Agent Control view is populated with real-time filters you can enable and disable.

11. In the EDGE Agent Control view, expand the event if it is not already expanded.

12. Scroll to PD Log Frame Recorded, click the plus symbol to expand it. Then, click anywhere in the Profiling Monitor view. PD Log Frame Recorded expands to display its attributes.

13. Under PD Log Frame Recorded, click the Frame Number, Horizontal Resolution, and Log check boxes to select them. As soon as you select an attribute’s check box, data begins to flow immediately.

Figure 3-7. EDGE System Profiler Perspective Showing Data Flow

For a more detailed look at your attributes in the Statistical Graph view, you can expand the vertical axis. To do this, click on the axis and drag it to the desired height.

Page 27: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

Evaluating EDGE Developer SuiteUsing the EDGE Profiler Demonstration

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.0 27December 2009

14. The logs of various events are displayed in the Log view. This view allows you to see the properties and values of individual log records. To view these properties, double-click a log record to display the Properties view.

15. To generate CPU Usage reports and log reports, click the New Report ( ) button in the Log view. For detailed instructions on creating reports, see the EDGE Profiler User’s Manual located in the EDGE help. To access the help, click Help > Help Contents. Then, in the Contents pane, expand EDGE.

Once you have completed your evaluation of the Profiler demonstration, you can end the profiling session by performing the following steps:

1. Click the Terminate ( ) button in the Profiling Monitor view.

2. Close the EDGE System Profiler perspective by right-clicking the tab and selecting Close from the dropdown menu.

3. A dialog box appears asking you if you want to save your profiling session data.

4. Click Yes or No.

5. Click the Terminate ( ) button in the Debug view.

NoteYou only need to complete the next section if you did not install the Nucleus OS and Developer Tools Evaluation to the default location. See step 7 in Running the Profiler Demonstration.

Creating the Profiler Demonstration Launch Configuration

To create the Profiler demonstration launch configuration, perform the following steps:

1. In the Profile dialog, click EDGE Profiler, then, click the New ( ) button.

2. Click the Agent tab.

3. Click EDGE Profiler Agent.

4. Click the Control tab.

5. Click the Include System Events and the Include User Defined Events check boxes to select them.

6. In the Profiler Event Definition Files field, click profile_demo.

Page 28: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

EDGE Developer’s Suite Evaluation Getting Started Guide, V1.028

Evaluating EDGE Developer SuiteUsing the EDGE Profiler Demonstration

December 2009

Figure 3-8. Selecting profile_demo in Control Tab

To evaluate additional features of EDGE Developer Suite, see Using the EDGE SimTest Cell Phone Demonstration.

Page 29: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

End-User License AgreementThe latest version of the End-User License Agreement is available on-line at:

www.mentor.com/terms_conditions/enduser

END-USER LICENSE AGREEMENT (“Agreement”)

This is a legal agreement concerning the use of Software (as defined in Section 2) between the company acquiringthe license (“Customer”), and the Mentor Graphics entity that issued the corresponding quotation or, if noquotation was issued, the applicable local Mentor Graphics entity (“Mentor Graphics”). Except for licenseagreements related to the subject matter of this license agreement which are physically signed by Customer and anauthorized representative of Mentor Graphics, this Agreement and the applicable quotation contain the parties'entire understanding relating to the subject matter and supersede all prior or contemporaneous agreements. IfCustomer does not agree to these terms and conditions, promptly return or, if received electronically, certifydestruction of Software and all accompanying items within five days after receipt of Software and receive a fullrefund of any license fee paid.

1. ORDERS, FEES AND PAYMENT.

1.1. To the extent Customer (or if and as agreed by Mentor Graphics, Customer’s appointed third party buying agent) places andMentor Graphics accepts purchase orders pursuant to this Agreement (“Order(s)”), each Order will constitute a contractbetween Customer and Mentor Graphics, which shall be governed solely and exclusively by the terms and conditions of thisAgreement, any applicable addenda and the applicable quotation, whether or not these documents are referenced on theOrder. Any additional or conflicting terms and conditions appearing on an Order will not be effective unless agreed inwriting by an authorized representative of Customer and Mentor Graphics.

1.2. Amounts invoiced will be paid, in the currency specified on the applicable invoice, within 30 days from the date of suchinvoice. Any past due invoices will be subject to the imposition of interest charges in the amount of one and one-halfpercent per month or the applicable legal rate currently in effect, whichever is lower. Prices do not include freight,insurance, customs duties, taxes or other similar charges, which Mentor Graphics will invoice separately. Unless providedwith a certificate of exemption, Mentor Graphics will invoice Customer for all applicable taxes. Customer will make allpayments free and clear of, and without reduction for, any withholding or other taxes; any such taxes imposed on paymentsby Customer hereunder will be Customer’s sole responsibility. Notwithstanding anything to the contrary, if Customerappoints a third party to place purchase orders and/or make payments on Customer’s behalf, Customer shall be liable forpayment under such orders in the event of default by the third party.

1.3. All products are delivered FCA factory (Incoterms 2000) except Software delivered electronically, which shall be deemeddelivered when made available to Customer for download. Mentor Graphics retains a security interest in all productsdelivered under this Agreement, to secure payment of the purchase price of such products, and Customer agrees to sign anydocuments that Mentor Graphics determines to be necessary or convenient for use in filing or perfecting such securityinterest. Mentor Graphics’ delivery of Software by electronic means is subject to Customer’s provision of both a primaryand an alternate e-mail address.

2. GRANT OF LICENSE. The software installed, downloaded, or otherwise acquired by Customer under this Agreement,including any updates, modifications, revisions, copies, documentation and design data (“Software”) are copyrighted, tradesecret and confidential information of Mentor Graphics or its licensors, who maintain exclusive title to all Software and retainall rights not expressly granted by this Agreement. Mentor Graphics grants to Customer, subject to payment of applicablelicense fees, a nontransferable, nonexclusive license to use Software solely: (a) in machine-readable, object-code form; (b) forCustomer’s internal business purposes; (c) for the term; and (d) on the computer hardware and at the site authorized by MentorGraphics. A site is restricted to a one-half mile (800 meter) radius. Customer may have Software temporarily used by anemployee for telecommuting purposes from locations other than a Customer office, such as the employee's residence, an airportor hotel, provided that such employee's primary place of employment is the site where the Software is authorized for use.Mentor Graphics’ standard policies and programs, which vary depending on Software, license fees paid or services purchased,apply to the following: (a) relocation of Software; (b) use of Software, which may be limited, for example, to execution of asingle session by a single user on the authorized hardware or for a restricted period of time (such limitations may be technicallyimplemented through the use of authorization codes or similar devices); and (c) support services provided, including eligibilityto receive telephone support, updates, modifications, and revisions. For the avoidance of doubt, if Customer requests any changeor enhancement to Software, whether in the course of receiving support or consulting services, evaluating Software or

IMPORTANT INFORMATION

USE OF THIS SOFTWARE IS SUBJECT TO LICENSE RESTRICTIONS. CAREFULLY READ THIS LICENSE AGREEMENT BEFORE USING THE SOFTWARE. USE OF SOFTWARE INDICATES YOUR COMPLETE AND UNCONDITIONAL ACCEPTANCE OF THE TERMS AND CONDITIONS SET FORTH

IN THIS AGREEMENT. ANY ADDITIONAL OR DIFFERENT PURCHASE ORDER TERMS AND CONDITIONS SHALL NOT APPLY.

Page 30: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

otherwise, any inventions, product improvements, modifications or developments made by Mentor Graphics (at MentorGraphics’ sole discretion) will be the exclusive property of Mentor Graphics.

3. ESC SOFTWARE. If Customer purchases a license to use development or prototyping tools of Mentor Graphics’ EmbeddedSoftware Channel (“ESC”), Mentor Graphics grants to Customer a nontransferable, nonexclusive license to reproduce anddistribute executable files created using ESC compilers, including the ESC run-time libraries distributed with ESC C and C++compiler Software that are linked into a composite program as an integral part of Customer’s compiled computer program,provided that Customer distributes these files only in conjunction with Customer’s compiled computer program. MentorGraphics does NOT grant Customer any right to duplicate, incorporate or embed copies of Mentor Graphics’ real-time operatingsystems or other embedded software products into Customer’s products or applications without first signing or otherwiseagreeing to a separate agreement with Mentor Graphics for such purpose.

4. BETA CODE.

4.1. Portions or all of certain Software may contain code for experimental testing and evaluation (“Beta Code”), which may notbe used without Mentor Graphics’ explicit authorization. Upon Mentor Graphics’ authorization, Mentor Graphics grants toCustomer a temporary, nontransferable, nonexclusive license for experimental use to test and evaluate the Beta Codewithout charge for a limited period of time specified by Mentor Graphics. This grant and Customer’s use of the Beta Codeshall not be construed as marketing or offering to sell a license to the Beta Code, which Mentor Graphics may choose not torelease commercially in any form.

4.2. If Mentor Graphics authorizes Customer to use the Beta Code, Customer agrees to evaluate and test the Beta Code undernormal conditions as directed by Mentor Graphics. Customer will contact Mentor Graphics periodically during Customer’suse of the Beta Code to discuss any malfunctions or suggested improvements. Upon completion of Customer’s evaluationand testing, Customer will send to Mentor Graphics a written evaluation of the Beta Code, including its strengths,weaknesses and recommended improvements.

4.3. Customer agrees that any written evaluations and all inventions, product improvements, modifications or developments thatMentor Graphics conceived or made during or subsequent to this Agreement, including those based partly or wholly onCustomer’s feedback, will be the exclusive property of Mentor Graphics. Mentor Graphics will have exclusive rights, titleand interest in all such property. The provisions of this Subsection 4.3 shall survive termination of this Agreement.

5. RESTRICTIONS ON USE.

5.1. Customer may copy Software only as reasonably necessary to support the authorized use. Each copy must include allnotices and legends embedded in Software and affixed to its medium and container as received from Mentor Graphics. Allcopies shall remain the property of Mentor Graphics or its licensors. Customer shall maintain a record of the number andprimary location of all copies of Software, including copies merged with other software, and shall make those recordsavailable to Mentor Graphics upon request. Customer shall not make Software available in any form to any person otherthan Customer’s employees and on-site contractors, excluding Mentor Graphics competitors, whose job performancerequires access and who are under obligations of confidentiality. Customer shall take appropriate action to protect theconfidentiality of Software and ensure that any person permitted access does not disclose or use it except as permitted bythis Agreement. Log files, data files, rule files and script files generated by or for the Software (collectively “Files”)constitute and/or include confidential information of Mentor Graphics. Customer may share Files with third partiesexcluding Mentor Graphics competitors provided that the confidentiality of such Files is protected by written agreement atleast as well as Customer protects other information of a similar nature or importance, but in any case with at leastreasonable care. Standard Verification Rule Format (“SVRF”) and Tcl Verification Format (“TVF”) mean MentorGraphics’ proprietary syntaxes for expressing process rules. Customer may use Files containing SVRF or TVF only withMentor Graphics products. Under no circumstances shall Customer use Software or allow its use for the purpose ofdeveloping, enhancing or marketing any product that is in any way competitive with Software, or disclose to any third partythe results of, or information pertaining to, any benchmark. Except as otherwise permitted for purposes of interoperabilityas specified by applicable and mandatory local law, Customer shall not reverse-assemble, reverse-compile, reverse-engineer or in any way derive from Software any source code.

5.2. Customer may not sublicense, assign or otherwise transfer Software, this Agreement or the rights under it, whether byoperation of law or otherwise (“attempted transfer”), without Mentor Graphics’ prior written consent and payment ofMentor Graphics’ then-current applicable transfer charges. Any attempted transfer without Mentor Graphics’ prior writtenconsent shall be a material breach of this Agreement and may, at Mentor Graphics’ option, result in the immediatetermination of the Agreement and licenses granted under this Agreement. The terms of this Agreement, including withoutlimitation the licensing and assignment provisions, shall be binding upon Customer’s permitted successors in interest andassigns.

5.3. The provisions of this Section 5 shall survive the termination of this Agreement.

6. SUPPORT SERVICES. To the extent Customer purchases support services for Software, Mentor Graphics will provideCustomer with available updates and technical support for the Software which are made generally available by Mentor Graphicsas part of such services in accordance with Mentor Graphics’ then current End-User Software Support Terms located athttp://supportnet.mentor.com/about/legal/.

Page 31: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

7. LIMITED WARRANTY.

7.1. Mentor Graphics warrants that during the warranty period its standard, generally supported Software, when properlyinstalled, will substantially conform to the functional specifications set forth in the applicable user manual. MentorGraphics does not warrant that Software will meet Customer’s requirements or that operation of Software will beuninterrupted or error free. The warranty period is 90 days starting on the 15th day after delivery or upon installation,whichever first occurs. Customer must notify Mentor Graphics in writing of any nonconformity within the warranty period.For the avoidance of doubt, this warranty applies only to the initial shipment of Software under the applicable Order anddoes not renew or reset, by way of example, with the delivery of (a) Software updates or (b) authorization codes or alternateSoftware under a transaction involving Software re-mix. This warranty shall not be valid if Software has been subject tomisuse, unauthorized modification or improper installation. MENTOR GRAPHICS’ ENTIRE LIABILITY ANDCUSTOMER’S EXCLUSIVE REMEDY SHALL BE, AT MENTOR GRAPHICS’ OPTION, EITHER (A) REFUND OFTHE PRICE PAID UPON RETURN OF SOFTWARE TO MENTOR GRAPHICS OR (B) MODIFICATION ORREPLACEMENT OF SOFTWARE THAT DOES NOT MEET THIS LIMITED WARRANTY, PROVIDEDCUSTOMER HAS OTHERWISE COMPLIED WITH THIS AGREEMENT. MENTOR GRAPHICS MAKES NOWARRANTIES WITH RESPECT TO: (A) SERVICES; (B) SOFTWARE WHICH IS LICENSED AT NO COST; OR (C)BETA CODE; ALL OF WHICH ARE PROVIDED “AS IS.”

7.2. THE WARRANTIES SET FORTH IN THIS SECTION 7 ARE EXCLUSIVE. NEITHER MENTOR GRAPHICS NORITS LICENSORS MAKE ANY OTHER WARRANTIES EXPRESS, IMPLIED OR STATUTORY, WITH RESPECT TOSOFTWARE OR OTHER MATERIAL PROVIDED UNDER THIS AGREEMENT. MENTOR GRAPHICS AND ITSLICENSORS SPECIFICALLY DISCLAIM ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FORA PARTICULAR PURPOSE AND NON-INFRINGEMENT OF INTELLECTUAL PROPERTY.

8. LIMITATION OF LIABILITY. EXCEPT WHERE THIS EXCLUSION OR RESTRICTION OF LIABILITY WOULD BEVOID OR INEFFECTIVE UNDER APPLICABLE LAW, IN NO EVENT SHALL MENTOR GRAPHICS OR ITSLICENSORS BE LIABLE FOR INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES (INCLUDINGLOST PROFITS OR SAVINGS) WHETHER BASED ON CONTRACT, TORT OR ANY OTHER LEGAL THEORY, EVENIF MENTOR GRAPHICS OR ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. INNO EVENT SHALL MENTOR GRAPHICS’ OR ITS LICENSORS’ LIABILITY UNDER THIS AGREEMENT EXCEEDTHE AMOUNT PAID BY CUSTOMER FOR THE SOFTWARE OR SERVICE GIVING RISE TO THE CLAIM. IN THECASE WHERE NO AMOUNT WAS PAID, MENTOR GRAPHICS AND ITS LICENSORS SHALL HAVE NO LIABILITYFOR ANY DAMAGES WHATSOEVER. THE PROVISIONS OF THIS SECTION 8 SHALL SURVIVE THETERMINATION OF THIS AGREEMENT.

9. LIFE ENDANGERING APPLICATIONS. NEITHER MENTOR GRAPHICS NOR ITS LICENSORS SHALL BE LIABLEFOR ANY DAMAGES RESULTING FROM OR IN CONNECTION WITH THE USE OF SOFTWARE IN ANYAPPLICATION WHERE THE FAILURE OR INACCURACY OF THE SOFTWARE MIGHT RESULT IN DEATH ORPERSONAL INJURY. THE PROVISIONS OF THIS SECTION 9 SHALL SURVIVE THE TERMINATION OF THISAGREEMENT.

10. INDEMNIFICATION. CUSTOMER AGREES TO INDEMNIFY AND HOLD HARMLESS MENTOR GRAPHICS ANDITS LICENSORS FROM ANY CLAIMS, LOSS, COST, DAMAGE, EXPENSE OR LIABILITY, INCLUDINGATTORNEYS’ FEES, ARISING OUT OF OR IN CONNECTION WITH CUSTOMER’S USE OF SOFTWARE ASDESCRIBED IN SECTION 9. THE PROVISIONS OF THIS SECTION 10 SHALL SURVIVE THE TERMINATION OFTHIS AGREEMENT.

11. INFRINGEMENT.

11.1. Mentor Graphics will defend or settle, at its option and expense, any action brought against Customer in the United States,Canada, Japan, or member state of the European Union which alleges that any standard, generally supported Softwareproduct infringes a patent or copyright or misappropriates a trade secret in such jurisdiction. Mentor Graphics will pay anycosts and damages finally awarded against Customer that are attributable to the action. Customer understands and agreesthat as conditions to Mentor Graphics’ obligations under this section Customer must: (a) notify Mentor Graphics promptlyin writing of the action; (b) provide Mentor Graphics all reasonable information and assistance to settle or defend theaction; and (c) grant Mentor Graphics sole authority and control of the defense or settlement of the action.

11.2. If a claim is made under Subsection 11.1 Mentor Graphics may, at its option and expense, (a) replace or modify Software sothat it becomes noninfringing, or (b) procure for Customer the right to continue using Software, or (c) require the return ofSoftware and refund to Customer any license fee paid, less a reasonable allowance for use.

11.3. Mentor Graphics has no liability to Customer if the claim is based upon: (a) the combination of Software with any productnot furnished by Mentor Graphics; (b) the modification of Software other than by Mentor Graphics; (c) the use of other thana current unaltered release of Software; (d) the use of Software as part of an infringing process; (e) a product that Customermakes, uses, or sells; (f) any Beta Code; (g) any Software provided by Mentor Graphics’ licensors who do not provide suchindemnification to Mentor Graphics’ customers; or (h) infringement by Customer that is deemed willful. In the case of (h),Customer shall reimburse Mentor Graphics for its reasonable attorney fees and other costs related to the action.

11.4. THIS SECTION IS SUBJECT TO SECTION 8 ABOVE AND STATES THE ENTIRE LIABILITY OF MENTORGRAPHICS AND ITS LICENSORS AND CUSTOMER’S SOLE AND EXCLUSIVE REMEDY WITH RESPECT TOANY ALLEGED PATENT OR COPYRIGHT INFRINGEMENT OR TRADE SECRET MISAPPROPRIATION BYANY SOFTWARE LICENSED UNDER THIS AGREEMENT.

Page 32: EDGE™ Developer’s Suite Evaluation Getting Started Guidecaxapa.ru/thumbs/373052/EDGE_Eval.pdf · 3(a) or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer

12. TERM.

12.1. This Agreement remains effective until expiration or termination. This Agreement will immediately terminate upon noticeif you exceed the scope of license granted or otherwise fail to comply with the provisions of Sections 2, 3, or 5. For anyother material breach under this Agreement, Mentor Graphics may terminate this Agreement upon 30 days written notice ifyou are in material breach and fail to cure such breach within the 30 day notice period. If a Software license was providedfor limited term use, such license will automatically terminate at the end of the authorized term.

12.2. Mentor Graphics may terminate this Agreement immediately upon notice in the event Customer is insolvent or subject to apetition for (a) the appointment of an administrator, receiver or similar appointee; or (b) winding up, dissolution orbankruptcy.

12.3. Upon termination of this Agreement or any Software license under this Agreement, Customer shall ensure that all use of theaffected Software ceases, and shall return it to Mentor Graphics or certify its deletion and destruction, including all copies,to Mentor Graphics’ reasonable satisfaction.

12.4. Termination of this Agreement or any Software license granted hereunder will not affect Customer’s obligation to pay forproducts shipped or licenses granted prior to the termination, which amounts shall immediately be payable at the date oftermination.

13. EXPORT. Software is subject to regulation by local laws and United States government agencies, which prohibit export ordiversion of certain products, information about the products, and direct products of the products to certain countries and certainpersons. Customer agrees that it will not export Software or a direct product of Software in any manner without first obtainingall necessary approval from appropriate local and United States government agencies.

14. U.S. GOVERNMENT LICENSE RIGHTS. Software was developed entirely at private expense. All Software is commercialcomputer software within the meaning of the applicable acquisition regulations. Accordingly, pursuant to US FAR 48 CFR12.212 and DFAR 48 CFR 227.7202, use, duplication and disclosure of the Software by or for the U.S. Government or a U.S.Government subcontractor is subject solely to the terms and conditions set forth in this Agreement, except for provisions whichare contrary to applicable mandatory federal laws.

15. THIRD PARTY BENEFICIARY. Mentor Graphics Corporation, Mentor Graphics (Ireland) Limited, Microsoft Corporationand other licensors may be third party beneficiaries of this Agreement with the right to enforce the obligations set forth herein.

16. REVIEW OF LICENSE USAGE. Customer will monitor the access to and use of Software. With prior written notice andduring Customer’s normal business hours, Mentor Graphics may engage an internationally recognized accounting firm toreview Customer’s software monitoring system and records deemed relevant by the internationally recognized accounting firmto confirm Customer’s compliance with the terms of this Agreement or U.S. or other local export laws. Such review may includeFLEXlm or FLEXnet (or successor product) report log files that Customer shall capture and provide at Mentor Graphics’request. Customer shall make records available in electronic format and shall fully cooperate with data gathering to support thelicense review. Mentor Graphics shall bear the expense of any such review unless a material non-compliance is revealed. MentorGraphics shall treat as confidential information all information gained as a result of any request or review and shall only use ordisclose such information as required by law or to enforce its rights under this Agreement. The provisions of this section shallsurvive the termination of this Agreement.

17. CONTROLLING LAW, JURISDICTION AND DISPUTE RESOLUTION. The owners of the Mentor Graphics intellectualproperty rights licensed under this Agreement are located in Ireland and the United States. To promote consistency around theworld, disputes shall be resolved as follows: This Agreement shall be governed by and construed under the laws of the State ofOregon, USA, if Customer is located in North or South America, and the laws of Ireland if Customer is located outside of Northor South America. All disputes arising out of or in relation to this Agreement shall be submitted to the exclusive jurisdiction ofPortland, Oregon when the laws of Oregon apply, or Dublin, Ireland when the laws of Ireland apply. Notwithstanding theforegoing, all disputes in Asia (except for Japan) arising out of or in relation to this Agreement shall be resolved by arbitration inSingapore before a single arbitrator to be appointed by the Chairman of the Singapore International Arbitration Centre (“SIAC”)to be conducted in the English language, in accordance with the Arbitration Rules of the SIAC in effect at the time of thedispute, which rules are deemed to be incorporated by reference in this section. This section shall not restrict Mentor Graphics’right to bring an action against Customer in the jurisdiction where Customer’s place of business is located. The United NationsConvention on Contracts for the International Sale of Goods does not apply to this Agreement.

18. SEVERABILITY. If any provision of this Agreement is held by a court of competent jurisdiction to be void, invalid,unenforceable or illegal, such provision shall be severed from this Agreement and the remaining provisions will remain in fullforce and effect.

19. MISCELLANEOUS. This Agreement contains the parties’ entire understanding relating to its subject matter and supersedes allprior or contemporaneous agreements, including but not limited to any purchase order terms and conditions. Some Softwaremay contain code distributed under a third party license agreement that may provide additional rights to Customer. Please seethe applicable Software documentation for details. This Agreement may only be modified in writing by authorizedrepresentatives of the parties. All notices required or authorized under this Agreement must be in writing and shall be sent to theperson who signs this Agreement, at the address specified below. Waiver of terms or excuse of breach must be in writing andshall not constitute subsequent consent, waiver or excuse.

Rev. 090402, Part No. 239301