Add packetizer cocotb regression coverage#1425
Merged
Merged
Conversation
This was referenced May 28, 2026
77c2348 to
eb616cb
Compare
Thin flattened-port wrappers under protocols/packetizer/wrappers/ so cocotb can drive and observe the existing packetizer RTL through standard AXI Stream ports without embedding stimulus in VHDL: - AxiStreamBytePackerWrapper - AxiStreamPacketizerWrapper / AxiStreamDepacketizerWrapper - AxiStreamPacketizer2Wrapper / AxiStreamDepacketizer2Wrapper - AxiStreamPacketizer2LoopbackWrapper (end-to-end packetize/depacketize topology)
eb616cb to
5a937e0
Compare
Python cocotb tests and shared helpers under tests/protocols/packetizer/ covering byte-width packing, packetizer/depacketizer payload round trips, packetizer2/depacketizer2 framing, CRC and EOFE/error handling, link-drop behavior, sequence-number wrap, and packetizer2 loopback recovery.
5a937e0 to
965fc67
Compare
ruck314
approved these changes
Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds focused cocotb regression coverage for the AXI Stream packetizer family, including byte packing, packetizer/depacketizer, packetizer2/depacketizer2, CRC/error handling, link-drop behavior, loopback behavior, and sequence wrap handling.
Details
This packetizer-focused slice adds thin VHDL wrappers under
protocols/packetizer/wrappers/so cocotb can drive and observe the existing RTL through flattened AXI Stream ports without embedding stimulus in VHDL. The wrappers cover:AxiStreamBytePackerAxiStreamPacketizerandAxiStreamDepacketizerAxiStreamPacketizer2andAxiStreamDepacketizer2The new Python regression support under
tests/protocols/packetizer/adds shared packetizer helpers and directed tests for:The branch also adds/updates regression planning notes for the packetizer work under
docs/plans/rtl-regression/.Merge after #1414.