Friday, June 1, 2012

Video tutorial: UVM, Ready, Set, Deploy, thanks to Accellera

Home - Accellera Systems Initiative:

http://www.accellera.org/news/videos/uvmreadysetdeploy

New Video Tutorial – UVM: Ready, Set, Deploy!

It’s been six months since Accellera and the Open SystemC Initiative joined forces to become Accellera Systems Initiative. In that time, we have achieved several milestones in developing standards that address the real needs of system and semiconductor designers.
The Universal Verification Methodology (UVM) standard continues to gain adoption across the verification community. Presented by expert verification methodology architects and engineers at DVCon 2012, the eight-part video tutorial is available at no cost to users and provides an introduction to key UVM concepts and best practices.
See us at the Design Automation Conference, June 4-7 in San Francisco! We will be hosting several events at this year's DAC including a luncheon on the Unified Coverage Interoperability Standard (UCIS), NASCUG meeting, and special birds-of-a-feather sessions. At the luncheon, Accellera Systems Initiative will receive the Tenzing Norgay Award, and will present its 2012 Leadership Award. Events are no charge with advance registration required. Read the latest article on UCIS featured in our newsletter.

Dennis Brophy Receives 2012 Accellera Systems Initiative Leadership Award 

To be presented at our luncheon at DAC in San Francisco on Wednesday, June 6, 2012
Featured Event

Subscribe to our mailing list:

Get Involved

Recent Happenings


 • UVM 1.1b Reference Implementation now available

• Accellera Systems Initiative receives 2012 Tenzing Norgay Award from Synopsys. See press release >

• May newsletter now available.

• John Aynsley receives the 2012Technical Excellence Award.
  
• IEEE 1666-2011 Now Available for Free Download courtesy of Accellera Systems Initiative.

• Open Verification Library (OVL) 2.6release is now available for download.


OSCI and Accellera Unite

The new organization will leverage the complementary efforts of both groups to create more comprehensive standards.




News

Featured Quote

"We continue to work with the IEEE to make approved EDA and IP standards available," said Shishpal Rawat, chair of Accellera Systems Initiative. "Through the IEEE Get Program, we provide valuable standards documentation at no cost to the worldwide electronics industry community to support and foster electronic design innovation."... More »

Other News From the Industry



Synopsys Honors Accellera Systems Initiative with 2012 Tenzing Norgay Interoperability Achievement Award
Open SystemC Initiative and Accellera merger paves way for broad interoperability standards
MOUNTAIN VIEW, Calif., May 24, 2012 -- Synopsys, Inc. (Nasdaq: SNPS), a world leader in software and IP for semiconductor design, verification and manufacturing, announced that Accellera Systems Initiative will receive Synopsys’ twelfth annual Tenzing Norgay Interoperability Achievement Award for advancing industry standards that enable interoperable system design flows. More »

Featured Videos


UVM: Ready, Set, Deploy!

Accellera Systems Initiative UpdateUVM - Ready, Set, Deploy

'via Blog this'

The Treacherous Optimization / http://ridiculousfish.com

The Treacherous Optimization:

The Treacherous Optimization
May 30th, 2006
Old age and treachery will beat youth and skill every time.
"I'm going to beat grep by thirty percent!" I confidently crow to anyone who would listen, those foolish enough to enter my office. And my girlfriend too, who's contractually obligated to pay attention to everything I say.
See, I was working on Hex Fiend, and searching was dog slow. But Hex Fiend is supposed to befast, and I want blazingly quick search that leaves the bewildered competition coughing in trails of dust. And, as everyone knows, the best way to get amazing results is to set arbitrary goals without any basis for believing they can be reached. So I set out to search faster than grep by thirty percent.
The first step in any potentially impossible project is, of course, to announce that you are on the verge of succeeding.
I imagine the author of grep, Ultimate Unix Geek, squinting at vi; the glow of a dozen xterms is the only light to fall on his ample frame covered by overalls, cheese doodles, and a tangle of beard. Discarded crushed Mountain Dew cans litter the floor. I look straight into the back of his head, covered by a snarl of greasy locks, and reply with a snarl of my own: You're mine. The aphorism at the top, like the ex girlfriend who first told it to me, is dim in my recollection.

String searching

