mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Deprecation (#2088)
* Add deprecation warning * Deprecate -msg in configuration files * Deprecate sc_clock
This commit is contained in:
@@ -260,6 +260,7 @@ private:
|
||||
}
|
||||
else if (nodep->attrType() == AstAttrType::VAR_CLOCK) {
|
||||
UASSERT_OBJ(m_varp, nodep, "Attribute not attached to variable");
|
||||
nodep->v3warn(DEPRECATED, "sc_clock is deprecated and will be removed");
|
||||
m_varp->attrScClocked(true);
|
||||
nodep->unlinkFrBack()->deleteTree(); VL_DANGLING(nodep);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user