ovm_printer_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_print_int(F, R)   ovm_print_int3(F, R, ovm_default_printer)
#define print_integral_field(F, R, NM, P)   P.print_field(NM, F, $bits(F), R, "[");
#define print_enum_field(T, F, NM, P)   P.print_generic(NM, "T", $bits(F), F.name(), "[");
#define ovm_print_int3(F, R, P)
#define ovm_print_object(F)   ovm_print_object2(F, ovm_default_printer)
#define ovm_print_object2(F, P)
#define ovm_print_string(F)   ovm_print_string2(F, ovm_default_printer)
#define ovm_print_string2(F, P)
#define ovm_print_array_int(F, R)   ovm_print_array_int3(F, R, ovm_default_printer)
#define ovm_print_array_int3(F, R, P)   ovm_print_qda_int4(F, R, P, da)
#define ovm_print_sarray_int3(F, R, P)   ovm_print_qda_int4(F, R, P, sa)
#define ovm_print_qda_int4(F, R, P, T)
#define ovm_print_qda_enum(F, P, T, ET)
#define ovm_print_queue_int(F, R)   ovm_print_queue_int3(F, R, ovm_default_printer)
#define ovm_print_queue_int3(F, R, P)   ovm_print_qda_int3(F, R, P, queue)
#define ovm_print_array_object(F, FLAG)   ovm_print_array_object3(F, ovm_default_printer,FLAG)
#define ovm_print_sarray_object(F, FLAG)   ovm_print_sarray_object3(F, ovm_default_printer,FLAG)
#define ovm_print_array_object3(F, P, FLAG)   ovm_print_object_qda4(F, P, da,FLAG)
#define ovm_print_sarray_object3(F, P, FLAG)   ovm_print_object_qda4(F, P, sa,FLAG)
#define ovm_print_object_qda4(F, P, T, FLAG)
#define ovm_print_object_queue(F, FLAG)   ovm_print_object_queue3(F, ovm_default_printer,FLAG)
#define ovm_print_object_queue3(F, P, FLAG)
#define ovm_print_array_string(F)   ovm_print_array_string2(F, ovm_default_printer)
#define ovm_print_array_string2(F, P)   ovm_print_string_qda3(F, P, da)
#define ovm_print_sarray_string2(F, P)   ovm_print_string_qda3(F, P, sa)
#define ovm_print_string_qda3(F, P, T)
#define ovm_print_string_queue(F)   ovm_print_string_queue2(F, ovm_default_printer)
#define ovm_print_string_queue2(F, P)
#define ovm_print_aa_string_int(F)   ovm_print_aa_string_int3(F, R, ovm_default_printer)
#define ovm_print_aa_string_int3(F, R, P)
#define ovm_print_aa_string_object(F, FLAG)   ovm_print_aa_string_object_3(F, ovm_default_printer,FLAG)
#define ovm_print_aa_string_object3(F, P, FLAG)
#define ovm_print_aa_string_string(F)   ovm_print_aa_string_string_2(F, ovm_default_printer)
#define ovm_print_aa_string_string2(F, P)
#define ovm_print_aa_int_object(F, FLAG)   ovm_print_aa_int_object_3(F, ovm_default_printer,FLAG)
#define ovm_print_aa_int_object3(F, P, FLAG)
#define ovm_print_aa_int_key4(KEY, F, R, P)


Define Documentation

#define ovm_print_aa_int_key4 KEY,
F,
R,
 ) 
 

Value:

begin \
    ovm_printer p__; \
    ovm_printer_knobs k__; \
    if(P!=null) p__ = P; \
    else p__ = ovm_default_printer; \
    m_sc.stringv = "aa(int,int)"; \
    for(int i=0; i<m_sc.stringv.len(); ++i) \
      if(m_sc.stringv[i] == " ") \
        m_sc.stringv[i] = "_"; \
    p__.print_array_header ("F", F.num(), m_sc.stringv); \
    k__ = p__.knobs; \
    if((p__.knobs.depth == -1) || (p__.m_scope.depth() < p__.knobs.depth+1)) \
    begin \
      foreach(F[aa_key]) begin \
          print_integral_field(F[aa_key], R,  \
                                {"[", $psprintf("%0d",aa_key), "]"}, p__) \
      end \
    end \
    p__.print_array_footer(F.num()); \
    p__.print_footer(); \
  end

Definition at line 367 of file ovm_printer_defines.svh.

#define ovm_print_aa_int_object F,
FLAG   )     ovm_print_aa_int_object_3(F, ovm_default_printer,FLAG)
 

Definition at line 340 of file ovm_printer_defines.svh.

#define ovm_print_aa_int_object3 F,
P,
FLAG   ) 
 

