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
Fig. 1: SlotFill overview. A monitor on a link records every message with its fields (tick, txid, address, direction, type). We take a random window from a whole-run ROI trace and delete messages at random to simulate trace loss. SlotFill then repairs the window: (a) only kept messages survive, but their fields give hints: 9 cycles passed between k1 and k2 . (b) Every gap gets S slots, so the length depends only on the number of kept messages. (c) The decoder (left to right or parallel) fills each slot with a message ( x , y ) or ∅ (empty).
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
TABLE II: Recovery on whole-run gem5 traces (% of deleted messages; strict precision in brackets). Strict = right gap, type and order. L2R = left to right; Par. = parallel (masked diffusion). Same layout, model size, features and data. Bigram ∗ is given the true gap positions and sizes. Txid rule inserts the missing partner of every kept request or reply next to it. Prior: the find-then-fill of [ 8 ] with a BERT masked LM, reimplemented at our model size, data and training budget; no monitor fields, at most one message per gap.
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
TABLE III: Strict recovery by message group and on the unseen program (whole-run test). L2R = left to right; Par. = parallel.
Fig. 2: Effect of the slot limit (L2R trained with S=9 , FS whole-run test, 32 windows per program and rate). Solid: strict recovery. Dashed: the cap C(k) of Sec. IV-C , the most any k -slot model could recover.
TABLE IV: L2R trained with S=6 vs. S=9 slots per gap (FS whole-run, strict %, 32 windows per program and rate). More slots help only at 50% loss, and precision drops.
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
TABLE V: Model size (FS whole-run, strict %). Same data, features and epochs.
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
TABLE VI: FS whole-run test, strict %. No fields: retrained without time gap, time-RoPE and orphan flag. Mixed: retrained with ticks rounded to 1, 10, 100 or 1000 cycles at random, and with loss drawn per window from bursts of 1–2 (50%), bursts of 3–6 (25%) or a FIFO (25%); tested on 32 windows per program and rate. C(6) : share of deleted messages that fit in 6 slots. Rounding to 100 cycles gives the same results as 1000 (within 0.5 points). † Real loss 23% and 28%: see text.
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 (%)
TABLE VII: Debugging on SE traces (L2R repair). AutoModel [ 6 ] flow models mined from other clean runs (pooled, 5 traces × 4 models). Top: relative acceptance RA = accepted events / accepted events in the clean trace (repaired: kept messages plus inserted ones that match a message lost in their gap). Bottom: 480–500 injected bugs per type and setting; relative rejection RR = rejected bugs / rejected without loss; the checker itself rejects only 6.4% of dropped replies, so their RR is noisy.
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
TABLE VIII: SE traces from an out-of-order (O3) CPU, L2R, strict %. Tie-aware counts messages in the same cycle as interchangeable. In-order: Table II .