diff options
| author | Jiuyang Liu | 2021-11-18 02:31:32 +0800 |
|---|---|---|
| committer | GitHub | 2021-11-17 18:31:32 +0000 |
| commit | 8f796df5693b560a086b95a24c5bd090064a639e (patch) | |
| tree | 0ab16d4075416ca5961ce32fcb58b13b331aef5a /project | |
| parent | 670c539110a599642d700323a34159be0f5abb12 (diff) | |
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: Megan Wachs <megan@sifive.com>
Diffstat (limited to 'project')
0 files changed, 0 insertions, 0 deletions
