Allow assigning events (#4403)

Signed-off-by: Krzysztof Boronski <[email protected]>
This commit is contained in:
Krzysztof Boroński
2023-10-26 16:38:47 +02:00
committed by GitHub
parent 34708bbba1
commit a87fb57656
24 changed files with 331 additions and 43 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ private:
&& !VN_IS(backp, ArraySel) && !VN_IS(backp, StructSel) && !VN_IS(backp, RedXor)
&& (nodep->varp()->basicp() && !nodep->varp()->basicp()->isTriggerVec()
&& !nodep->varp()->basicp()->isForkSync()
&& !nodep->varp()->basicp()->isProcessRef())
&& !nodep->varp()->basicp()->isProcessRef() && !nodep->varp()->basicp()->isEvent())
&& backp->width() && castSize(nodep) != castSize(nodep->varp())) {
// Cast vars to IData first, else below has upper bits wrongly set
// CData x=3; out = (QData)(x<<30);