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