• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. Xcelium simulator is not running when vhpi application is...

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 65
  • Views 10161
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Xcelium simulator is not running when vhpi application is loaded.

John Davis
John Davis over 2 years ago

I am able to load and execute a vhpi application that can read the vhdl hierarchy, and can put and get values.

The problem I am having is that when I put a value on to. say an input,  it does not propagate even though I have used the vhpiDepositPropagate or vhpiForcePropagate flags.
I know I am setting the value because I can read it back via vhpi_get_value() and because at the end of my application the simulator does run and the last values I applied are used.

It seems like my application is running but the simulator is not.  The other reason I suspect this is because if I call vhpi_control(vhpiReset) I get a warning:

WARNING: VHPI NOTRUN
vhpi_control with vhpiReset called while simulator is not running.
xcelium> run
xmsim: *W,RNQUIE: Simulation is complete.
xcelium> exit

I feel I am missing something very basic.

  • Cancel
Parents
  • John Davis
    John Davis over 2 years ago

    Here is an example of the how I invoke the simulator.

    The function is loaded via -vhpiload.
    It seems to load and run and then after it exits the simulator runs.

    Is there some other way I should be calling a function to drive the simulation?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • John Davis
    John Davis over 2 years ago

    Here is an example of the how I invoke the simulator.

    The function is loaded via -vhpiload.
    It seems to load and run and then after it exits the simulator runs.

    Is there some other way I should be calling a function to drive the simulation?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • John Davis
    John Davis over 2 years ago in reply to John Davis

    xmsim -loadvhpi /full_path_to_shared_object_directory/full_adder_tb:full_adder_tb full_adder

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information