Skip to content

sidecar: use RDL-defined types in sequencer - #522

Merged
Aaron-Hartwig merged 1 commit into
mainfrom
aaron/sidecar-seq-types
Aug 21, 2026
Merged

sidecar: use RDL-defined types in sequencer#522
Aaron-Hartwig merged 1 commit into
mainfrom
aaron/sidecar-seq-types

Conversation

@Aaron-Hartwig

@Aaron-Hartwig Aaron-Hartwig commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

This moves the state, step, and error types for the Tofino sequencer code out of RTL and into the RDL definition. There are no functional changes here, just shuffling types around. This will support allowing the Hubris sidecar-seq code to leverage the same types as the FPGA. Currently we duplicate the type definitions, once in the BSV and again in Rust.

Fixes #521

@nathanaelhuffman nathanaelhuffman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One tiny comment about whether None becomes overloaded or confusing once this is used in Rust, otherwise LGTM

Comment thread hdl/projects/sidecar/mainboard/PCIeEndpointController.bsv
@Aaron-Hartwig
Aaron-Hartwig merged commit c7ba70c into main Aug 21, 2026
10 checks passed
@Aaron-Hartwig
Aaron-Hartwig deleted the aaron/sidecar-seq-types branch August 21, 2026 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sidecar: make use of RDL-defined types in Tofino2Sequencer.bsv

2 participants