Skip to main content

place_kernel

Function place_kernel 

Source
pub fn place_kernel(node: [b8; 18], onehot: [bool; 64]) -> [b8; 82]
Expand description

Bytes of node shifted to start at offset fill, over 82 positions.

Position p (0..82) holds node[p - fill] when that index is in range, else zero. onehot[f] is true exactly for f == fill.

82 = 64 + 18: positions 0..64 are the current word, 64..82 the overflow into the next word. Pure combinational logic, no registers.