Skip to content

Commit

Permalink
Clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkoenig authored Nov 14, 2024
1 parent 1e0569a commit 72a5576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/scala/chisel3/ModuleImpl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -946,15 +946,15 @@ package experimental {
*/
def localPrefixAppliesToSelf: Boolean = true

/** The resolved module prefixed used for this Module
/** The resolved module prefix used for this Module.
*
* Includes [[localModulePrefix]] if defined and if [[localPrefixAppliesToSelf]] is true.
*/
val modulePrefix: String = withModulePrefix(localModulePrefix.filter(_ => localPrefixAppliesToSelf).getOrElse("")) {
Builder.getModulePrefix
}

// Apply localModulePrefix to children
// Apply localModulePrefix to children.
localModulePrefix.foreach { prefix =>
Builder.pushModulePrefix(prefix)
}
Expand Down

0 comments on commit 72a5576

Please sign in to comment.