pub fn dsp_halves(a: usize, b: usize) -> u64
The halves of a Stratix 10 DSP block an a×b product takes: two products of at most 18×19 share a block, one of at most 27×27 fills it, and a wider one is tiled in 27×27 blocks.
a
b