Support posedge of bit-selected signals, bug45.

This commit is contained in:
Wilson Snyder
2008-11-22 21:10:20 -05:00
parent b07dd622fa
commit 41dbfc9e1c
8 changed files with 238 additions and 14 deletions
+2 -1
View File
@@ -278,8 +278,9 @@ private:
// We'll add it as a generic COMBO SenItem in a moment.
itemp->unlinkFrBack()->deleteTree(); itemp=NULL; senp=NULL;
} else if (itemp->varrefp()) {
// V3LinkResolve should have cleaned most of these up
if (itemp->varrefp()->width()>1) itemp->v3error("Unsupported: Non-single bit wide signal pos/negedge sensitivity: "
<<itemp->varrefp()->prettyName());
<<itemp->varrefp()->prettyName());
sequent = true;
itemp->varrefp()->varp()->usedClock(true);
}