UVM-UTest File-a-Bug Challenge at SNUG

Time for another UVM challenge…

So I’ve got SNUG coming up next week. I already posted a help wanted sign for hecklers that may want to hurl insults at me from 10:30 to 12 on Tuesday morning. That’s when I’ll be up on stage talking about UVM-UTest and how UVM makes the case for unit testing. Aside from the talk and the paper, I’ve also been pondering other ways to get the point across that unit testing is an effective way to verify hardware. I’ve been having trouble thinking of something appropriate… until tonight… I think… I hope…

I just posted a new example on EDAPlayground.com called the UVM-UTest File-a-Bug Challenge. What I’ve done is pulled out a few failing tests from the UVM-UTest test suite where each failing test corresponds to a bug we filed against the UVM base class library. The challenge is to see if you can run our tests to spot the same defects. Each test has a hint that points you to a line in the src/base/uvm_misc.sv file as well as the mantis issue # that you can use to find the answer in the Accellera database. You can try it on your own or challenge a buddy to see who can get through the list first. Like everything on EDAPlayground.com, all you need is a browser. That means if you’re reading this, you have what you need to take the challenge!

NOTE: The first test is extra special because we used it to discover an unintentionally long loop that takes a while to complete. There’s bonus points for anyone that can run the tests and find the bug before they finish (I’d say at least 3 bonus points, maybe 4). I bet you can’t do it :).

I’ll have the UVM-UTest File-a-Bug Challenge with me at SNUG. If you’re at the conference and want the guided tour, just watch for the tall bald guy sporting a shaggy beard. That’ll probably be me. I’d be happy to walk you through it.

-neil

Share/Bookmark

About nosnhojn

I've been working in ASIC and FPGA development for more than 13 years at various IP and product development companies and now as a consultant with XtremeEDA Corp. In 2008 I took an interest in agile software development. I've found a massive amount of material out there related to agile development, all of it is interesting and most of it is applicable to hardware development in one form or another. So I'm here to find what agile concepts will work for hardware development and to help other developers use them successfully. I've been fortunate to have the chance to speak about agile hardware development at various conferences like Agile2011, Agile2012, Intel Lean/Agile Conference 2013 and SNUG. I also do lunch-n-learn talks for small groups and enjoy talking to anyone with an agile hardware story to tell! You can find me at neil.johnson@agilesoc.com.
This entry was posted in Functional Verification and tagged . Bookmark the permalink.

2 Responses to UVM-UTest File-a-Bug Challenge at SNUG

  1. David Larson says:

    What about a challenge to find new bugs? ;)

    • nosnhojn says:

      If you’re here for the challenge and you find a new UVM bug with SVUnit, you win the big prize. I don’t know what the big prize is, but it is big!

      -neil

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>