UVM Factory methods

In reply to Om Ganesh B k:

Hi,

In UVM when you declare any members in object you register that members with uvm_field_utils ultimately this fields use in print, copy, clone etc… but with default functionality like you have array of [2046] in your field and you know for your functionality you only want array index [1024-1028] , you only care about this much then you have to write do_print it means when ever you have to change your printing with your expected printing, Now main thing what is sprint for when you call objcet_inst.print() it will print data for disable and enable printing you have to add logic , but in sprint() printing return in string format so you can put this in your info with verbosity so when you need message you can change verbosity this will help very much in avoiding unwanted infos.