getvictor Posted December 18, 2013 Report Share Posted December 18, 2013 I need to dump the contents of a queue in my scoreboard. When the queue is large and the items in the queue have a lot of properties, the report becomes very large and hard to parse. This is because the default UVM print format is table. foreach(my_q[i]) begin `uvm_info("REPORT", $sformatf("my_q[%0d]:\n%s", i, my_q[i].sprint()), UVM_LOW) end I'm interested in printing each item on a single line. How do I accomplish the following: Change the format from the command line? Change the default format that is used by my whole scoreboard? Change the format that is used only by the method that is dumping the queue contents? You can edit and re-run the simple example of this issue here: http://www.edaplayground.com/s/4/656 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.