Altera Nios II User Manual

Browse online or download User Manual for Processors Altera Nios II. QDK™ Altera Nios II

  • Download
  • Add to my manuals
  • Print
  • Page
    / 38
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
QP state machine frameworks for Altera Nios II
QDK™
Altera Nios II
Document Revision E
January 2013
Copyright © Quantum Leaps, LLC
www.quantum-leaps.com
www.state-machine.com
Page view 0
1 2 3 4 5 6 ... 37 38

Summary of Contents

Page 1 - Altera Nios II

QP state machine frameworks for Altera Nios IIQDK™ Altera Nios IIDocument Revision EJanuary 2013Copyright © Quantum Leaps, LLCwww.quantum-leaps.com ww

Page 2 - Table of Contents

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios23.2 Configuring the FPGA Connect NEEK AC adaptor. C

Page 3 - 1 Introduction

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 Select the .sof file matching the sopcinfo file use

Page 4 - 1.1 About QP™

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios23.3 Debugging the Application Bring up Debug Configu

Page 5 - 1.3 Licensing QP™

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios211 of 36

Page 6 - 2 Installation

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 Name the configuration. Go to the Target Connectio

Page 7

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios23.4 Creating the QP libraries (QEP, QF, QK, and QS)

Page 8 - 3.1 Launching the Nios II IDE

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 Add a folder to the project for QEP14 of 36

Page 9

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 Link the folder to the location of qep/source where

Page 10 - 3.2 Configuring the FPGA

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 Exclude qf/scource/qvanilla.c from the build. You m

Page 11

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios23.5 Configuring the BSP Bring up the properties of t

Page 12 - 3.3 Debugging the Application

Copyright © Quantum Leaps, LLC. All Rights Reserved.Table of Contents1 Introduction

Page 13 - 11 of 36

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 Add libraries to the link phase. The Nios II Librar

Page 14

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 Build and debug. Output to the Nios II Console will

Page 15

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 Add the define -DQ_SPY to activate QS software trac

Page 16

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 Add the include path for QS In the Application pro

Page 17

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 Build. 3.7.2 Collecting the QS software trace Laun

Page 18

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2D. Luckily there's a flag for that. (If the nios

Page 19 - 3.5 Configuring the BSP

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios24 The Vanilla QP PortThe “vanilla” port shows how to

Page 20

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2(4) The critical section entry macro resolves to an i

Page 21 - 3.7.1 Building the QS library

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2QF_tick_() handler in the C++ port (<qp>\ports\

Page 22

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios24.4 Assertion Handling Policy in Q_onAssert()As descr

Page 23

Copyright © Quantum Leaps, LLC. All Rights Reserved.1 IntroductionThis QP™ Development Kit (QDK) describes how to use QP™ event-driven platform with t

Page 24

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios25 The QK PortThe QK ports show how to use Quantum Pla

Page 25

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2While the QK_TLS() macro will move the _impure_ptr, y

Page 26 - 4 The Vanilla QP Port

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2#define ALT_OS_INT_EXIT() \ if ((--QK_intNest_)

Page 27 - 4.2.2 The Time-Tick Interrupt

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2specific callback function QK_onIdle() to save CPU po

Page 28

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios26 QS Software TracingQuantum Spy (QS) is a software t

Page 29

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 QS_FILTER_OFF(QS_QF_ACTIVE_ADD); QS_

Page 30 - 5 The QK Port

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 // write t

Page 31

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios27 Related Documents and ReferencesDocument Location[P

Page 32

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios28 Contact InformationQuantum Leaps, LLC103 Cobble Rid

Page 33 - NOTE: The idle callback

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios21.1 About QP™QP™ is a family of very lightweight, ope

Page 34

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2Both examples demonstrate the QS (“Spy”) instrumentat

Page 35

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios22 InstallationThis section describes how to install,

Page 36

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios2 | | | +-gnu\ - examples compiled with t

Page 37

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios23 Creating Example Application and BSPThis section ex

Page 38 - 8 Contact Information

Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Altera Nios IIwww.state-machine.com/nios27 of 36

Comments to this Manuals

No comments