RAMModel: add a convenience object
This commit is contained in:
parent
7cfb69e2d5
commit
353ddffc11
@ -333,6 +333,9 @@ class TLRAMModel(log: String = "", ignoreErrorData: Boolean = false)(implicit p:
|
|||||||
|
|
||||||
object TLRAMModel
|
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)
|
case class MonitorParameters(addressBits: Int, sizeBits: Int)
|
||||||
|
|
||||||
class ByteMonitor(params: MonitorParameters) extends GenericParameterizedBundle(params) {
|
class ByteMonitor(params: MonitorParameters) extends GenericParameterizedBundle(params) {
|
||||||
|
Loading…
Reference in New Issue
Block a user