Home > Community > Forums > Functional Verification > Stept through UVM code

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: *

 Stept through UVM code 

Last post Mon, Dec 2 2013 3:14 AM by Tudor Timi. 4 replies.
Started by Tudor Timi 29 Nov 2013 07:29 AM. Topic has 4 replies and 2095 views
Page 1 of 1 (5 items)
Sort Posts:
  • Fri, Nov 29 2013 7:29 AM

    • Tudor Timi
    • Not Ranked
    • Joined on Thu, Jul 25 2013
    • Neubiberg, Bavaria
    • Posts 16
    • Points 215
    Stept through UVM code Reply

    Hi,

    I'm trying to step through the SV UVM library code, but I just can't manage. I tried the built in library in IUS and also a version downloaded from Accelera. Both setups have -linedebug on the command line. When trying with the built in one, it says it was not instrumented for line debugging. The Accellera one lets me put breakpoints, the simulator stops there, but it doesn't show the execution point in the source browser (it just mentions in the console that it stopped at the specific line).

    Is there something I'm missing?

    Thanks and best regards,

    Tudor 

    • Post Points: 20
  • Fri, Nov 29 2013 7:38 AM

    • hannes
    • Top 150 Contributor
    • Joined on Fri, Nov 14 2008
    • Bracknell, Berkshire
    • Posts 50
    • Points 895
    Re: Stept through UVM code Reply
    Hi Tudor, try with the -uvmlinedebug option of irun: " -uvmlinedebug Enable single-stepping through UVM functions and tasks. By default, -uvm -linedebug does not apply the -linedebug option to the compilation of the UVM package. This means that when you are debugging your code, single-stepping through the UVM content is not enabled. Include the -uvmlinedebug option if you want to single-step through the UVM content to debug UVM code. This option forces the UVM package, and all other HDL files specified on the command line, to be compiled with line debug capabilities. " Regards, -hannes
    • Post Points: 20
  • Fri, Nov 29 2013 7:52 AM

    • Tudor Timi
    • Not Ranked
    • Joined on Thu, Jul 25 2013
    • Neubiberg, Bavaria
    • Posts 16
    • Points 215
    Re: Stept through UVM code Reply
    Thanks a lot for the quick answer! It works to set breakpoints in the built in UVM code, but it's still not showing me the execution point.
    • Post Points: 20
  • Fri, Nov 29 2013 7:58 AM

    • hannes
    • Top 150 Contributor
    • Joined on Fri, Nov 14 2008
    • Bracknell, Berkshire
    • Posts 50
    • Points 895
    Re: Stept through UVM code Reply
    The execution may be in a different scope. Are you using -linedebug as well? In general if everything is traced and you are stopped, you can click on the yellow arrow in the debugger to get to the current execution point. -hannes
    • Post Points: 20
  • Mon, Dec 2 2013 3:14 AM

    • Tudor Timi
    • Not Ranked
    • Joined on Thu, Jul 25 2013
    • Neubiberg, Bavaria
    • Posts 16
    • Points 215
    Re: Stept through UVM code Reply

    Hi again, It seems like it was a scope issue. It works now. Thanks a lot for the help!

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by Tudor Timi at 29 Nov 2013 07:29 AM. Topic has 4 replies.