# Simulation changing with respect to Sequence name

**URL:** <https://verificationacademy.com/forums/t/simulation-changing-with-respect-to-sequence-name/39476>\
**Category:** UVM\
**Tags:** UVM, sequence, create\
**Created:** [August 25, 2021, 9:52am UTC](https://verificationacademy.com/forums/t/simulation-changing-with-respect-to-sequence-name/39476 "2021-08-25T09:52:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![harsh\_pandya](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/harsh_pandya/32/2973_2.png) [@harsh\_pandya](https://verificationacademy.com/forums/u/harsh_pandya)\
**Post date:** [August 25, 2021, 4:28pm UTC](https://verificationacademy.com/forums/t/simulation-changing-with-respect-to-sequence-name/39476/2 "2021-08-25T16:28:48Z")

</div>

_In reply to [bachan21](https://verificationacademy.com/forums/t/simulation-changing-with-respect-to-sequence-name/39476):_

I have corrected some Syntex error from your code and tried below code it’s working fine for me with “SEQ” or “simple\_sequence”.  
So, there is not issue of name “SEQ” or “simple\_sequence”.  
name is only just use to create object only.

```verilog

// Code your testbench here
// or browse Examples

`include "uvm_macros.svh"
import uvm_pkg::*;

class simple_sequence extends uvm_sequence;
  `uvm_object_utils(simple_sequence)
  
  function new(string name="");
    super.new(name);
  endfunction : new
  
  virtual task body();
    $display("CHECK PASS");
  endtask : body
  
endclass : simple_sequence

class simple_test extends uvm_test; 
//Registering test 
  `uvm_component_utils(simple_test)
  
function new(string name, uvm_component parent);
 super.new(name, parent); 
 endfunction : new
 
//Declare the sequence
 simple_sequence seq; 
 
//simpleme class methods 
extern virtual task main_phase(uvm_phase phase); 
endclass : simple_test
 
task simple_test::main_phase(uvm_phase phase); 

//simpl_sequence
  seq = simple_sequence::type_id::create("simple_sequence");
  
// SEQ
//seq = simple_sequence::type_id::create( "SEQ");

  phase. raise_objection(this); 
  `uvm_info(get_full_name(), $sformatf("Running SIMPLE TEST"), UVM_MEDIUM) 
  seq.start(null);
  phase.drop_objection(this);
endtask : main_phase
  
module m;
  initial begin
    run_test("simple_test");
  end
endmodule : m

```

Thanks!

---

_[View the full topic](https://verificationacademy.com/forums/t/simulation-changing-with-respect-to-sequence-name/39476)._
