提交 24a720a9 编写于 作者: Y Yinan Xu

dispatch queue: fix >= logic

上级 174adcf2
......@@ -57,7 +57,7 @@ class DispatchQueue(size: Int, enqnum: Int, deqnum: Int, dpqType: Int) extends X
Mux(
left(indexWidth) === right(indexWidth),
left(indexWidth - 1, 0) >= right(indexWidth - 1, 0),
left(indexWidth - 1, 0) < right(indexWidth - 1, 0)
left(indexWidth - 1, 0) <= right(indexWidth - 1, 0)
)
}
XSError(!greaterOrEqualThan(tailPtr, headPtr), "assert greaterOrEqualThan(tailPtr, headPtr) failed\n")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册