As noted in our recent blog article http://www.cvcblr.com/blog/?p=362 UVM is the first genuine step in the industry towards verification inter-operability. But it has a long way to go before all the VIPs get migrated to UVM – if they do. So there is a strong need to leverage on existing code base such as VMM, OVM & UVM.
Below is a code snippet that shows how we can use both VMM & UVM messaging schemes in same env/code base. As such the code is not magic, is it? But do watch below for the real MAGIC..
If not for the inter-op kit, the above code would spit the messages from 2 different schemes and make it very hard for end user to keep track, customize etc.
With UVM & VMM loggers being separate and not “inter-operating” the following user issues may arise:
1. Different formatted messages coming at different lines, making it hard, ugly to read, analyze
2. Complicating data-mining of log files as there are 2 different formats now in same log file
3. Error, Warning counts distributed leading to unreliable FAIL/PASS detection
4. Any customization done by user on formatting needs to be done multiple times
5. Sending to different log files not as easy as it involves 2 different base classes now!
Again there are more, let’s get solutions on the table. Here comes the MAGIC: With VCS, try:
The log file now combines the `vmm_note into `uvm_info “magically” and unifies it for the users!
There is much more to this inter-op kit, see: http://www.vmmcentral.com/uvm_vmm_ik/
Enjoy UVM and more..
No comments:
Post a Comment