Accelerating Functions with the C2H Compiler: Scatter-Gather DMA with Checksum
July 2006, Version 1.1 Application Note 417
Introduction
The Nios II C-to-Hardware Acceleration (C2H) Compiler is a powerful tool that generates hardware accelerators for software functions. This application note uses the C2H Compiler to map C code for a scatter-gather direct memory access (DMA) function to equivalent hardware. The hardware accelerator provides data to an Internet checksum function. Reference files included with the application note provide C code to implement the scattergather DMA and the checksum. There are two versions of the checksum code: The first runs as software on the Nios II processor. The second becomes a hardware accelerator, replacing the C code with equivalent logic in the FPGA. The speedup for the hardware version is typically more than two orders of magnitude. The exact speedup depends on the target FPGA. Although the scatter-gather DMA code in this example design is tightly integrated with the checksum code, it could be modified to become a front-end DMA accelerator for a number of different applications, such as networking, audio, video, or high speed I/O. The concluding sections of this application note mention additional architectural revisions you could make to the design to further improve system performance with the C2H Compiler.
Prerequisites
This application note assumes you are familiar with the following topics:
■ ■ ■ ■ ■
f
ANSI C syntax and usage Defining and generating Nios II hardware systems with SOPC Builder Compiling Nios II hardware systems with the Altera Quartus II development software Creating, compiling, and running Nios II software projects Nios II C2H Compiler
To familiarize yourself with the basics of the C2H Compiler, refer to the Nios II C2H Compiler User Guide. To learn about defining, generating, and compiling Nios II systems, refer to the Nios II Hardware Development Tutorial. To learn about Nios II software projects, refer to the Nios II Software Development Tutorial available in the Nios II IDE help system.
- flywiththewind > accelerating functions with the c2h compiler: scatter ...
-
accelerating functions with the c2h compiler: scatter ...
下载该文档 文档格式:PDF 更新时间:2006-07-02 下载次数:0 点击次数:1文档基本属性 文档语言: Simplified Chinese 文档格式: pdf 文档作者: ISOYES 关键词: 主题: 备注: 点击这里显示更多文档属性 经理: 单位: ISOYES国际认证联盟 分类: 创建时间: 上次保存者: 修订次数: 编辑时间: 文档创建者: 修订: 加密标识: 幻灯片: 段落数: 字节数: 备注: 演示格式: 上次保存时间:
- 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
- PDF格式下载
- 更多文档...
-
上一篇:the us alliance with saudi arabia
下一篇:aspy@cbahawaiiedu
点击查看更多关于flywiththewind的相关文档
- 您可能感兴趣的
- flywiththewind flyinthewind gonewiththewind runwiththewind rollwiththewind gongwiththewind conewiththewind comewiththewind gownwiththewind gunwiththewind
- 大家在找
-
- · 台湾安威刀具
- · 河北教育网
- · 四十五年的守望
- · autocad2011激活码
- · 汽车为什么会跑下载
- · 残疾儿童车
- · 历代书法碑帖全集下载
- · 小学五年级体育说课稿
- · 结肠术后饮食
- · 齐齐哈尔有哪些制药厂
- · 安徽农村信用社考试
- · 长度单位练习题
- · 免费下载大智慧机构版
- · 初三化学第二章试卷
- · petct是什么
- · 佳能ix4000打印机使用
- · 官路风流最新章节900
- · 数学六年级上册练习题
- · 电路第二版课后答案
- · mastercamx4下载
- · 建筑地基处理技术规程
- · 单片机函数信号发生器
- · 材料现代分析与测试方法
- · 高级测量员考试
- · 生产车间规章制度范本
- · 头孢福建古田药业
- · 英语听力免费下载
- · 五大财经类院校
- · 别克凯越钥匙点火
- · 开学安全教育讲稿
- 赞助商链接