rohd
rohd copied to clipboard
Error when sub-modules are already built is confusing
trafficstars
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