intel / intel/rohd

Error when sub-modules are already built is confusing

Open
#544 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
489
Forks
88
Avg merge
3d 23h
Merged PRs (30d)
10

Description

### Motivation

If a top-level module has it's `build` called after some sub-modules have already called `build` separately, then you may get an error like the `ModuleNotBuiltException` when running it through a `Synthesizer`. While this order of operations might lead to the error being technically true, it's not a helpful error message for new-comers to ROHD.

### Desired solution

Clarify in error messaging, and try to detect the scenario, when submodules have incorrectly been pre-built before the top-level build.

### Alternatives considered

_No response_

### Additional details

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.