I am trying to use the uvm_in_order_comparator, inside the scoreboard and looks like the transaction class should have a comp method.
Is this comp same as compare?? Any clue how to implement this
CLASS: uvm_in_order_comparator #(T,comp_type,convert,pair_type)
// Compares two streams of data objects of type T, a parameter to this class.
// These transactions may either be classes or built-in types. To be
// successfully compared, the two streams of data must be in the same order.
// Apart from that, there are no assumptions made about the relative timing of
// the two streams of data.
// Type parameters
// T - Specifies the type of transactions to be compared.
// comp - The type of the comparator to be used to compare the two
// transaction streams.
When T is a class, T must implement comp and convert2string, and you must
// specify class-based policy classes for comp_type, convert, and pair_type.
// In most cases, you can use the convenient subtype,
// uvm_in_order_class_comparator #(T).