A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.
Declarative I²C kit — core/configs/devices/tmp102.yaml. TEMP self-drifts +0.5 °C per read and wraps 35 → 20 °C, a deterministic demo stimulus with no SimInput channel; CONFIG/T_LOW/T_HIGH store what a driver writes. NOT modelled: the ALERT pin, one-shot conversion timing, extended (13-bit) mode arithmetic.
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.
I²C · default address 72
[object Object]
| Pin | Type | Role |
|---|---|---|
VCC | power_in | — |
GND | power_in | — |
SDA | open_drain | i2c_sda |
SCL | open_drain | i2c_scl |
Modelled from Texas Instruments TMP102 datasheet.