Fix parsing sensitivity with &&, bug934.

This commit is contained in:
Wilson Snyder
2016-12-21 18:23:14 -05:00
parent 6f28d21207
commit a1e4d676c3
7 changed files with 31 additions and 5 deletions
+6
View File
@@ -108,6 +108,12 @@ private:
// HIGHEDGE: var
// LOWEDGE: ~var
AstNode* newp = NULL;
if (nodep->edgeType()==AstEdgeType::ET_ILLEGAL) {
if (!v3Global.opt.bboxUnsup()) {
nodep->v3error("Unsupported: Complicated event expression in sensitive activity list");
}
return NULL;
}
AstVarScope* clkvscp = nodep->varrefp()->varScopep();
if (nodep->edgeType()==AstEdgeType::ET_POSEDGE) {
AstVarScope* lastVscp = getCreateLastClk(clkvscp);