-
Notifications
You must be signed in to change notification settings - Fork 13
[verilator] Add shutdown request mechanism to prevent early UART closes in CI #240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| # Copyright lowRISC contributors (OpenTitan project). | ||
| # Copyright zeroRISC Inc. | ||
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
|
|
@@ -84,6 +85,7 @@ thiserror = "2" | |
| tiny-keccak = {version = "2.0.2", features = ["cshake"]} | ||
| tokio = { version = "1", features = ["full"] } | ||
| typetag = "0.2" | ||
| wait-timeout = "0.2.1" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this a version requirement on a dependency? I don't see what "wait-timeout" indicates, was it a pre-existing module/package/thing? It seems is not created in this PR.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is, it's the most recent version of an external package from crates.io which I had to introduce to properly handle waiting on the Verilator subprocess to close with a timeout (so that I could send |
||
| zerocopy = { version = "0.8", features = ["derive"] } | ||
| zeroize = "1.8.1" | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to confirm, these values should be okay to keep hard-coded as long as no top has more than 254 GPIOs?