Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
?
EE Times-Asia > EDA/IP
?
?
EDA/IP??

Speeding up simulation

Posted: 02 May 2003 ?? ?Print Version ?Bookmark and Share

Keywords:simulation? design and verification conference & exhibition? dvcon? rajesh bawankule? verilog?

EDA vendors may not want you to know about a paper from the recent Design and Verification Conference & Exhibition (DVCon). In it, Cisco Systems Inc. hardware engineer Rajesh Bawankule shows you how to "speed up Verilog simulation by 10x to 100x without spending a penny."

The paper illustrates a number of ways you can speed up simulation without buying a faster simulator, workstation, or accelerator/emulator. The first suggestion is to use profiling to eliminate simulation bottlenecks. In one example presented by Bawankule, 60 percent of the time was spent dumping the VCD format file, as well as discovering and fixing that problem doubled simulation speed.

Optimized compilation can provide another performance boost. The "Radiant" technology in Synopsys Inc.'s VCS simulator can provide a four- to ten-fold performance gain through its compile-time optimizations, Bawankule said.

Two-state simulation also saves time, resulting in a 20 percent to 200 percent speedup. You can compile most of your design in two-state mode, using four-state mode only when needed. Initializing registers and memories "in bulk" can provide another speedup, the paper says.

Efficient modeling is another trick. Bawankule says that removing I/O cell wrappers in design, and bit splicers in simulation testbenches, can boost speed by 25 percent to 40 percent. Using switches properly is also important. The presentation that comes with Bawankule's paper lists a number of switches that hinder performance, along with a few that help.

Not all programming language interfaces are required for a typical test suite, according to Bawankule. There is a way to find out which are needed. The paper also has a suggestion for speeding up Vera testbenches.

There is an interesting discussion about Linux machines vs. Sun Microsystems Inc. workstations for simulation. Bawankule says that Linux provides a two-fold to four-fold speedup over Sun machines. Linux machines, however, are less reliable, and they show dramatic degradation when multiple simulation jobs are executed. Firing up multiple simulations on a Linux box is not a good idea.

Presentations like this, where engineers provide practical tips from their own experience, can save a lot of time and money for EDA users. Before spending more money on tools, why not invest some time to make sure you are making the best use of what you have got?

You will find Bawankule's DVCon paper, along with a treasure trove of other practical information, at www.parmita.com/verilogcenter/papers.html

- Richard Goering

EE Times





Article Comments - Speeding up simulation
Comments:??
*? You can enter [0] more charecters.
*Verify code:
?
?
Webinars

Seminars

Visit Asia Webinars to learn about the latest in technology and get practical design tips.

?
?
Back to Top