说明: 说明: 说明: 说明: 01.jpg

 For Network Technology Innovation and Education

Latest News

[2013.12.20] NetMagic-Pro: More Powerful, More Cool!

NetMagic-Pro is an advanced network processing platform composed of domestic multi-core CPU FT1KA, proprietary network accelerating engine NPE and GE cards.

说明: D:\work\NetMagic\netmagic-pro\photoes\4651.jpg

[2013.10.24] In CNCC2013, we exhibit our research results.

[2013.8.14] Yeah! The CNE2013’s excellent paper award is presented to us.

[2013.5.14] The tool of  “NM Debuger”  has been updated now! It eliminates the bug of not supporting HEX value input to registers.

More…

For new comers

What’s the NetMagic? How many parts does it include? How does it run? Maybe there are many questions for a new comer. After reading this PDF, you will find the basic skills of FPGA design and get the point that only the user control program at application layer and the user module logic in FPGA hardware are need to be implemented.

Startup: How to Develop NetMagic Rapidly

Startup: How to Run “Hello World” Project

Startup: Hello world project example

Introduction

Why we need NetMagic ?

NetMagic is a programmable hardware platform with many network interfaces based on FPGA, just like NetFPGA(www.netfpga.org).  Although NetFPGA is very success in network research and education, it has two disadvantages. One disadvantage is that NetFPGA is not a standalone and portable box. It is only a PCI card and must be inserted into a PCI slot of a workstation before it can be used. Its FPGA configure cable is difficult to fix and it is not plug and play like a Ethernet switch. The second disadvantage is NetFPGA software is OS dependent. If we want to develop its software on windows 7, we must have its driver for windows 7.

NetMagic was first designed in the year of 2010 to replace NetFPGA.

Main feathers of NetMagic is as follows.

l       It is a standalone and portable box, researchers or students can easily put it in their bags.

l       It is plug play just like an ethernet switch, tools like screwdriver are not needed to setup a new running environment.

l       It is OS Independent, users can develop its software in any OS platform

l       It is easy for software and hardware development 

说明: 说明: 说明: 说明: netmagic-logo-2.jpg

 

 

How to develop on NetMagic platform ?

Current NetMagic box has four 10/100/1000 ethernet ports and four 1Gbps fiber ports. Main components in the box include a FPGA(we call it MagicFPGA), a 64MB DDR sdram, an EEPROM and Ethernet interface chips and connectors. Because there is no processor in the box, NetMagic is managed by a external controller via NMAC(NetMagic Access and Control) Protocol. NetMagic hardware and software architecture is illustrated in the following figure.

说明: 说明: 说明: 说明: netmagic试验环境.jpg

Figure 2

NetMagic hardware develop(or MagicFPGA programming) is based on FPGA development environment(Quartus II from Altera). The FPGA logic has three partitions, common data path(CDP), user module(UM) and Management logic. CDP functions include network interface processing, include GMII RX/TX logic, CRC check/generation, data path packet formatting, buffering and input/output scheduling. Management Logic(ML) is used to Rx/Tx NMAC packets, interpret and execute management command from external controllers. Usually CDP and ML are fixed and need not variation for different NetMagic users. So they can download and reused the verilog source code of CDP and Management logic in their project freely. NetMagic users only need to program UM logic to implement their desire functions according to UM specification which defines the data format and waveforms of interface between UM-CDP and UM-ML interfaces .

More…

Papers

l       A High Performance Parallel Intrusion Detection Framework. Cai Zhiping, Wang Han, Cao Jienan, Xu Ming. HPC China 2012, October 23-27, Zhangjiajie, China. (Base NetMagic platform, an uniformed parallel detection architecture(UPDA) that supports parallel detection with multi detection sensors is designed and implemented )

l       TRIO: Measuring Asymmetric Capacity with Three Minimum Round-Trip Times. Edmond W, W. Chan, Ang Chen, Xiapu Luo, Ricky K. P. Mok, Weichao Li, and Rocky K. C. Chang, ACM CoNEXT 2011, December 6–9 2011, Tokyo, Japan (In this paper, the authors used the Netmagic box to measure packet delay for the capacity measurement)

l       More…

Demo and Presentation

l       Preaching of NetMagic[video]

l       Demo in Sigcomm 2011

l       Demo in NMTA 2011

l       Demo in CNCC 2011

l       Using NetMagic to observe fine-grained per-flow latency measurements[video]

l       Netmagic: Open and Reconfigurable network platform[pdf]. Sun zhigang. NetMagic Technology and applation workshop, May, 2011 in Changsha, China

l       More…

Specification & whitepaper

l       NetMagic: An Open and Reconfigurable Network Platform

An introduction to NetMagic platform in detail.

l       User Module Specification(Chinese Version, pdf)

Hardware development of NetMagic is based on UM(User module) mode. So developers need not care more about the complicated implementation of network interface functions, such as CRC check and generation and other . User Module spec. describes the interface between the common data path(CDP) and the user define hardware logic.

l       More…

Source Code Download

l       The simplest MagicFPGA design project for NetMagic beginners(Include all source code files of CDP, ML and an example of User Module, all other project files).

l       Test project to test if NetMagic hardware platform is OK (A self test UM is design to do the test work).

l       NMAC source code(C code) for Linux OS

l       More

Education in Class

l       In NUDT(National University of Defense Technology), NetMagic is used in class Router Design(36 hours, in which 18 hours are used to do experiments on router design ) for graduated students. In this class, NetMagic is used to do experiments on FIB lookup, packet scheduling, gateways and even TCP protocol security analysis.

n       Details of class in 2010 Spring(Chinese Version, ppt)

n       Details of class in 2011 Spring(Chinese Version, ppt)

Used in Projects

l       China 863 project(2008AA01A325:2009-2012):NUDT use NetMagic as hardware component verification platform for their reconfigurable big routers

l       China 863 project(2008AA01A323:2009-2012):NDSC use NetMagic as a tool for their research on hardware component design method

l       China 973 project(2009CB320503): NUDT and Tsinghua University use NetMagic as a labelcast experiment platform for their research on large-scale streaming data distribution

 

Pictures

 

说明: 说明: 说明: 说明: P1020183.JPG

说明: 说明: 说明: 说明: P1020151.JPG

说明: 说明: 说明: 说明: IMG_5980.JPG

说明: 说明: 说明: 说明: IMG_5908.JPG

NetMagic08

Inside NetMagic Box

Workshop on NetMagic Technology and Application 2011, Changsha, China

NetMagic demo in NMTA 2011 workshop

说明: 说明: 说明: 说明: DSC_0002.JPG

说明: 说明: 说明: 说明: DSC_0139.JPG

说明: 说明: 说明: 说明: IMG_3026.JPG

说明: 说明: 说明: 说明: DSC00940.jpg

NetMagic Demo in SIGCOMM 2011(1)

NetMagic Demo in SIGCOMM 2011(2)

NetMagic first demoed in CNCC 2010, Hangzhou, China

Student uses NetMagic in his dormitory

 

Contact us

 

You can contact us if you want:

l   Discuss any questions about NetMagic development

l   Borrow or buy one NetMagic

l   Need any training about NetMagic Platform

l   Need any design service for your special propose

 

Email: 2010.netmagic@gmail.com

Tel: 0731-84575815

NetMagic Forum: bbs.Netmagic.org

 

NetMagic is power by

 

 

 

School of Computer

National University of defense technology

www.nudt.edu.cn

说明: 说明: 说明: 说明: 银河玉衡.jpg

Shen Zhen Forward Corperation

www.szforward.com

说明: 说明: 说明: 说明: logo-szforward.jpg