rename external to nastiExternal to avoid name conflicts
This commit is contained in:
parent
bfdf5a538a
commit
60d9291cb5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user