Skip to content

Commit

Permalink
Add SimpleLazyRawModule
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed Oct 25, 2023
1 parent 0e88fc0 commit f85496e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/scala/diplomacy/LazyModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,10 @@ class LazyRawModuleImp(val wrapper: LazyModule) extends RawModule with LazyModul
class SimpleLazyModule(implicit p: Parameters) extends LazyModule {
lazy val module = new LazyModuleImp(this)
}
class SimpleLazyRawModule(implicit p: Parameters) extends LazyModule {
lazy val module = new LazyRawModuleImp(this)
}


/** Allows dynamic creation of [[Module]] hierarchy and "shoving" logic into a [[LazyModule]]. */
trait LazyScope {
Expand Down

0 comments on commit f85496e

Please sign in to comment.