Is It Safe?
It depends. What is the context? Economy? Geo-political situation? Teenage drivers? UVM?
I don’t know.
Do you feel safe when you cross the street?
Do you feel safe at Starbucks? In your own house?
Each person has a different comfort level.
That’s all fine. Real world stuff. But what about how you pays the bills? What about bringing home the bacon with the UVM? Is the UVM safe?
I don’t even know what that really means.
Safety In The UVM?
The UVM has been around for years, and has multiple versions with various features and bugs. Who knows if it is safe? I guess if you use it for awhile and it keeps chugging along, it is safe. But what happens with a new version? Should you upgrade? Is it safe?
What about the new bugs that come with any code base? 1-5 bugs per 100 lines of code. Or something like that. Each UVM release has lots of new lines of code, and with it, lots of new bugs. But maybe those bugs are harmless or in code I won’t use. What should I do?
What about some bugs that haven’t been fixed in any UVM from the planet Earth.
The UVM is *still* randomly unstable. There is an “unprotected new()” in set_severity_id_action().
Oops. There’s a new() there! Grabbing a random number off the list… Changing the future…
Here’s one that got fixed in uvm-1.2 – in one of my most hated functions: lookup_name()! in the uvm_resource stuff:
So, the “way to fix” random instability caused by new() is to use “process::self()”. There are 33 such occurrences in uvm-1.2. Did they get them all? (Hint: the one above got missed). Is It Safe? Note: there are 37 such occurrences in uvm-ieee. That’s 4 that got missed when uvm-1.2 came out. Fixed in uvm-ieee. Is It Safe?
Go ahead and upgrade. A side-effect of upgrading from uvm-1.1d to uvm-1.2, might be to exercise one of these changes to random number ordering which in turn might cause simulation results to no longer match. Is It Safe?
I don’t know. Generally we recommend that users stick with whatever UVM version they are using. That’s it. Stick with your UVM because it really doesn’t matter what version you are using. You should be using the UVM. We should ALL be using the UVM. It is an easy way to improve verification productivity. But, like most things, you should pay attention to what you are doing. Then just maybe, you’ll be safe.
Want to hear more? I have lots more to say on this and I love to talk about the UVM, so…
Come to DVClub
I’ll be romping through the fun and history and horrors of the UVM.
And James and Glenn from Ericsson will be there talking about 5G. I’ve seen their 5G talk. It is really interesting.
Sign up today – it’s free – DVClub just needs to know who is coming to have enough food and chairs. But sign up now, the last one filled up fast. See you Friday, November 8 at Dave and Buster’s for free food and some UVM fun. Register here now.