omahesh Posted August 28, 2012 Report Share Posted August 28, 2012 Hi, I've found some scipt in uvm-1.1/bin/ovm2uvm.pl . But i don't know how to apply to our code. For example; Directory name: control which has list of OVM files. How can i convert those to UVM with perl script? I'm looking forward to hear from you soon. Regards, Mahee. Quote Link to comment Share on other sites More sharing options...
omahesh Posted August 29, 2012 Author Report Share Posted August 29, 2012 Hi, If anyone want to convert OVM TB to UVM TB please do the following; -> If the OVM code is in the directory name "env" then apply the following command; perl $UVM_HOME/bin/ovm2uvm.pl -top_dir /../../../env -all -write -> After applying; all the O's will turned to U's and also the macros and tlm ports and fifos will turned to equivalent uvm syntax. Manually we have to do the following; -> we have to change all the connect,build,run tasks or functions to uvm equivalent phases. -> Replace the set_config_object and get_config_object with uvm_config_db set and get methods. ->Replace global_stop_request with phase.raise and drop objections. I hope the above things will helpful to viewers. regards, mahee. chandan 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.