1 / 13

NetFPGA Environment

NetFPGA Environment. Prepared by Van Quoc Dung. Agency. Way to connect to server Subversion control Xilinx development environment Testing problem. Connecting to server …. 2 ways to connect From: Linux ssh -XC netfpga@172.28.11.155 From: Window Using Putty + Xming

magee
Download Presentation

NetFPGA Environment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NetFPGA Environment Prepared by Van Quoc Dung

  2. Agency • Way to connect to server • Subversion control • Xilinx development environment • Testing problem

  3. Connecting to server … • 2 ways to connect • From: Linux • ssh -XC netfpga@172.28.11.155 • From: Window • Using Putty + Xming • Putty: enable forward X11 (SSH – X11 tab) • Xming: handle GUI (Xming font + Xming)

  4. Subversion control • Why using??? • Easily control project version • Check out projects • svn co svn+ssh://netfpga@172.28.11.155/projects/NIDS • Check status • svn status • Add file to prepare check in • svn add fileAfileB … • Check in status • svnci –m ‘Message telling how your code is changed’

  5. Xilinx development • Xilinx Flow Compile & Simulation Verilog Synthesis NDC NGDbuild NGD NCD MAP Place and Route Bitgen NCD & PCF

  6. Xilinx development • Development Approach • Interactive Gui • ISE • PlanAhead • Command Line • For large project -> increase productivity • Dedicated server -> some ocassions not support GUI • Resource utilization

  7. Xilinx development • Command Line Mode • Scripting Language: • Perl • TCL • Unix bash • Build Flow Approach: • Direct Invocation • XFLOW • XTCLSH • PlanAhead

  8. Xilinx development • Using Perl and invoke direct command from ISE command • xst –ifn nf2_top.prj –ofn nf2_top.ngc • ngdbuild –p xv2p50-ff1152-7 “nf2_top.ngc” • map … • Par … • Bitgen … Integrated to netfpga.plperl file

  9. Xilinx development • Using netfpga.pl • netfpga.pl -clear // clear all unnecessary files • netfpga.pl -core // generate IP from xco files • netfpga.pl -syn// synthesize projects ISE • netfpga.pl –syn -top nf2_top // synthesize projects without ISE created • netfpga.pl –bit –top nf2_top // generate bit file • netfpga.pl –sim –top debug // simulation Note: Type command in project directory. Make sure that you turn on the TMAC license

  10. Xilinx development • Some other command tool need deploy • Data2mem: change value of Bram in Bit file • Mem_edit: edit memory

  11. Testing problem NIC in Board NIC out Send directly out to port, no need TCP/IP mechanism

  12. Testing problem Networking Traffic Switch Board ARP, TCP, UDP Need operate like an NIC

  13. Testing problem Networking Traffic Switch Board Not need operate like an NIC, but 1 – Board send random packet so that switch can cache the MAC add 2 – Network Traffic is generate by autotool which indentifies Board MAC add

More Related