Skip to content

Vlan Remover Module

Neelakandan Manihatty Bojan edited this page Jul 17, 2017 · 1 revision

Name

vlan_remover

Version

v1.0.0

Author

Neelakandan Manihatty Bojan

Type

IP core (HW)

Location

lib/hw/contrib/cores/vlan_remover_v1_0_0/

Interface Types

AXI4-Stream

AXI-Lite

Busses

S_AXIS: Slave AXI4-Stream bus, Variable width

M_AXIS: Master AXI4-Stream bus, Variable width

Parameters

C_M_AXIS_DATA_WIDTH: Data width of the master AXI4-Stream data bus.

C_S_AXIS_DATA_WIDTH: Data width of the slave AXI4-Stream data bus.

C_M_AXIS_TUSER_WIDTH: Data width of the master TUSER bus.

C_S_AXIS_TUSER_WIDTH: Data width of the slave TUSER bus.

C_BASEADDR: Base address value of the core.

C_HIGHADDR: High address value of the core.

Register map

This module uses register infrastructure Ver 1.00, please refer to here for more details.

0x0 : ID - Block ID

0x4 : VERSION - Block Version

0x8 : RESET - Reset bit to reset counters

0xc : FLIP - Returns the negative value of a written register

0x10 :DEBUG - Debug Register

0x14 : COUNTERIN - Total number of incoming packets

0x18: COUNTEROUT - Total number of outgoing packets

Description

The function of this block is to remove vlan tags to all packets coming through a specific port. All the packets received through the nf0 or nf1 physical interface will be checked for VLAN tags. If they are vlan-tagged, the vlan tags will be removed and the resulting packets will be sent through nf2 or nf3 (or both) physical interface based on the register configuration set in the nic_output_port_lookup (v4).

Clone this wiki locally