FPGA、CPLD、ASIC ソリューションを提供するアルテラ
  • ダウンロード
  • 資料
  • 製品情報
    • デバイス
    • 開発ソフトウェア
    • Intellectual Property
    • デザイン・サービス
    • 開発キット/ケーブル
    • 資料
  • エンド・マーケット
    • 自動車
    • 放送機器
    • コンピューター&ストレージ
    • 民生機器
    • 産業機器
    • 医療機器
    • 軍用機器
    • テスト&計測機器
    • ワイヤーライン
    • ワイヤレス
  • テクノロジ
    • DSP
    • 外部メモリ
    • エンベデッド・プロセッサ
    • トランシーバ
    • パラレルI/O
    • シグナル・インテグリティ
    • システム・インテグレーション
  • 教育&イベント
    • トレーニング
    • ユニバーシティ・プログラム
    • オンライン・セミナー & ビデオ
    • デモンストレーション
    • イベント
  • サポート
    • ナレッジ・データベース
    • デバイス
    • 開発ソフトウェア
    • Intellectual Property
    • リファレンス・デザイン
    • デザイン例
    • マイサポート
  • 会社概要
    • アルテラについて
    • パートナー
    • ニュース・ルーム
    • インベスターリレーション
    • 求人情報
    • お問い合わせ
  • オンラインショップ
    • デバイス
    • 開発ソフトウェア
    • 開発 & エデュケーション・キット
    • ケーブル & プログラミング・ハードウェア
    • IP
  • サイト全体
  • パートナンバー
  • ナレッジ・データベース
  • サポート&技術資料
  • フォーラム & Wiki

Nios II Ethernet Acceleration Design Example

Home > Support > Design Examples > Nios II > Nios II Ethernet Acceleration Design Example

This design example demonstrates how to achieve high levels of networking performance using the Nios® II processor, the NicheStack Networking Stack Nios II Edition, and the Altera® Triple Speed Ethernet MAC design example.

This example also uses the Triple Speed Ethernet-SGDMA design example for the Nios II Development Board, Stratix® II Edition (RoHS compliant). The Triple Speed Ethernet-SGDMA design example for the Triple Speed Ethernet MAC design example uses the Scatter Gather DMA (SGDMA) peripherals to move data and operate at a clock frequency of 83.3 MHz. However, to increase overall networking performance, several optimizations have been applied to the system design.

This design example incorporates the addition of an MRAM memory to increase the data throughput of the SGDMA peripherals when sending and receiving Ethernet data grams. Additionally, this example incorporates a hardware-accelerated network checksum to speed up processing of Ethernet data grams. This hardware checksum was created using the Altera C-to-Hardware Acceleration Compiler (C2H Compiler).

A simple network benchmark program is also included as a part of this example to measure the effective throughput of TCP and UDP data transfers. Additionally, you can use this benchmark program to measure how various hardware and software optimizations impact the total networking performance of the system.

Required Hardware and Software

  • Quartus® II, version 9.0 (or later)
  • Nios II EDS, version 9.0 (or later)
  • Nios II Development Kit, Stratix II Edition (RoHS compliant)

Hardware Design Specifications

The hardware design used in this example targets the Nios II Development Board, Stratix II Edition. Key peripherals in this design include the following:

  • Nios II processor core (Nios II/f core with instruction and data cache)
  • Altera Triple Speed Ethernet MAC 10/100/1000 Mbits
  • SGDMA for sending and receiving data
  • FIFO bridge
  • DDR SDRAM memory
  • SSRAM memory
  • MRAM memory (for packet storage)
  • C2H accelerated network checksum

Software Design Specifications

C source files are included for the benchmark program and compile for the Nios II processor or Windows workstation. The benchmark program also uses the Nios II Hardware Abstraction Layer (HAL) and NicheStack Networking Stack, Nios II Edition for its operation.

Download This Design Example

Download the Ethernet_Accel_Design.zip.

The use of this design is governed by, and subject to, the terms and conditions of the Altera Hardware Reference Design License Agreement.

The .zip file contains all the necessary software files to reproduce the example for the Nios II Development Kit, Stratix II Edition, as well as a readme.doc file. The readme.doc file contains instructions for rebuilding the example.

Download the Application Note

This example was created using the recommendations found in the Altera application note AN 440: Accelerating Nios II Networking Applications. This application note provides a detailed analysis of how to increase the performance of your Nios II networking application and includes benchmark results for various systems.

Download AN 440: Accelerating Nios II Networking Applications (PDF).

Design Examples Disclaimer

These design examples may only be used within Altera Corporation devices and remain the property of Altera. They are being provided on an “as-is” basis and as an accommodation; therefore, all warranties, representations, or guarantees of any kind (whether express, implied, or statutory) including, without limitation, warranties of merchantability, non-infringement, or fitness for a particular purpose, are specifically disclaimed. Altera expressly does not recommend, suggest, or require that these examples be used in combination with any other product not provided by Altera.

Rate This Page


  • 製品
    • MAX/MAX II
    • Stratix/Stratix GX
    • Nios II
  • 機能
    • 演算
    • メモリ
    • バス & I/O
    • ロジック
    • インタフェース & ペリフェラル
    • DSP
    • コミュニケーション
    • PLL & クロック
  • デザイン入力
    • Quartus II プロジェクト
    • Tcl
    • VHDL
    • Verilog HDL
    • C コード例
    • DSP Builder
    • TimeQuest
  • シミュレーション・ツール
    • Mentor Graphics ModelSim
    • Cadence NCsim
    • Synopsys VCS
  • レガシー例
    • グラフィック・エディタ
    • AHDL
    Please give us feedback
    製品情報 | エンド・マーケット | テクノロジ | 教育&イベント | サポート | 会社概要 | オンラインショップ
    FPGA 入門 | お問い合わせ | サイト・マップ | 求人情報 | プライバシー | Legal Notice
    Copyright © 1995-2010 日本アルテラ株式会社. All Rights Reserved.
    Altera Forum
    アルテラ
    フォーラム
    Twitter
    Twitter
    RSS
    RSS
    Facebook
    Facebook
    Flickr
    Flickr
    YouTube
    YouTube
    ニュースメール
    ニュース
    メール