24.03.2013 Views

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

16 - C Debug<br />

Chapter contents<br />

Introduction . . . . . . . . . . . . . . . UM-400<br />

Supported platforms <strong>and</strong> gdb versions. . . . . . . . . UM-401<br />

Running C Debug on Windows platforms . . . . . . UM-401<br />

Setting up C Debug . . . . . . . . . . . . . UM-402<br />

Running C Debug from a DO file. . . . . . . . . UM-402<br />

Setting breakpoints. . . . . . . . . . . . . . UM-403<br />

Stepping in C Debug . . . . . . . . . . . . . UM-405<br />

Known problems with stepping in C Debug . . . . . . UM-405<br />

Finding function entry points with Auto find bp . . . . . . UM-406<br />

Identifying all registered function calls . . . . . . . . UM-407<br />

Enabling Auto step mode . . . . . . . . . . . UM-407<br />

Example . . . . . . . . . . . . . . . UM-408<br />

Auto find bp versus Auto step mode . . . . . . . . UM-409<br />

Debugging functions during elaboration . . . . . . . . UM-410<br />

FLI functions in initialization mode . . . . . . . . UM-411<br />

PLI functions in initialization mode . . . . . . . . UM-411<br />

VPI functions in initialization mode . . . . . . . . UM-413<br />

Completing design load . . . . . . . . . . . UM-413<br />

Debugging functions when quitting simulation . . . . . . UM-414<br />

C Debug comm<strong>and</strong> reference . . . . . . . . . . . UM-415<br />

Note: The functionality described in this chapter requires a cdebug license feature in<br />

your <strong>ModelSim</strong> license file. Please contact your Mentor Graphics sales representative if<br />

you currently do not have such a feature.<br />

UM-399<br />

<strong>ModelSim</strong> <strong>SE</strong> User’s <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!