ovm_phase_defines.svh File Reference

Go to the source code of this file.

Defines

#define ovm_phase_func_decl(NAME, TOP_DOWN)
#define ovm_phase_task_decl(NAME, TOP_DOWN)


Define Documentation

#define ovm_phase_func_decl ( NAME,
TOP_DOWN   ) 

Value:

class NAME_phase #(type PARENT=int) extends ovm_phase; \
    PARENT m_parent; \
    function new(); \
      super.new(" ",TOP_DOWN,0); \
    endfunction \
    virtual function void call_func(); \
      m_parent.NAME(); \
    endfunction \
    virtual task execute(ovm_component parent); \
      assert($cast(m_parent,parent)); \
      call_func(); \
    endtask  \
  endclass

Definition at line 32 of file ovm_phase_defines.svh.

#define ovm_phase_task_decl ( NAME,
TOP_DOWN   ) 

Value:

class NAME_phase #(type PARENT=int) extends ovm_phase; \
    PARENT m_parent; \
    function new(); \
      super.new(" ",TOP_DOWN,1); \
    endfunction \
    virtual task call_task(); \
      m_parent.NAME(); \
    endtask \
    virtual task execute(ovm_component parent); \
      assert($cast(m_parent,parent)); \
      call_task(); \
    endtask \
  endclass

Definition at line 48 of file ovm_phase_defines.svh.


Intelligent Design Verification
Intelligent Design Verification
Project: OVM, Revision: 1.0.1
Copyright (c) 2008 Intelligent Design Verification.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included here:
http://www.intelligentdv.com/licenses/fdl.txt
doxygen
Doxygen Version: 1.5.6
Sun Sep 21 13:53:50 2008
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV