The env builds one agent per DMA channel (NUM_CHANNELS of them). Before the env is built, the test sets each agent’s channel_id through uvm_config_db: channel 0 gets 10, channel 1 20, channel 2 30, channel 3 40.
Before any stimulus, run_phase queries every agent concurrently and checks each one owns the id it was given. That’s much cheaper than finding one channel’s traffic on another channel’s monitor two hours into a regression.
Right nowThe check fails, reporting the same id four times.
Fix the code so every agent reports its own configured id.
One working answer: brokenbench's own fix for this exercise. Try a few runs first.
What changes, against the code you started with:
docker run --pull always --rm -p 127.0.0.1:8787:8787 ghcr.io/adibis/brokenbench-runnerLooking for a runner on this computer…
The first start downloads about 250 MB; after that it starts in seconds and only downloads again when there's an update. Your code goes to the runner on your computer, not to chipdv.io.