Skip to content

Router output port lookup

Gianni Antichi edited this page Sep 12, 2013 · 1 revision

Name

nf10_router_output_port_lookup

Author

Gianni Anitchi (gianni.antichi_at_cl.cam.ac.uk)

Type

pcore (HW)

Location

netfpga-10g/lib/hw/std/pcores/nf10_router_output_port_lookup_v1_10_a/

Interface Types

AXI4-Stream

AXI4-Lite

Busses

S_AXIS: Slave AXI4-Stream bus, Variable width

M_AXIS: Master AXI4-Stream bus, Variable width

S_AXI: Slave AXI4-Lite

Parameters

C_AXIS_DATA_WIDTH: Data width of the AXI4-Stream bus.

C_USER_WIDTH: Data width of the TUSER field.

C_AXI_DATA_WIDTH: Data width of the AXI4-Lite bus.

C_BASEADDR: Base address value of the core.

C_HIGHADDR: High address value of the core.

Register map

BAR0:

0x0: reset counters

0x4: lowest 32 bits of PHY0 MAC address

0x8: highest 16 bits of the PHY0 MAC address

0xc: lowest 32 bits of PHY1 MAC address

0x10: highest 16 bits of the PHY1 MAC address

0x14: lowest 32 bits of PHY2 MAC address

0x18: highest 16 bits of the PHY2 MAC address

0x1c: lowest 32 bits of PHY3 MAC address

0x20: highest 16 bits of the PHY3 MAC address

0x24: number of packets dropped due to wrong destination MAC address

0x28: number of packets sent to the CPU because of a miss in the LPM table

0x2c: number of packets sent to the CPU because of a miss in the ARP table

0x30: number of packets sent to the CPU because of not belonging to the IP protocol

0x34: number of packets dropped due to bad IP checksum

0x38: number of packets forwarded

0x3c: number of packets sent to the CPU because of a hit in the filter table

0x40: number of packets sent to the CPU because of bad TTL

0x44: number of packets sent to the CPU because of options in the IP header

0x48: number of packets sent from the CPU

BAR1:

LPM Table:

0x0: IP

0x4: IP Mask

0x8: Next Hop IP

0xc: Output Port

0x10: Write Address

0x14: Read Address

ARP Table:

0x20: IP

0x24: Lowest 32 significant bits of MAC address

0x28: Highest 32 significant bits of MAC address

0x2c: Write Address

0x30: Read Address

Filter Table:

0x40: IP

0x44: Write Address

0x48: Read Address

Clone this wiki locally
You can’t perform that action at this time.