Use AXI4 mem key
authorHenry Styles <hes@sifive.com>
Tue, 8 Aug 2017 05:03:35 +0000 (22:03 -0700)
committerHenry Styles <hes@sifive.com>
Mon, 14 Aug 2017 21:57:11 +0000 (14:57 -0700)
src/main/scala/devices/xilinxvc707mig/XilinxVC707MIG.scala

index 7d864e4e8af77fb51f6b4b752fbe73bc67906cf6..07f5562688adbe27501a12ed61adbb34c6ce7ee9 100644 (file)
@@ -24,7 +24,7 @@ class XilinxVC707MIG(c : XilinxVC707MIGParams)(implicit p: Parameters) extends L
   val node = TLInputNode()
   val axi4 = AXI4InternalOutputNode(Seq(AXI4SlavePortParameters(
     slaves = Seq(AXI4SlaveParameters(
-      address = Seq(AddressSet(p(ExtMem).base, p(ExtMem).size-1)),
+      address = p(AXI4MemPortKey).address,
       resources     = device.reg,
       regionType    = RegionType.UNCACHED,
       executable    = true,