swathi92 Posted August 6, 2014 Report Share Posted August 6, 2014 by default when a numerical value is printed, it is displayed as hexa decimal. how can i change it to decimal using print(). eg; class mycls extends uvm_sequence_item; int a,b,c; endclass in top module........ mycls m1=new; m1.print(); above displays a,b,c in hexa. how to change to decimal? 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.