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

Create error codes to get more information on build statuses #272

Open
acomodi opened this issue Nov 17, 2020 · 0 comments
Open

Create error codes to get more information on build statuses #272

acomodi opened this issue Nov 17, 2020 · 0 comments

Comments

@acomodi
Copy link
Contributor

acomodi commented Nov 17, 2020

Currently, if a build fails, the meta.json does not get generated and the entire build is marked as failed.

This prevents us from having a clearer understanding on what went wrong and what kind of failure this was. A failure can be categorized in different ways and can happen at different steps in the EDA flow:

  • FPGA tool perf infrastructure (e.g. wrong environment settings, missing tools, etc.)
  • Synthesis failure
  • P&R failures (which could be more fine-grained to see which exact P&R step has failed).

All of these different error output statuses should end up in the meta.json, which will most probably include an additional field such as the following:

Success case:

{
  "status": {
    "success": 0
  }
}

Failure case:

{
  "status": {
    "failure": 4,
    "message": "<failure_message>"
  }
}

Where the number is relative to the error code. In case of failure, an output message could be useful as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant