mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Support logic and set operations on binsof (#8306)
This commit is contained in:
@@ -1447,6 +1447,16 @@ class LinkParseVisitor final : public VNVisitor {
|
||||
}
|
||||
}
|
||||
|
||||
void visit(AstCoverCrossSelect* nodep) override {
|
||||
cleanFileline(nodep);
|
||||
iterateChildren(nodep);
|
||||
if (!nodep->lhsp()
|
||||
|| !nodep->rhsp()) { // Due to earlier Unsupported errors dropping only one operand
|
||||
// would silently change the selected set.
|
||||
VL_DO_DANGLING(pushDeletep(nodep->unlinkFrBack()), nodep);
|
||||
}
|
||||
}
|
||||
|
||||
void visit(AstCoverCross* nodep) override {
|
||||
cleanFileline(nodep);
|
||||
// Move options out of the mixed parse-time body, leaving only cross bins.
|
||||
|
||||
Reference in New Issue
Block a user