Altera Nios II C2H Compiler User Manual
Nios ii c2h compiler user guide
Table of contents
Document Outline
- Nios II C2H Compiler
- Contents
- 1. Introduction to the C2H Compiler
- User Guide Overview
- Target Audience
- Introduction
- C2H Compiler Concepts
- Simplicity and Ease of Use
- Rapid Design Iteration to Find Optimal Partitioning of Hardware and Software
- Accelerate Performance-Critical Sections of Code
- The C2H Compiler Operates at the Function Level
- System Architecture
- Generation of a Hardware Accelerator
- One-to-One Mapping From C Syntax to Hardware Structure
- Performance Depends on Memory Access Time
- C Code Appropriate for Hardware Acceleration
- Next Steps
- 2. Getting Started Tutorial
- Introduction
- C2H Compiler Design Flow
- Typical Design Flow
- Tutorial
- Tutorial Design
- Set up the Hardware for the Project
- Create the Software Project
- Run the Project as Software Only
- Create and Configure a Hardware Accelerator
- Rebuild the Project
- Observe Results in the Report File
- Observe the Accelerator in SOPC Builder
- Run the Project with the Accelerator
- Remove the Accelerator
- Next Steps
- 3. C-to-Hardware Mapping Reference
- One-to-One C-to-Hardware Mapping
- Variable Declarations
- Memory Accesses
- Scheduling
- Resource Sharing
- 4. Understanding the C2H View
- 5. Accelerating Code Using the Nios II Software Build Tools Command Line
- 6. Pragma Reference
- 7. ANSI C Compliance and Restrictions
- Additional Information