We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Yosys is verbose and prints to stdout/stderr. We should probably intercept those prints and filter them.
Upon error, Yosys also does a hard exit using _Exit -- preventing us from gracefully exiting.
_Exit
Yosys has a logging framework in log.cc (log.h).
log.cc
log.h
The two main functions of interest are logv and logv_error_with_prefix.
logv
logv_error_with_prefix
We can probably add our own stream to log_streams and remove the lines that add stdout/stderr to the logging files.
log_streams
Then, modify logv and logv_error_with_prefix to call our logger and fault handler, respectively.
The text was updated successfully, but these errors were encountered:
rikushoney
No branches or pull requests
Yosys is verbose and prints to stdout/stderr. We should probably intercept those prints and filter them.
Upon error, Yosys also does a hard exit using
_Exit
-- preventing us from gracefully exiting.Yosys has a logging framework in
log.cc
(log.h
).The two main functions of interest are
logv
andlogv_error_with_prefix
.We can probably add our own stream to
log_streams
and remove the lines that add stdout/stderr to the logging files.Then, modify
logv
andlogv_error_with_prefix
to call our logger and fault handler, respectively.The text was updated successfully, but these errors were encountered: