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.:
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
The CircuitForm that this transform requires to operate on
The 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 CircuitForm that this transform outputs
The 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)
Changes memory port names to standard port names (i.e. RW0 instead T_408)