AXI4SRAM: handy helper object
This commit is contained in:
parent
353ddffc11
commit
58a93e2100
@ -90,3 +90,14 @@ class AXI4RAM(
|
|||||||
in.r.bits.last := Bool(true)
|
in.r.bits.last := Bool(true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
object AXI4RAM
|
||||||
|
{
|
||||||
|
def apply(
|
||||||
|
address: AddressSet,
|
||||||
|
executable: Boolean = true,
|
||||||
|
beatBytes: Int = 4,
|
||||||
|
devName: Option[String] = None,
|
||||||
|
errors: Seq[AddressSet] = Nil)
|
||||||
|
(implicit p: Parameters) = LazyModule(new AXI4RAM(address, executable, beatBytes, devName, errors)).node
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user