Agentic design-space exploration
Status: preliminary, 2026-12-01. Each link in the chain below is measured: the simulator gives the RTL’s answers; it makes the search cheaper; and agents use it. But the agentic comparison so far rests on pilots, one run per arm per objective, and on this design space both arms reach the optimum. The pre-registered study, and the scaled one it calls for, are next.
The claim. With Waveflow an agent explores a hardware design space faster. It can ask pysim, Waveflow’s Python model of the whole design, what each design does, instead of building and simulating each at RTL. The test sets the same agent loose on a real FPGA design problem twice: once with the traditional tools (the algorithm’s bit-exact model, HLS estimates, synthesis and RTL simulation), once with pysim besides.
The results at a glance
| question | answer so far | measured with |
|---|---|---|
| Does pysim give the RTL’s answers? | On 5 of 7 whole designs at full load (1,000 blocks), every notification, every decision and the block-error rate are identical, and the block delay p99 is within 10 cycles of 4,674 to 12,837. The other 2 part on a cycle-level knife edge, 1 or 2 notifications in 900. | Vitis HLS, Vivado and xsim 2025.1 (1) |
| What does it save per design? | About 12 s of pysim against about 1 hour of RTL simulation for 2,000 blocks: about 300 times. | the site study’s costs |
| Does it make the search cheaper? | The same optimizer finds the best design in 15 to 19 tool-hours with pysim, against 45 to 83 at RTL: 3.0 to 4.3 times less. | TPE replayed, 30 runs an arm (2) |
| Do agents use it? | 44 of 44 pilot agents found the measured optimum. With pysim they needed 1.1 to 3.5 times less tool time, for $0.26 to $0.79 a run. | Claude Opus 5.5 in Claude Code (3) |
| Can it run at scale? | Every tool answer comes from measured tables (the replay), so an agent run needs no FPGA tools, takes 1 to 4 minutes and costs under a dollar. | scaling it up |
The test
The design problem (the site study) is an emitter detector for
a three-sector cellular site: twelve streams (three sectors of a 16-element array, four frequency channels)
whose samples are ray-traced with NVIDIA Sionna RT through the Denver scene. Each stream is searched for
arrivals and checked for departures, and the azimuth is estimated. It is built for an xczu48dr RFSoC at
250 MHz. Eight parameters give 648 designs (516 fit the part):
- the capture’s memory, a ring of slots or a pool of buffers, and its depth $R$;
- the bank shape;
- the search and check units, and the search lanes;
- the credits;
- catch-up on or off.
The objective, at each of three resource levels (50%, 65% and 80% of the part), is the lowest block delay p99 with a block error (missed plus falsely reported blocks, against the golden) of at most 5%.

The design space at full load in pysim: each point a design; coloured where the block error is within 5%; the step line is the front (the site study).
The two arms share everything but one tool:
| traditional | Waveflow | |
|---|---|---|
| the agent | Claude Code (Claude Opus 5.5, effort high) through the Claude Agent SDK |
the same |
| what it sees | a sandbox in a container: the brief (DSE.md) and the dse skill; no repository, no web, no FPGA tools |
the same, and pysim in the brief |
| its tools, each charged its measured tool time | the golden, HLS estimates, synthesis and implementation, RTL simulation | the same, and pysim (with its one-time calibration) |
| its budget | 48 tool-hours on 4 worker slots | the same |
| what it submits | one design per resource level, synthesized; the scorer confirms each at RTL (charged to both arms alike) | the same |
A run is scored by its regret, the submitted design’s p99 over the best design’s at that level (1.0 is
the optimum), and by the tool time it spent. The harness is examples/dse_cg/run_agent.py; the study’s
pre-registration is examples/aoa_detect/dse/agent/prereg.py; the agents’ tools are the
DSE service.
The replay. The service answers every tool call from tables measured once, and charges its measured tool time on a simulated clock:
- pysim for every design at 200, 500 and 2,000 blocks;
- synthesis, implementation and RTL simulation times from the lab’s Vivado and xsim 2025.1 records.
pysim stands in for the RTL’s numbers in the table, which 1 justifies. So a run that “spends” 48 tool-hours takes minutes of wall time, gives the same answers every time, and needs no FPGA licence.
1. The simulator gives the RTL’s answers
Seven whole designs of the space (the capture, the search and check units, the controller and the crossbar,
about 2.1 million cycles each) run at RTL against pysim on 1,000 blocks at full load. The harness is
examples/aoa_detect/dut_rtl.py (any design of the space), and the record is
examples/aoa_detect/dut_rtl_paper.json.

