In reply to subbarao:
You can reach this by running a loop with 16 iterations and using an inline constraint in your randomize function, forcing pwrite to 1,
for (int i = 0; i < 16; i++) begin
assert (trans.randomize with {pwrite == 1'b1;};
In reply to subbarao:
You can reach this by running a loop with 16 iterations and using an inline constraint in your randomize function, forcing pwrite to 1,
for (int i = 0; i < 16; i++) begin
assert (trans.randomize with {pwrite == 1'b1;};