OVM to UVM Migration
DVT provides an OVM to UVM migration wizard that automatically performs all the necessary changes within an existing OVM project. The changes may also be reviewed and customized.
Triggering
Right click on a project in the Navigator View, then select Refactor > Migrate OVM to UVM.
Preferences
In the first page of the wizard you can configure:
Refactor Script: the Refactoring Scripts to use for performing the migration. DVT is shipped with predefined scripts (e.g. OVM 2.1.1 to UVM 1.0 EA), but you can also use custom scripts tailored to your needs (just click Browse to point to a script file on your disk). You can see the content of the selected script by clicking Inspect.
Skip Linked Resources: in general, linked resources are files located outside of the DVT project (like, for instance, the OVM library source files) so you might want the migration to skip them.
Disable OVM Project: in case your project is configured with DVT as an OVM project, the wizard removes this configuration.
Enable UVM Project: in case your project is not configured with DVT as an UVM project, the wizard adds this configuration.
UVM Library Path: if you enable UVM, the UVM library is compiled up-front, and you must specify its location. You can may use system variables ($UVM_HOME in the snapshot below).
Create UVM Linked Resource: for quick navigation in the library code, you may link (logical link, nothing is created on disk) the library files to your project. This way, although outside your project, the UVM sources will not be shown with gray icons and limited functionality.
Name of the linked folder
At this step you can either click OK to finish or Preview to inspect the changes that are about to be made.
Review changes
In the review page you can inspect the changes that will be performed, and filter out (uncheck) the changes you don’t want to perform.
Select a file/change to see the source differences produced by the refacotring.
Uncheck a file/change to prevent those changes from being applied.
Click OK to apply the changes.