( ESNUG 324 Item 6 ) ---------------------------------------------- [8/04/99]

Subject: How To Count The Toggle Rate Of A Signal In A VCS Simulation Run

> Does any one know how to count the toggle rate of a signal during a VCS
> simulation ?
>
>     - Eran Schar'am
>       Zoran Microelectronics                     Haifa, Israel


From: "Badri P. Gopalan" <badri@synopsys.com>

There is a product called Covermeter which comes along with VCS (pay more
of course :-)) which is a code coverage tool, and it includes toggle
coverage.  If you want to do this yourself you have to write a PLI.

If you go to Stanford University web pages and search, in the past I have
seen a toggle coverage PLI posted somewhere there.  It is bundled along
with the code for the "Torch microprocessor".  If you search for this in
the Stanford university web pages, you can get the PLI.  I don't know about
legality of using it, but since I saw it, I thought I would mention it.

    - Badri P. Gopalan
      Synopsys

         ----    ----    ----    ----    ----    ----   ----

From: Doron Nisenbaum <doron@chipx.co.il>

The simpler method I know of is to print out the signal into a file:

        vsim ... ;list my_signal ; write list out.file; ...

and then use a little script to post-process it.

    - Doron Nisenbaum
      Chip Express (Israel) LTD.                   Haifa, Israel



 Sign up for the DeepChip newsletter.
Email
 Read what EDA tool users really think.


Feedback About Wiretaps ESNUGs SIGN UP! Downloads Trip Reports Advertise

"Relax. This is a discussion. Anything said here is just one engineer's opinion. Email in your dissenting letter and it'll be published, too."
This Web Site Is Modified Every 2-3 Days
Copyright 1991-2024 John Cooley.  All Rights Reserved.
| Contact John Cooley | Webmaster | Legal | Feedback Form |

   !!!     "It's not a BUG,
  /o o\  /  it's a FEATURE!"
 (  >  )
  \ - / 
  _] [_     (jcooley 1991)