From f26c422544591e03f5409d789bb540a48d809da5 Mon Sep 17 00:00:00 2001 From: Howard Mao Date: Tue, 3 May 2016 12:18:06 -0700 Subject: [PATCH] assert that TileLink router has valid route --- uncore/src/main/scala/interconnect.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uncore/src/main/scala/interconnect.scala b/uncore/src/main/scala/interconnect.scala index fcb87b64..88791815 100644 --- a/uncore/src/main/scala/interconnect.scala +++ b/uncore/src/main/scala/interconnect.scala @@ -214,6 +214,8 @@ class ClientUncachedTileLinkIORouter( new Grant, nOuter, tlDataBeats, Some((gnt: Grant) => gnt.hasMultibeatData()))) gnt_arb.io.in <> io.out.map(_.grant) io.in.grant <> gnt_arb.io.out + + assert(!io.in.acquire.valid || acq_route.orR, "No valid route") } class TileLinkInterconnectIO(val nInner: Int, val nOuter: Int)