From e952f8f2222ac94f92a1b7c978ca25b3416c23b8 Mon Sep 17 00:00:00 2001 From: mwachs5 Date: Tue, 4 Oct 2016 21:02:06 -0700 Subject: [PATCH] asyncqueue: Fix typo in the Async Queue (#381) * asyncqueue: Fix typo in the Async Queue that would cause the sync depth to be one less than expected. * asyncqueue: Typo in the typo fix --- src/main/scala/util/AsyncQueue.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/util/AsyncQueue.scala b/src/main/scala/util/AsyncQueue.scala index 9c8732d7..af24597d 100644 --- a/src/main/scala/util/AsyncQueue.scala +++ b/src/main/scala/util/AsyncQueue.scala @@ -21,7 +21,7 @@ object AsyncGrayCounter { sink.io.d := source.io.q sink.io.en := Bool(true) } - syncv(0).io.d + syncv.head.io.q } }