IP Processing Wrapper Tutorial - PowerPoint PPT Presentation

About This Presentation
Title:

IP Processing Wrapper Tutorial

Description:

Speed/MHz. Space/LUTs. Gigabit Kits Workshop August 2001. 9. Washington ... TCA signal is hi when data can be accepted, lo if no data should be sent ... – PowerPoint PPT presentation

Number of Views:17
Avg rating:3.0/5.0
Slides: 29
Provided by: arlW
Category:

less

Transcript and Presenter's Notes

Title: IP Processing Wrapper Tutorial


1
IP Processing WrapperTutorial
  • Gigabitkits Workshop August 2001
  • http//www.arl.wustl.edu/arl/projects/fpx/wrapper/

2
IP Processing Wrapper Library
  • Collection of protocol components in VHDL
  • Module interface for higher protocol levels
  • Translation from/to cells to/from higher levels
  • Components handle protocol checksums and CRCs

3
Stacked Wrapper
4
The Cell-Processor
  • Checks the HEC and drops erroneous cells
  • Dispatch cells to application or bypass
  • Handles control cells
  • Recomputes HEC for outgoing cells

5
AAL5 Frame Processor
  • Frame Processor detects frame boundaries
  • FP handles CRC
  • FP segments data into cells

Cell
Frame
Segment
AAL5CRC
AAL5CRC
Detection
ation
6
IP Processor
  • Verify IP version
  • Check Header Checksum for application (ev. Drop)
  • Decrease TTL field (ev. ICMP msg)
  • Signal start of payload (SOP)
  • Recompute Header Checksum

IP Detect
TTLDec
Checksum
Checksum
IPProcessor
7
UDP Processor
  • Check for protocol ID (17)
  • Signal start of datagram (SOD)
  • Handle UDP checksum

8
Space Speed
Space/LUTs Speed/MHz
Cell Processor 781 125
Frame Processor 1251 116
IP Processor 1009 109
UDP Processor 550 114
9
Delays
Delay for short packages Delay for short packages Delay for long packages Delay for long packages
Input output Input output
Cell Processor 4 6 4 6
Frame Processor 21 22 10 31
IP Processor 36 39 24 197
UDP Processor 39 44 27 202
10
Throughput
Throughput for short packages Throughput for short packages Throughput for long packages Throughput for long packages
Input output Input output
Cell Processor 4 6 4 6
Frame Processor 21 22 10 31
IP Processor 36 39 24 197
UDP Processor 39 44 27 202
11
Downloading the library
  • Download at http//www.arl.wustl.edu/arl/fpx/wrapp
    er/
  • VHDL simulation files
  • edif files for synthesis
  • VHDL wrapper files
  • Combine several layers for convenience

12
Cell Wrapper files
  • Cellprocessor.edn
  • Synthesized cell processor
  • Use during place route of your design
  • Cellprocessor.vhdl
  • Structural simulation file
  • Use during simulation of design

13
Frame Wrapper Files
  • Frameprocessor.edn
  • Synthesized frame processor
  • Use during place route of your design
  • Frameprocessor.vhdl
  • Structural simulation file
  • Use during simulation of design
  • Framewrapper.vhdl
  • Combine the frame processor with the cell
    processor

14
IP Wrapper Files
  • ipprocessor.edn
  • Synthesized IP processor
  • Use during place route of your design
  • ipprocessor.vhdl
  • Structural simulation file
  • Use during simulation of design
  • ipwrapper.vhdl
  • Combine the ip processor with the frame wrapper

15
UDP Wrapper Files
  • udpprocessor.edn
  • Synthesized UDP processor
  • Use during place route of your design
  • udpprocessor.vhdl
  • Structural simulation file
  • Use during simulation of design
  • udpwrapper.vhdl
  • Combine the UDP processor with the IP wrapper

16
UDP Application
  • General signals
  • CLK (clock signal)
  • Reset_l (synchronous reset, active low)
  • Input signals
  • D_MOD_IN (data input)
  • DataEn_MOD_IN (data enable)
  • SOF_MOD_IN (start of frame)
  • SOD_MOD_IN (start of datagram)
  • EOF_MOD_IN (end of frame)
  • TCA_MOD_IN (congestion control)
  • Output signals
  • D_OUT_MOD (data output)
  • DataEn_OUT_MOD (data enable)
  • SOF_OUT_MOD (start of frame)
  • SOD_OUT_MOD (start of datagram)
  • EOF_OUT_MOD (end of frame)
  • TCA_OUT_MOD (congestion control)

17
Clock Reset
  • CLK
  • Clock signal for module
  • 100 MHz
  • Reset_l
  • Synchronous reset
  • Low for 1 clock cycle to reset state machines
  • Set by reconfiguration logic

18
Data
  • D_MOD_IN D_OUT_MOD
  • Data bus
  • 32 bit wide
  • DataEn_MOD_IN DataEn_OUT_MOD
  • Hi during valid payload data
  • Hi during trailer words (after EOF)

19
Boundary signals
  • SOF_MOD_IN SOF_OUT_MOD
  • Hi for 1 clock cycle during first ATM header word
  • Signals start of a new AAL5 frame
  • Note HEC is not sent after this signal
  • SOD_MOD_IN SOD_OUT_MOD
  • Hi for 1 clock cycle during first word of UDP
    header
  • UDP payload starts after two valid payload words
    (check Data Enable)
  • Not enabled if not a UDP packet
  • EOF_MOD_IN EOF_OUT_MOD
  • Hi during 1 clock cycle of last payload word of
    datagram
  • Followed by the two trailer words of the AAL5
    frame

20
Congestion Control
  • TCA_MOD_IN TCA_OUT_MOD
  • TCA signal is hi when data can be accepted, lo if
    no data should be sent
  • Wrappers back-propagate TCA to the NID
  • Data in pipeline will still be forwarded (cell
    time)
  • IP wrapper has big packet buffer for outgoing
    data

21
Signals
22
Integrate Application
UDP Wrapper
Application
Output
Input
UDP Processor
IP Processor
Frame Processor
Cell Processor
23
Configuration
24
Simulation
25
RAD
  • Application (with wrappers)
  • Reconfiguration logic (reset and repramming)
  • Control Cell Processor (if needed for SRAM/SDRAM
    access)
  • SRAM/SDRAM controller (if needed)

RAD
Ingress
Ingress
Application
Port
Port
SRAM
Reconfig
SRAM
Control
Interface
Control
Egress
Egress
Cell
Port
Port
Processor
26
Synthesis
  • Add VHDL files for application
  • Set part to Xilinx Virtex 1000E fg680
  • Synthesize
  • E.g. Synplicity/Synplify

27
Place Route
  • Copy wrapper-edif files (.edn) to target
    directory
  • ngdbuild p xcv1000e-7-fg680 design uc
    design.ucf
  • map p xcv1000e-7-fg680 o top.ncd design.ncd
    design.pcf
  • par w ol 2 top.ncd design.ncd design.pcf
  • bitgen design.ncd b l w f bitgen.ut

28
Downloading bitfile to FPX
  • Connect JTAG cable to FPX
  • Select bitmap file in JTAG programmer
  • Program chip
  • Reset switch (NCHARGE on http//fpx.arl.wustl.edu)
Write a Comment
User Comments (0)
About PowerShow.com