pass base SCR address to SCRFile for address calculation
This commit is contained in:
parent
8a877fa620
commit
b04cd545b6
@ -165,7 +165,8 @@ class Uncore(implicit val p: Parameters) extends Module
|
||||
}
|
||||
|
||||
// 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))
|
||||
scrArb.io.in(0) <> htif.io.scr
|
||||
scrArb.io.in(1) <> outmemsys.io.scr
|
||||
|
2
uncore
2
uncore
@ -1 +1 @@
|
||||
Subproject commit 087ed2819207ff0abc6bcd13b0891ba87b2a8a34
|
||||
Subproject commit e8d3518437c7cfd6544937441c9c2e758a8e48fc
|
Loading…
Reference in New Issue
Block a user