ggorman Posted November 4, 2011 Report Share Posted November 4, 2011 We're using Paradigm Works Frameworks Scoreboard and have come accross a situation where we need to customize the compare function. We are posting transactions that look something like this class frame_order_trans extends pw_sb_transaction; bit valid; bit [15:0] order; endclass : frame_order_trans When the predictor posts a transaction where valid is not true, we want to ensure the checker also posts a transaction where valid is not true; but it doesn't matter what the value of order is. That is, we don't need to predict the value of order. Of course is valid is true, we want to compare the entire transaction as usual because we can predict the value of order in that case. What is the accepted way to do this? George Quote Link to comment Share on other sites More sharing options...
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.