-
|
Can a test running with VHPI influence the exit code of the simulation run (nvc -r top) ? |
Beta Was this translation helpful? Give feedback.
Answered by
nickg
Dec 14, 2024
Replies: 2 comments 2 replies
-
|
Do you mean set the exit code, similar to the |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@nickg Do you have a plan to implement this ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry I forgot about this. The
vhpi_controlidea above won't work because there's no way with VHPI to tell how many arguments were passed. Instead I modifiedvhpi_assertso it sets the exit code in the same way as VHDL assert. Sovhpi_assert(vhpiError, "...")should set the exit code to 1.