ovm_phase_defines.svh File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ovm_phase_type_name_decl(NAME)
#define ovm_phase_func_decl(NAME, TOP_DOWN)
#define ovm_phase_task_decl(NAME, TOP_DOWN)
#define ovm_phase_func_topdown_decl(NAME)   ovm_phase_func_decl(NAME,1)
#define ovm_phase_func_bottomup_decl(NAME)   ovm_phase_func_decl(NAME,0)
#define ovm_phase_task_topdown_decl(NAME)   ovm_phase_task_decl(NAME,1)
#define ovm_phase_task_bottomup_decl(NAME)   ovm_phase_task_decl(NAME,0)


Define Documentation

#define ovm_phase_func_bottomup_decl NAME   )     ovm_phase_func_decl(NAME,0)
 

Definition at line 67 of file ovm_phase_defines.svh.

#define ovm_phase_func_decl NAME,
TOP_DOWN   ) 
 

Value:

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

Definition at line 36 of file ovm_phase_defines.svh.

#define ovm_phase_func_topdown_decl NAME   )     ovm_phase_func_decl(NAME,1)
 

Definition at line 66 of file ovm_phase_defines.svh.

#define ovm_phase_task_bottomup_decl NAME   )     ovm_phase_task_decl(NAME,0)
 

Definition at line 69 of file ovm_phase_defines.svh.

#define ovm_phase_task_decl NAME,
TOP_DOWN   ) 
 

Value:

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

Definition at line 50 of file ovm_phase_defines.svh.

#define ovm_phase_task_topdown_decl NAME   )     ovm_phase_task_decl(NAME,1)
 

Definition at line 68 of file ovm_phase_defines.svh.

#define ovm_phase_type_name_decl NAME   ) 
 

Value:

virtual function string get_type_name (); \
      return "NAME_phase #(PARENT)"; \
    endfunction

Definition at line 24 of file ovm_phase_defines.svh.


Intelligent Design Verification
Intelligent Design Verification
Project: OVM, Revision: 1.1.0
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.4.6
Mon Sep 29 14:20:20 2008

Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV