Correctly handle resets in AsyncFIFO.
This commit improves handling of resets in AsyncFIFO in two ways: * First, resets no longer violate Gray counter CDC invariants. * Second, write domain reset now empties the entire FIFO.
This commit is contained in:
parent
12c79025f3
commit
4601dd0a69
3 changed files with 41 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ class ClockDomain:
|
|||
If ``True``, the domain does not use a reset signal. Registers within this domain are
|
||||
still all initialized to their reset state once, e.g. through Verilog `"initial"`
|
||||
statements.
|
||||
clock_edge : str
|
||||
clk_edge : str
|
||||
The edge of the clock signal on which signals are sampled. Must be one of "pos" or "neg".
|
||||
async_reset : bool
|
||||
If ``True``, the domain uses an asynchronous reset, and registers within this domain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue