drmr4leyefe
03-09-2008, 10:46 AM
I'm new not only to OVM but SV as well and I'm having issues with getting the ovm_in_order_class_comparator to work. Whether I declare in a class that has been extended from ovm_env or ovm_scoreboard, when I "vsim" using Questa 6.3e I receive the following error:
# Loading sv_std.std
# Loading work.ovm_pkg(fast)
# Loading work.my_pkg(fast)
# Loading work.my_ovm4_top(fast)
# ** Error: (vsim-3567) /ovm-1.0.1/src/methodology/ovm_pair.svh(65): No field named 'comp'.
# Region: /ovm_pkg: ovm_class_pair: ovm_class_pair__1
The declaration code is:
ovm_in_order_class_comparator #(my_transaction) tw_comparator;
I've downloaded the AVM cookbook examples and ran the scoreboard example fine (with AVM libraries). Does the ovm_in_order_class_comparator work or am I just inexperienced and am missing something (most likely)?
Thanks in advance for any help offerred.
# Loading sv_std.std
# Loading work.ovm_pkg(fast)
# Loading work.my_pkg(fast)
# Loading work.my_ovm4_top(fast)
# ** Error: (vsim-3567) /ovm-1.0.1/src/methodology/ovm_pair.svh(65): No field named 'comp'.
# Region: /ovm_pkg: ovm_class_pair: ovm_class_pair__1
The declaration code is:
ovm_in_order_class_comparator #(my_transaction) tw_comparator;
I've downloaded the AVM cookbook examples and ran the scoreboard example fine (with AVM libraries). Does the ovm_in_order_class_comparator work or am I just inexperienced and am missing something (most likely)?
Thanks in advance for any help offerred.