mirror of
https://github.com/verilator/verilator.git
synced 2025-01-15 02:54:03 +00:00
Don't issue DEPRECATED for now no-op clock_enable attribute
Fixes #3421
This commit is contained in:
parent
599d23697d
commit
0e62cd11da
@ -305,7 +305,7 @@ private:
|
||||
VL_DO_DANGLING(nodep->unlinkFrBack()->deleteTree(), nodep);
|
||||
} else if (nodep->attrType() == VAttrType::VAR_CLOCK_ENABLE) {
|
||||
UASSERT_OBJ(m_varp, nodep, "Attribute not attached to variable");
|
||||
nodep->v3warn(DEPRECATED, "'clock_enable' attribute is deprecated and has no effect");
|
||||
// Accepted and silently ignored for backward compatibility, but has no effect
|
||||
VL_DO_DANGLING(nodep->unlinkFrBack()->deleteTree(), nodep);
|
||||
} else if (nodep->attrType() == VAttrType::VAR_FORCEABLE) {
|
||||
UASSERT_OBJ(m_varp, nodep, "Attribute not attached to variable");
|
||||
|
Loading…
Reference in New Issue
Block a user