Skip to main content

Module ports

Module ports 

Source
Expand description

The kernel’s ports: the same as ubft_new’s ubft kernel, so the Vitis link (config.cfg) connects rhdl_ubft where ubft_new’s kernel was.

PortKindubft_newHere
inputAXI4-Stream in, 64 bitshls::stream<ProposedValue>Axis64
output, remoteUpdateAXI4-Stream out, 256 bitshls::stream<ap_uint<256>>Axis256
m_axis_tx_metaAXI4-Stream out, 256 + keep/lastpkt256Axis256 + TxSide
m_axis_tx_dataAXI4-Stream out, 512 + keep/lastpkt512Axis512 + TxSide
s_axis_tx_statusAXI4-Stream in, 512pkt512 (drained)Axis512
network_ptrAXI4 master, 512-bit datam_axi gmem0AxiRead/AxiWrite
message_ptrAXI4 master (reads)m_axi gmem1AxiRead
s_axi_controlAXI4-Litearguments and ap_ctrl_hsAxiLiteIn/AxiLiteOut

Words are little-endian 64-bit lanes: lane 0 holds bits 0..64.

Modules§

regs
The kernel’s control registers (byte offsets), those of ubft_new’s HLS kernel (xubft_hw.h), so its host code drives rhdl_ubft unchanged.

Structs§

AxiLiteIn
AXI4-Lite requests (the layout of the Ed25519 and DSig services’ port).
AxiLiteOut
AXI4-Lite responses.
AxiRead
AXI4 read requests from the kernel (INCR bursts of 64-byte beats).
AxiReadResp
AXI4 read responses to the kernel.
AxiWrite
AXI4 write requests from the kernel (single 64-byte beats with byte strobes).
AxiWriteResp
AXI4 write responses to the kernel.
Axis64
A 64-bit stream beat.
Axis256
A 256-bit stream beat.
Axis512
A 512-bit stream beat.
CfgWrite
One host write into a scheme’s configuration window.
CryptoIn
What the consensus controller asks of a signature scheme: the agreed four streams, plus a one-time setup (seed and peers’ keys). A scheme is any Synchronous component with I = CryptoIn, O = CryptoOut (crypto::ed25519::Ed25519Crypto, DSig’s crypto::dsig), and the replica is generic over it.
CryptoOut
A signature scheme’s answers to the controller.
TxSide
The tkeep of a meta beat (32 bytes, all kept).

Traits§

CryptoScheme
A signature scheme’s compile-time shape. The replica takes SB = C::SHARE_BEATS as a const generic (kernels cannot read associated constants), and its constructor asserts they agree.

Functions§

idle64
No 64-bit beat.
idle256
No 256-bit beat.
idle512
No 512-bit beat.
idle_lite_in
No AXI4-Lite request.
idle_lite_out
No AXI4-Lite answer.
idle_read
No read request.
idle_read_resp
No read answer.
idle_write
No write request.