Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1074

How to print value of a systemverilog class instance when a breakpoint is hit?

$
0
0

I would like to print "obj" or "obj.m_name" every time the following UVM code line is hit. What should I pass to the -exec switch to make this happen?

stop -create -line 308 -file $UVM_HOME/src/base/uvm_heartbeat.svh -all -exec {value obj}

The obvious attempt: "value obj",  produces an error:

ncsim: *E,PNOOBJ: Path element could not be found: obj.


Viewing all articles
Browse latest Browse all 1074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>