Home > Community > Forums > Functional Verification > How to probe and view the variable wave in class?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to probe and view the variable wave in class? 

Last post Fri, Apr 27 2007 7:06 PM by archive. 3 replies.
Started by archive 27 Apr 2007 07:06 PM. Topic has 3 replies and 1643 views
Page 1 of 1 (4 items)
Sort Posts:
  • Fri, Apr 27 2007 7:06 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    How to probe and view the variable wave in class? Reply

    Hi,

    It's happy to know IUS61 is released and have more debug feature.
    I have tried the new simvision and found I cannot probe and view the variables wave in class.
    Shall I add any particular command to probe it?

    Probe command I use now:
    database -open -shm -into waves.shm waves -default
    probe -create -database waves top -all -depth all -mem -functions -tasks

    Best regards,
    Davy


    Originally posted in cdnusers.org by davyzhu
    • Post Points: 0
  • Fri, Apr 27 2007 10:51 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: How to probe and view the variable wave in class? Reply

    Class variables are "automatic variables." This means that they appear when a class object is created and disappear when the object is reclaimed. The simvision databases aren't set up for that kind of object, they expect static objects (ones that exist throughout the simulation).

    So, in the current releases of simvision, you can't save a waveform of a class object.


    Originally posted in cdnusers.org by TAM
    • Post Points: 0
  • Sat, Apr 28 2007 1:23 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: How to probe and view the variable wave in class? Reply

    Hi TAM,

    Thanks a lot! I understand.
    Record the lifecycle of all the Class may be a difficult job.

    Best regards,
    Davy


    Originally posted in cdnusers.org by davyzhu
    • Post Points: 0
  • Mon, Apr 30 2007 7:04 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: How to probe and view the variable wave in class? Reply

    Hi Davy,
          As of now tools don't support this. but interestingly Specman (now part of CDN) has been supporting it nicely for half-a-decade atleast! The idea was simple - use a dummy verilog/vhdl stub module/entity and pass on the dynamic values to static world as and when needed. The idea can be related to "callback" method that we demonstrated in our last year SNUG paper with VMM for FIFO. We used a dummy vitural interface named "debug_if" and got similar result.

    Maybe that can help you here for now! I wonder why CDN shall not leverage on Specman's mechanism for this, maybe in pipeline.

    HTH
    Ajeetha, CVC
    www.noveldv.com  


    Originally posted in cdnusers.org by ajeetha
    • Post Points: 0
Page 1 of 1 (4 items)
Sort Posts:
Started by archive at 27 Apr 2007 07:06 PM. Topic has 3 replies.