pass base SCR address to SCRFile for address calculation

This commit is contained in:
John Wright authored and Howard Mao committed 2016-02-24 15:32:46 -08:00
1 parent 8a877fa620
commit b04cd545b6
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -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