TileLinkNarrower should do nothing if interfaces are the same width
This commit is contained in:
parent
83df05cb6a
commit
47da284e56
@ -1488,6 +1488,7 @@ class TileLinkIONarrower(factor: Int) extends TLModule {
|
|||||||
val out = Bundle(new ClientUncachedTileLinkIO)(outerParams)
|
val out = Bundle(new ClientUncachedTileLinkIO)(outerParams)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (factor > 1) {
|
||||||
val iacq = io.in.acquire.bits
|
val iacq = io.in.acquire.bits
|
||||||
val ognt = io.out.grant.bits
|
val ognt = io.out.grant.bits
|
||||||
|
|
||||||
@ -1572,4 +1573,5 @@ class TileLinkIONarrower(factor: Int) extends TLModule {
|
|||||||
ignt_ctr.inc()
|
ignt_ctr.inc()
|
||||||
sending_get := Bool(false)
|
sending_get := Bool(false)
|
||||||
}
|
}
|
||||||
|
} else { io.out <> io.in }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user