Unverified Commit 8f796df5 authored by Jiuyang Liu's avatar Jiuyang Liu Committed by GitHub
Browse files

refactor Queue.hasFlush: Boolean to Queue.flush: Option[Bool]. (#2245)



* refactor Queue.hasFlush: Boolean to Queue.flush: Option[Bool].

Using factory Queue(..., hasFlush = true) won't take effects, since in the Queue.apply API, Queue Module is not exposed, thus even user defines hasFlush = true, there is no place for them to give the flush signal.
This commit fix this, refactor Queue.hasFlush: Boolean to Queue.flush: Option[Bool], makes user be able to pass the flush signal into Queue Module.

* use zip to connect.

* refactor docs.

Co-authored-by: default avatarMegan Wachs <megan@sifive.com>
parent 670c5391
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment