You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UserValue will be removed in nMigen 0.4 per RFC #355. Although Record (which currently derives from UserValue) is also slated for deprecation and eventual removal, its replacement is not implemented (or designed) yet, and a significant amount of external code depends on it. Because of this Record will survive significantly longer than UserValue (likely several releases), and has to be unaffected by its removal.
The (undesirable and hazardous!) behavior that Record currently has can be simulated by overriding __getattr__ to make Record behave as if it inherits from Value without actually doing so.
The text was updated successfully, but these errors were encountered:
UserValue
will be removed in nMigen 0.4 per RFC #355. AlthoughRecord
(which currently derives fromUserValue
) is also slated for deprecation and eventual removal, its replacement is not implemented (or designed) yet, and a significant amount of external code depends on it. Because of thisRecord
will survive significantly longer thanUserValue
(likely several releases), and has to be unaffected by its removal.The (undesirable and hazardous!) behavior that
Record
currently has can be simulated by overriding__getattr__
to makeRecord
behave as if it inherits fromValue
without actually doing so.The text was updated successfully, but these errors were encountered: