Author: Foez Ahmed (foez.official@gmail.com)
None
| Name | Direction | Type | Dimension | Description |
|---|---|---|---|---|
| block_in | input | logic [65:0] | ||
| scramble_state_in | input | logic [57:0] | ||
| payload_out | output | logic [63:0] | ||
| sync_header_out | output | logic [ 1:0] | ||
| scramble_state_out | output | logic [57:0] | ||
| header_err | output | logic |
This module implements a 64b/66b decoder designed to process encoded data blocks. It performs synchronization header extraction, payload descrambling using a provided state, and validation of the sync header to detect transmission errors.
The adn_endec_decoder_64b66b module is used to decode 66-bit blocks into 64-bit data payloads.
- Input: Provide the 66-bit encoded block to
block_inand the current 58-bit scrambling state toscramble_state_in. - Processing: The module extracts the 2-bit sync header and descrambles the 64-bit payload using the provided state.
- Output: The decoded 64-bit payload is available at
payload_out, the sync header atsync_header_out, and the updated scrambling state atscramble_state_out. - Error Detection: The
header_errsignal asserts high if the sync header is invalid (i.e., not2'b01or2'b10).
| REVISION | DATE | AUTHOR | DESCRIPTION |
|---|---|---|---|
| 1.0 | 2026-07-29 | Foez Ahmed | Stable release |
Author : Foez Ahmed (foez.official@gmail.com)