1
0

tilelink parameter tweak: addrBits now a constant

This commit is contained in:
Henry Cook 2015-10-20 14:54:36 -07:00
parent d12403e7dc
commit 4389b9edb0

View File

@ -31,7 +31,6 @@ case class TileLinkParameters(
maxClientXacts: Int, maxClientXacts: Int,
maxClientsPerPort: Int, maxClientsPerPort: Int,
maxManagerXacts: Int, maxManagerXacts: Int,
addrBits: Int,
dataBits: Int, dataBits: Int,
dataBeats: Int = 4, dataBeats: Int = 4,
overrideDataBitsPerBeat: Option[Int] = None overrideDataBitsPerBeat: Option[Int] = None
@ -58,7 +57,7 @@ trait HasTileLinkParameters {
val tlMaxManagerXacts = tlExternal.maxManagerXacts val tlMaxManagerXacts = tlExternal.maxManagerXacts
val tlClientXactIdBits = log2Up(tlMaxClientXacts*tlMaxClientsPerPort) val tlClientXactIdBits = log2Up(tlMaxClientXacts*tlMaxClientsPerPort)
val tlManagerXactIdBits = log2Up(tlMaxManagerXacts) val tlManagerXactIdBits = log2Up(tlMaxManagerXacts)
val tlBlockAddrBits = tlExternal.addrBits val tlBlockAddrBits = p(PAddrBits) - p(CacheBlockOffsetBits)
val tlDataBeats = tlExternal.dataBeats val tlDataBeats = tlExternal.dataBeats
val tlDataBits = tlExternal.dataBitsPerBeat val tlDataBits = tlExternal.dataBitsPerBeat
val tlDataBytes = tlDataBits/8 val tlDataBytes = tlDataBits/8