A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.
Simulated device model
Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.
SPI
| Pin | Type | Role |
|---|---|---|
VCC | power_in | — |
GND | power_in | — |
CLK | input | spi_sck |
QH | output | spi_miso |
SH_LD | input | spi_cs |
D0 | input | — |
D1 | input | — |
D2 | input | — |
D3 | input | — |
D4 | input | — |
D5 | input | — |
D6 | input | — |
D7 | input | — |
Modelled from Texas Instruments SN74HC165 datasheet.