1
0

rename external to nastiExternal to avoid name conflicts

This commit is contained in:
Howard Mao 2016-01-28 14:50:24 -08:00
parent bfdf5a538a
commit 60d9291cb5

View File

@ -12,12 +12,12 @@ case class NastiParameters(dataBits: Int, addrBits: Int, idBits: Int)
trait HasNastiParameters { trait HasNastiParameters {
implicit val p: Parameters implicit val p: Parameters
val external = p(NastiKey) val nastiExternal = p(NastiKey)
val nastiXDataBits = external.dataBits val nastiXDataBits = nastiExternal.dataBits
val nastiWStrobeBits = nastiXDataBits / 8 val nastiWStrobeBits = nastiXDataBits / 8
val nastiXAddrBits = external.addrBits val nastiXAddrBits = nastiExternal.addrBits
val nastiWIdBits = external.idBits val nastiWIdBits = nastiExternal.idBits
val nastiRIdBits = external.idBits val nastiRIdBits = nastiExternal.idBits
val nastiXIdBits = max(nastiWIdBits, nastiRIdBits) val nastiXIdBits = max(nastiWIdBits, nastiRIdBits)
val nastiXUserBits = 1 val nastiXUserBits = 1
val nastiAWUserBits = nastiXUserBits val nastiAWUserBits = nastiXUserBits