SlotFill: Repairing Lossy SoC Communication Traces for Post-Silicon Validation
Organizations: University of South Florida
Abstract
Post-silicon validation relies on traces of messages exchanged by SoC components, but trace buffers and monitors drop messages, often leaving no mark of what was lost. We present SlotFill, which puts each deleted message back in the right gap, with the right type and order. SlotFill gives every gap between the remaining messages a fixed number of slots, and a Transformer-based model fills each slot with a message or leaves it empty when nothing was deleted there, so the input never reveals how much was lost. The model also uses monitor fields (timestamps, transaction IDs, addresses) from surviving messages. On whole-program gem5 traces of 4- and 8-core systems (2.07 billion messages), SlotFill restores up to 97% of deleted messages exactly at 15% loss and up to 87% at 50% loss, and 76-83% at 15% loss when timestamps are coarse.
Figures & tables
| CPU / ISA | TimingSimpleCPU, x86; 4 and 8 cores |
| Caches | private L1I/L1D per core, shared L2 behind a snooping L2 bus; classic memory system |
| Memory | DDR4 (SE), DDR3 (FS) |
| Monitors | CommMonitor on all major links, recording requests and responses. Per core (6): cpu–icache, cpu–dcache, icache–l2bus, dcache–l2bus, iwalker–l2bus, dwalker–l2bus. Shared (3): l2bus–l2cache, l2cache–membus, membus–dram. FS only (18, OS, interrupt, PIO and DMA traffic): membus–bridge and bridge–iobus (both directions), iobus to cmos, dma1, keyboard, pic1, pic2, pit, speaker, io_apic, uart; io_apic–iobus; pcibus–ide (both directions); iobus–iocache, iocache–membus |
| Monitor count | 27 / 51 (SE-4/8), 45 / 69 (FS-4/8) |
| Workloads | SE: fft, lu, radix, snoop (Peterson lock), threads, ocean. FS (Ubuntu, after-boot checkpoint): blackscholes, fluidanimate, streamcluster, io, snoop, threads, swaptions |
| Unseen program | ocean (SE), swaptions (FS): never in training |
| 15% deleted | 25% deleted | 50% deleted | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Set | Dec. | Strict (prec.) | Tie-aware | Flow-rel. | Strict (prec.) | Tie-aware | Flow-rel. | Strict (prec.) | Tie-aware | Flow-rel. | ||
| FS, 4 cores | L2R | 94.1 (91.3) | 95.1 | 95.4 | 92.5 (90.7) | 93.9 | 94.3 | 82.1 (84.4) | 85.5 | 86.6 | ||
| Par. | 91.7 (92.1) | 92.7 | 92.8 | 89.6 (90.9) | 91.0 | 91.3 | 78.2 (84.3) | 81.5 | 82.4 | |||
| Bigram ∗ | 57.1 (57.1) | 58.0 | 59.2 | 52.9 (53.1) | 54.6 | 56.7 | 40.3 (42.2) | 45.0 | 49.7 | |||
| Prior | 19.6 (21.0) | 31.8 | 35.3 | 18.0 (22.8) | 30.6 | 34.5 | 12.3 (24.7) | 23.6 | 27.7 | |||
| Txid rule | 3.3 (9.8) | 4.3 | 18.4 | 2.5 (11.3) | 3.5 | 14.0 | 1.3 (13.5) | 2.5 | 7.7 | |||
| CPU L1 | Beyond L1 | Unseen program | ||||||
|---|---|---|---|---|---|---|---|---|
| Set | Dec. | 15% | 50% | 15% | 50% | 15% | 25% | 50% |
| FS-4 | L2R | 95.9 | 89.0 | 82.6 | 65.4 | 92.7 | 90.9 | 80.6 |
| Par. | 94.2 | 85.9 | 75.3 | 55.1 | 90.3 | 88.0 | 77.2 | |
| FS-8 | L2R | 96.0 | 88.9 | 78.0 | 63.3 | 91.5 | 90.6 | 82.2 |
| Par. | 94.2 | 84.8 | 69.4 | 51.7 | 88.7 | 86.6 | 77.4 | |
| SE-4 | L2R | 97.0 | 90.9 | 94.9 | 87.1 | 93.5 | 90.5 | 79.3 |
| Set | 15% | 25% | 50% | Prec. at 50% | |
|---|---|---|---|---|---|
| FS-4 | 6 | 94.4 | 92.7 | 82.5 | 84.6 |
| 9 | 94.1 | 92.4 | 84.1 | 83.9 | |
| FS-8 | 6 | 94.2 | 92.6 | 82.2 | 84.0 |
| 9 | 93.4 | 92.0 | 82.7 | 81.3 | |
| Window length: 3,590 ( ) vs. 5,129 ( ) positions (+43%) | |||||
| 4 cores | 8 cores | |||
|---|---|---|---|---|
| Model | 15% | 50% | 15% | 50% |
| L2R, 2.2M | 93.0 | 79.8 | 92.4 | 79.1 |
| L2R, 5.3M (ours) | 94.1 | 82.1 | 93.7 | 81.9 |
| L2R, 9.7M | 94.1 | 82.1 | 93.8 | 81.8 |
| Parallel, 5.0M | 91.7 | 78.2 | 91.1 | 77.2 |
| FS-4 | FS-8 | ||||||
| Model | Test | 15% | 25% | 50% | 15% | 25% | 50% |
| Full, L2R | exact | 94.1 | 92.5 | 82.1 | 93.7 | 92.2 | 81.9 |
| Full, Par. | exact | 91.7 | 89.6 | 78.2 | 91.1 | 89.1 | 77.2 |
| No fields, L2R | – | 80.8 | 77.0 | 58.4 | 82.5 | 79.4 | 62.7 |
| No fields, Par. | – | 78.5 | 74.0 | 55.2 | 80.7 | 76.7 | 60.1 |
| Mixed, L2R | exact | 92.7 | 90.5 | 77.5 | 92.3 | 90.2 | 77.6 |
| Acceptance | Damaged, RA (%) | Repaired, RA (%) | |||||
|---|---|---|---|---|---|---|---|
| Program | on clean (%) | 15% | 25% | 50% | 15% | 25% | 50% |
| threads, 4c | 71.2 | 84.8 | 74.7 | 49.7 | 99.8 | 99.5 | 95.4 |
| threads, 8c | 83.0 | 84.6 | 74.6 | 49.5 | 99.8 | 99.5 | 95.9 |
| snoop, 4c | 85.3 | 84.8 | 74.7 | 49.7 | 99.9 | 99.7 | 97.1 |
| snoop, 8c | 75.2 | 84.7 | 74.6 | 49.5 | 99.4 | 98.8 | 93.3 |
| Rejection | Damaged, RR (%) | Repaired, RR (%) | |||||
| 4 cores | 8 cores | |||||
|---|---|---|---|---|---|---|
| Train test | 15% | 25% | 50% | 15% | 25% | 50% |
| In-order in-order | 96.8 | 95.4 | 86.5 | 93.5 | 91.6 | 78.6 |
| In-order O3 | 14.0 | 13.0 | 9.8 | 14.8 | 13.6 | 10.5 |
| O3 O3 | 54.5 | 51.1 | 39.9 | 45.3 | 42.1 | 32.6 |
| tie-aware | 71.4 | 70.6 | 62.5 | 62.9 | 62.2 | 56.1 |