Verification in the Spotlight (or Hot Lights) of DAC
ovm_transaction vs. ovm_sequence_item

SystemVerilog Syntax Highlighting for PowerPoint

It's late... very late... and I'm working on slides for one of my DAC presentations, "Zero to Sequences in 30 Minutes". My slides contain source code, and the code is not easy to read. I thought, "Wouldn't it be great if I could colorize the code?" Luckily, Sean over at IntelligentDV wrote a blog article on exactly this topic last year. However, did I mention it's very late? So the idea of screwing around with a new editor and installing syntax files didn't really appeal to me. However, after reading that article plus some follow-up Google searching, I realized if I could get vim to save its syntax-highlighted output as HTML I could copy that directly into PowerPoint. But how? 

This blog post by "Automatthias" describes one solution. From VIM, run the following command in a syntax-highlighted buffer:

:runtime! syntax/2html.vim

This saves the current buffer with a .html extension. Open that extension in your favorite browser and you can copy the colorized text directly into PowerPoint! The only catch - make sure you select "Keep Source Formatting". Otherwise, the colors will be lost.

By the way, as many of you are aware, Denali is holding a competition to determine "EDA's Next Top Blogger". There are several excellent bloggers in contention, including your's truly.  I've had the pleasure of meeting and working with some of them, including Karen Bartleson, Harry Gries, and John Busco (who I believe is the only one of the entire group of contestants who's been blogging longer than me), and let me tell you, I'm honored to be in such good company! If you've enjoyed reading Cool Verification over the last 4 years (yes, it's been that long!) please head over to the Denali Night Live site and cast your vote!