Skip to content

Contrib. Core: NetFPGA SUME PktGen

Salvator Galea edited this page Jul 12, 2021 · 1 revision

Name

nf_sume_pktgen

Version

v1.0.0

Author

Pietro Bressana

Type

Contrib IP core (HW)

Location

lib/hw/contrib/cores/nf_sume_pktgen_v1_0_0/

Interface Types

AXI4-Stream

AXI-Lite

Busses

M_AXIS: Master AXI4-Stream bus, Variable width

S_AXI: Slave AXI4-Lite

Parameters

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

C_M_AXIS_TUSER_WIDTH: Data width of the master TUSER bus.

Register map

0x0 : ID - Block ID

0x4 : VERSION - Block Version

0x8 : RESET

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

0x10 : DEBUG - Debug register, returns the written value plus a preconfigured value

0x14 : PKTIN - Total number of incoming packets

0x18 : PKTOUT - Total number of outgoing packets

0x1C : TRIGGER - Triggers the generation of packets

0x20 : SIZE - Packet size

0x24 : NUMPKTS - Number of packets to be generated

0x28 : GAP_ADDR - Inter-Packet Gap

0x2C : KEEP_ADDR - Value of the TKEEP bus signal

0x30 : META0_ADDR - Metadata carried by TUSER signal

0x34 : META1_ADDR - Metadata carried by TUSER signal

0x38 : META2_ADDR - Metadata carried by TUSER signal

0x3C : META3_ADDR - Metadata carried by TUSER signal

0x40 : META4_ADDR - Metadata carried by TUSER signal

0x44 : META5_ADDR - Metadata carried by TUSER signal

0x48 : META6_ADDR - Metadata carried by TUSER signal

0x4C : META7_ADDR - Metadata carried by TUSER signal

0x50 : META8_ADDR - Metadata carried by TUSER signal

0x54 : META9_ADDR - Metadata carried by TUSER signal

0x58 : META10_ADDR - Metadata carried by TUSER signal

0x5C : META11_ADDR - Metadata carried by TUSER signal

0x60 : META12_ADDR - Metadata carried by TUSER signal

0x64 : META13_ADDR - Metadata carried by TUSER signal

0x68 : META14_ADDR - Metadata carried by TUSER signal

0x6C : META15_ADDR - Metadata carried by TUSER signal

Description

This core allows internal packet injection at full speed (~50Gbps). Generated packets are blank, i.e. data is all zeros. Metadata is customizable. Packet generation can be configured and triggered using "genpkts.sh" script. Metadata bus is extended to 256b.

Clone this wiki locally