Home > Community > Forums > Functional Verification > vhpi start-of-restart callback

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

 vhpi start-of-restart callback 

Last post Sun, Jan 16 2011 6:41 PM by RonCash. 0 replies.
Started by RonCash 16 Jan 2011 06:41 PM. Topic has 0 replies and 1233 views
Page 1 of 1 (1 items)
Sort Posts:
  • Sun, Jan 16 2011 6:41 PM

    • RonCash
    • Not Ranked
    • Joined on Tue, Oct 12 2010
    • Posts 1
    • Points 5
    vhpi start-of-restart callback Reply

    I'm running a vhpi C++ application. I'm having difficulty getting ncsim to call my start-of-restart function after a restart. Here's my sequence:

    1) Start simulation A. I pass the -loadvhpi option to ncsim to load my C++ dlm.

    2) Save a snapshot. My vhpi app saves a C++ start-of-restart callback function at this time.

    3) Quit the simulation.

    4) Start simulation B, again using -loadvhpi to load the same C++ dlm as in step 1.

    5) Issue the Tcl "restart" command to restart the snapshot saved in step 2.

    In step 5 I hoped ncsim would call the start-of-restart function I saved in step 2, but it doesn't always happen. For small, proof-of-concept simulations it works, but not for large simulations.

    • Post Points: 5
Page 1 of 1 (1 items)
Sort Posts:
Started by RonCash at 16 Jan 2011 06:41 PM. Topic has 0 replies.