Renames memory ports to a standard naming scheme:
Renames memory ports to a standard naming scheme:
Perform the transform, encode renaming with RenameMap, and can delete annotations Called by runTransform.
Perform the transform, encode renaming with RenameMap, and can delete annotations Called by runTransform.
Input Firrtl AST
A transformed Firrtl AST
Maps the serialized form of all memory port field names to the corresponding new memory port field Expression.
Maps the serialized form of all memory port field names to the corresponding new memory port field Expression. E.g.:
The firrtl.CircuitForm that this transform requires to operate on
The firrtl.CircuitForm that this transform requires to operate on
A convenience function useful for debugging and error messages
A convenience function useful for debugging and error messages
The firrtl.CircuitForm that this transform outputs
The firrtl.CircuitForm that this transform outputs
Perform the transform and update annotations.
Perform the transform and update annotations.
Input Firrtl AST
A transformed Firrtl AST
Replaces candidate memories and their references with standard port names
Replaces candidate memories with memories with standard port names Does not update the references (this is done via updateStmtRefs)
Convenience method to get annotations relevant to this Transform
Convenience method to get annotations relevant to this Transform
The CircuitState form which to extract annotations
A collection of annotations
(Since version 1.1) Just collect the actual Annotation types the transform wants
Changes memory port names to standard port names (i.e. RW0 instead T_408)