| design | notifications, RTL / pysim | decisions | block error, RTL and pysim | p99, RTL − pysim |
|---|---|---|---|---|
| pool, $R = 2$ (the paper’s) | 941 / 941 | 930, the same set | 1.48% | +5 cycles |
| ring, $R = 4$ (the paper’s) | 949 / 949 | 932, the same set | 1.25% | −9 cycles |
| pool, $R = 2$, 2 search units (the front’s fast end) | 951 / 951 | 938, the same set | 1.11% | +6 cycles |
| ring, $R = 8$ | 971 / 971 | 956, the same set | 0.59% | +1 cycle |
| pool, $R = 2$, no catch-up | 901 / 901 | 890, the same set | 6.83% | −10 cycles |
| pool, $R = 2$, 4 banks | 939 / 937 | 2 more at RTL | – | – |
| ring, $R = 4$, no catch-up | 900 / 901 | 5 only at RTL, 7 only in pysim | – | – |
Vitis HLS, Vivado and xsim 2025.1, xczu48dr at 4 ns; pysim model v7 at the RTL’s pacing; 1,000 blocks of
the site at full load, seed 1. Block delay from each block’s last sample to its answer’s commit.
- Where they agree, they agree on everything the metric reads: the same notifications, the same decisions, the same block-error rates, and a p99 within 10 cycles (0.15%).
- Where they part, it is a knife edge.
- In the pool on 4 banks, one search answer reached the capture 1 cycle after a block’s last sample at RTL and 12 cycles after in pysim. That is either side of the moment the capture reads its answers, so RTL re-notified that stream a block earlier.
- In the ring without catch-up, a search read its block just as the ring overwrote it: in time in pysim, late at RTL.
pysim is right on average, not cycle-exact, and a few cycles can flip a decision at a boundary.
- Per job, most answers are within −1 to +6 cycles (pysim’s model of the memory front is a few cycles ahead), and up to 20 cycles off where two readers share the front. The ring with catch-up at $R = 4$ notifies 12 cycles sooner at RTL: pysim’s end of block for the ring was measured at $R = 8$ only. A few tails are not yet explained.
- Two more designs at a quarter of the load, 200 blocks: the counts and rates are exact, and the p99 is within 1.2 cycles (the record).
- The ranking holds: five ring designs on 500 blocks gave the same order at RTL and in pysim (Spearman 1.0; timing fidelity for the method).
The cost: these runs took 5,792 to 10,612 s of xsim each (1.6 to 2.9 hours, several side by side on 8 cores). pysim runs the same design in seconds.
2. The simulator makes the search cheaper
The same black-box optimizer (Optuna’s TPE, 30 runs an arm, 150 trials a run) searches the space at each
level, once measuring designs at RTL and once in pysim. Every step is charged its tool time
(examples/aoa_detect/dse/replay_site.py;
the full study).

| arm | at ≤ 50%: tool hours, runs finding the best | at ≤ 65% | at ≤ 80% |
|---|---|---|---|
| pysim, TPE, then 5 confirmed at RTL | 15.0 h, 93% | 19.1 h, 100% | 19.2 h, 100% |
| RTL, 2,000 blocks | 45.1 h, 93% | 75.0 h, 100% | 82.6 h, 100% |
| RTL, 200 blocks, then 5 confirmed | 19.4 h, 97% | 29.1 h, 7% | 31.0 h, 3% |
- pysim finds the best design with 3.0 to 4.3 times less tool time. Its simulation is 0.2 of those hours; the rest is synthesis (about 9 hours in every arm) and confirming five designs at RTL.
- A cheaper RTL proxy misleads. RTL on 200-block traces is nearly as cheap, but it picks designs without catch-up, whose short-trace error is inside the bar. None of them passes the confirmation.
3. Agents use it
The CG study’s pilots (plans/dse_cg.md, 2026-11-12): an earlier design space, one agent run per arm per
objective, the same harness and model. All 6 runs submitted the measured optimum, in 10 to 17 turns, for
$0.26 to $0.49 a run. The Waveflow arm got there with less tool time:

36 further runs, on six exploratory deadline objectives, all found the optimum too. The simulator arm’s median
time to target was lower on every objective, by 1.1 to 1.8 times (1.45 against 2.00 hours over all runs), and
the runs cost $17 in all (cg_pilots.json). pysim’s one-time calibration (10.6 hours)
changes the picture:
- charged up front to each run, it makes the Waveflow arm later in every pilot;
- amortized over 30 runs, the arms are about even on two objectives, and Waveflow is 2.4 times faster on the third.
That study is paused while its architecture is reworked.
The site study’s pilots (this page’s design problem; examples/aoa_detect/dse/agent/run.py --pilot,
2026-12-01): one run per arm, the pre-registered budget.

| traditional | Waveflow | |
|---|---|---|
| designs submitted at 50% / 65% / 80% | the best / the best / the best (regret 1.0) | the best / the best / the best (regret 1.0) |
| tool time spent | 26.8 h (22.9 of it RTL simulation) | 12.5 h (6.8 RTL, 1.9 pysim of all 648 designs) |
| turns, wall time, API cost | 22, 222 s, $0.79 | 16, 116 s, $0.58 |
From site_pilots.json, scored by examples/aoa_detect/dse/agent/score.py.
- The two agents worked differently.
- The Waveflow agent ran pysim on the whole space (1.9 tool-hours), then synthesized and ran the four best designs at RTL to check them.
- The traditional agent reasoned from the units’ costs, 5 synthesis calls and 16 RTL simulations, and reached the same designs.
- Both found the optimum, so on this space regret does not separate the arms. Tool time does, by 2.1 times here.
What this does not show yet
- One pilot per arm per objective. The differences above are single runs; the scored study runs at least 3 per arm, and a fair estimate needs many more.
- The space is small enough to solve. 648 designs, a structure the traditional agent can reason about, and a budget it can afford: both arms reach the optimum. Tighter budgets, larger spaces and harder objectives would show whether pysim changes what an agent finds, not only how fast.
- The replay is a fixed table: one seed, three trace lengths, the 648 designs. pysim stands in for the RTL’s numbers in it, and section 1 shows where that is cycle-exact and where it is not.
- Synthesis dominates both arms’ time at this point of the design flow. The agents do not yet change the design itself (new blocks, new algorithms), where Waveflow’s single source should matter most.
Scaling it up
The replay makes the agentic study cheap and reproducible: no FPGA tools, a few minutes and under a dollar a
run, and the same answers every time. That is what a large agentic budget can use well: hundreds of runs for
real statistics, budget sweeps that show where the arms part, more models and agent designs, and larger spaces.
The plan an agent can follow to run it is plans/agentic_dse_at_scale.md.
Reproduce
# the figures of this page (from the committed records)
python -m examples.aoa_detect.dse.plots_eval
# one agent run on the replay (an Anthropic API key, Docker, the image examples/dse_cg/agent/Dockerfile)
( export ANTHROPIC_API_KEY=...; python -m examples.aoa_detect.dse.agent.run --arm waveflow --pilot \
--model claude-opus-5-5 --effort high --max-turns 50 --max-wall-h 0.33 --root ~/dse_runs )
# the optimizer's replay
python -m examples.aoa_detect.dse.replay_site
# a whole design at RTL against pysim (Vitis HLS, Vivado and xsim 2025.1)
python -m examples.aoa_detect.dut_rtl run --design six --which 0