Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

The easiest way to read uvm_object from file given by uvm_object sprint method

While verrifying VDU(video display unit) I faced next issue.

The VDU gets its settings from uvm_object class and I write thees settings into file using sprint method. Can you recommend me the best way to read this file back into uvm_object. In other words are there a methods inside UVM to read object properties back from the file with uvm_printer format? Or I need to implement this kind of functionality from scratch.

Thank you in advanced.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

The UVM provides no mechanism to read back settings output to a file from sprint()—you will have to implement this from scratch. You might consider outputting in a simpler format to make reading back easier.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading