Skip to main content

expected_stream

Function expected_stream 

Source
pub fn expected_stream(regs: &[[u64; 4]; 8]) -> Vec<u8> ⓘ
Expand description

The 129-byte serial frame the SoC streams: a 0xA5 sync byte, then R2..R5 (256-bit each), most-significant byte first. This is exactly what scripts/coproc-host.py reconstructs and what tb_coproc_soc.v samples off the wire — the single definition of the readout order.