NetFPGA L2 Switch - PowerPoint PPT Presentation

About This Presentation
Title:

NetFPGA L2 Switch

Description:

[3] Henry Fu, and Harn Hua Ng, 'NetFPGA: Documentation for Developing User ... [5] Henry Fu, and Harn Hua Ng, 'NetFPGA: Design Architecture and Implementation. ... – PowerPoint PPT presentation

Number of Views:72
Avg rating:3.0/5.0
Slides: 14
Provided by: shengli
Learn more at: https://web.stanford.edu
Category:
Tags: netfpga | harn | switch

less

Transcript and Presenter's Notes

Title: NetFPGA L2 Switch


1
NetFPGAL2 Switch
  • Sheng-Liang Song
  • ssl_at_cisco.com
  • EE384Y, Spring 2003

2
Overview of the NetFPGA Board
SRAM
SRAM
L2Sw4 User FPGA 1
Control FPGA
Ethernet Controller
Port 0
Port 1
Port 2
Port 3
User FPGA 2
Port 4
Port 5
Port 6
SRAM
Port 7
3
Overview of the UFPGA (L2 Switch)

4-Port Layer 2 Switch Control
MemCtrl
RX data
RX data
TX data
TX data
CFPGA Interface
To/From SRAM
Mem DiagCtrl
Request
do_mem_diag
To/From CFPGA
Grant
mem_diag_done
do_mem_diag
LEDs3 0
Button Input
LEDs3 0
LEDs3 0
4
S4-CM FSM Diagram
mem_diag_done
rx_done
Reset
mem_diag
do_ctrl
1.myCtrlFifoNotEmpty
mem_diag_done
do_mem_diag mem_diag_done
ctrl_done
tx_done
rx_done
try_read
tx_done
idle
wait_tx_done
2.RxEn (QRxVector rxFifoNotEmpty)
3.TxEn
rx_done
Qempty (QtxVector txFifoNotFull)
else
1
TxEn
try_write
nxt_rd_port
TxEn
else
wait
5
S4-MEM Diag FSM Diagram
else
Reset
idle
do_mem_diag mem_diag_done
Addr gt Max_addr
fill
compare
Addr gt Max_addr
AddrltMax_addr
Addr lt Max_addr
6
Registers
DeviceID0xE384
Ver 0x01
Version70
UFPGA_ID1
10 MemDiag
Ctrl 0x02
Ctrl
20 fail
Addr170
Addr 0x05
2018 Phase
31 done
Data11916 Mem3532
Data1 0x06
Pattern70
Data2310 Mem310
Data2 0x07
7
Method for Memory Diagnostic
Diag_phase20 Data_Content
000 Pattern, PatternComp
001 PatternComp, Pattern
010 Addr_value
011 Pattern
100 EndOfDiag
8
S4-MEM FSM Diagram
CFPGA Interface
Write
Read
wait_i_not_empty
read_wait0
i_not_empty
of_rd_pkt
if_wr_pkt
1
Reset
write_0
read_wait1
idle
i_not_empty
of_full tx_eop
1
1
1
of_fulltx_eop
write_1
read_wait_not_full
write_data_eop
write_done
of_wr_en
Read
Write
SRAM
Addrque2pkt7wd9
9
S4-RX_CTRL FSM Diagram
Try_Rd
Getwd0
grant_ci_ufpga
load_DA0123
rd_rdy_ci_ufpga_d1
deny_ci_ufpga
do_ctrl
Reset
Getwd1
load_DA45SA01
idle
rd_rdy_ci_ufpga_d1
do_ctrl
1
Getwd2
load_SA2345
WtEOP
rd_rdy_ci_ufpga_d1
1
Getwd3
DoOp
load_OpcodeAddr
eop_ci_ufpga
rd_rdy_ci_ufpga_d1
Getwd4
rd_rdy_ci_ufpga_d1
load_WrData
10
S4-TX_CTRL FSM Diagram
do_tx_ctrl
Reset
idle
do_tx_ctrl
Request
1
deny_ci_ufpga
1
done
Wt_Grant
SendPkt
grant_ci_ufpga
wr_rdy_ci_ufpga_d1 tx_ctrl_last word
(grant_ci_ufpga deny_ci_ufpga)
else
11
S4-RX FSM Diagram
Try_Rd
Granted
grant_ci_ufpga
do_read
rd_rdy_ci_ufpga_d1
do_read
Reset
deny_ci_ufpga
getDAhi
idle
rd_rdy_ci_ufpga_d1
Wt_DAvldl
1
1
Chk_Match
Rx_Done
else
1
rd_rdy_ci_ufpga_d1 eop_ci_ufpga
Wt_EOP
12
S4-TX FSM Diagram
do_write
Start_Tx
Reset
idle
1
deny_ci_ufpga
else
Wt_Grant
1
grant_ci_ufpga
else
Granted
Done
else
wr_rdy_ci_ufpga_d1
tx_eop
Wt_EOP
13
References 1 N. McKeown, NetFPGA Project.
Online http//klamath.stanford.edu/NetFPGA/, Apr,
2003   2 S. Gaggara, Control of the NetFPGA
board. Online http//klamath.stanford.edu/NetFPGA
/docs/Control_NetFPGA.pdf   3 Henry Fu, and
Harn Hua Ng, NetFPGA Documentation for
Developing User Modules Online
http//klamath.stanford.edu/NetFPGA/docs/user_doc.
pdf   4 The Sw4 UFPGA. http//klamath.stanford
.edu/NetFPGA/docs/Sw4.pdf   5 Henry Fu, and
Harn Hua Ng, NetFPGA Design Architecture and
Implementation. Online http//klamath.stanford.ed
u/NetFPGA/docs/dev_doc.pdf   6 Altera
Corporation, "Altera(R) APEX 20K Programmable
Logic Devices." Online http//www.altera.com/lite
rature/ds/apex.pdf
Write a Comment
User Comments (0)
About PowerShow.com