tilelink: we can have helper objects for terminal nodes now too!
The new rule is you should have an object.apply method if you only have a single .node.
This commit is contained in:
@ -333,7 +333,7 @@ class TLRAMModel(log: String = "", ignoreErrorData: Boolean = false)(implicit p:
|
||||
|
||||
object TLRAMModel
|
||||
{
|
||||
def apply(log: String = "", ignoreErrorData: Boolean = false)(implicit p: Parameters) =
|
||||
def apply(log: String = "", ignoreErrorData: Boolean = false)(implicit p: Parameters): TLNode =
|
||||
LazyModule(new TLRAMModel(log, ignoreErrorData)).node
|
||||
|
||||
case class MonitorParameters(addressBits: Int, sizeBits: Int)
|
||||
|
Reference in New Issue
Block a user