Skip to main content

Module multicomb_table

Module multicomb_table 

Source
Expand description

Constant-pattern multi-comb lookup backed entirely by inferred BRAM.

The Ed25519 basepoint table has four logical banks and 128 entries per bank. Each 765-bit entry stores three radix-2^51 field coordinates. Eight physical read replicas per bank fetch eight public scan groups each cycle, so every request scans all 32 groups in four cycles. Secret candidate bits select only registered return data; they never drive a BRAM address or enable.

The logical table payload is 391,680 bits (48,960 bytes). The eight-way read replication occupies 3,133,440 initialized bits, corresponding to 96 BRAM36 primitives before implementation packing.

Structs§

MultiCombLookup
Four-cycle constant-address signed multi-comb table lookup.
MultiCombLookupIn
Request accepted by MultiCombLookup.
MultiCombLookupOut
Response and flow control from MultiCombLookup.
NielsPoint
Projective-Niels coordinates consumed by the fixed-base mixed-add formula.

Functions§

multicomb_lookup_kernel
State transition for the constant-address lookup.