" uvm_do_on_with " constraint issue

In reply to hah:

You get this randomization error, because you did not construct req.
And you are mixing 2 different seq_items.

The correct syntax for the macro is

`uvm_do_with(req, {addr >= 150; data < 150; } )

where addr and data are members of your seq_item.