1
0

tilelink2 Legacy: it's only an error if it's valid (#264)

This commit is contained in:
Wesley W. Terpstra 2016-09-08 21:09:40 -07:00 committed by GitHub
parent 9015276958
commit 808a7f60f4

View File

@ -107,7 +107,7 @@ class TLLegacy(implicit val p: Parameters) extends LazyModule with HasTileLinkPa
out.a.bits.addr_hi := ~(~address | addressMask) >> log2Ceil(tlDataBytes) out.a.bits.addr_hi := ~(~address | addressMask) >> log2Ceil(tlDataBytes)
// TL legacy does not support bus errors // TL legacy does not support bus errors
assert (!out.d.bits.error) assert (!out.d.valid || !out.d.bits.error)
// Recreate the beat address counter // Recreate the beat address counter
val beatCounter = RegInit(UInt(0, width = tlBeatAddrBits)) val beatCounter = RegInit(UInt(0, width = tlBeatAddrBits))