Restrict edge event to SV
This commit is contained in:
parent
560129f0c6
commit
a4d7c3f94e
1
parse.y
1
parse.y
|
|
@ -3403,6 +3403,7 @@ event_expression
|
||||||
svector<PEEvent*>*tl = new svector<PEEvent*>(1);
|
svector<PEEvent*>*tl = new svector<PEEvent*>(1);
|
||||||
(*tl)[0] = tmp;
|
(*tl)[0] = tmp;
|
||||||
$$ = tl;
|
$$ = tl;
|
||||||
|
pform_requires_sv(@1, "Edge event");
|
||||||
}
|
}
|
||||||
| expression
|
| expression
|
||||||
{ PEEvent*tmp = new PEEvent(PEEvent::ANYEDGE, $1);
|
{ PEEvent*tmp = new PEEvent(PEEvent::ANYEDGE, $1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue