pass base SCR address to SCRFile for address calculation
This commit is contained in:
1 parent
8a877fa620
commit
b04cd545b6
2 files changed
+3
-2
No files matched your search
@@ -165,7 +165,8 @@ class Uncore(implicit val p: Parameters) extends Module
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Arbitrate SCR access between MMIO and HTIF
|
// Arbitrate SCR access between MMIO and HTIF
|
||||||
val scrFile = Module(new SCRFile("UNCORE_SCR"))
|
val addrHashMap = new AddrHashMap(p(GlobalAddrMap), p(MMIOBase))
|
||||||
|
val scrFile = Module(new SCRFile("UNCORE_SCR",addrHashMap("conf:scr").start))
|
||||||
val scrArb = Module(new SmiArbiter(2, scrDataBits, scrAddrBits))
|
val scrArb = Module(new SmiArbiter(2, scrDataBits, scrAddrBits))
|
||||||
scrArb.io.in(0) <> htif.io.scr
|
scrArb.io.in(0) <> htif.io.scr
|
||||||
scrArb.io.in(1) <> outmemsys.io.scr
|
scrArb.io.in(1) <> outmemsys.io.scr
|
||||||
|
|||||||
+1
-1
Submodule uncore updated: 087ed28192...e8d3518437.
Reference in new issue
Block a user