mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Improve E_UNSUPPORTED warning messages (#7329)
This commit is contained in:
+3
-1
@@ -1046,7 +1046,9 @@ class TimingControlVisitor final : public VNVisitor {
|
||||
// Do not allow waiting on local named events, as they get enqueued for clearing, but can
|
||||
// go out of scope before that happens
|
||||
if (!nodep->sentreep()) {
|
||||
nodep->v3warn(E_UNSUPPORTED, "Unsupported: no sense equation (@*)");
|
||||
nodep->v3warn(E_UNSUPPORTED,
|
||||
"Unsupported: Event control with implicit sensitivity (@*)"
|
||||
" in this context; use an explicit sensitivity list instead");
|
||||
VL_DO_DANGLING(pushDeletep(nodep->unlinkFrBack()), nodep);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user