1
0

tilelink2: FIFOFixer should NOT change client request status

Just because some clients are not FIFO does not matter. Downstream
FIFOFixers will still present a legitimate single domain to those
client who care.
This commit is contained in:
Wesley W. Terpstra 2017-04-26 16:48:35 -07:00
parent b040a462c9
commit e09fa866b7

View File

@ -10,9 +10,8 @@ import scala.math.max
class TLFIFOFixer(implicit p: Parameters) extends LazyModule class TLFIFOFixer(implicit p: Parameters) extends LazyModule
{ {
// We request downstream FIFO so we can use the existing fifoId
val node = TLAdapterNode( val node = TLAdapterNode(
clientFn = { cp => cp.copy(clients = cp.clients .map(c => c.copy(requestFifo = !c.supportsProbe))) }, clientFn = { cp => cp },
managerFn = { mp => mp.copy(managers = mp.managers.map(m => m.copy(fifoId = Some(0)))) }) managerFn = { mp => mp.copy(managers = mp.managers.map(m => m.copy(fifoId = Some(0)))) })
lazy val module = new LazyModuleImp(this) { lazy val module = new LazyModuleImp(this) {