tilelink2 HintHandler: fill in correct sink in responses

This commit is contained in:
Wesley W. Terpstra committed 2016-09-12 17:26:40 -07:00
1 parent ca5f98f138
commit 94761f714d
3 files changed
+8 -7

No files matched your search

+1 -2
View File
@@ -615,8 +615,7 @@ class TLEdgeIn(
d
}
// !!! buggy! deduce sink from address
def HintAck(a: TLBundleA, sink: UInt = UInt(0)): TLBundleD = HintAck(address(a), sink, a.source, a.size)
def HintAck(a: TLBundleA, fromSink: UInt): TLBundleD = HintAck(address(a), fromSink, a.source, a.size)
def HintAck(fromAddress: UInt, fromSink: UInt, toSource: UInt, lgSize: UInt) = {
val d = Wire(new TLBundleD(bundle))
d.opcode := TLMessages.HintAck