mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Support soft foreach in constraint (#8174)
This commit is contained in:
@@ -2307,6 +2307,14 @@ void AstCover::dumpJson(std::ostream& str) const {
|
||||
dumpJsonBoolFuncIf(str, isSeqEvent);
|
||||
this->AstNodeCoverOrAssert::dumpJson(str);
|
||||
}
|
||||
void AstConstraintForeach::dump(std::ostream& str) const {
|
||||
this->AstNodeForeach::dump(str);
|
||||
if (isSoft()) str << "[SOFT]";
|
||||
}
|
||||
void AstConstraintForeach::dumpJson(std::ostream& str) const {
|
||||
dumpJsonBoolFuncIf(str, isSoft);
|
||||
dumpJsonGen(str);
|
||||
}
|
||||
void AstClocking::dump(std::ostream& str) const {
|
||||
this->AstNode::dump(str);
|
||||
if (isDefault()) str << " [DEFAULT]";
|
||||
|
||||
Reference in New Issue
Block a user