mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 17:43:31 +02:00
Support posedge of bit-selected signals, bug45.
This commit is contained in:
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user