E0104: target has no native delay support and emulation is disabled
What happened
The model uses synaptic delays (delays=True on a Dense layer), but the compilation target declares native_delay_max_steps=0 and delay_fallback="reject". The target cannot implement delays at all, and no fallback is configured.
Why
Some hardware backends do not implement delay registers. If a model requires delays and the target cannot handle them — neither natively nor by emulation — compilation must fail.
How to fix
- Use the
sim target: thx.compile(model, "model.thx", target="sim"). The simulator emulates delays via ring buffers without limit.
- Remove delays from the model: set
delays=False (or do not specify delays) on Dense layers.
- Use a different hardware target that supports delays.
Example