The hw-compile rule was wrong: it exits without error code even when the compilation fails. With this one-line change, the exit code of QuestaSim should correspond to the error code of the internal vlog command, crashing the simulation (as appropriate) instead of triggering silent errors.
The
hw-compile
rule was wrong: it exits without error code even when the compilation fails. With this one-line change, the exit code of QuestaSim should correspond to the error code of the internalvlog
command, crashing the simulation (as appropriate) instead of triggering silent errors.