-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vvp: fix regression in behaviour of -N option (issue #1138)
The -N option was broken by PR #1068. This fix modifies and simplifies the libvvp API that was introduced in that PR.
- Loading branch information
1 parent
8ac44a3
commit 713b002
Showing
4 changed files
with
15 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (c) 2003-2018 Stephen Williams ([email protected]) | ||
* Copyright (c) 2003-2024 Stephen Williams ([email protected]) | ||
* | ||
* This source code is free software; you can redistribute it | ||
* and/or modify it in source code form under the terms of the GNU | ||
|
@@ -41,7 +41,7 @@ | |
# include "ivl_alloc.h" | ||
|
||
__vpiScope*stop_current_scope = 0; | ||
bool stop_is_finish; /* When set, $stop acts like $finish (set in main.cc). */ | ||
bool stop_is_finish = false; /* When set, $stop acts like $finish (set in main.cc). */ | ||
int stop_is_finish_exit_code = 0; | ||
|
||
#ifndef USE_READLINE | ||
|