diplomacy: provide a val name for all LazyModule constructions

This commit is contained in:
Wesley W. Terpstra committed 2017-12-01 11:28:21 -08:00
1 parent a3e44375c6
commit 8781d2b2e7
40 files changed
+242 -78

No files matched your search

+4 -1
View File
@@ -334,7 +334,10 @@ class TLRAMModel(log: String = "", ignoreErrorData: Boolean = false)(implicit p:
object TLRAMModel
{
def apply(log: String = "", ignoreErrorData: Boolean = false)(implicit p: Parameters): TLNode =
LazyModule(new TLRAMModel(log, ignoreErrorData)).node
{
val model = LazyModule(new TLRAMModel(log, ignoreErrorData))
model.node
}
case class MonitorParameters(addressBits: Int, sizeBits: Int)