mig: fix MemoryDevice to use 'reg' properly
authorWesley W. Terpstra <wesley@sifive.com>
Thu, 29 Jun 2017 20:41:30 +0000 (13:41 -0700)
committerWesley W. Terpstra <wesley@sifive.com>
Thu, 29 Jun 2017 20:41:30 +0000 (13:41 -0700)
src/main/scala/devices/xilinxvc707mig/XilinxVC707MIG.scala

index 931e9befecc29f25aac4f602292579e0ea1fb684..f6ae153107a4ff9558056f54c3703004baab7643 100644 (file)
@@ -24,7 +24,7 @@ class XilinxVC707MIG(implicit p: Parameters) extends LazyModule with HasXilinxVC
   val axi4 = AXI4InternalOutputNode(Seq(AXI4SlavePortParameters(
     slaves = Seq(AXI4SlaveParameters(
       address = Seq(AddressSet(p(ExtMem).base, p(ExtMem).size-1)),
-      resources     = device.reg("mem"),
+      resources     = device.reg,
       regionType    = RegionType.UNCACHED,
       executable    = true,
       supportsWrite = TransferSizes(1, 256*8),