gz_24i1O waveform - Guzunty/Pi GitHub Wiki

When the sel signal goes low, the core converts the current state of the inputs into a bit stream on the miso signal. The testbench sends in a number of bytes and also changes the inputs. You can see the output bitstream change on the miso signal when the inputs change.

width=1200px

Note that mosi is ignored in this design. The test bench sends bits in on it, just to prove that the changes are ignored. The p_out signal is wired to the Raspberry Pi GPIO4, the design routes this to the last pin on P1 that is, FB3_11.