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 -defaultprobe -create -database waves top -all -depth all -mem -functions -tasksBest regards,Davy
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.
Hi TAM,Thanks a lot! I understand. Record the lifecycle of all the Class may be a difficult job.Best regards,Davy
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.HTHAjeetha, CVCwww.noveldv.com