All skills
nvidia avatar

/hsb-ip-packetizer

@283faf4
by NVIDIA Corporationnvidia/skills3.5k stars
424

Choose or explain HSB Sensor RX packetizer fields for HOLOLINK_def.svh. Do not use for full defs, validation, or runtime APB programming.

Use this Skill: https://skilld.dev/gh/nvidia/skills/hsb-ip-packetizer

This session only. Nothing lands on disk.

referenceshandoff-contract.md

≈759 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Packetizer Handoff Contract

Use this reference when emitting output from hsb-ip-packetizer.

Modes

There are two output modes:

  • Standalone SVH: for a user adding lines to an existing or new HOLOLINK_def.svh.
  • Def-skill overlay: for hsb-ip-def, which consumes flat YAML keys and continues full-file generation and validation.

Do not mix both modes in the same answer unless the user explicitly asks for both.

Standalone SVH Contract

Use references/packetizer-def-fields.md as the canonical source for standalone SVH output formatting examples.

Emit one fenced systemverilog block containing only packetizer localparams. Do not emit SENSOR_RX_IF_INST, SIF_RX_WIDTH[], or non-packetizer macros.

After the block, explain how the emitted settings map to the user's data description. Keep this explanation after the fenced block so the block is easy to copy or consume.

End with a short validation note:

Run full-file validation with hsb-ip-def after inserting this into HOLOLINK_def.svh.

Def-Skill Overlay Contract

When invoked by hsb-ip-def, emit a labeled YAML overlay and no standalone SVH block. Put the overlay first, then add a concise explanation of what the settings allow for the user's input data and manipulation needs.

Label line:

packetizer_profile_overlay

All-disabled output:

packetizer_profile_overlay

sif_rx_packetizer_en: [0, 0]

Mixed output:

packetizer_profile_overlay

sif_rx_packetizer_en: [1, 0, 1]
sif_rx_vp_count: [4, 1, 2]
sif_rx_sort_resolution: [16, 2, 32]
sif_rx_vp_size: [128, 32, 256]
sif_rx_num_cycles: [1, 1, 3]

Uniform enabled output:

packetizer_profile_overlay

sif_rx_packetizer_en: [1, 1]
sif_rx_vp_count: [4, 4]
sif_rx_sort_resolution: [16, 16]
sif_rx_vp_size: [128, 128]
sif_rx_num_cycles: [1, 1]

The def skill merges these keys into the profile used by scripts/generate_def.py. It remains responsible for:

  • reconciling with the full design profile,
  • emitting the final HOLOLINK_def.svh,
  • running the full def validator,
  • reporting any whole-file errors or warnings.

The explanation may describe:

  • which RX interfaces are pass-through and which instantiate packetizer hardware,
  • how sif_rx_vp_count maps to the requested virtual streams,
  • how sif_rx_vp_size maps to each stream's width/size,
  • how sif_rx_sort_resolution maps to the data-rearrangement granularity or disables sorting when equal to the RX width,
  • how sif_rx_num_cycles maps to the stated single-cycle or multi-cycle manipulation window,
  • that disabled-interface peer entries are placeholders ignored by the RTL.

Placeholder Rule

When any interface is enabled and another interface is disabled, still emit peer arrays at full length. Use placeholders at disabled indices:

sif_rx_packetizer_en: [1, 0]
sif_rx_vp_count: [4, 1]
sif_rx_sort_resolution: [16, 2]
sif_rx_vp_size: [128, 32]
sif_rx_num_cycles: [1, 1]

These placeholder values match the bypass constants in top/HOLOLINK_top.sv:1356-1362.

Source: SKILL.md on GitHub

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill provides guidance for configuring NVIDIA Holoscan Sensor Bridge packetizer fields. It operates entirely as a text-based assistant, referencing local project files for accuracy without executing code, downloading external resources, or requesting sensitive information. No security risks were identified.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 283faf4. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
author
Holoscan Team <holoscan-team@nvidia.com>
version
0.1.0
tags
[
  "holoscan",
  "hsb",
  "packetizer",
  "systemverilog",
  "fpga"
]
Other metadata
compatibility
Targets HSB IP rev 16'h2604; backward-compatible with 16'h2603. Prefer live HSB IP packetizer source when available; warn on unknown revisions. Designed to work standalone or as a companion to hsb-ip-def.
metadata
{
  "author": "Holoscan Team <holoscan-team@nvidia.com>",
  "team": "holoscan",
  "domain": "fpga",
  "vendor": "nvidia",
  "tags": [
    "holoscan",
    "hsb",
    "fpga",
    "packetizer",
    "systemverilog"
  ],
  "languages": [
    "systemverilog"
  ],
  "artifact": "HOLOLINK_def.svh",
  "hsb_ip_version": "16'h2604"
}

README badge

README badge for nvidia/skills/hsb-ip-packetizer