Value:

begin \
    ovm_printer p__; \
    ovm_printer_knobs k__; \
    ovm_object u__; \
    int key; \
    if(P!=null) p__ = P; \
    else p__ = ovm_default_printer; \
    p__.print_array_header ("F", F.num(), "aa(object,int)"); \
    k__ = p__.knobs; \
    if((p__.knobs.depth == -1) || (p__.m_scope.depth() < p__.knobs.depth+1)) \
    begin \
      foreach(F[key]) begin \
          $swrite(m_sc.stringv, "[%0d]", key); \
          if(((FLAG)&OVM_REFERENCE)==0) \
            p__.print_object(m_sc.stringv, F[key], "[");\
          else \
            p__.print_object_header(m_sc.stringv, F[key], "[");\
      end \
    end \
    p__.print_array_footer(F.num()); \
    p__.print_footer(); \
  end

Definition at line 343 of file ovm_printer_defines.svh.

#define ovm_print_aa_string_int  )     ovm_print_aa_string_int3(F, R, ovm_default_printer)
 

Definition at line 273 of file ovm_printer_defines.svh.

#define ovm_print_aa_string_int3 F,
R,
 ) 
 

Value:

begin \
    ovm_printer p__; \
    ovm_printer_knobs k__; \
    if(P!=null) p__ = P; \
    else p__ = ovm_default_printer; \
    p__.print_array_header ("F", F.num(), "aa(int,string)"); \
    k__ = p__.knobs; \
    if((p__.knobs.depth == -1) || (p__.m_scope.depth() < p__.knobs.depth+1)) \
    begin \
      foreach(F[string_aa_key]) \
          print_integral_field(F[string_aa_key], R,  \
                                {"[", string_aa_key, "]"}, p__) \
    end \
    p__.print_array_footer(F.num()); \
    p__.print_footer(); \
  end

Definition at line 277 of file ovm_printer_defines.svh.

#define ovm_print_aa_string_object F,
FLAG   )     ovm_print_aa_string_object_3(F, ovm_default_printer,FLAG)
 

Definition at line 295 of file ovm_printer_defines.svh.

#define ovm_print_aa_string_object3 F,
P,
FLAG   ) 
 

Value:

begin \
    ovm_printer p__; \
    ovm_printer_knobs k__; \
    ovm_object u__; \
    if(P!=null) p__ = P; \
    else p__ = ovm_default_printer; \
    p__.print_array_header ("F", F.num(), "aa(object,string)"); \
    k__ = p__.knobs; \
    if((p__.knobs.depth == -1) || (p__.m_scope.depth() < p__.knobs.depth+1)) \
    begin \
      foreach(F[string_aa_key]) begin \
          if(((FLAG)&OVM_REFERENCE)==0) \
            p__.print_object({"[", string_aa_key, "]"}, F[string_aa_key], "[");\
          else \
            p__.print_object_header({"[", string_aa_key, "]"}, F[string_aa_key], "[");\
      end \
    end \
    p__.print_array_footer(F.num()); \
    p__.print_footer(); \
  end

Definition at line 298 of file ovm_printer_defines.svh.

#define ovm_print_aa_string_string  )     ovm_print_aa_string_string_2(F, ovm_default_printer)
 

Definition at line 320 of file ovm_printer_defines.svh.

#define ovm_print_aa_string_string2 F,
 ) 
 

Value:

begin \
    ovm_printer p__; \
    ovm_printer_knobs k__; \
    if(P!=null) p__ = P; \
    else p__ = ovm_default_printer; \
    p__.print_array_header ("F", F.num(), "aa(string,string)"); \
    k__ = p__.knobs; \
    if((p__.knobs.depth == -1) || (p__.m_scope.depth() < p__.knobs.depth+1)) \
    begin \
      foreach(F[string_aa_key]) \
          p__.print_string({"[", string_aa_key, "]"}, F[string_aa_key], "["); \
    end \
    p__.print_array_footer(F.num()); \
    p__.print_footer(); \
  end

Definition at line 323 of file ovm_printer_defines.svh.

#define ovm_print_array_int F,
 )     ovm_print_array_int3(F, R, ovm_default_printer)
 

Definition at line 74 of file ovm_printer_defines.svh.

#define ovm_print_array_int3 F,
R,
 )     ovm_print_qda_int4(F, R, P, da)
 

Definition at line 77 of file ovm_printer_defines.svh.

#define ovm_print_array_object F,
FLAG   )     ovm_print_array_object3(F, ovm_default_printer,FLAG)
 

Definition at line 157 of file ovm_printer_defines.svh.

#define ovm_print_array_object3 F,
P,
FLAG   )     ovm_print_object_qda4(F, P, da,FLAG)
 

