Skip to content

Every deferred transaction ends up showing the last one’s data, not its own

analysis-port / clone / do_copyUVM · runs take about 2 minutes

producer reuses one xact handle for every broadcast rather than allocating a new one, a common pattern for a monitor that samples every cycle. imm_sub handles each broadcast as it arrives and is correct. batch_sub defers its checking to the end of the test, which is fine on its own.

Right nowimm_sub reports every transaction correctly, but batch_sub reports the final transaction’s id/data for every entry it collected.

Fix the code so batch_sub reports each transaction’s id/data as they were when it arrived.

Source on GitHub

deferred_subscriber_needs_clone.sv