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

Go to the source code of this file.
Defines | |
| #define | ovm_field_utils |
| #define | ovm_field_utils_begin(T) |
| #define | ovm_field_utils_end |
| #define | ovm_object_utils(T) |
| #define | ovm_object_utils_begin(T) |
| #define | ovm_object_utils_end |
| #define | ovm_component_utils(T) |
| #define | ovm_component_utils_begin(T) |
| #define | ovm_component_utils_end |
| #define | ovm_field_int(ARG, FLAG) |
| #define | ovm_field_enum(T, ARG, FLAG) |
| #define | ovm_field_object(ARG, FLAG) |
| #define | ovm_field_event(ARG, FLAG) |
| #define | ovm_field_string(ARG, FLAG) |
| #define | ovm_field_array_int(ARG, FLAG) |
| #define | ovm_field_sarray_int(ARG, FLAG) |
| #define | ovm_field_array_object(ARG, FLAG) |
| #define | ovm_field_sarray_object(ARG, FLAG) |
| #define | ovm_field_array_string(ARG, FLAG) |
| #define | ovm_field_sarray_string(ARG, FLAG) |
| #define | ovm_field_queue_int(ARG, FLAG) |
| #define | ovm_field_queue_object(ARG, FLAG) |
| #define | ovm_field_queue_string(ARG, FLAG) |
| #define | ovm_field_aa_int_string(ARG, FLAG) |
| #define | ovm_field_aa_object_string(ARG, FLAG) |
| #define | ovm_field_aa_string_string(ARG, FLAG) |
| #define | ovm_field_aa_object_int(ARG, FLAG) |
| #define | ovm_field_aa_int_int(ARG, FLAG) ovm_field_aa_int_key(int, ARG, FLAG) \ |
| #define | ovm_field_aa_int_int_unsigned(ARG, FLAG) ovm_field_aa_int_key(int unsigned, ARG, FLAG) |
| #define | ovm_field_aa_int_integer(ARG, FLAG) ovm_field_aa_int_key(integer, ARG, FLAG) |
| #define | ovm_field_aa_int_integer_unsigned(ARG, FLAG) ovm_field_aa_int_key(integer unsigned, ARG, FLAG) |
| #define | ovm_field_aa_int_byte(ARG, FLAG) ovm_field_aa_int_key(byte, ARG, FLAG) |
| #define | ovm_field_aa_int_byte_unsigned(ARG, FLAG) ovm_field_aa_int_key(byte unsigned, ARG, FLAG) |
| #define | ovm_field_aa_int_shortint(ARG, FLAG) ovm_field_aa_int_key(shortint, ARG, FLAG) |
| #define | ovm_field_aa_int_shortint_unsigned(ARG, FLAG) ovm_field_aa_int_key(shortint unsigned, ARG, FLAG) |
| #define | ovm_field_aa_int_longint(ARG, FLAG) ovm_field_aa_int_key(longint, ARG, FLAG) |
| #define | ovm_field_aa_int_longint_unsigned(ARG, FLAG) ovm_field_aa_int_key(longint unsigned, ARG, FLAG) |
| #define | ovm_field_aa_int_key(KEY, ARG, FLAG) |
| #define | ovm_set_flags(ARG, FLAG) |
| #define | ovm_print_msg_enum(LHS, RHS) |
| #define | ovm_record_int(ARG, FLAG) |
| #define | ovm_record_string(ARG) recorder.record_string("ARG", ARG); \ |
| #define | ovm_record_object(ARG, FLAG) |
| #define | ovm_record_any_object(ARG) |
| #define | ovm_new_func |
| #define | ovm_component_new_func ovm_new_func |
| #define | ovm_new_func_data |
| #define | ovm_object_new_func ovm_new_func_data |
| #define | ovm_named_object_new_func |
| #define | ovm_object_create_func(T) |
| #define | ovm_object_factory_create_func(T) |
| #define | ovm_named_object_create_func(T) |
| #define | ovm_named_object_factory_create_func(T) ovm_named_object_create_func(T) |
| #define | ovm_component_factory_create_func(T) |
| #define | ovm_get_type_name_func(T) |
| #define | USE_PARAMETERIZED_WRAPPER |
| #define | ovm_register_self_func(T) |
| #define | ovm_object_registry(T, S) static ovm_object_registry#(T,"S") is_auto_registered; |
| #define | ovm_component_registry(T, S) ovm_component_registry#(T,"S") is_auto_registered; |
| #define | OVM_FIELD_DATA(ARG, FLAG) |
| #define | OVM_FIELD_ENUM(T, ARG, FLAG) |
| #define | OVM_FIELD_DATA_EVENT(ARG, FLAG) |
| #define | OVM_FIELD_DATA_OBJECT(ARG, FLAG) |
| #define | OVM_FIELD_DATA_STRING(ARG, FLAG) |
| #define | RESIZE_QUEUE_NOCOPY(T, ARG, SIZE) |
| #define | RESIZE_QUEUE_COPY(T, ARG, SIZE) |
| #define | RESIZE_QUEUE_OBJECT_NOCOPY(ARG, SIZE) |
| #define | RESIZE_QUEUE_OBJECT_COPY(ARG, SIZE) |
| #define | ovm_record_array_int(ARG, RADIX, RECORDER) |
| #define | OVM_FIELD_DATA_ARRAY(ARG, FLAG) |
| #define | OVM_FIELD_ARRAY_INT_PACK(ARG, FLAG) |
| #define | OVM_FIELD_QUEUE_INT_PACK(ARG, FLAG) |
| #define | OVM_FIELD_DATA_SARRAY(ARG, FLAG) |
| #define | ovm_record_array_object(ARG, RECORDER) |
| #define | OVM_FIELD_DATA_ARRAY_OBJECT(ARG, FLAG) |
| #define | OVM_FIELD_ARRAY_OBJ_PACK(ARG, FLAG) |
| #define | OVM_FIELD_QUEUE_OBJ_PACK(ARG, FLAG) |
| #define | OVM_FIELD_DATA_SARRAY_OBJECT(ARG, FLAG) |
| #define | ovm_record_array_string(ARG, RECORDER) |
| #define | OVM_FIELD_DATA_ARRAY_STRING(ARG, FLAG) |
| #define | OVM_FIELD_DATA_SARRAY_STRING(ARG, FLAG) |
| #define | OVM_FIELD_ARRAY_STR_PACK(ARG, FLAG) |
| #define | OVM_FIELD_QUEUE_STR_PACK(ARG, FLAG) |
| #define | OVM_COMPARE_FAILED(ARG) |
| #define | OVM_FIELD_DATA_AA_generic(TYPE, KEY, ARG, FLAG) |
| #define | OVM_FIELD_DATA_AA_int_string(ARG, FLAG) OVM_FIELD_DATA_AA_generic(int, string, ARG, FLAG) |
| #define | OVM_FIELD_DATA_AA_int_key(KEY, ARG, FLAG) |
| #define | OVM_FIELD_DATA_AA_object_string(ARG, FLAG) |
| #define | OVM_FIELD_DATA_AA_object_int(ARG, FLAG) |
| #define | OVM_FIELD_DATA_AA_string_string(ARG, FLAG) |
| #define | DOREFERENCECOPY(ARG, FLAG) |
| #define | DODEEPCOPY(ARG, FLAG) |
| #define | DOSHALLOWCOPY(ARG1, ARG2, FLAG) |
| #define | OVM_FIELD_SET(ARG, FLAG) |
| #define | OVM_FIELD_SET_EVENT(ARG, FLAG) |
| #define | OVM_FIELD_SET_OBJECT(ARG, FLAG) |
| #define | OVM_FIELD_SET_STRING(ARG, FLAG) |
| #define | OVM_FIELD_SET_QUEUE_TYPE(ATYPE, ARRAY, RHS, FLAG) |
| #define | OVM_FIELD_SET_QUEUE_OBJECT_TYPE(ARRAY, FLAG) |
| #define | OVM_FIELD_SET_AA_TYPE(INDEX_TYPE, ARRAY_TYPE, ARRAY, RHS, FLAG) |
| #define | OVM_FIELD_SET_AA_OBJECT_TYPE(INDEX_TYPE, ARRAY, FLAG) |
| #define | OVM_FIELD_SET_AA_INT_TYPE(INDEX_TYPE, ARRAY_TYPE, ARRAY, RHS, FLAG) |
| #define | OVM_FIELD_SET_ARRAY_TYPE(ARRAY_TYPE, ARRAY, RHS, FLAG) |
| #define | OVM_FIELD_SET_SARRAY_TYPE(ARRAY_TYPE, ARRAY, RHS, FLAG) |
| #define | OVM_FIELD_SET_ARRAY_OBJECT_TYPE(ARRAY, FLAG) |
| #define | OVM_FIELD_SET_SARRAY_OBJECT_TYPE(ARRAY, FLAG) |
| #define | OVM_FIELD_SET_ARRAY_OBJECT(ARG, FLAG) |
| #define | OVM_FIELD_SET_SARRAY_OBJECT(ARG, FLAG) |
| #define | OVM_FIELD_SET_QUEUE_OBJECT(ARG, FLAG) |
|
|
Value: begin \
ovm_object this_d__, from_d__; \
if(tmp_data__ != null) \
if(!$cast(local_data__, tmp_data__)) begin \
ovm_object::m_sc.scratch1 = "Cast failed for argument: ARG"; \
end \
if(ARG != null) $cast(this_d__,ARG); \
if(local_data__.ARG != null) $cast(from_d__,local_data__.ARG); \
\
if((this_d__==null) && (from_d__!=null)) begin \
this_d__ = from_d__.clone(); \
this_d__.set_name("ARG"); \
end \
else if(from_d__ == null) \
this_d__ = from_d__; \
else begin \
this_d__.copy(from_d__); \
end \
if((this_d__ == null) || !$cast(ARG, this_d__)) begin \
ovm_object::m_sc.scratch1 = "Cast failed for ARG during copy"; \
_global_reporter.ovm_report_error("CSTFLD", ovm_object::m_sc.scratch1); \
end \
end
Definition at line 1806 of file ovm_object_defines.svh. |
|
|
Value: if( (FLAG)&OVM_REFERENCE)) \ ARG = local_data__.ARG; \ Definition at line 1799 of file ovm_object_defines.svh. |
|
|
Value: if( (FLAG)&OVM_SHALLOW) \ begin \ ovm_object lhs__, rhs__; \ ovm_object::m_sc.scratch1 = "Executing shallow copy of arg ARG"; \ \ \ if(ARG2==null) ARG1 = ARG2; \ else begin \ if(ARG1 != null) $cast(lhs__, ARG1); \ if(ARG2 != null) $cast(rhs__, ARG2); \ if(rhs__!=null && lhs__!=null) \ lhs__.copy(rhs__); \ else if(rhs__ != null) begin \ $cast(lhs__, rhs__.clone()); \ if (lhs__ != null) \ $cast(ARG1, lhs__); \ end \ else \ ARG1 = null; \ \ end \ end \ else \ begin \ ovm_object::m_sc.scratch1 = "Shallow copy off for arg ARG"; \ end Definition at line 1835 of file ovm_object_defines.svh. |
|
|
Value: begin \ ovm_object::m_sc.scratch1 = "Compare failed ARG"; \ ovm_auto_options_object.comparer.result++; \ if(ovm_auto_options_object.comparer.result <= \ ovm_auto_options_object.comparer.show_max) \ begin \ ovm_object::m_sc.scratch1 = "Miscompare for field ARG"; \ _global_reporter.ovm_report_info("MISCMP", ovm_object::m_sc.scratch1, 500) \ end \ end Definition at line 1501 of file ovm_object_defines.svh. |
|
|
Value: function ovm_component create_component (string name, ovm_component parent); \ T tmp; \ tmp = new(.name(name), .parent(parent)); \ return tmp; \ endfunction Definition at line 751 of file ovm_object_defines.svh. |
|
|
Definition at line 702 of file ovm_object_defines.svh. |
|
|
Definition at line 825 of file ovm_object_defines.svh. |
|
|
Value: Definition at line 159 of file ovm_object_defines.svh. |
|
|
Value: ovm_component_registry(T,T) \ ovm_get_type_name_func(T) \ ovm_field_utils_begin(T) Definition at line 173 of file ovm_object_defines.svh. |
|
|
Value: end \ endfunction Definition at line 183 of file ovm_object_defines.svh. |
|
|
Definition at line 549 of file ovm_object_defines.svh. |
|
|
Definition at line 552 of file ovm_object_defines.svh. |
|
|
Definition at line 537 of file ovm_object_defines.svh. |
|
|
Definition at line 540 of file ovm_object_defines.svh. |
|
|
Definition at line 543 of file ovm_object_defines.svh. |
|
|
Definition at line 546 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG", null); \ OVM_FIELD_DATA_AA_int_key(KEY,ARG,FLAG) \ OVM_FIELD_SET_AA_INT_TYPE(KEY, INT, ARG, m_sc.bitstream, FLAG) \ m_sc.scope.up(null); \ end Definition at line 567 of file ovm_object_defines.svh. |
|
|
Definition at line 561 of file ovm_object_defines.svh. |
|
|
Definition at line 564 of file ovm_object_defines.svh. |
|
|
Definition at line 555 of file ovm_object_defines.svh. |
|
|
Definition at line 558 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG", null); \ OVM_FIELD_DATA_AA_int_string(ARG,FLAG) \ OVM_FIELD_SET_AA_TYPE(string, INT, ARG, m_sc.bitstream, FLAG) \ m_sc.scope.up(null); \ end Definition at line 487 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG", null); \ OVM_FIELD_DATA_AA_object_int(ARG,FLAG) \ OVM_FIELD_SET_AA_OBJECT_TYPE(int, ARG, FLAG) \ m_sc.scope.up(null); \ end Definition at line 525 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG", null); \ OVM_FIELD_DATA_AA_object_string(ARG,FLAG) \ OVM_FIELD_SET_AA_OBJECT_TYPE(string, ARG, FLAG) \ m_sc.scope.up(null); \ end Definition at line 500 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG", null); \ OVM_FIELD_DATA_AA_string_string(ARG,FLAG) \ OVM_FIELD_SET_AA_TYPE(string, STR, ARG, m_sc.stringv, FLAG) \ m_sc.scope.up(null); \ end Definition at line 513 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG",null); \ if(what__==OVM_COPY && !((FLAG)&OVM_NOCOPY)) begin \ if(local_data__!=null) begin \ ARG = new [local_data__.ARG.size()](local_data__.ARG); \ end \ else begin \ ARG.delete(); \ end \ end \ OVM_FIELD_DATA_ARRAY(ARG,FLAG) \ OVM_FIELD_ARRAY_INT_PACK(ARG,FLAG) \ OVM_FIELD_SET_ARRAY_TYPE(INT, ARG, m_sc.bitstream, FLAG) \ m_sc.scope.up(null); \ end Definition at line 290 of file ovm_object_defines.svh. |
|
|
Value: case(what__) \ OVM_PACK: \ if(((FLAG)&OVM_NOPACK) == 0) \ begin \ if(ovm_auto_options_object.packer.use_metadata == 1) \ ovm_auto_options_object.packer.pack_field_int(ARG.size(), 32); \ foreach(ARG[i]) \ ovm_auto_options_object.packer.pack_field(ARG[i], $bits(ARG[i])); \ end \ OVM_UNPACK: \ if(((FLAG)&OVM_NOPACK) == 0) \ begin \ int s_; \ s_ = ovm_auto_options_object.packer.unpack_field_int(32); \ ARG = new[s_]; \ foreach(ARG[i]) \ ARG[i] = ovm_auto_options_object.packer.unpack_field($bits(ARG[i])); \ end \ endcase Definition at line 1133 of file ovm_object_defines.svh. |
|
|
Value: case(what__) \ OVM_PACK: \ if(((FLAG)&OVM_NOPACK) == 0) \ begin \ if(ovm_auto_options_object.packer.use_metadata == 1) \ ovm_auto_options_object.packer.pack_field_int(ARG.size(), 32); \ foreach(ARG[i]) \ ovm_auto_options_object.packer.pack_object(ARG[i]); \ end \ OVM_UNPACK: \ if(((FLAG)&OVM_NOPACK) == 0) \ begin \ int s_; \ s_ = ovm_auto_options_object.packer.unpack_field_int(32); \ \ if(ARG.size() < s_) \ _global_reporter.ovm_report_error("OBJUPK", $psprintf("Array ARG cannot support the unpack operation, the unpack requires %0d elements, ARG has only %0d", s_, ARG.size())); \ foreach(ARG[i]) begin \ ovm_auto_options_object.packer.unpack_object(ARG[i]); \ end \ Definition at line 1271 of file ovm_object_defines.svh. |
|
|
Value: begin \
if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \
m_sc.scope.down("ARG", null); \
if(what__==OVM_COPY && !((FLAG)&OVM_NOCOPY)) begin \
if(local_data__!=null) begin \
ARG = new[local_data__.ARG.size()]; \
end \
else begin \
ARG.delete(); \
end \
end \
OVM_FIELD_DATA_ARRAY_OBJECT(ARG,FLAG) \
OVM_FIELD_ARRAY_OBJ_PACK(ARG,FLAG) \
OVM_FIELD_SET_ARRAY_OBJECT(ARG,FLAG) \
m_sc.scope.up(null); \
end
Definition at line 335 of file ovm_object_defines.svh. |
|
|
Value: case(what__) \ OVM_PACK: \ if(((FLAG)&OVM_NOPACK) == 0) \ begin \ if(ovm_auto_options_object.packer.use_metadata == 1) \ ovm_auto_options_object.packer.pack_field_int(ARG.size(), 32); \ foreach(ARG[i]) \ ovm_auto_options_object.packer.pack_string(ARG[i]); \ end \ OVM_UNPACK: \ if(((FLAG)&OVM_NOPACK) == 0) \ begin \ int s_; \ s_ = ovm_auto_options_object.packer.unpack_field_int(32); \ ARG = new[s_]; \ foreach(ARG[i]) begin \ ARG[i] = ovm_auto_options_object.packer.unpack_string(-1); \ end \ end \ endcase Definition at line 1453 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG", null); \ if(what__==OVM_COPY && !((FLAG)&OVM_NOCOPY)) begin \ if(local_data__!=null) begin \ ARG = new[local_data__.ARG.size()]; \ end \ else begin \ ARG.delete(); \ end \ end \ OVM_FIELD_DATA_ARRAY_STRING(ARG,FLAG) \ OVM_FIELD_ARRAY_STR_PACK(ARG,FLAG) \ OVM_FIELD_SET_ARRAY_TYPE(STR, ARG, m_sc.stringv, FLAG) \ m_sc.scope.up(null); \ end Definition at line 381 of file ovm_object_defines.svh. |
|
|
Definition at line 834 of file ovm_object_defines.svh. |
|
|
Definition at line 1517 of file ovm_object_defines.svh. |
|
|
Definition at line 1573 of file ovm_object_defines.svh. |
|
|
Definition at line 1567 of file ovm_object_defines.svh. |
|
|
Definition at line 1687 of file ovm_object_defines.svh. |
|
|
Definition at line 1629 of file ovm_object_defines.svh. |
|
|
Definition at line 1752 of file ovm_object_defines.svh. |
|
|
Definition at line 1080 of file ovm_object_defines.svh. |
|
|
Definition at line 1219 of file ovm_object_defines.svh. |
|
|
Definition at line 1383 of file ovm_object_defines.svh. |
|
|
Value: begin \
int r; \
if(what__ == OVM_PRINT && ( (FLAG)&OVM_NOPRINT != 0) && \
ovm_auto_options_object.printer.knobs.print_fields == 1) \
ovm_auto_options_object.printer.print_generic("ARG", "event", -1, "-"); \
else if((what__ == OVM_COMPARE) && ( (FLAG)&OVM_NOCOMPARE != 0) && \
local_data__ && ARG != local_data__.ARG) \
begin \
ovm_auto_options_object.comparer.print_msg(""); \
end \
else if((what__ == OVM_COPY) && local_data__ && ( (FLAG)&OVM_NOCOPY != 0 ) ) \
begin \
ARG = local_data__.ARG; \
end \
end
Definition at line 916 of file ovm_object_defines.svh. |
|
|
Definition at line 937 of file ovm_object_defines.svh. |
|
|
Value: begin \
if((what__ & (FLAG)) || (what__ >= OVM_MACRO_EXTRAS)) begin \
if(what__ == OVM_PRINT) \
ovm_print_sarray_int3(ARG, ovm_radix_enum((FLAG)&(OVM_RADIX)), \
ovm_auto_options_object.printer) \
else if(tmp_data__!=null) begin \
foreach(ARG[i__]) \
if($cast(local_data__, tmp_data__)) begin \
void(m_do_data($psprintf("ARG[%0d]",i__), ARG[i__], local_data__.ARG[i__], what__, $bits(ARG[i__]), FLAG)); \
end \
end \
else begin \
foreach(ARG[i__]) \
if($cast(local_data__, tmp_data__)) begin \
void(m_do_data($psprintf("ARG[%0d]",i__), ARG[i__], 0, what__, $bits(ARG[i__]), FLAG)); \
end \
end \
end \
end
Definition at line 1176 of file ovm_object_defines.svh. |
|
|
Definition at line 1330 of file ovm_object_defines.svh. |
|
|
Value: begin \
if((what__ & (FLAG)) || (what__ >= OVM_MACRO_EXTRAS)) begin \
if(what__ == OVM_PRINT) \
ovm_print_sarray_string2(ARG, ovm_auto_options_object.printer) \
else if(tmp_data__!=null) begin \
foreach(ARG[i__]) \
if($cast(local_data__, tmp_data__)) begin \
void(m_do_data_string($psprintf("ARG[%0d]",i__), ARG[i__], local_data__.ARG[i__], what__, FLAG)); \
end \
end \
else begin \
foreach(ARG[i__]) \
if($cast(local_data__, tmp_data__)) begin \
void(m_do_data_string($psprintf("ARG[%0d]",i__), ARG[i__], "", what__, FLAG)); \
end \
end \
end \
end
Definition at line 1433 of file ovm_object_defines.svh. |
|
|
Value: begin \
int r; \
if(local_data__ != null) begin \
if($cast(local_data__, tmp_data__)) begin \
r = m_do_data_string("ARG", ARG, local_data__.ARG, what__, FLAG); \
end \
end \
else \
r = m_do_data_string("ARG", ARG, "", what__, FLAG); \
end
Definition at line 1002 of file ovm_object_defines.svh. |
|
|
Definition at line 870 of file ovm_object_defines.svh. |
|
|
Value: begin \ m_sc.scope.set_arg("ARG"); \ OVM_FIELD_ENUM(T,ARG,FLAG) \ m_sc.scope.unset_arg("ARG"); \ end Definition at line 217 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG", null); \ OVM_FIELD_DATA_EVENT(ARG,FLAG) \ m_sc.scope.up(null); \ end Definition at line 253 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.set_arg("ARG"); \ OVM_FIELD_DATA(ARG,FLAG) \ OVM_FIELD_SET(ARG,FLAG) \ m_sc.scope.unset_arg("ARG"); \ end Definition at line 207 of file ovm_object_defines.svh. |
|
|
Value: if((ARG==null) || !m_sc.scope.in_hierarchy(ARG)) begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG", ARG); \ OVM_FIELD_DATA_OBJECT(ARG,FLAG) \ OVM_FIELD_SET_OBJECT(ARG,FLAG) \ m_sc.scope.up(ARG); \ end Definition at line 234 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG", null); \ if(what__==OVM_COPY && !((FLAG)&OVM_NOCOPY)) begin \ if(local_data__!=null) begin \ RESIZE_QUEUE_NOCOPY(ovm_bitstream_t, ARG, local_data__.ARG.size()) \ end \ else begin \ RESIZE_QUEUE_NOCOPY(ovm_bitstream_t, ARG, 0) \ end \ end \ OVM_FIELD_DATA_ARRAY(ARG,FLAG) \ OVM_FIELD_QUEUE_INT_PACK(ARG,FLAG) \ OVM_FIELD_SET_QUEUE_TYPE(INT, ARG, m_sc.bitstream, FLAG) \ m_sc.scope.up(null); \ end Definition at line 409 of file ovm_object_defines.svh. |
|
|
Value: case(what__) \ OVM_PACK: \ if(((FLAG)&OVM_NOPACK) == 0) \ begin \ if(ovm_auto_options_object.packer.use_metadata == 1) \ ovm_auto_options_object.packer.pack_field_int(ARG.size(), 32); \ foreach(ARG[i]) \ ovm_auto_options_object.packer.pack_field(ARG[i], $bits(ARG[i])); \ end \ OVM_UNPACK: \ if(((FLAG)&OVM_NOPACK) == 0) \ begin \ int s_; \ s_ = ovm_auto_options_object.packer.unpack_field_int(32); \ while(ARG.size() < s_) ARG.push_back(0); \ while(ARG.size() > s_) void(ARG.pop_front()); \ foreach(ARG[i]) \ ARG[i] = ovm_auto_options_object.packer.unpack_field($bits(ARG[i])); \ end \ endcase Definition at line 1154 of file ovm_object_defines.svh. |
|
|
Value: case(what__) \ OVM_PACK: \ if(((FLAG)&OVM_NOPACK) == 0) \ begin \ if(ovm_auto_options_object.packer.use_metadata == 1) \ ovm_auto_options_object.packer.pack_field_int(ARG.size(), 32); \ foreach(ARG[i]) \ ovm_auto_options_object.packer.pack_object(ARG[i]); \ end \ OVM_UNPACK: \ if(((FLAG)&OVM_NOPACK) == 0) \ begin \ int s_; \ s_ = ovm_auto_options_object.packer.unpack_field_int(32); \ \ if(ARG.size() < s_) \ _global_reporter.ovm_report_error("OBJUPK", $psprintf("Queue ARG cannot support the unpack operation, the unpack requires %0d elements, ARG has only %0d", s_, ARG.size())); \ foreach(ARG[i]) begin \ ovm_auto_options_object.packer.unpack_object(ARG[i]); \ end \ Definition at line 1300 of file ovm_object_defines.svh. |
|
|
Value: begin \
if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \
m_sc.scope.down("ARG", null); \
if(what__==OVM_COPY && !((FLAG)&OVM_NOCOPY)) begin \
if(local_data__!=null) begin \
RESIZE_QUEUE_OBJECT_NOCOPY(ARG, local_data__.ARG.size()) \
end \
else begin \
RESIZE_QUEUE_OBJECT_NOCOPY(ARG, 0) \
end \
end \
OVM_FIELD_DATA_ARRAY_OBJECT(ARG,FLAG) \
OVM_FIELD_QUEUE_OBJ_PACK(ARG,FLAG) \
OVM_FIELD_SET_QUEUE_OBJECT(ARG,FLAG) \
m_sc.scope.up(null); \
end
Definition at line 437 of file ovm_object_defines.svh. |
|
|
Value: case(what__) \ OVM_PACK: \ if(((FLAG)&OVM_NOPACK) == 0) \ begin \ if(ovm_auto_options_object.packer.use_metadata == 1) \ ovm_auto_options_object.packer.pack_field_int(ARG.size(), 32); \ foreach(ARG[i]) \ ovm_auto_options_object.packer.pack_string(ARG[i]); \ end \ OVM_UNPACK: \ if(((FLAG)&OVM_NOPACK) == 0) \ begin \ int s_; \ s_ = ovm_auto_options_object.packer.unpack_field_int(32); \ while(ARG.size() < s_) ARG.push_back(""); \ while(ARG.size() > s_) void(ARG.pop_front()); \ foreach(ARG[i]) begin \ ARG[i] = ovm_auto_options_object.packer.unpack_string(-1); \ end \ end \ endcase Definition at line 1475 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG", null); \ if(what__==OVM_COPY && !((FLAG)&OVM_NOCOPY)) begin \ if(local_data__!=null) begin \ RESIZE_QUEUE_NOCOPY(string, ARG, local_data__.ARG.size()) \ end \ else begin \ RESIZE_QUEUE_NOCOPY(string, ARG, 0) \ end \ end \ OVM_FIELD_DATA_ARRAY_STRING(ARG,FLAG) \ OVM_FIELD_QUEUE_STR_PACK(ARG,FLAG) \ OVM_FIELD_SET_QUEUE_TYPE(STR, ARG, m_sc.stringv, FLAG) \ m_sc.scope.up(null); \ end Definition at line 465 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG",null); \ OVM_FIELD_DATA_SARRAY(ARG,FLAG) \ OVM_FIELD_SET_SARRAY_TYPE(INT,ARG,m_sc.bitstream,FLAG) \ m_sc.scope.up(null); \ end Definition at line 317 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG",null); \ OVM_FIELD_DATA_SARRAY_OBJECT(ARG,FLAG) \ OVM_FIELD_SET_SARRAY_OBJECT(ARG,FLAG) \ m_sc.scope.up(null); \ end Definition at line 362 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG", null); \ OVM_FIELD_DATA_SARRAY_STRING(ARG,FLAG) \ OVM_FIELD_SET_SARRAY_TYPE(STR, ARG, m_sc.stringv, FLAG) \ m_sc.scope.up(null); \ end Definition at line 399 of file ovm_object_defines.svh. |
|
|
Value: if(ovm_object::m_do_set (str__, "ARG", ARG, what__, FLAG)) begin \ m_sc.scope.up(null); \ return; \ end Definition at line 1867 of file ovm_object_defines.svh. |
|
|
Value: if((what__ >= OVM_START_FUNCS && what__ <= OVM_END_FUNCS) && (((FLAG)&OVM_READONLY) == 0)) begin \ bit wildcard_index; \ INDEX_TYPE index; \ index = ovm_get_array_index_int(str__, wildcard_index); \ if(what__==OVM_SETARRAY_TYPE) \ begin \ if(ovm_is_array(str__) ) begin\ if(wildcard_index) begin \ if(ARRAY.first(index)) \ do begin \ if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0d]", index)})) begin \ ARRAY[index] = RHS; \ m_sc.status = 1; \ end \ end while(ARRAY.next(index));\ end \ else if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0d]", index)})) begin \ ARRAY[index] = RHS; \ m_sc.status = 1; \ end \ end \ end \ end Definition at line 2021 of file ovm_object_defines.svh. |
|
|
Definition at line 1988 of file ovm_object_defines.svh. |
|
|
Value: if((what__ >= OVM_START_FUNCS && what__ <= OVM_END_FUNCS) && (((FLAG)&OVM_READONLY) == 0)) begin \ bit wildcard_index; \ INDEX_TYPE index; \ index = ovm_get_array_index_INDEX_TYPE(str__, wildcard_index); \ if(what__==OVM_SETARRAY_TYPE) \ begin \ if(ovm_is_array(str__) ) begin\ if(wildcard_index) begin \ if(ARRAY.first(index)) \ do begin \ if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0d]", index)}) || \ ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0s]", index)})) begin \ ARRAY[index] = RHS; \ m_sc.status = 1; \ end \ end while(ARRAY.next(index));\ end \ else if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0d]", index)})) begin \ ARRAY[index] = RHS; \ m_sc.status = 1; \ end \ else if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0s]", index)})) begin \ ARRAY[index] = RHS; \ m_sc.status = 1; \ end \ end \ end \ end Definition at line 1958 of file ovm_object_defines.svh. |
|
|
Value: OVM_FIELD_SET_ARRAY_OBJECT_TYPE(ARG, FLAG) \ if((what__ >= OVM_START_FUNCS && what__ <= OVM_END_FUNCS) && (((FLAG)&OVM_READONLY) == 0)) begin \ ovm_object obj; \ for(int index=0; index<ARG.size(); ++index) begin \ if($cast(obj,ARG[index]) && (obj!=null)) \ obj.m_field_automation(null, what__, str__); \ end \ end Definition at line 2184 of file ovm_object_defines.svh. |
|
|
Definition at line 2112 of file ovm_object_defines.svh. |
|
|
Definition at line 2046 of file ovm_object_defines.svh. |
|
|
Definition at line 1877 of file ovm_object_defines.svh. |
|
|
Value: begin \
ovm_object arg_obj; \
int r; \
if(ARG != null) $cast(arg_obj, ARG); \
r = ovm_object::m_do_set_object(str__, "ARG", \
arg_obj, what__, FLAG); \
\
if(r && (what__ == OVM_SETOBJ) && (arg_obj != null)) \
$cast(ARG, arg_obj); \
else if(arg_obj == null) \
ARG = null; \
end
Definition at line 1884 of file ovm_object_defines.svh. |
|
|
Value: OVM_FIELD_SET_QUEUE_OBJECT_TYPE(ARG, FLAG) \ if((what__ >= OVM_START_FUNCS && what__ <= OVM_END_FUNCS) && (((FLAG)&OVM_READONLY) == 0)) begin \ ovm_object obj; \ for(int index=0; index<ARG.size(); ++index) begin \ if($cast(obj,ARG[index]) && (obj!=null)) \ obj.m_field_automation(null, what__, str__); \ end \ end Definition at line 2207 of file ovm_object_defines.svh. |
|
|
Value: if((what__ >= OVM_START_FUNCS && what__ <= OVM_END_FUNCS) && (((FLAG)&OVM_READONLY) == 0)) begin \ bit wildcard_index; \ int index; \ index = ovm_get_array_index_int(str__, wildcard_index); \ if(what__==OVM_SETOBJ) \ begin \ if(ovm_is_array(str__) ) begin\ if(wildcard_index) begin \ for(index=0; index<ARRAY.size(); ++index) begin \ if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0d]", index)})) begin \ if (m_sc.object != null) \ $cast(ARRAY[index], m_sc.object); \ m_sc.status = 1; \ end \ end \ end \ else if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0d]", index)})) begin \ if (m_sc.object != null) \ $cast(ARRAY[index], m_sc.object); \ m_sc.status = 1; \ end \ end \ end \ end Definition at line 1932 of file ovm_object_defines.svh. |
|
|
Value: if((what__ >= OVM_START_FUNCS && what__ <= OVM_END_FUNCS) && (((FLAG)&OVM_READONLY) == 0)) begin \ bit wildcard_index; \ int index; \ index = ovm_get_array_index_int(str__, wildcard_index); \ if(what__==OVM_SETATYPE) \ begin \ if(ovm_is_array(str__) && (index != -1)) begin\ if(wildcard_index) begin \ for(index=0; index<ARRAY.size(); ++index) begin \ if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0d]", index)})) begin \ ARRAY[index] = RHS; \ m_sc.status = 1; \ end \ end \ end \ else if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0d]", index)})) begin \ ARRAY[index] = RHS; \ m_sc.status = 1; \ end \ end \ end \ end Definition at line 1908 of file ovm_object_defines.svh. |
|
|
Value: OVM_FIELD_SET_SARRAY_OBJECT_TYPE(ARG, FLAG) \ if((what__ >= OVM_START_FUNCS && what__ <= OVM_END_FUNCS) && (((FLAG)&OVM_READONLY) == 0)) begin \ ovm_object obj; \ foreach(ARG[index]) begin \ if($cast(obj,ARG[index]) && (obj!=null)) \ obj.m_field_automation(null, what__, str__); \ end \ end Definition at line 2194 of file ovm_object_defines.svh. |
|
|
Value: if((what__ >= OVM_START_FUNCS && what__ <= OVM_END_FUNCS) && (((FLAG)&OVM_READONLY) == 0)) begin \ int index; \ bit wildcard_index; \ index = ovm_get_array_index_int(str__, wildcard_index); \ if(what__==OVM_SETOBJ) \ begin \ if(ovm_is_array(str__) ) begin\ if(wildcard_index) begin \ foreach(ARRAY[index]) begin \ if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0d]", index)})) begin \ if (m_sc.object != null) begin \ $cast(ARRAY[index], m_sc.object); \ end \ else \ ARRAY[index] = null; \ m_sc.status = 1; \ end \ end \ end \ else if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0d]", index)})) begin \ if (m_sc.object != null) begin \ $cast(ARRAY[index], m_sc.object); \ end \ else \ ARRAY[index] = null; \ m_sc.status = 1; \ end \ end \ end \ end Definition at line 2146 of file ovm_object_defines.svh. |
|
|
Value: if((what__ >= OVM_START_FUNCS && what__ <= OVM_END_FUNCS) && (((FLAG)&OVM_READONLY) == 0)) begin \ int index; \ bit wildcard_index; \ index = ovm_get_array_index_int(str__, wildcard_index); \ if(what__==OVM_SETARRAY_TYPE) \ begin \ if(ovm_is_array(str__) ) begin\ if(wildcard_index) begin \ foreach(ARRAY[index]) begin \ if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0d]", index)})) begin \ ARRAY[index] = RHS; \ m_sc.status = 1; \ end \ end \ end \ else if(ovm_is_match(str__, {m_sc.scope.get_arg(),$psprintf("[%0d]", index)})) begin \ ARRAY[index] = RHS; \ m_sc.status = 1; \ end \ end \ end \ end Definition at line 2088 of file ovm_object_defines.svh. |
|
|
Value: if(ovm_object::m_do_set_string (str__, "ARG", ARG, what__, FLAG)) begin \ m_sc.scope.up(null); \ return; \ end Definition at line 1902 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__==OVM_CHECK_FIELDS) m_do_field_check("ARG"); \ m_sc.scope.down("ARG",null); \ OVM_FIELD_DATA_STRING(ARG,FLAG) \ OVM_FIELD_SET_STRING(ARG,FLAG) \ m_sc.scope.up(null); \ end Definition at line 271 of file ovm_object_defines.svh. |
|
|
Definition at line 80 of file ovm_object_defines.svh. |
|
|
Value: static bit m_fields_checked = 0; \ function void m_field_automation (ovm_object tmp_data__=null, \ int what__=0, \ string str__=""); \ begin \ T local_data__; \ string string_aa_key; \ \ if(what__ == OVM_CHECK_FIELDS) begin \ if(! T::m_fields_checked) \ T::m_fields_checked=1; \ else \ return; \ end \ \ if(tmp_data__ != null) $cast(local_data__, tmp_data__); \ super.m_field_automation(tmp_data__, what__, str__); \ if(what__ == OVM_CHECK_FIELDS) begin \ m_field_array.delete(); \ end Definition at line 86 of file ovm_object_defines.svh. |
|
|
Value: end \ endfunction \ Definition at line 111 of file ovm_object_defines.svh. |
|
|
Value: virtual function string get_type_name (); \ return "T"; \ endfunction Definition at line 762 of file ovm_object_defines.svh. |
|
|
Value: function ovm_named_object create_named_object (string name, ovm_named_object parent); \
T tmp; \
tmp = new(.name(name), .parent(parent)); \
return tmp; \
endfunction
Definition at line 741 of file ovm_object_defines.svh. |
|
|
Definition at line 748 of file ovm_object_defines.svh. |
|
|
Value: function new (string name, ovm_component parent); \ super.new(name, parent); \ endfunction Definition at line 713 of file ovm_object_defines.svh. |
|
|
Value: function new (string name, ovm_component parent); \ super.new(name, parent); \ endfunction Definition at line 697 of file ovm_object_defines.svh. |
|
|
Value: function new (string name=""); \ super.new(name); \ endfunction Definition at line 705 of file ovm_object_defines.svh. |
|
|
Value: function ovm_object create (string name=""); \ T tmp; \ tmp = new(); \ tmp.set_name(name); \ return tmp; \ endfunction Definition at line 722 of file ovm_object_defines.svh. |
|
|
Value: function ovm_object create_object (string name=""); \ T tmp; \ tmp = new(); \ tmp.set_name(name); \ return tmp; \ endfunction Definition at line 730 of file ovm_object_defines.svh. |
|
|
Definition at line 710 of file ovm_object_defines.svh. |
|
|
Definition at line 805 of file ovm_object_defines.svh. |
|
|
Value: Definition at line 121 of file ovm_object_defines.svh. |
|
|
Value: ovm_object_registry(T,T) \ ovm_object_create_func(T) \ ovm_get_type_name_func(T) \ ovm_field_utils_begin(T) Definition at line 135 of file ovm_object_defines.svh. |
|
|
Value: end \ endfunction \ Definition at line 149 of file ovm_object_defines.svh. |
|
|
Value: begin \
ovm_comparer comparer; \
comparer = ovm_auto_options_object.comparer; \
if(comparer==null) comparer = ovm_default_comparer; \
comparer.result++; \
\
\
$swrite(comparer.miscompares,"%s%s: lhs = %0d : rhs = %0d\n", \
comparer.miscompares, comparer.scope.get_arg(), LHS, RHS ); \
end
Definition at line 591 of file ovm_object_defines.svh. |
|
|
Definition at line 682 of file ovm_object_defines.svh. |
|
|
Value: begin \
if(RECORDER.tr_handle != 0) begin\
if(RADIX == OVM_ENUM) begin \
if(!m_sc.array_warning_done) begin \
m_sc.array_warning_done = 1; \
ovm_object::m_sc.scratch1 = \
`"Recording not supported for array enumerations: ARG`"; \
_global_reporter.ovm_report_warning("RCDNTS", ovm_object::m_sc.scratch1); \
end \
end \
else begin \
for(int i__=0; i__<ARG.size(); ++i__) \
RECORDER.record_field($psprintf("ARG[%0d]",i__), ARG[i__], $bits(ARG[i__]), ovm_radix_enum(RADIX)); \
end \
end \
end
Definition at line 1059 of file ovm_object_defines.svh. |
|
|
Value: begin \
if(RECORDER.tr_handle != 0) begin\
ovm_object obj__; \
for(int i__=0; i__<ARG.size(); ++i__) begin \
if((obj__ != null)) begin \
$cast(obj__, ARG[i__]); \
m_sc.scope.down_element(i__, null);\
obj__.m_field_automation(null, what__, str__); \
m_sc.scope.up_element(null);\
end \
end \
end \
end
Definition at line 1204 of file ovm_object_defines.svh. |
|
|
Value: begin \
if(RECORDER.tr_handle != 0) begin\
for(int i__=0; i__<ARG.size(); ++i__) \
RECORDER.record_string($psprintf("ARG[%0d]", i__), ARG[i__]); \
end \
end
Definition at line 1375 of file ovm_object_defines.svh. |
|
|
Value: begin \
integer h; \
int radix; \
ovm_bitstream_t value; \
value = ARG; \
radix = ovm_radix_enum((FLAG)&(OVM_RADIX)); \
if(recorder==null) \
recorder=ovm_auto_options_object.recorder; \
recorder.record_field("ARG", ARG, radix, $bits(ARG); \
end
Definition at line 621 of file ovm_object_defines.svh. |
|
|
Value: begin \
ovm_object v; \
if(ARG != null) begin \
if($cast(v,ARG)) begin \
ovm_record_object__("ARG", v, recorder); \
end \
end \
else begin \
ovm_record_any_object(ARG); \
end \
end
Definition at line 659 of file ovm_object_defines.svh. |
|
|
Definition at line 644 of file ovm_object_defines.svh. |
|
|
Definition at line 787 of file ovm_object_defines.svh. |
|
|
Value: begin \ if(what__ == OVM_FLAGS) begin \ end \ end Definition at line 581 of file ovm_object_defines.svh. |
|
|
Value: begin \
T tmp; \
while(ARG.size()>SIZE) void(ARG.pop_back()); \
while(ARG.size() != SIZE) ARG.push_back(tmp); \
end
Definition at line 1029 of file ovm_object_defines.svh. |
|
|
Value: begin \
T tmp; \
while(ARG.size()) void(ARG.pop_front()); \
while(ARG.size() != SIZE) ARG.push_back(tmp); \
end
Definition at line 1018 of file ovm_object_defines.svh. |
|
|
Value: begin \
while(ARG.size()>SIZE) void(ARG.pop_front()); \
while(ARG.size() != SIZE) ARG.push_back(null); \
end
Definition at line 1050 of file ovm_object_defines.svh. |
|
|
Value: begin \
while(ARG.size()) void(ARG.pop_front()); \
while(ARG.size() != SIZE) ARG.push_back(null); \
end
Definition at line 1040 of file ovm_object_defines.svh. |
|
|
Definition at line 772 of file ovm_object_defines.svh. |
![]() 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 Version: 1.4.6 Mon Sep 29 14:20:20 2008 |