$deposit in always block?

In power aware simulation, I want to deposit some random value at the output of non-resetable flop whenever active high reset is asserted.Is it ok to put $deposit in always block or is there any other way to to achieve this.

always @(posedge reset)
begin
$deposit(pathToFlop.Q,$random);
end

In reply to gaganusc:

$deposit is not part of the SystemVerilog standard. This forum is not for discussing tool specific issues. Please read your tool manual or contact your tool vendor directly.