mig: fix MemoryDevice to use 'reg' properly
This commit is contained in:
parent
a8e20f447c
commit
886680af49
@ -24,7 +24,7 @@ class XilinxVC707MIG(implicit p: Parameters) extends LazyModule with HasXilinxVC
|
|||||||
val axi4 = AXI4InternalOutputNode(Seq(AXI4SlavePortParameters(
|
val axi4 = AXI4InternalOutputNode(Seq(AXI4SlavePortParameters(
|
||||||
slaves = Seq(AXI4SlaveParameters(
|
slaves = Seq(AXI4SlaveParameters(
|
||||||
address = Seq(AddressSet(p(ExtMem).base, p(ExtMem).size-1)),
|
address = Seq(AddressSet(p(ExtMem).base, p(ExtMem).size-1)),
|
||||||
resources = device.reg("mem"),
|
resources = device.reg,
|
||||||
regionType = RegionType.UNCACHED,
|
regionType = RegionType.UNCACHED,
|
||||||
executable = true,
|
executable = true,
|
||||||
supportsWrite = TransferSizes(1, 256*8),
|
supportsWrite = TransferSizes(1, 256*8),
|
||||||
|
Loading…
Reference in New Issue
Block a user