Definition at line 163 of file ovm_printer_defines.svh.

#define ovm_print_array_string  )     ovm_print_array_string2(F, ovm_default_printer)
 

Definition at line 217 of file ovm_printer_defines.svh.

#define ovm_print_array_string2 F,
 )     ovm_print_string_qda3(F, P, da)
 

Definition at line 220 of file ovm_printer_defines.svh.

#define ovm_print_int F,
 )     ovm_print_int3(F, R, ovm_default_printer)
 

Definition at line 35 of file ovm_printer_defines.svh.

#define ovm_print_int3 F,
R,
 ) 
 

Value:

do begin \
     ovm_printer p__; \
     if(P!=null) p__ = P; \
     else p__ = ovm_default_printer; \
     print_integral_field(F, R, `"F`", p__) \
   end while(0);

Definition at line 44 of file ovm_printer_defines.svh.

#define ovm_print_object  )     ovm_print_object2(F, ovm_default_printer)
 

Definition at line 52 of file ovm_printer_defines.svh.

#define ovm_print_object2 F,
 ) 
 

Value:

do begin \
     ovm_printer p__; \
     if(P!=null) p__ = P; \
     else p__ = ovm_default_printer; \
     p__.print_object("F", F, "["); \
   end while(0);

Definition at line 55 of file ovm_printer_defines.svh.

#define ovm_print_object_qda4 F,
P,
T,
FLAG   ) 
 

Definition at line 169 of file ovm_printer_defines.svh.

#define ovm_print_object_queue F,
FLAG   )     ovm_print_object_queue3(F, ovm_default_printer,FLAG)
 

Definition at line 209 of file ovm_printer_defines.svh.

#define ovm_print_object_queue3 F,
P,
FLAG   ) 
 

Value:

do begin \
    ovm_print_object_qda4(F,P, queue,FLAG); \
  end while(0);

Definition at line 212 of file ovm_printer_defines.svh.

#define ovm_print_qda_enum F,
P,
T,
ET   ) 
 

Definition at line 117 of file ovm_printer_defines.svh.

#define ovm_print_qda_int4 F,
R,
P,
 ) 
 

Definition at line 83 of file ovm_printer_defines.svh.

#define ovm_print_queue_int F,
 )     ovm_print_queue_int3(F, R, ovm_default_printer)
 

Definition at line 151 of file ovm_printer_defines.svh.

#define ovm_print_queue_int3 F,
R,
 )     ovm_print_qda_int3(F, R, P, queue)
 

Definition at line 154 of file ovm_printer_defines.svh.

#define ovm_print_sarray_int3 F,
R,
 )     ovm_print_qda_int4(F, R, P, sa)
 

Definition at line 80 of file ovm_printer_defines.svh.

#define ovm_print_sarray_object F,
FLAG   )     ovm_print_sarray_object3(F, ovm_default_printer,FLAG)
 

Definition at line 160 of file ovm_printer_defines.svh.

#define ovm_print_sarray_object3 F,
P,
FLAG   )     ovm_print_object_qda4(F, P, sa,FLAG)
 

Definition at line 166 of file ovm_printer_defines.svh.

#define ovm_print_sarray_string2 F,
 )     ovm_print_string_qda3(F, P, sa)
 

Definition at line 223 of file ovm_printer_defines.svh.

#define ovm_print_string  )     ovm_print_string2(F, ovm_default_printer)
 

Definition at line 63 of file ovm_printer_defines.svh.

#define ovm_print_string2 F,
 ) 
 

Value:

do begin \
     ovm_printer p__; \
     if(P!=null) p__ = P; \
     else p__ = ovm_default_printer; \
     p__.print_string("F", F, "["); \
   end while(0);

Definition at line 66 of file ovm_printer_defines.svh.

#define ovm_print_string_qda3 F,
P,
 ) 
 

Definition at line 226 of file ovm_printer_defines.svh.

#define ovm_print_string_queue  )     ovm_print_string_queue2(F, ovm_default_printer)
 

Definition at line 260 of file ovm_printer_defines.svh.

#define ovm_print_string_queue2 F,
 ) 
 

Value:

do begin \
    ovm_print_string_qda3(F,P, queue); \
  end while(0);

Definition at line 263 of file ovm_printer_defines.svh.

#define print_enum_field T,
F,
NM,
 )     P.print_generic(NM, "T", $bits(F), F.name(), "[");
 

Definition at line 41 of file ovm_printer_defines.svh.

#define print_integral_field F,
R,
NM,
 )     P.print_field(NM, F, $bits(F), R, "[");
 

Definition at line 38 of file ovm_printer_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:23:39 2008

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