Restrict edge event to SV

This commit is contained in:
Zachary Snow 2022-02-14 17:54:28 +01:00
parent 560129f0c6
commit a4d7c3f94e
1 changed files with 1 additions and 0 deletions

View File

@ -3403,6 +3403,7 @@ event_expression
svector<PEEvent*>*tl = new svector<PEEvent*>(1);
(*tl)[0] = tmp;
$$ = tl;
pform_requires_sv(@1, "Edge event");
}
| expression
{ PEEvent*tmp = new PEEvent(PEEvent::ANYEDGE, $1);