Fine Channel Depacketizer

Receives and filters fine channel packets from the network and converts them into the cell format expected by the HBM Corner Turner.

Low-Level Device Interface

Commands

Command

Input Type

Input Description

Output Type

Output Description

Command Description

Configure()

DevString

JSON configuration; see below.

n/a

Configures parameters for the Fine Channel Depacketizer, including flags determining whether to drop certain types of packets, as well as the expected VLAN ID and destination address.

Start()

n/a

n/a

Starts the Fine Channel Depacketizer IP if stopped.

Stop()

n/a

n/a

Stops the Fine Channel Depacketizer IP if started.

Reset()

n/a

n/a

Returns all configured parameters to their default values and stops the IP block if started.

GetStatus()

DevBoolean

Whether to clear counters in firmware.

DevString

Status JSON; see below.

Gets the status of the Fine Channel Depacketizer, including various counters for accepted and dropped packets.

JSON Field Definitions

Configure() Input JSON Parameters

Parameter

Type

Allowed Range

Description

wrong_dest_mac_drop

boolean

Whether to drop packets that do not match the configured destination MAC.

wrong_tpid_drop

boolean

Whether to drop packets that do not match the expected TPID.

wrong_vid_drop

boolean

Whether to drop packets that do not match the configured VLAN ID.

wrong_ethertype_drop

boolean

Whether to drop packets that do not match the expected Ethertype.

exp_vlan_id

integer

0 to 4095

The expected VLAN ID to match incoming packets against.

exp_dest_mac

integer

0 to 248-1

The expected destination MAC address to match incoming packets against.

GetStatus() Output JSON Fields

Field

Type

Possible Range

Description

wrong_dest_mac_count

integer

0 to 232-1

The number of destination MAC drop events.

wrong_tpid_count

integer

0 to 232-1

The number of TPID drop events.

wrong_vid_count

integer

0 to 232-1

The number of VLAN ID drop events.

wrong_ethertype_count

integer

0 to 232-1

The number of Ethertype drop events.

good_packet_count

integer

0 to 232-1

The number of good packets.

good_cell_count

integer

0 to 232-1

The number of good cells.

bad_cell_count

integer

0 to 232-1

The number of bad cells, which didn’t align to the packet boundary.