use address map instead of MMIOBase to find size of memory
This commit is contained in:
committed by
Andrew Waterman
parent
2d6f35525e
commit
b7527268bb
@ -48,7 +48,6 @@ trait HasCoreParameters extends HasAddrMapParameters {
|
||||
val vpnBitsExtended = vpnBits + (vaddrBits < xLen).toInt
|
||||
val vaddrBitsExtended = vpnBitsExtended + pgIdxBits
|
||||
val coreMaxAddrBits = paddrBits max vaddrBitsExtended
|
||||
val mmioBase = p(MMIOBase)
|
||||
val nCustomMrwCsrs = p(NCustomMRWCSRs)
|
||||
val roccCsrs = if (p(BuildRoCC).isEmpty) Nil
|
||||
else p(BuildRoCC).flatMap(_.csrs)
|
||||
|
Reference in New Issue
Block a user