Robert.g.Liu Posted January 8, 2013 Report Share Posted January 8, 2013 Often we are required to just compare part of the transaction items, and which part to compare is different in different context. For example, for a simple bus transaction, we can come up with these contexts: o just compare the control part ( address, direction and other control information) o just compare the data part ( wdata or rdata depending on the direction) o all of them Without a compare kind input like in vmm, I'm looking for a graceful solution for this. Quote Link to comment Share on other sites More sharing options...
dave_59 Posted January 8, 2013 Report Share Posted January 8, 2013 You can use different uvm_comparer policy classes to control how individial fields are treated. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.