Skip to main content

table_images

Function table_images 

Source
pub fn table_images(
    table: &[Vec<Niels>],
) -> (Vec<(usize, Niels17)>, Vec<(usize, Niels17)>)
Expand description

A fixed-base table as two BRAM images (even and odd entries of each pair), row table_row(i) + pair.

Returns (address, entry) preload lists for table0 and table1. The scanner reads both images at one row, so one T step tests two entries.