Skip to content
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

Discrepancy in warning/error message #5850

Open
titan73 opened this issue Oct 2, 2024 · 1 comment
Open

Discrepancy in warning/error message #5850

titan73 opened this issue Oct 2, 2024 · 1 comment
Labels
odb OpenDB

Comments

@titan73
Copy link
Contributor

titan73 commented Oct 2, 2024

Describe the bug

The fist message says it's an error but displayed as warning in logger and causes the subsequent error:

[WARNING ODB-0099] error: netlist component (I_digital_top) is not defined
[ERROR ODB-0421] DEF parser returns an error!

Expected Behavior

No discrepancy

Environment

Latest git.

To Reproduce

No need.

Relevant log output

No response

Screenshots

No response

Additional Context

No response

@maliberty
Copy link
Member

We want to print all the issues, not just the first. Since error stops on the first we used warning and then error at the end. It is a bit odd. You could store up all the warnings and then just issue one big error.

@maliberty maliberty added the odb OpenDB label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
odb OpenDB
Projects
None yet
Development

No branches or pull requests

2 participants