Having exhausted all my trash-talking avenues, it's time to get to work. Now, everyone knows that without some sort of preflighting, the fastest string search you can do still takes linear time. Since my program is supposed to work on dozens of gigabytes, preflighting is impossible - there's no place to put all the data that preflighting generates, and nobody wants to sit around while I generate it. So I am resigned to the linear algorithms. The best known is Boyer-Moore (I won't insult your intelligence with a Wikipedia link, but the article there gives a good overview).
Boyer-Moore works like this: you have some string you're looking for, which we'll call the needle, and some string you want to find it in, which we'll call the haystack. Instead of starting the search at the beginning of needle, you start at the end. If your needle character doesn't match the character you're looking at in haystack, you can move needle forwards in haystack until haystack'smismatched character lines up with the same character in needle. If haystack's mismatch isn't inneedle at all, then you can skip ahead a whole needle's length.
For example, if you're searching for a string of 100 'a's (needle), you look at the 100th character inhaystack. If it's an 'x', well, 'x' doesn't appear anywhere in needle, so you can skip ahead all ofneedle and look at the 200th character in haystack. A single mismatch allowed us to skip 100 characters!

I get shot down

For performance, the number of characters you can skip on a mismatch is usually stored in an array indexed by the character value. So the first part of my Boyer-Moore string searching algorithm looked like this:
char haystack_char = haystack[haystack_index];
if (last_char_in_needle != haystack_char)
   haystack_index += jump_table[haystack_char];
So we look at the character in haystack and if it's not what we're looking for, we jump ahead by the right distance for that character, which is in jump_table.
"There," I sigh, finishing and sitting back. It may not be faster than grep, but it should be at leastas fast, because this is the fastest algorithm known. This should be a good start. So I confidently ran my benchmark, for a 1 gigabyte file...
grep:2.52 seconds
Hex Fiend:3.86 seconds

Ouch. I'm slower, more than 50% slower. grep is leaving me sucking dust. Ultimate Unix Geek chuckles into his xterms.

Rollin', rollin', rollin'

My eyes darken, my vision tunnels. I break out the big guns. My efforts to vectorize are fruitless (I'm not clever enough to vectorize Boyer-Moore because it has very linear data dependencies.) Shark shows a lot of branching, suggesting I can do better by unrolling the loop. Indeed:
grep:2.52 seconds
Hex Fiend (unrolled):2.68 seconds

But I was still more than 6% slower, and that's as fast as I got. Exhausted, stymied at every turn, I throw up my hands. grep has won.

grep's dark secret

"How do you do it, Ultimate Unix Geek? How is grep so fast?" I moan at last, crawling forwards into the pale light of his CRT.
"Hmmm," he mumbles. "I suppose you have earned a villian's exposition. Behold!" A blaze of keyboard strokes later and grep's source code is smeared in green-on-black across the screen.
while (tp < = ep)
   {
     d = d1[U(tp[-1])], tp += d;
     d = d1[U(tp[-1])], tp += d;
     if (d == 0)
       goto found;
     d = d1[U(tp[-1])], tp += d;
     d = d1[U(tp[-1])], tp += d;
     d = d1[U(tp[-1])], tp += d;
     if (d == 0)
       goto found;
     d = d1[U(tp[-1])], tp += d;
     d = d1[U(tp[-1])], tp += d;
     d = d1[U(tp[-1])], tp += d;
     if (d == 0)
       goto found;
     d = d1[U(tp[-1])], tp += d;
     d = d1[U(tp[-1])], tp += d;
   }
"You bastard!" I shriek, amazed at what I see. "You sold them out!"
See all those d = d1[U(tp[-1])], tp += d; lines? Well, d1 is the jump table, and it so happens that grep puts 0 in the jump table for the last character in needle. So when grep looks up the jump distance for the character, via haystack_index += jump_table[haystack_char], well, if haystack_char is the last character in needle (meaning we have a potential match), then jump_table[haystack_char] is 0, so that line doesn't actually increase haystack_index.
All that is fine and noble. But do not be fooled! If the characters match, the search location doesn't change - so grep assumes there is no match, up to three times in a row, before checking to see if it actually found a match.
Put another way, grep sells out its worst case (lots of partial matches) to make the best case (few partial matches) go faster. How treacherous! As this realization dawns on me, the room seemed to grow dim and slip sideways. I look up at the Ultimate Unix Geek, spinning slowly in his padded chair, and I hear his cackle "old age and treachery...", and in his flickering CRT there is a face reflected, but it's my ex girlfriend, and the last thing I see before I black out is a patch of yellow cheese powder inside her long tangled beard.

I take a page from grep

"Damn you," I mumble at last, rising from my prostrate position. Chagrined and humbled, I copy the technique.
grep:2.52 seconds
Hex Fiend (treacherous):2.46 seconds

What's the win?

Copying that trick brought me from six percent slower to two percent faster, but at what cost? What penalty has grep paid for this treachery? Let us check - we shall make a one gigabyte file with one thousand x's per line, and time grep searching for "yy" (a two character best case) and "yx" (a two character worst case). Then we'll send grep to Over-Optimizers Anonymous and compare how a reformed grep (one that checks for a match after every character) performs.
Best caseWorst case
Treacherous grep2.57 seconds4.89 seconds
Reformed grep2.79 seconds2.88 seconds

Innnnteresting. The treacherous optimization does indeed squeeze out almost 8% faster searching in the best case, at a cost of nearly 70% slower searching in the worst case. Worth it? You decide! Let me know what you think.
Resolved and refreshed, I plan my next entry. This isn't over, Ultimate Unix Geek.

Disclaimers

(Note: I have never met the authors or maintainers of grep. I'm sure they're all well balanced clean shaven beer and coffee drinkers.)
(Oh, and the released version of HexFiend will be slightly slower in this case, because of an overly large buffer that blows the cache. In other situations, the story is different, but more about those in a future post.)

'via Blog this'

Wednesday, May 30, 2012

DAC 2012 Freebies, Silicon Valley Special Offer

They seem pretty motivated to get your attendance, if you are in Silicon Valley (or if you can swing a stay on somebody's couch there).
It is something I would recommend if you are job-seeking in this field, even if CA is not where you want to be, it is a great place for networking.

Of course, if you want to be in Colorado in hardware design/verification/EDA, (or even better compiler engineering!) you should definitely drop me an email or a LinkedIn connection  :-)

Cheers, 
Connie L. O'Dell 
Sr. Verification Specialist 
c.odell@co-consulting.net 
303-641-5191 
_____________________________________________ 
CO Consulting - Boulder, CO - http://co-consulting.net


---------- Forwarded message ----------
From: EDA Consortium <events12@edac.org>
Date: Tue, May 29, 2012 at 6:35 PM
Subject: DAC 2012 Silicon Valley Special Offer
...

We're eagerly anticipating the 49th Design Automation Conference in San Francisco next week. Many thousands of design professionals, researchers and 'chipheads' will share the very latest at DAC. May we invite you to join the DAC excitement, in nearby San Francisco? There is free bus service from the south bay, making a day at DAC easier than ever.

Next to our full registration, we can offer complementary registration for the User Track, tutorials, keynotes, and exhibition (details here).  That makes spending a day at DAC more convenient than ever. Please pass this around among your colleagues.

For 2012, we have the most exciting and elaborate program in half a century of DAC legacy. A few of the highlights are:

  • Keynotes by Mike Muller (ARM's founder & CTO) and the chief architects of Intel's and IBM's hottest chips on design practices
  • Chose from hundreds of presentations on the on latest methods and technologies. 
  • 100+ presentations by IC designers from leading companies on design practices in the User Track
  • Hard-hitting compact tutorials on System C design, Analog Design, lithography challenges in 10nm and 14nm, etc.
  • Dynamic panel sessions on future design trends and hypes, cloud, 3D, tear downs and much much more!
  • Over 200 companies lined up in the exhibition, officering a complete coverage of commercial design tools and IP solutions.
  • Meet colleagues and old friends during the daily cocktail receptions. 
  • Much more! check out the program at http://www.dac.com/dac+2012+conference+program.aspx
  • Free bus service from the south bay makes the trip up to San Francisco easy and stress free. 

It would be our pleasure to welcome you at DAC, the place we design meets automation! Please check out http://www.dac.com to see  what DAC has to offer and register today. 

We look forward to see you at 49th DAC, at the home of the 49ers!

Regards,

Bob Gardner
Executive Director
EDA Consortium


EDA Consortium | 111 West Saint John St. | Suite 220 | San Jose | CA | 95113