# Asynchronous Reset

**URL:** <https://verificationacademy.com/forums/t/asynchronous-reset/30886>\
**Category:** UVM\
**Tags:** System-Verilog, UVM, asynchronous, reset\
**Created:** [July 21, 2015, 1:08pm UTC](https://verificationacademy.com/forums/t/asynchronous-reset/30886 "2015-07-21T13:08:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucaskoelho](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/l/7993a0/32.png) [@lucaskoelho](https://verificationacademy.com/forums/u/lucaskoelho)\
**Post date:** [July 21, 2015, 1:08pm UTC](https://verificationacademy.com/forums/t/asynchronous-reset/30886/1 "2015-07-21T13:08:46Z")

</div>

Hi there,

What is the best way to generate asynchronous reset in the UVM environment? I’m a little bit lost with so many possible solutions like the Cypress DVCon 2012 article using events, [Cadence Reset Methodology](http://proceedings.dvcon-europe.org/2014/presentations_and_papers/T5_3_paper.pdf) and the **reset\_phase** used in UVM 1.1d examples (I know that is not recommended by Mentor).

So, what kind of technique do you use in your environment?

Moreover, Dave Rich [posted](https://verificationacademy.com/forums/uvm/how-add-random-delay-sequence-starts) this a couple years ago and I really don’t understand how to do that:

> For example, if you want to apply the reset signal for a random period, that should be randomized as part of a reset transaction that is sent to a driver that manages the reset pin of the DUT.

For now, I am generating a rand int unsigned delay and using this in driver. Like this:

```verilog

class driver extends uvm_driver#(reset_trans);
  ...
  task run_phase (uvm_phase phase);
    ...
    forever begin 
      ...
      #(trans.delay * 1ns)
      vif.reset_signal <= 0;
    end
  endtask
endclass

```
