Jump to content

OVM to UVM conversion


Recommended Posts

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...