diff --git a/src/main/scala/tilelink/RAMModel.scala b/src/main/scala/tilelink/RAMModel.scala index 4ffbb2ef..c6e9113e 100644 --- a/src/main/scala/tilelink/RAMModel.scala +++ b/src/main/scala/tilelink/RAMModel.scala @@ -333,6 +333,9 @@ class TLRAMModel(log: String = "", ignoreErrorData: Boolean = false)(implicit p: object TLRAMModel { + def apply(log: String = "", ignoreErrorData: Boolean = false)(implicit p: Parameters) = + LazyModule(new TLRAMModel(log, ignoreErrorData)).node + case class MonitorParameters(addressBits: Int, sizeBits: Int) class ByteMonitor(params: MonitorParameters) extends GenericParameterizedBundle(params) {