In spi_master.vhd
-- minimum prefetch lookahead check assert PREFETCH >= 2 report "Generic parameter 'PREFETCH' (lookahead count) needs to be 1 minimum"
must be 2 minimum.
actually, must be 1 minimum. The assert was changed to assert PREFETCH >= 2
The assert can even be omitted, because this generic is of type 'positive', but some synthesis tools can accept it with value zero.
Oops, sorry, the assert was changed to assert PREFETCH >= 1