Skip to main content

LUTS_PER_LUT_SBOX

Constant LUTS_PER_LUT_SBOX 

Source
pub const LUTS_PER_LUT_SBOX: f64 = 32.0;
Expand description

LUTs per LUT-ROM S-box. Estimate: the routed link’s 59,946 LUT-RAM per slice over its 1,482 S-boxes is ~40; 32 (8 outputs × 4 LUT6) is the conservative floor used here.

Unit: CLB LUTs saved per S-box moved to RAM. Choosing the low figure means the planner under-promises savings rather than over-promises them.