Altera Nios II C2H Compiler manuals

Owner’s manuals and user’s guides for Measuring instruments Altera Nios II C2H Compiler.
We providing 1 pdf manuals Altera Nios II C2H Compiler for download free by document types: User Manual


Table of contents

Nios II C2H Compiler

1

User Guide

1

UG-N2C2HCMPLR-1.6

2

Contents

3

Chapter 6. Pragma Reference

4

1. Introduction to the

7

Target Audience

8

Introduction

8

Altera Corporation 9.1 1–5

11

C2H Compiler

12

Concepts

12

Hardware and Software

13

1–8 9.1 Altera Corporation

14

C2H Compiler Concepts

14

System Architecture

15

Appropriate for

19

Hardware

19

Acceleration

19

Poor Acceleration Candidates

20

Next Steps

22

2. Getting Started Tutorial

23

Typical Design

24

OpenCore Plus Evaluation

25

Tutorial

26

Altera Corporation 9.1 2–5

27

Getting Started Tutorial

27

Create the Software Project

28

Altera Corporation 9.1 2–7

29

2–8 9.1 Altera Corporation

30

Altera Corporation 9.1 2–9

31

Rebuild the Project

32

Remove the Accelerator

37

3. C-to-Hardware Mapping

41

Reference

41

Assignments

42

>>

44

<<

44

Iteration Statements

45

Selection Statements

46

Altera Corporation 9.1 3–7

47

Conditional Operator ?:

48

Altera Corporation 9.1 3–9

49

Subfunction Calls

51

Variable

53

Declarations

53

Scalar Variables

54

Accesses

55

Memory Accesses

58

Volatile Type Qualifier

59

Address Computation

61

Data Computation

62

Master-Slave Connections

63

Array Subscript Operator

66

Structure and Union Operators

68

Scheduling

70

Data Dependencies

71

Pointer Aliasing

72

int offset_b)

75

my_ptr[offset_a] = a + 7;

75

my_ptrb[offset_b] = b + 8;

75

Read Operations with Latency

77

Stalling

79

Loop Pipelining

82

Loop-Carried Dependencies

84

Subfunction Pipelining

89

Resource

91

Resource Sharing

92

4. Understanding the C2H

95

Configuration Meaning

96

Altera Corporation 9.1 4–5

99

4–6 9.1 Altera Corporation

100

Resources

100

Altera Corporation 9.1 4–7

101

Understanding the C2H View

101

4–8 9.1 Altera Corporation

102

Altera Corporation 9.1 4–9

103

Performance

104

Loop Latency

105

Scheduling Information

108

Further Reading

113

5. Accelerating Code Using

115

Tools Command Line

115

Altera Corporation 9.1 5–3

117

5–4 9.1 Altera Corporation

118

C2H Performance Metrics

118

6. Pragma Reference

119

Reducing Arbitration Logic

120

Flow Control

121

Interrupt

122

Unshare Pointer

123

6–6 9.1 Altera Corporation

124

Unshare Pointer Pragma

124

7. ANSI C Compliance and

125

Restrictions

125

7–2 9.1 Altera Corporation

126

Language

126

Expressions

127

Functions

128

Altera Corporation 9.1 7–5

129

7–6 9.1 Altera Corporation

130

Altera Corporation 9.1 7–7

131

Goto (Section 6.8.6.1)

132

Other Restrictions

134

Additional Information

135

Revision History

136

How to Contact

137

Typographic

137

Conventions

137

Visual Cue Meaning

138





More products and manuals for Measuring instruments Altera

Models Document Type
RAM-Based Shift Register User Manual   Altera RAM-Based Shift Register User Manual, 26 pages
RAM Initializer User Manual   Altera RAM Initializer User Manual, 36 pages
Phase-Locked Loop Reconfiguration IP Core User Manual   Altera Phase-Locked Loop Reconfiguration IP Core User Manual, 51 pages
SCFIFO User Manual   Altera SCFIFO User Manual, 28 pages
SDI II MegaCore User Manual   Altera SDI II MegaCore User Manual, 89 pages
SerialLite II IP Core User Manual   Altera SerialLite II IP Core User Manual, 110 pages
Serial Digital Interface (SDI) MegaCore Function User Manual   Altera Serial Digital Interface (SDI) MegaCore Function User Manual, 140 pages
100G Development Kit, Stratix V GX Edition User Manual   Altera 100G Development Kit, Stratix V GX Edition User Manual, 44 pages
100G Interlaken MegaCore Function User Manual   Altera 100G Interlaken MegaCore Function User Manual, 111 pages
Stratix V Avalon-MM Interface for PCIe Solutions User Manual   Altera Stratix V Avalon-MM Interface for PCIe Solutions User Manual, 184 pages
10-Gbps Ethernet MAC MegaCore Function User Manual   Altera 10-Gbps Ethernet MAC MegaCore Function User Manual, 175 pages
Triple Speed Ethernet MegaCore Function User Manual   Altera Triple Speed Ethernet MegaCore Function User Manual, 223 pages
8B10B Encoder/Decoder MegaCore Function User Manual   Altera 8B10B Encoder/Decoder MegaCore Function User Manual, 32 pages
50G Interlaken MegaCore Function User Manual   Altera 50G Interlaken MegaCore Function User Manual, 94 pages
Advanced SEU Detection IP Core User Manual   Altera Advanced SEU Detection IP Core User Manual, 22 pages
Active Serial Memory Interface User Manual   Altera Active Serial Memory Interface User Manual, 36 pages
I/O Phase-Locked Loop (Altera IOPLL) IP Core User Manual   Altera I/O Phase-Locked Loop (Altera IOPLL) IP Core User Manual, 11 pages
OCT User Manual   Altera OCT User Manual, 10 pages
Embedded Systems Development Kit, Cyclone III Edit User Manual   Altera Embedded Systems Development Kit, Cyclone III Edition User Manual, 82 pages
Phase-Locked Loop User Manual   Altera Phase-Locked Loop User Manual, 18 pages