Skip to main content

Module share

Module share 

Source
Expand description

Streaming a peer’s share out of HBM, realigned, into the verify request.

A certify share is SB 64-byte beats (Ed25519 1, DSig 26) at word certify + (slot·N + node)·16·SB. ubft_new’s mailboxes start 60 bytes into a 64-byte line, so a share straddles lines. ShareReader reads SB + 1 lines in one burst and shifts each pair of lines into one aligned beat, so the share flows from memory to the verifier with no buffer, at one beat per cycle while the verifier keeps up.

Structs§

ShareIn
Inputs of ShareReader.
ShareOut
Outputs of ShareReader.
ShareReader
Realigning share reader.
ShareReq
A read request.
ShareState
The reader’s registers.

Functions§

align
Bytes shift..shift+64 of the 128 bytes lo ‖ hi.
share_kernel
The reader’s logic.